mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-02 06:30:47 +00:00
7a7724130a
* big bunch of reset fixes * big bunch of reset fixes.
35 lines
681 B
Plaintext
35 lines
681 B
Plaintext
;license:MIT
|
|
;(c) 2021 by Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/MAZEBLOX",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #<hook1
|
|
sta $A10+1
|
|
lda #>hook1
|
|
sta $A10+2
|
|
jmp $800 ; decompress1
|
|
|
|
hook1 lda #<hook2
|
|
sta $B747+1
|
|
lda #>hook2
|
|
sta $B747+2
|
|
jmp $B700 ; decompress2
|
|
|
|
hook2 lda #<hook3
|
|
sta $9E4D+1
|
|
lda #>hook3
|
|
sta $9E4D+2
|
|
jmp $9D84 ; decompress3
|
|
|
|
hook3 +RESET_VECTOR $100
|
|
+DISABLE_ACCEL
|
|
jmp $A180
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
} |