2023-02-02 04:06:46 +00:00
|
|
|
; Compressed ZX02 wrapper
|
2023-01-30 13:53:53 +00:00
|
|
|
;
|
|
|
|
; by deater (Vince Weaver) <vince@deater.net>
|
|
|
|
|
|
|
|
.include "zp.inc"
|
|
|
|
.include "hardware.inc"
|
|
|
|
|
|
|
|
ad_start:
|
|
|
|
|
|
|
|
; size in ldsizeh:ldsizel (f1/f0)
|
|
|
|
|
2023-02-03 20:45:12 +00:00
|
|
|
; lda #<src
|
|
|
|
; sta zx_src_l+1
|
|
|
|
; lda #>src
|
|
|
|
; sta zx_src_h+1
|
2023-01-30 13:53:53 +00:00
|
|
|
|
2023-02-03 20:45:12 +00:00
|
|
|
; lda #$80
|
2023-01-30 13:53:53 +00:00
|
|
|
|
2023-02-03 20:45:12 +00:00
|
|
|
.include "zx02_small.s"
|
|
|
|
|
|
|
|
; jsr zx02_full_decomp
|
2023-01-30 13:53:53 +00:00
|
|
|
|
2023-02-02 04:06:46 +00:00
|
|
|
jmp $8000
|
2023-01-30 13:53:53 +00:00
|
|
|
|
|
|
|
|
2023-02-03 20:45:12 +00:00
|
|
|
; .include "zx02_optim.s"
|
|
|
|
|
2023-01-30 13:53:53 +00:00
|
|
|
|
2023-02-03 20:45:12 +00:00
|
|
|
|
|
|
|
comp_data:
|
2023-02-02 04:06:46 +00:00
|
|
|
.incbin "BLUE_FLAME.ZX02"
|
2023-02-03 20:45:12 +00:00
|
|
|
|
|
|
|
zx0_ini_block:
|
|
|
|
.byte $00, $00, <comp_data, >comp_data, <out_addr, >out_addr, $80
|