Add conditional jump to music player

This commit is contained in:
Natt Akuma 2025-11-26 20:54:53 +07:00
parent c006e1a0a2
commit 6c7de32c6e
8 changed files with 42 additions and 5 deletions

View file

@ -131,7 +131,7 @@ DISKIMAGE = $(BUILDDIR)/$(NAME)-$(_PLATFORM_).d64
AS_FLAGS = -Wa -I../../../shared -I ../../include -u __EXEHDR__
ZX0PRGS = \
use_this_sid.zx0.prg \
song0.zx0.prg \
badguy.zx0.prg \
title_320-prepared.zx0.prg \
tower.zx0.prg \
@ -180,7 +180,7 @@ $(DISKIMAGE): $(ASSEMBLE) $(CC1541) $(ZX0PRGS) $(LZPRGS) font.bin
$(RM) $@
$(CC1541) -n "otomata labs" -i " 2025" \
-f "ys2intro" -w $< \
-f "song0" -w use_this_sid.zx0.prg \
-f "song0" -w song0.zx0.prg \
-f "badguy" -w badguy.zx0.prg \
-f "font" -w font.bin \
-f "intrbmp" -w title_320-prepared.zx0.prg \
@ -226,7 +226,7 @@ $(ZX02):
$(PRINTF) "\x00\x90" | cat - $@.tmp > $@
$(RM) $@.tmp
use_this_sid.bin: ys2_port_legato.fur
song0.bin: ys2_fixed_drums.fur
cd $(FURC64) && ./convert.sh $(abspath $<)
cp $(FURC64)/asm/song.bin $@