mirror of
https://github.com/a2-4am/4cade.git
synced 2025-02-18 14:30:52 +00:00
don't always clear keyboard strobe or reset OffscreenPage when entering SearchMode
allows hitting a key during a screenshot to start a search
This commit is contained in:
parent
339c0ed700
commit
f1cbdd0aef
@ -114,7 +114,8 @@ MiniAttractMode
|
|||||||
inc @MiniAttractIndex
|
inc @MiniAttractIndex
|
||||||
lda KBD
|
lda KBD
|
||||||
bpl @loop
|
bpl @loop
|
||||||
@exit rts
|
@exit bit CLEARKBD
|
||||||
|
rts
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; RunAttractModule
|
; RunAttractModule
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
OffscreenPage
|
OffscreenPage
|
||||||
!byte 1 ; 0 = currently showing HGR page 2
|
!byte 0 ; 0 = currently showing HGR page 2
|
||||||
; (so offscreen is page 1 @ $2000)
|
; (so offscreen is page 1 @ $2000)
|
||||||
; 1 = currently showing HGR page 1
|
; 1 = currently showing HGR page 1
|
||||||
; (so offscreen is page 2 @ $4000)
|
; (so offscreen is page 2 @ $4000)
|
||||||
|
@ -37,12 +37,10 @@ SearchMode
|
|||||||
ldx #$FF
|
ldx #$FF
|
||||||
txs
|
txs
|
||||||
stx gGameToLaunch ; $FF = no game selected
|
stx gGameToLaunch ; $FF = no game selected
|
||||||
inx
|
|
||||||
stx OffscreenPage ; $00 = currently showing HGR page 2
|
|
||||||
jsr Home ; clear screen (switches to text mode)
|
jsr Home ; clear screen (switches to text mode)
|
||||||
jsr OnInputChanged ; draw UI on HGR page 1
|
jsr OnInputChanged ; draw UI offscreen
|
||||||
jsr HGRMode ; show HGR screen
|
jsr HGRMode ; show HGR screen
|
||||||
bit CLEARKBD
|
jsr ResyncPage
|
||||||
|
|
||||||
.SearchModeInputLoop
|
.SearchModeInputLoop
|
||||||
jsr WaitForKeyFor30Seconds
|
jsr WaitForKeyFor30Seconds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user