shave some bytes

This commit is contained in:
4am 2019-10-08 19:25:43 -04:00
parent 4cbfb15814
commit 863b8f5179
2 changed files with 4 additions and 7 deletions

View File

@ -9,7 +9,7 @@
; D000..E611 - persistent data structures (per-game cheat categories, ; D000..E611 - persistent data structures (per-game cheat categories,
; gGlobalPrefsStore, gGamesListStore) ; gGlobalPrefsStore, gGamesListStore)
; ...unused... ; ...unused...
; EC26..FFF9 - main program code ; EC29..FFF9 - main program code
; FFFA..FFFF - NMI, reset, IRQ vectors ; FFFA..FFFF - NMI, reset, IRQ vectors
; ;
; LC RAM BANK 2 ; LC RAM BANK 2

View File

@ -56,14 +56,11 @@ MegaAttractMode
+LDAY @mname ; A/Y = address of module name +LDAY @mname ; A/Y = address of module name
jsr RunAttractModule jsr RunAttractModule
lda KBD lda KBD
bpl @jmpattract bpl MegaAttractMode
cmp #$8D ; Enter plays the game shown on screen. cmp #$8D ; Enter plays the game shown on screen.
bne @jmpsearch ; Any other key switches to Search Mode. bne + ; Any other key switches to Search Mode.
jsr PlayGame ; (might return if user hits Ctrl-Reset) jsr PlayGame ; (might return if user hits Ctrl-Reset)
@jmpattract + jmp SearchMode
jmp MegaAttractMode
@jmpsearch
jmp SearchMode
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; MiniAttractMode ; MiniAttractMode