move games list, suppress CR, rebuild store after anim, don't show text page 2

This commit is contained in:
Peter Ferrie
2020-03-23 09:38:27 -07:00
parent 3df2664149
commit e156bf92ad
5 changed files with 7 additions and 3 deletions

View File

@@ -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

View File

@@ -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 -

View File

@@ -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

View File

@@ -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

View File

@@ -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