mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-22 09:30:04 +00:00
Picnic Paranoia: acceleration support and reset vector patch
This commit is contained in:
parent
8e49aca42e
commit
2f3c6c7f9d
30
src/prelaunch/picnic.paranoia.a
Normal file
30
src/prelaunch/picnic.paranoia.a
Normal 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 ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user