mirror of https://gitlab.com/camelot/kickc.git
18 lines
479 B
C
18 lines
479 B
C
// ByteBoozer decruncher
|
|
// https://github.com/p-a/kickass-cruncher-plugins
|
|
|
|
// Decrunch crunched data using ByteBoozer
|
|
// - crunched: Pointer to the start of the crunched data
|
|
void byteboozer_decrunch(char* crunched) {
|
|
asm {
|
|
ldy crunched
|
|
ldx crunched+1
|
|
jsr b2.Decrunch
|
|
}
|
|
}
|
|
|
|
// The byteboozer decruncher
|
|
export char BYTEBOOZER[] = kickasm(resource "byteboozer_decrunch.asm") {{
|
|
.const B2_ZP_BASE = $fc
|
|
#import "byteboozer_decrunch.asm"
|
|
}}; |