fix some more prelaunchers

This commit is contained in:
4am 2024-04-21 15:49:48 -04:00
parent 2da68a8cd7
commit bcb24ae38d
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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 ", *