Add music player source

This commit is contained in:
Natt Akuma 2025-11-26 19:42:34 +07:00
parent 3f4765029b
commit c006e1a0a2
35 changed files with 7608 additions and 6 deletions

View file

@ -97,6 +97,7 @@ C1541 = c1541
CC1541 = ../../tools/cc1541/cc1541
ZX02 = zx02/build/zx02
ZX02_SRC = zx02
FURC64 = furC64
PYTHON = python3
MKDIR = mkdir -p
@ -130,6 +131,7 @@ DISKIMAGE = $(BUILDDIR)/$(NAME)-$(_PLATFORM_).d64
AS_FLAGS = -Wa -I../../../shared -I ../../include -u __EXEHDR__
ZX0PRGS = \
use_this_sid.zx0.prg \
badguy.zx0.prg \
title_320-prepared.zx0.prg \
tower.zx0.prg \
@ -174,11 +176,11 @@ endif
diskimage: $(DISKIMAGE)
$(DISKIMAGE): $(ASSEMBLE) $(CC1541) $(ZX0PRGS) $(LZPRGS) use_this_sid.bin font.bin
$(DISKIMAGE): $(ASSEMBLE) $(CC1541) $(ZX0PRGS) $(LZPRGS) font.bin
$(RM) $@
$(CC1541) -n "otomata labs" -i " 2025" \
-f "ys2intro" -w $< \
-f "sid" -w use_this_sid.bin \
-f "song0" -w use_this_sid.zx0.prg \
-f "badguy" -w badguy.zx0.prg \
-f "font" -w font.bin \
-f "intrbmp" -w title_320-prepared.zx0.prg \
@ -224,6 +226,10 @@ $(ZX02):
$(PRINTF) "\x00\x90" | cat - $@.tmp > $@
$(RM) $@.tmp
use_this_sid.bin: ys2_port_legato.fur
cd $(FURC64) && ./convert.sh $(abspath $<)
cp $(FURC64)/asm/song.bin $@
clean:
-$(RM) $(ZX0PRGS) $(LZPRGS)
-$(RM) *.o $(ASSEMBLE) $(DISKIMAGE)