better fallthrough keyboard handling

This commit is contained in:
4am 2019-10-03 16:20:18 -04:00
parent 4f30b4cc58
commit fe23be052f
2 changed files with 5 additions and 2 deletions

View File

@ -114,8 +114,7 @@ MiniAttractMode
inc @MiniAttractIndex
lda KBD
bpl @loop
@exit bit CLEARKBD
rts
@exit rts
;------------------------------------------------------------------------------
; RunAttractModule

View File

@ -41,6 +41,10 @@ SearchMode
jsr OnInputChanged ; draw UI offscreen
jsr HGRMode ; show HGR screen
jsr ResyncPage
lda KBD
jsr IsSearchKey
beq .SearchModeInputLoop
bit CLEARKBD
.SearchModeInputLoop
jsr WaitForKeyFor30Seconds