mirror of
https://github.com/a2-4am/4sports.git
synced 2024-12-22 14:30:59 +00:00
fix some more prelaunchers
This commit is contained in:
parent
2da68a8cd7
commit
bcb24ae38d
@ -6,11 +6,10 @@
|
||||
!src "../common/src/macros.a"
|
||||
|
||||
+INIT_MACHINE
|
||||
jsr decrunch
|
||||
|
||||
!if * != $211F {
|
||||
!serious "Adjust prelaunch to patch JMP at ", *
|
||||
!if * != $211C {
|
||||
!serious "Adjust prelaunch to patch JSR at ", *, " to JMP"
|
||||
}
|
||||
jsr decrunch
|
||||
jmp $4000
|
||||
|
||||
get_crunched_byte
|
||||
|
@ -8,11 +8,13 @@
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$4C
|
||||
sta $211F
|
||||
sta $211C
|
||||
jsr $2100
|
||||
+DISABLE_ACCEL
|
||||
+RESET_VECTOR $100
|
||||
jmp $2122
|
||||
ldx #$FD
|
||||
txs
|
||||
jmp $211F
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
|
Loading…
Reference in New Issue
Block a user