From 71f2ca9006a47d352ad28cc59b3c0b84b3a3cc39 Mon Sep 17 00:00:00 2001 From: 4am Date: Sun, 21 Apr 2024 15:52:49 -0400 Subject: [PATCH] fix some more prelaunchers --- res/ports/anchorman/src/anchorman.a | 7 +++---- src/prelaunch/anchorman.a | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/res/ports/anchorman/src/anchorman.a b/res/ports/anchorman/src/anchorman.a index 39385bc..4d00dde 100644 --- a/res/ports/anchorman/src/anchorman.a +++ b/res/ports/anchorman/src/anchorman.a @@ -18,11 +18,10 @@ dec ExoProgressPtr+1 dec ExoProgressPtr+1 dec ExoProgressPtr+1 - jsr decrunch_no_reset_progress ; decompress more data into $6000/main - -!if * != $485C { - !serious "Adjust prelaunch to patch JMP at ", * +!if * != $4859 { + !serious "Adjust prelaunch to patch JSR at ", *, " to JMP" } + jsr decrunch_no_reset_progress ; decompress more data into $6000/main jmp $AEE0 get_crunched_byte diff --git a/src/prelaunch/anchorman.a b/src/prelaunch/anchorman.a index e7a745b..ef66622 100644 --- a/src/prelaunch/anchorman.a +++ b/src/prelaunch/anchorman.a @@ -8,11 +8,11 @@ +ENABLE_ACCEL lda #$4C - sta $485C + sta $4859 jsr $4800 +DISABLE_ACCEL +RESET_VECTOR $100 - jmp $485F + jmp $485C !if * > $1C0 { !error "code is too large, ends at ", *