2017-12-15 21:19:01 +00:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
|
|
PNG2GR = ../gr-utils/png2gr
|
|
|
|
PNG2RLE = ../gr-utils/png2rle
|
|
|
|
|
|
|
|
all: mode7_demo.dsk
|
|
|
|
|
|
|
|
$(DOS33):
|
|
|
|
cd ../dos33fs-utils && make
|
|
|
|
|
|
|
|
mode7_demo.dsk: $(DOS33) MODE7_DEMO
|
|
|
|
$(DOS33) -y mode7_demo.dsk BSAVE -a 0x1000 MODE7_DEMO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
MODE7_DEMO: mode7_demo.o
|
|
|
|
ld65 -o MODE7_DEMO mode7_demo.o -C ./apple2_1000.inc
|
|
|
|
|
2017-12-16 18:52:00 +00:00
|
|
|
mode7_demo.o: mode7_demo.s mode7_demo_backgrounds.inc \
|
2017-12-17 05:35:32 +00:00
|
|
|
../asm_routines/gr_unrle.s \
|
2017-12-16 18:52:00 +00:00
|
|
|
../asm_routines/hlin_clearscreen.s \
|
|
|
|
../asm_routines/gr_setpage.s
|
2017-12-15 21:19:01 +00:00
|
|
|
ca65 -o mode7_demo.o mode7_demo.s -l mode7_demo.lst
|
|
|
|
|
|
|
|
|
|
|
|
mode7_demo_backgrounds.inc: $(PNG2RLE) \
|
|
|
|
../tfv/demo.png
|
|
|
|
$(PNG2RLE) asm ../tfv/demo.png demo_rle > mode7_demo_backgrounds.inc
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o MODE7_DEMO *.lst
|
|
|
|
|