dos33fsprogs/demos/trogdor/wait_keypress.s
2024-01-11 01:25:38 -05: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