riven_hgr: start hooking up movie

This commit is contained in:
Vince Weaver 2024-05-23 14:58:10 -04:00
parent e27ae2c7f9
commit 5fe012edbc
7 changed files with 39 additions and 1 deletions

View File

@ -157,7 +157,7 @@ movie2_loop:
inc SCENE_COUNT
lda SCENE_COUNT
cmp #1
cmp #5
beq done_play_movie2
ldx #2
@ -315,9 +315,17 @@ done_pageflip:
frames_l:
.byte <img096_bg_zx02
.byte <img114_bg_zx02
.byte <img115_bg_zx02
.byte <img116_bg_zx02
.byte <img117_bg_zx02
frames_h:
.byte >img096_bg_zx02
.byte >img114_bg_zx02
.byte >img115_bg_zx02
.byte >img116_bg_zx02
.byte >img117_bg_zx02
overlay_mask_zx02:
.incbin "movie2/overlays/maglev_overlay_mask.gr.zx02"

View File

@ -0,0 +1,30 @@
include ../../../Makefile.inc
ZX02 = ~/research/6502_compression/zx02.git/build/zx02
PNG2GR = ../../../utils/gr-utils/png2gr
all: movie2.inc
movie2.inc: \
img096_bg.gr.zx02 \
img114_bg.gr.zx02 img115_bg.gr.zx02 img116_bg.gr.zx02 \
img117_bg.gr.zx02
echo "img096_bg_zx02: .incbin \"img096_bg.gr.zx02\"" > movie2.inc
echo "img114_bg_zx02: .incbin \"img114_bg.gr.zx02\"" >> movie2.inc
echo "img115_bg_zx02: .incbin \"img115_bg.gr.zx02\"" >> movie2.inc
echo "img116_bg_zx02: .incbin \"img116_bg.gr.zx02\"" >> movie2.inc
echo "img117_bg_zx02: .incbin \"img117_bg.gr.zx02\"" >> movie2.inc
####
%.gr: %.png
$(PNG2GR) $< $@
%.gr.zx02: %.gr
$(ZX02) -f $< $@
####
clean:
rm -f *~ *.o *.lst *.zx02 *.gr movie2.inc

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B