Re: A86: getkey program
[Prev][Next][Index][Thread]
Re: A86: getkey program
In a message dated 9/3/98 20:09:23, BrncAvFan2@aol.com writes:
>
>Does anybody have a getkey program in assembly that will give the key code
>number for the key you pressed. For example, it would look like this in
>basic:
>
try this:
call _getky ;same as BASIC command, stored in OP2
call _OP2TOOP1 ;move to OP1
call _formReal ;change into string starting at OP3
ld hl,_OP3 ;hl points to start of string
ld bc,$0000 ;pen location
ld (_penCol),bc
call _vputs ;display number