4sports/res/ports/wipeout/src/wipeout.a

31 lines
732 B
Plaintext

!cpu 6502
*=$0800
!to "build/WIPEOUT#060800",plain
!src "../common/src/constants.a"
!src "../common/src/macros.a"
jmp start
compressed_data
!bin "src/OBJ.X"
FORWARD_DECRUNCHING = 1
SHOW_PROGRESS_DURING_DECRUNCH = 1
kExoProgressWidth = 13 ; depends on total size, max 38
!src "../common/src/exodecrunch.a"
start
+INIT_MACHINE
!if * != $356C {
!serious "Adjust prelaunch to patch JSR at ", *, " to JMP"
}
jsr decrunch ; compressed data contains target address
jmp $4000
get_crunched_byte
lda compressed_data
inc get_crunched_byte+1
bne +
inc get_crunched_byte+2
+ rts