Re: A86: _getkey


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

Re: A86: _getkey



Robby Gutmann wrote:
> 
> im a beginner, and im trying to learn how to work the call _getkey.  does it
> work like in tibasic?  returning a number, then u use a cp?  or is it some
> other way?  im trying to figure it out from the source of Zkart, but its
> tough, so id appreciate any help.

im not sure if this is how it is done in zkart, it might just read the
ports instead

key:
 call $5371 ; key is stored in a
 cp $37 ; was exit pressed?
 jr nz,key ; if it was'nt go back up to key
 ret ; break out of program


References: