83Plus:BCALLs:4F09

From WikiTI
Jump to: navigation, search

Synopsis

Unofficial Name: ReceiveVarData2

BCALL Address: 4F09

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 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 ReceiveVarData is identical to this, only the variable in OP1 must not already exist (for whatever reason). Neither will receive EOT.