dos33fsprogs/demos/second/wait_keypress.s
2023-08-15 12:53:05 -04:00

6 lines
129 B
ArmAsm

wait_until_keypress:
lda KEYPRESS ; 4
bpl wait_until_keypress ; 3
bit KEYRESET ; clear the keyboard buffer
rts ; 6