dos33fsprogs/games/riven_hgr/wait_a_bit.s
Vince Weaver e1f10efbbb riven_hgr: use qboot instead of qload
probably a mistake, was a huge pain, but freed up some room
2024-05-28 16:51:03 -04:00

24 lines
282 B
ArmAsm

;====================================
; wait for keypress or a few seconds
;====================================
wait_a_bit:
bit KEYRESET
tax
keyloop:
lda #200 ; delay a bit
jsr wait
lda KEYPRESS
bmi done_keyloop
dex
bne keyloop
done_keyloop:
bit KEYRESET
rts