From 7675a29e1c7b535112b4e25b76b7b970af0df520 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Sun, 5 Jul 2020 16:17:54 -0700 Subject: [PATCH] fix David's Midnight Magic highscore display on IIGS --- src/prelaunch/davids.magic.a | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/prelaunch/davids.magic.a diff --git a/src/prelaunch/davids.magic.a b/src/prelaunch/davids.magic.a new file mode 100644 index 000000000..d30be8fda --- /dev/null +++ b/src/prelaunch/davids.magic.a @@ -0,0 +1,34 @@ +;license:MIT +;(c) 2020 by qkumba + +!cpu 6502 +!to "build/PRELAUNCH/DAVIDS.MAGIC",plain +*=$106 + + !source "src/prelaunch/common.a" + + +ENABLE_ACCEL + lda #callback + sta $82C + lda #$60 + sta $A54 + jsr $800 ; decompress + lda #$60 + sta $614 + jsr $600 + +DISABLE_ACCEL + +USES_TEXT_PAGE_2 + jmp $802 + +callback + +DISABLE_ACCEL + lda #$BA + jsr $8BBB + +ENABLE_ACCEL + rts + +!if * > $1C0 { + !error "code is too large, ends at ", * +}