mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-01 05:31:52 +00:00
riven_hgr: optimize overlays in movie1
This commit is contained in:
parent
86b941b3d4
commit
e27ae2c7f9
@ -79,6 +79,16 @@ movie1_start:
|
||||
; load overlays to $2000-$2FFF
|
||||
;=============================
|
||||
|
||||
lda #<combined_overlays_zx02
|
||||
sta ZX0_src
|
||||
lda #>combined_overlays_zx02
|
||||
sta ZX0_src+1
|
||||
|
||||
lda #$20
|
||||
|
||||
jsr full_decomp
|
||||
|
||||
.if 0
|
||||
lda #0
|
||||
sta WHICH_OVERLAY
|
||||
|
||||
@ -101,7 +111,7 @@ load_overlay_loop:
|
||||
lda WHICH_OVERLAY
|
||||
cmp #8
|
||||
bne load_overlay_loop
|
||||
|
||||
.endif
|
||||
|
||||
;===============================
|
||||
;===============================
|
||||
@ -417,6 +427,15 @@ frames_h:
|
||||
|
||||
|
||||
|
||||
|
||||
overlay_mask_zx02:
|
||||
.incbin "movie1/overlays/maglev_overlay_mask.gr.zx02"
|
||||
|
||||
combined_overlays_zx02:
|
||||
.incbin "movie1/overlays/combined_overlays.zx02"
|
||||
|
||||
|
||||
.if 0
|
||||
overlays_l:
|
||||
.byte <overlay25,<overlay29,<overlay30
|
||||
.byte <overlay31,<overlay32,<overlay33
|
||||
@ -427,8 +446,6 @@ overlays_h:
|
||||
.byte >overlay31,>overlay32,>overlay33
|
||||
.byte >overlay34,>overlay35
|
||||
|
||||
overlay_mask_zx02:
|
||||
.incbin "movie1/overlays/maglev_overlay_mask.gr.zx02"
|
||||
|
||||
overlay25:
|
||||
.incbin "movie1/overlays/overlay25.gr.zx02"
|
||||
@ -448,3 +465,4 @@ overlay35:
|
||||
.incbin "movie1/overlays/overlay35.gr.zx02"
|
||||
|
||||
|
||||
.endif
|
||||
|
@ -4,14 +4,31 @@ ZX02 = ~/research/6502_compression/zx02.git/build/zx02
|
||||
PNG2GR = ../../../../utils/gr-utils/png2gr
|
||||
|
||||
all: maglev_overlay.gr.zx02 maglev_overlay_mask.gr.zx02 \
|
||||
overlay25.gr.zx02 \
|
||||
overlay29.gr.zx02 \
|
||||
overlay30.gr.zx02 \
|
||||
overlay31.gr.zx02 \
|
||||
overlay32.gr.zx02 \
|
||||
overlay33.gr.zx02 \
|
||||
overlay34.gr.zx02 \
|
||||
overlay35.gr.zx02
|
||||
combined_overlays.zx02
|
||||
|
||||
|
||||
combined_overlays.zx02: combined_overlays
|
||||
$(ZX02) -f combined_overlays combined_overlays.zx02
|
||||
|
||||
combined_overlays: \
|
||||
overlay25.gr \
|
||||
overlay29.gr \
|
||||
overlay30.gr \
|
||||
overlay31.gr \
|
||||
overlay32.gr \
|
||||
overlay33.gr \
|
||||
overlay34.gr \
|
||||
overlay35.gr
|
||||
cat overlay25.gr > combined_overlays
|
||||
cat overlay29.gr >> combined_overlays
|
||||
cat overlay30.gr >> combined_overlays
|
||||
cat overlay31.gr >> combined_overlays
|
||||
cat overlay32.gr >> combined_overlays
|
||||
cat overlay33.gr >> combined_overlays
|
||||
cat overlay34.gr >> combined_overlays
|
||||
cat overlay35.gr >> combined_overlays
|
||||
|
||||
|
||||
|
||||
####
|
||||
|
||||
@ -24,5 +41,5 @@ all: maglev_overlay.gr.zx02 maglev_overlay_mask.gr.zx02 \
|
||||
####
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o *.lst *.zx02 *.gr
|
||||
rm -f *~ *.o *.lst *.zx02 *.gr combined_overlays
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 835 B After Width: | Height: | Size: 839 B |
@ -185,7 +185,7 @@ done_setup_sound:
|
||||
jsr wait_a_bit
|
||||
|
||||
; debug: ready2go for animation test
|
||||
|
||||
.if 1
|
||||
lda #LOAD_MAGLEV
|
||||
sta WHICH_LOAD ; inside maglev
|
||||
|
||||
@ -194,6 +194,8 @@ done_setup_sound:
|
||||
|
||||
lda #DIRECTION_E ; facing east
|
||||
sta DIRECTION
|
||||
.endif
|
||||
|
||||
.if 0
|
||||
lda #LOAD_OUTSIDE
|
||||
sta WHICH_LOAD ; assume new game (dome island)
|
||||
|
Loading…
Reference in New Issue
Block a user