dos33fsprogs/megademo/wait_keypress.s

6 lines
129 B
ArmAsm
Raw Normal View History

2018-09-23 03:07:59 +00:00
wait_until_keypress:
lda KEYPRESS ; 4
bpl wait_until_keypress ; 3
bit KEYRESET ; clear the keyboard buffer
rts ; 6