From 15277b1ac8a1a1bd28b8ca03c3b0548f82e647c1 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Mon, 4 Oct 2021 07:22:40 -0700 Subject: [PATCH] Defender (Joe Holt) reset vector --- src/prelaunch/defender.joe.holt.a | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/prelaunch/defender.joe.holt.a diff --git a/src/prelaunch/defender.joe.holt.a b/src/prelaunch/defender.joe.holt.a new file mode 100644 index 000000000..c470ffa07 --- /dev/null +++ b/src/prelaunch/defender.joe.holt.a @@ -0,0 +1,21 @@ +;license:MIT +;(c) 2021 by qkumba + +!cpu 6502 +!to "build/PRELAUNCH/DJ",plain +*=$106 + + !source "src/prelaunch/common.a" + + +ENABLE_ACCEL + lda #$60 + sta $202F + jsr $2000 ; decompress + lda #$88 + sta $E001 + jsr DisableAccelerator + jmp $200 + +!if * > $1C0 { + !error "code is too large, ends at ", * +}