From 2f3c6c7f9d8b70e83622c70359d0e0f888a905db Mon Sep 17 00:00:00 2001 From: 4am Date: Mon, 23 Dec 2019 22:39:20 -0500 Subject: [PATCH] Picnic Paranoia: acceleration support and reset vector patch --- src/prelaunch/picnic.paranoia.a | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/prelaunch/picnic.paranoia.a diff --git a/src/prelaunch/picnic.paranoia.a b/src/prelaunch/picnic.paranoia.a new file mode 100644 index 000000000..3b068052a --- /dev/null +++ b/src/prelaunch/picnic.paranoia.a @@ -0,0 +1,30 @@ +;license:MIT +;(c) 2019 by qkumba + +!cpu 6502 +!to "build/PRELAUNCH/PICNIC.PARANOIA",plain +*=$106 + + !source "src/prelaunch/common.a" + + +ENABLE_ACCEL + lda #callback + sta $450a + jmp $4500 + +callback + nop + +DISABLE_ACCEL + lda #0 + sta $45e5 + lda #1 + sta $45ea + eor #$A5 + sta $45ef + jmp $78fb + +!if * > $1C0 { + !error "code is too large, ends at ", * +}