2017-12-15 16:19:01 -05: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
|
|
|
|
|
2018-09-04 12:40:13 -04:00
|
|
|
mode7_demo.dsk: $(DOS33) MODE7_DEMO MODE7_DEMO_C HELLO
|
2018-03-19 21:23:45 -04:00
|
|
|
# $(DOS33) -y mode7_demo.dsk BSAVE -a 0x4000 MODE7_DEMO
|
2018-03-13 10:44:18 -04:00
|
|
|
$(DOS33) -y mode7_demo.dsk BSAVE -a 0x2000 MODE7_DEMO_C
|
2018-09-04 12:40:13 -04:00
|
|
|
$(DOS33) -y mode7_demo.dsk SAVE A HELLO
|
2017-12-15 16:19:01 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-04 12:40:13 -04:00
|
|
|
####
|
|
|
|
HELLO: hello.bas
|
|
|
|
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
|
|
|
|
|
2018-03-04 23:09:32 -05:00
|
|
|
###
|
|
|
|
|
|
|
|
MODE7_DEMO_C: mode7_decompress.o
|
2018-03-13 10:44:18 -04:00
|
|
|
ld65 -o MODE7_DEMO_C mode7_decompress.o -C ../linker_scripts/apple2_2000.inc
|
2018-03-04 23:09:32 -05:00
|
|
|
|
|
|
|
mode7_decompress.o: mode7_decompress.s MODE7_DEMO.lz4 \
|
|
|
|
zp.inc
|
|
|
|
ca65 -o mode7_decompress.o mode7_decompress.s
|
|
|
|
|
|
|
|
|
|
|
|
MODE7_DEMO.lz4: MODE7_DEMO
|
|
|
|
lz4 -f -16 MODE7_DEMO
|
|
|
|
|
2017-12-15 16:19:01 -05:00
|
|
|
###
|
|
|
|
|
|
|
|
MODE7_DEMO: mode7_demo.o
|
2018-03-13 10:44:18 -04:00
|
|
|
ld65 -o MODE7_DEMO mode7_demo.o -C ../linker_scripts/apple2_4000.inc
|
2017-12-15 16:19:01 -05:00
|
|
|
|
2018-01-27 23:28:17 -05:00
|
|
|
mode7_demo.o: mode7_demo.s mode7_demo_backgrounds.inc sprites.inc \
|
2018-03-19 16:34:54 -04:00
|
|
|
a2.scrolltext deater.scrolltext wave.krg \
|
2018-05-21 11:18:33 -04:00
|
|
|
gr_unrle.s \
|
|
|
|
gr_fast_clear.s \
|
2018-03-19 19:11:17 -04:00
|
|
|
gr_setpage.s \
|
2018-05-21 11:18:33 -04:00
|
|
|
gr_fade.s \
|
|
|
|
gr_copy.s \
|
|
|
|
gr_scroll.s \
|
2018-03-19 19:02:28 -04:00
|
|
|
mockingboard.s \
|
2018-03-01 19:52:11 -05:00
|
|
|
credits.s mode7.s rasterbars.s starfield_demo.s \
|
2018-03-13 13:19:13 -04:00
|
|
|
interrupt_handler.s \
|
2018-03-01 19:52:11 -05:00
|
|
|
zp.inc
|
2017-12-15 16:19:01 -05:00
|
|
|
ca65 -o mode7_demo.o mode7_demo.s -l mode7_demo.lst
|
|
|
|
|
2018-02-28 16:45:09 -05:00
|
|
|
$(PNG2RLE):
|
|
|
|
cd ../gr-utils && make
|
|
|
|
|
2017-12-15 16:19:01 -05:00
|
|
|
|
|
|
|
mode7_demo_backgrounds.inc: $(PNG2RLE) \
|
2018-06-22 20:12:36 -04:00
|
|
|
demo.png
|
|
|
|
$(PNG2RLE) asm demo.png demo_rle > mode7_demo_backgrounds.inc
|
2017-12-15 16:19:01 -05:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2018-03-04 23:11:06 -05:00
|
|
|
rm -f *~ *.o MODE7_DEMO MODE7_DEMO_C MODE7_DEMO.lz4 *.lst
|
2018-06-10 23:45:44 -04:00
|
|
|
cd docs && make clean
|