From 502ef772c02043cf0514400f4a804a41c21f4fd9 Mon Sep 17 00:00:00 2001 From: frankmilliron <34376619+frankmilliron@users.noreply.github.com> Date: Sun, 29 Dec 2019 11:33:40 -0800 Subject: [PATCH] Reset vector fix (#92) --- src/prelaunch/skyfox.a | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/prelaunch/skyfox.a diff --git a/src/prelaunch/skyfox.a b/src/prelaunch/skyfox.a old mode 100644 new mode 100755 index fd8025729..2a72bab37 --- a/src/prelaunch/skyfox.a +++ b/src/prelaunch/skyfox.a @@ -1,5 +1,5 @@ ;license:MIT -;(c) 2019 by qkumba +;(c) 2019 by qkumba/Frank M. !cpu 6502 !to "build/PRELAUNCH/SKYFOX",plain @@ -8,10 +8,22 @@ !source "src/prelaunch/common.a" +ENABLE_ACCEL - inc $80 ; requires a non-zero value for the RNG + inc $80 ; requires a non-zero value for the RNG lda #$60 sta $7E31 jsr $4621 + + lda #$82 ; READ_ROM_NO_WRITE + sta $101 + lda #$A6 + sta $104 + lda #$FA + sta $105 ; update TR hook to reboot + lda #0 + sta $5FFC + lda #1 + sta $5FFD ; moved to LC $FFFC/D + +DISABLE_ACCEL jmp $67BD