83Plus:BCALLs:4F0C

From WikiTI
Jump to: navigation, search

Synopsis

Unofficial Name: ReceiveVarData

BCALL Address: 4F0C

Receives variable name in OP1 by sending continue packet and waiting for data.

Inputs

  • OP1: type and name of variable to receive
  • (ioData): size of variable data (not including size bytes)
  • 5,(iy+1Bh) must be reset
  • iy+1Bh set up accordingly

Outputs

  • None

Destroys

  • All

Comments

This BCALL will throw ERR:LINK if there are problems. The variable in OP1 must not already exist.

If the calculator is out of memory, this entry point will send the skip/exit packet with code 1 and then throw ERR:LINK.

BCALL 4F09 is identical to this, only the variable in OP1 must already exist (for whatever reason). Neither will receive EOT.