mirror of
https://github.com/a2-4am/4cade.git
synced 2025-08-15 12:27:32 +00:00
move games list, suppress CR, rebuild store after anim, don't show text page 2
This commit is contained in:
@@ -122,7 +122,7 @@ gFXStore
|
|||||||
gDFXStore
|
gDFXStore
|
||||||
!word $6000
|
!word $6000
|
||||||
gSearchStore
|
gSearchStore
|
||||||
!word $8000
|
!word $8200
|
||||||
gSlideshowStore
|
gSlideshowStore
|
||||||
!word $0800
|
!word $0800
|
||||||
gGlobalPrefsStore
|
gGlobalPrefsStore
|
||||||
|
@@ -360,10 +360,10 @@ CopyDevs
|
|||||||
+LDAY SRC ; (SRC) points to free space after the OKVS data structure we just created
|
+LDAY SRC ; (SRC) points to free space after the OKVS data structure we just created
|
||||||
+STAY gGamesListStore ; save pointer to free space for next store
|
+STAY gGamesListStore ; save pointer to free space for next store
|
||||||
|
|
||||||
jsr LoadFile ; load games list file into $8000
|
jsr LoadFile ; load games list file into $8200
|
||||||
!word kRootDirectory
|
!word kRootDirectory
|
||||||
!word @kGameListConfFile
|
!word @kGameListConfFile
|
||||||
- !word $8000
|
- !word $8200
|
||||||
jsr ParseGamesList ; parse games list into OKVS data structure in LC RAM bank
|
jsr ParseGamesList ; parse games list into OKVS data structure in LC RAM bank
|
||||||
!word gGamesListStore
|
!word gGamesListStore
|
||||||
!word -
|
!word -
|
||||||
|
@@ -131,5 +131,7 @@ IncAndGetChar
|
|||||||
bne +
|
bne +
|
||||||
inc $FF
|
inc $FF
|
||||||
+ lda ($FE),y
|
+ lda ($FE),y
|
||||||
|
cmp #$0D ; CR - hide it
|
||||||
|
beq IncAndGetChar
|
||||||
.parseKeyValueDone
|
.parseKeyValueDone
|
||||||
rts
|
rts
|
||||||
|
@@ -60,6 +60,7 @@ MaybeAnimateTitle
|
|||||||
|
|
||||||
jsr Launch ; execute the animation
|
jsr Launch ; execute the animation
|
||||||
|
|
||||||
|
jsr BuildSearchStore
|
||||||
jsr ResyncPage ; we don't know which HGR page is showing
|
jsr ResyncPage ; we don't know which HGR page is showing
|
||||||
; when the animation returns, so resync
|
; when the animation returns, so resync
|
||||||
; the current one with our OffscreenPage
|
; the current one with our OffscreenPage
|
||||||
|
@@ -102,6 +102,7 @@ SearchMode
|
|||||||
stx gGameToLaunch ; $FF = no game selected
|
stx gGameToLaunch ; $FF = no game selected
|
||||||
jsr BuildSearchStore
|
jsr BuildSearchStore
|
||||||
jsr Home ; clear screen (switches to text mode)
|
jsr Home ; clear screen (switches to text mode)
|
||||||
|
stx OffscreenPage ; don't show text page 2 by accident
|
||||||
jsr OnInputChanged ; draw UI offscreen
|
jsr OnInputChanged ; draw UI offscreen
|
||||||
jsr HGRMode ; show HGR screen
|
jsr HGRMode ; show HGR screen
|
||||||
jsr ResyncPage
|
jsr ResyncPage
|
||||||
|
Reference in New Issue
Block a user