A86: _getkey


[Prev][Next][Index][Thread]

A86: _getkey




Has anybody realised that _getkey communticates with the link port?  I
sent a program to the calc while it was waiting for a keypress from a
_getkey call, and recieved the program without a problem.  I think
_getkey returns a value from link port in the same way it returns a
value from a keypress because

wait:
 call _getkey
 or a
 jr z,wait

breaks out of the wait loop when anything is sent to the calc via the
link.

And something else: since _getkey seems to handle silent linking,
[sqrt]KEY can probably override any link input  ;-)


Follow-Ups: