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

30 lines
665 B
Plaintext
Raw Normal View History

2024-04-01 02:20:23 +00:00
!cpu 6502
*=$0800
!to "build/MICROGOLF#060800",plain
!src "../common/src/constants.a"
!src "../common/src/macros.a"
jmp start
compressed_data
!bin "src/OBJ.X"
2024-04-03 23:56:08 +00:00
FORWARD_DECRUNCHING = 1
2024-04-01 02:20:23 +00:00
SHOW_PROGRESS_DURING_DECRUNCH = 0
!src "../common/src/exodecrunch.a"
start
+INIT_MACHINE
!if * != $18B6 {
2024-04-21 19:43:11 +00:00
!serious "Adjust prelaunch to patch JSR at ", *, " to JMP"
2024-04-01 02:20:23 +00:00
}
jsr decrunch ; compressed data contains target address
jmp $5000
get_crunched_byte
lda compressed_data
inc get_crunched_byte+1
bne +
inc get_crunched_byte+2
+ rts