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
|
|
|
|
|
|
|
|
mode7_demo.dsk: $(DOS33) MODE7_DEMO
|
2017-12-21 14:59:06 -05:00
|
|
|
$(DOS33) -y mode7_demo.dsk BSAVE -a 0x2000 MODE7_DEMO
|
2017-12-15 16:19:01 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
MODE7_DEMO: mode7_demo.o
|
2018-02-07 17:45:11 -05:00
|
|
|
ld65 -o MODE7_DEMO mode7_demo.o -C ../linker_scripts/apple2_2000.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 \
|
2017-12-18 01:05:05 -05:00
|
|
|
a2.scrolltext deater.scrolltext \
|
2017-12-17 00:35:32 -05:00
|
|
|
../asm_routines/gr_unrle.s \
|
2017-12-31 15:22:38 -05:00
|
|
|
../asm_routines/gr_fast_clear.s \
|
2017-12-17 22:35:21 -05:00
|
|
|
../asm_routines/gr_setpage.s \
|
2017-12-17 23:06:49 -05:00
|
|
|
../asm_routines/gr_fade.s \
|
2017-12-18 00:40:13 -05:00
|
|
|
../asm_routines/gr_copy.s \
|
2017-12-21 14:59:06 -05:00
|
|
|
../asm_routines/gr_scroll.s \
|
2018-01-31 10:16:43 -05:00
|
|
|
credits.s mode7.s rasterbars.s starfield_demo.s
|
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) \
|
|
|
|
../tfv/demo.png
|
|
|
|
$(PNG2RLE) asm ../tfv/demo.png demo_rle > mode7_demo_backgrounds.inc
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o MODE7_DEMO *.lst
|
|
|
|
|