mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-11-18 06:08:04 +00:00
13 lines
200 B
ArmAsm
13 lines
200 B
ArmAsm
.export get_key
|
|
|
|
.code
|
|
|
|
;use C64 Kernel ROM function to read a key
|
|
;inputs: none
|
|
;outputs: A contains ASCII value of key just pressed
|
|
get_key:
|
|
jsr $ffe4
|
|
cmp #0
|
|
beq get_key
|
|
rts
|
|
|