minor catalog UI tweaks

This commit is contained in:
4am 2020-04-27 11:28:15 -04:00
parent 16d41a6803
commit cabaf81ebb
3 changed files with 14 additions and 11 deletions

View File

@ -144,13 +144,13 @@ catLineNum
!byte 4
@ln2 !byte $FD ; SMC
!word kCatLetter
inc catLineNum
inc kCatLetter + 1
rts
kCatLetter
!text "[A]",0
!text "(A)",0
;------------------------------------------------------------------------------
; User clicked on the screen, X, Y contain absolute mouse position
@ -216,14 +216,14 @@ catalog_next
cmp gameCount
beq @good
bcc @good
jmp SoftBell ; at end of list
jmp catalog_previous
@good sta startIndex
jmp RefreshCatalog
catalog_previous
lda startIndex
bne @1
jmp SoftBell ; at beginning of list
jmp catalog_next
@1
sec
sbc #MAXGAMES ; page back and refresh
@ -274,10 +274,13 @@ kStringCatalogFrame
!text "Catalog",0
kStringCatPrevious
!text "<--",0
!text "< "
!byte 144
!text "revious",0
kStringCatNext
!text "-->",0
!byte 142
!text "ext page >",0
kStringCatMain
!text "<ESC> Main",0
!text "Cancel",0

View File

@ -408,8 +408,8 @@ kStringNext
!byte $0E ; 'N' inverse
!text "ext game >",0
kStringCatalog
!byte $03 ; 'C' inverse
!text "atalog",0
!byte $0A ; 'J' inverse
!text "ump to",0
kStringOptions
!byte $13 ; 'S' inverse
!text "ettings",0

View File

@ -28,8 +28,8 @@ kMainKeys
!byte $E1,ID_BOXART ; a
!byte $D6,ID_VERSIONS ; V
!byte $F6,ID_VERSIONS ; v
!byte $C3,ID_CATALOG ; C
!byte $E3,ID_CATALOG ; c
!byte $CA,ID_CATALOG ; J
!byte $EA,ID_CATALOG ; j
!byte $D3,ID_OPTIONS ; S
!byte $F3,ID_OPTIONS ; s
!byte $D0,ID_PREVIOUS ; P