mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-30 22:29:43 +00:00
32 lines
581 B
Plaintext
Executable File
32 lines
581 B
Plaintext
Executable File
;license:MIT
|
|
;(c) 2019 by Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/PIEMAN",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60 ; hook1
|
|
sta $3EA9
|
|
jsr $3E88 ; decompress
|
|
+DISABLE_ACCEL
|
|
|
|
lda #$60 ; hook2
|
|
sta $A050
|
|
jsr $A000 ; title/load
|
|
|
|
lda #$60 ; hook3
|
|
sta $948
|
|
jsr $940
|
|
|
|
; re-patch reset vector
|
|
+RESET_VECTOR $100
|
|
|
|
jmp $950
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|