2018-02-17 02:01:06 +00:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
|
|
PNG2GR = ../gr-utils/png2gr
|
|
|
|
|
2018-04-06 15:36:30 +00:00
|
|
|
all: chiptune_player.dsk chiptune_unrolled.dsk
|
2018-02-17 02:01:06 +00:00
|
|
|
|
2018-06-11 19:47:40 +00:00
|
|
|
$(DOS33):
|
|
|
|
cd ../dos33fs-utils && make
|
|
|
|
|
2018-09-04 16:59:05 +00:00
|
|
|
chiptune_player.dsk: CHIPTUNE_PLAYER ./krw/INTRO2.KRW HELLO
|
2018-02-26 15:40:03 +00:00
|
|
|
cp chiptune_empty.dsk chiptune_player.dsk
|
2018-09-04 16:59:05 +00:00
|
|
|
$(DOS33) -y chiptune_player.dsk SAVE A HELLO
|
2018-11-19 21:06:00 +00:00
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x0800 CHIPTUNE_PLAYER
|
2018-11-19 19:25:04 +00:00
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/CAMOUFLAGE.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/CHRISTMAS.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/CRMOROS.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/DEATH2.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/DEMO4.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/HARKONEN.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/INTRO2.KRW
|
|
|
|
# $(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/KORO.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/LYRA2.KRW
|
|
|
|
# $(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/MMCM.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/RANDOM.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/ROBOT.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/SDEMO.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/SPUTNIK.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/TECHNO.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/UNIVERSE.KRW
|
|
|
|
$(DOS33) -y chiptune_player.dsk BSAVE -a 0x1c00 ./krw/WAVE.KRW
|
2018-02-22 01:32:40 +00:00
|
|
|
# $(DOS33) -y chiptune_player.dsk SAVE B OUT.LZ4
|
2018-02-18 05:13:30 +00:00
|
|
|
# $(DOS33) -y chiptune_player.dsk BSAVE -a 0x6000 OUT.0
|
2018-02-17 05:26:58 +00:00
|
|
|
|
2018-02-17 02:01:06 +00:00
|
|
|
|
2018-04-06 15:36:30 +00:00
|
|
|
chiptune_unrolled.dsk: CHIPTUNE_UNROLLED ./krw/INTRO2.KRW
|
|
|
|
cp chiptune_empty.dsk chiptune_unrolled.dsk
|
2018-11-19 21:06:00 +00:00
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x0800 CHIPTUNE_UNROLLED
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/CAMOUFLAGE.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/CHRISTMAS.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/CRMOROS.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/DEATH2.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/DEMO4.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/HARKONEN.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/INTRO2.KRW
|
|
|
|
# $(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/KORO.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/LYRA2.KRW
|
|
|
|
# $(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/MMCM.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/RANDOM.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/ROBOT.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/SDEMO.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/SPUTNIK.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/TECHNO.KRW
|
|
|
|
$(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/UNIVERSE.KRW
|
|
|
|
# $(DOS33) -y chiptune_unrolled.dsk BSAVE -a 0x1c00 ./krw/WAVE.KRW
|
2018-04-06 15:36:30 +00:00
|
|
|
|
2018-09-04 16:59:05 +00:00
|
|
|
HELLO: hello.bas
|
|
|
|
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
|
2018-04-06 15:36:30 +00:00
|
|
|
|
2018-02-17 02:01:06 +00:00
|
|
|
CHIPTUNE_PLAYER: chiptune_player.o
|
2018-11-19 21:06:00 +00:00
|
|
|
ld65 -o CHIPTUNE_PLAYER chiptune_player.o -C ../linker_scripts/apple2_800.inc
|
2018-02-17 02:01:06 +00:00
|
|
|
|
|
|
|
chiptune_player.o: chiptune_player.s \
|
|
|
|
../asm_routines/mockingboard.s \
|
2018-02-18 03:45:17 +00:00
|
|
|
../asm_routines/dos33_routines.s \
|
2018-02-25 21:01:01 +00:00
|
|
|
../asm_routines/lz4_decode.s \
|
2018-02-26 15:02:32 +00:00
|
|
|
../asm_routines/keypress_minimal.s \
|
2018-11-19 19:25:04 +00:00
|
|
|
qkumba_rts.s \
|
2018-02-24 22:23:30 +00:00
|
|
|
rasterbars.s volume_bars.s interrupt_handler.s \
|
2018-11-19 21:06:00 +00:00
|
|
|
song_list.inc chip_title.inc zp.inc chip_title_uncompressed.inc
|
2018-02-17 02:01:06 +00:00
|
|
|
ca65 -o chiptune_player.o chiptune_player.s -l chiptune_player.lst
|
|
|
|
|
2018-04-06 15:36:30 +00:00
|
|
|
CHIPTUNE_UNROLLED: chiptune_unrolled.o
|
2018-11-19 21:06:00 +00:00
|
|
|
ld65 -o CHIPTUNE_UNROLLED chiptune_unrolled.o -C ../linker_scripts/apple2_800.inc
|
2018-04-06 15:36:30 +00:00
|
|
|
|
|
|
|
chiptune_unrolled.o: chiptune_player.s \
|
|
|
|
../asm_routines/mockingboard.s \
|
|
|
|
../asm_routines/dos33_routines.s \
|
|
|
|
../asm_routines/lz4_decode.s \
|
|
|
|
../asm_routines/keypress_minimal.s \
|
|
|
|
rasterbars.s volume_bars.s interrupt_handler_unrolled.s \
|
|
|
|
chip_title.inc zp.inc
|
|
|
|
ca65 -D UNROLLED=1 -o chiptune_unrolled.o chiptune_player.s -l chiptune_unrolled.lst
|
|
|
|
|
|
|
|
|
2018-02-17 02:01:06 +00:00
|
|
|
clean:
|
|
|
|
rm -f *~ TITLE.GR *.o *.lst \
|
2018-04-06 15:36:30 +00:00
|
|
|
CHIPTUNE_PLAYER CHIPTUNE_UNROLLED
|
2018-02-17 02:01:06 +00:00
|
|
|
|