Picnic Paranoia: acceleration support and reset vector patch

This commit is contained in:
4am 2019-12-23 22:39:20 -05:00
parent 8e49aca42e
commit 2f3c6c7f9d

View File

@ -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 $450d
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 ", *
}