From 441a8f27f5b9033fd1579152857fb30a3c518de8 Mon Sep 17 00:00:00 2001 From: 4am Date: Tue, 8 Oct 2019 14:57:40 -0400 Subject: [PATCH] shave some bytes --- src/constants.a | 2 +- src/ui.attract.shr.a | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/constants.a b/src/constants.a index 8d343d4ff..8710e6705 100644 --- a/src/constants.a +++ b/src/constants.a @@ -9,7 +9,7 @@ ; D000..E611 - persistent data structures (per-game cheat categories, ; gGlobalPrefsStore, gGamesListStore) ; ...unused... -; EC24..FFF9 - main program code +; EC25..FFF9 - main program code ; FFFA..FFFF - NMI, reset, IRQ vectors ; ; LC RAM BANK 2 diff --git a/src/ui.attract.shr.a b/src/ui.attract.shr.a index 9b26da202..0f38207e0 100644 --- a/src/ui.attract.shr.a +++ b/src/ui.attract.shr.a @@ -12,7 +12,7 @@ SHRSlideshow lda MachineStatus ; only show SHR on IIgs or if we have a VidHD card and #SUPPORTS_SHR bne + -- rts +SHRRTS rts + jsr LoadSHRTransition jsr okvs_iter !word gSlideshowStore @@ -23,7 +23,7 @@ SHRSingle +STAY + lda MachineStatus ; only show SHR on IIgs or if we have a VidHD card and #SUPPORTS_SHR - beq - + beq SHRRTS jsr BlankSHR jsr LoadFile !word kRootDirectory @@ -62,16 +62,15 @@ LoadSHRTransition ;------------------------------------------------------------------------------ SHRArtworkCallback bit KBD - bpl + -- rts -+ + bmi SHRRTS + +STAY @sfname jsr GetGameInfo ; if game is not found (C will be set here), it means it can't be played on ; this machine due to memory or joystick requirements, so we don't display ; it in slideshows - bcs - + bcs SHRRTS stx gGameToLaunch jsr BlankSHR