mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-04 20:06:09 +00:00
79 lines
2.7 KiB
Makefile
79 lines
2.7 KiB
Makefile
include ../Makefile.inc
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
PNG2GR = ../gr-utils/png2gr
|
|
|
|
all: pt3_player.dsk
|
|
|
|
$(DOS33):
|
|
cd ../dos33fs-utils && make
|
|
|
|
pt3_player.dsk: PT3_PLAYER PT3_DUMPER PT3_TIMER HELLO DUMP
|
|
cp empty.dsk pt3_player.dsk
|
|
$(DOS33) -y pt3_player.dsk SAVE A HELLO
|
|
$(DOS33) -y pt3_player.dsk SAVE A DUMP
|
|
$(DOS33) -y pt3_player.dsk BSAVE -a 0x1000 PT3_DUMPER
|
|
$(DOS33) -y pt3_player.dsk BSAVE -a 0x2000 PT3_PLAYER
|
|
$(DOS33) -y pt3_player.dsk BSAVE -a 0x2000 PT3_TIMER
|
|
$(DOS33) -y pt3_player.dsk BSAVE -a 0x4000 EA.PT3
|
|
$(DOS33) -y pt3_player.dsk BSAVE -a 0x4000 VC.PT3
|
|
$(DOS33) -y pt3_player.dsk BSAVE -a 0x4000 SR.PT3
|
|
# $(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
|
|
# $(DOS33) -y chiptune_player.dsk SAVE B OUT.LZ4
|
|
# $(DOS33) -y chiptune_player.dsk BSAVE -a 0x6000 OUT.0
|
|
|
|
HELLO: hello.bas
|
|
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
|
|
|
|
DUMP: dump.bas
|
|
../asoft_basic-utils/tokenize_asoft < dump.bas > DUMP
|
|
|
|
|
|
#
|
|
|
|
PT3_PLAYER: pt3_player.o
|
|
ld65 -o PT3_PLAYER pt3_player.o -C ../linker_scripts/apple2_2000.inc
|
|
|
|
pt3_player.o: pt3_player.s \
|
|
gr_fast_clear.s pt3_lib.s interrupt_handler.s zp.inc
|
|
ca65 -o pt3_player.o pt3_player.s -l pt3_player.lst
|
|
|
|
#
|
|
|
|
PT3_TIMER: pt3_timer.o
|
|
ld65 -o PT3_TIMER pt3_timer.o -C ../linker_scripts/apple2_2000.inc
|
|
|
|
pt3_timer.o: pt3_timer.s \
|
|
gr_fast_clear.s pt3_lib.s interrupt_handler.s zp.inc
|
|
ca65 -o pt3_timer.o pt3_timer.s -l pt3_timer.lst
|
|
|
|
#
|
|
|
|
PT3_DUMPER: pt3_dumper.o
|
|
ld65 -o PT3_DUMPER pt3_dumper.o -C ../linker_scripts/apple2_1000.inc
|
|
|
|
pt3_dumper.o: pt3_dumper.s \
|
|
gr_fast_clear.s pt3_lib.s interrupt_handler.s zp.inc
|
|
ca65 -o pt3_dumper.o pt3_dumper.s -l pt3_dumper.lst
|
|
|
|
|
|
clean:
|
|
rm -f *~ TITLE.GR *.o *.lst \
|
|
PT3_PLAYER PT3_TIMER PT3_DUMPER
|
|
|