From 5aee0cf8670b2fd578afe351016e83325e574fb9 Mon Sep 17 00:00:00 2001 From: frankmilliron <34376619+frankmilliron@users.noreply.github.com> Date: Mon, 18 May 2020 20:14:55 -0700 Subject: [PATCH] reset fixes (#207) --- src/prelaunch/realm.imposs.a | 7 ++++++- src/prelaunch/wayout.a | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/prelaunch/realm.imposs.a b/src/prelaunch/realm.imposs.a index ad1d231fc..dc3c27ce1 100644 --- a/src/prelaunch/realm.imposs.a +++ b/src/prelaunch/realm.imposs.a @@ -1,5 +1,5 @@ ;license:MIT -;(c) 2020 by qkumba +;(c) 2020 by qkumba/Frank M. !cpu 6502 !to "build/PRELAUNCH/REALM.IMPOSS",plain @@ -8,6 +8,10 @@ !source "src/prelaunch/common.a" +ENABLE_ACCEL + +READ_RAM1_WRITE_RAM1 + +LC_REBOOT + +READ_ROM_NO_WRITE + lda #$60 sta $41AD jsr $4000 ; decompress @@ -19,6 +23,7 @@ sta $AF1D ; patch - don't decrease hit-points + bit $C083 + +LC_REBOOT jsr DisableAccelerator bit $C08B jmp $1953 diff --git a/src/prelaunch/wayout.a b/src/prelaunch/wayout.a index 85a19bff6..0cd036078 100644 --- a/src/prelaunch/wayout.a +++ b/src/prelaunch/wayout.a @@ -1,5 +1,5 @@ ;license:MIT -;(c) 2020 by qkumba +;(c) 2020 by qkumba/Frank M. !cpu 6502 !to "build/PRELAUNCH/WAYOUT",plain @@ -19,6 +19,7 @@ jsr $8D53 ; decompress even more lda #$20 sta $8D75 + +RESET_VECTOR $100 +DISABLE_ACCEL jmp $8D75