From WikiTI
Revision as of 05:09, 20 February 2007 by Brandonw (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Unofficial Name: GetVarCmdUSB

BCALL Address: 50FB

Sends a silent link request to another calculator and receives a variable to RAM via USB or link port.


  • OP1: type and name of variable to request (must be zero'd out)
  • (sndRecState): 15h
  • iy+1Bh set up accordingly
  • 0,(iy+1Bh) must be set to receive from USB, reset to receive from link port


  • None


  • All


This BCALL will not throw any errors if problems are encountered.

It is basically the same as GetVarCmd, but if 0,(iy+1Bh) is set, it will attempt to use the USB port first. If that transfer fails or the flag is reset, it will fall back to the link port.