dos33fsprogs/mode7/Makefile

169 lines
4.8 KiB
Makefile
Raw Normal View History

include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG2GR = ../gr-utils/png2gr
PNG2RLE = ../gr-utils/png2rle
2017-12-18 20:26:31 +00:00
all: mode7.dsk scroller background
$(DOS33):
cd ../dos33fs-utils && make
2017-12-14 05:59:34 +00:00
mode7.dsk: $(DOS33) MODE7_ISLAND MODE7_CHECKERBOARD MODE7_RAINBOW \
2018-01-13 05:59:53 +00:00
PLOT_TEST RASTERBARS SCROLL_DEMO SKY_DEMO \
2018-01-26 05:03:28 +00:00
STARFIELD_DEMO STARFIELD_1K TEXT_DEMO
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 MODE7_ISLAND
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 MODE7_CHECKERBOARD
2017-12-14 05:59:34 +00:00
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 MODE7_RAINBOW
2018-01-01 00:21:31 +00:00
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 PLOT_TEST
2018-01-13 05:59:53 +00:00
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 RASTERBARS
2017-12-14 05:59:34 +00:00
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 SCROLL_DEMO
2017-12-18 20:26:31 +00:00
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 SKY_DEMO
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 STARFIELD_DEMO
2018-01-01 01:41:59 +00:00
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 STARFIELD_1K
2018-01-26 05:03:28 +00:00
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 TEXT_DEMO
2017-12-14 05:59:34 +00:00
###
MODE7_ISLAND: mode7_island.o
ld65 -o MODE7_ISLAND mode7_island.o -C ./apple2_1000.inc
mode7_island.o: mode7.s island_lookup.s island_map.inc \
2017-12-16 19:17:33 +00:00
zp.inc sprites.inc \
../asm_routines/gr_hlin.s \
2017-12-16 19:17:33 +00:00
../asm_routines/multiply_fast.s \
../asm_routines/gr_fast_clear.s \
2017-12-16 19:05:57 +00:00
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/keypress.s \
../asm_routines/gr_putsprite.s \
../asm_routines/text_print.s
ca65 -o mode7_island.o mode7.s -D ISLAND_MAP=1 -l mode7.lst
MODE7_CHECKERBOARD: mode7_checkerboard.o
ld65 -o MODE7_CHECKERBOARD mode7_checkerboard.o -C ./apple2_1000.inc
mode7_checkerboard.o: mode7.s checkerboard_lookup.s \
2017-12-16 19:17:33 +00:00
zp.inc sprites.inc \
../asm_routines/gr_hlin.s \
2017-12-16 19:17:33 +00:00
../asm_routines/multiply_fast.s \
../asm_routines/gr_fast_clear.s \
2017-12-16 19:05:57 +00:00
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/keypress.s \
../asm_routines/gr_putsprite.s \
../asm_routines/text_print.s \
../asm_routines/gr_scroll.s \
../asm_routines/bg_scroll.s
ca65 -o mode7_checkerboard.o mode7.s -D CHECKERBOARD_MAP=1 -l mode7.lst
2017-12-14 05:59:34 +00:00
MODE7_RAINBOW: mode7_rainbow.o
ld65 -o MODE7_RAINBOW mode7_rainbow.o -C ./apple2_1000.inc
mode7_rainbow.o: mode7.s rainbow_lookup.s \
2017-12-16 19:17:33 +00:00
zp.inc sprites.inc \
../asm_routines/multiply_fast.s \
../asm_routines/gr_fast_clear.s \
../asm_routines/gr_hlin.s \
2017-12-16 19:05:57 +00:00
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/keypress.s \
../asm_routines/gr_putsprite.s \
../asm_routines/text_print.s
2017-12-14 05:59:34 +00:00
ca65 -o mode7_rainbow.o mode7.s -D RAINBOW_MAP=1 -l mode7.lst
2018-01-01 00:21:31 +00:00
PLOT_TEST: plot_test.o
ld65 -o PLOT_TEST plot_test.o -C ./apple2_1000.inc
plot_test.o: plot_test.s \
../asm_routines/gr_setpage.s
ca65 -o plot_test.o plot_test.s -l plot_test.lst
2017-12-14 05:59:34 +00:00
SCROLL_DEMO: scroll_demo.o
ld65 -o SCROLL_DEMO scroll_demo.o -C ./apple2_1000.inc
scroll_demo.o: scroll_demo.s \
2017-12-18 06:13:03 +00:00
deater_scroll.inc \
../asm_routines/gr_hlin.s \
../asm_routines/gr_fast_clear.s \
2017-12-18 06:13:03 +00:00
../asm_routines/gr_scroll.s \
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s
2017-12-14 05:59:34 +00:00
ca65 -o scroll_demo.o scroll_demo.s -l scroll_demo.lst
2017-12-18 20:26:31 +00:00
SKY_DEMO: sky_demo.o
ld65 -o SKY_DEMO sky_demo.o -C ./apple2_1000.inc
sky_demo.o: sky_demo.s \
starry_sky.scroll \
../asm_routines/gr_hlin.s \
../asm_routines/gr_fast_clear.s \
2017-12-18 20:26:31 +00:00
../asm_routines/gr_scroll.s \
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s
ca65 -o sky_demo.o sky_demo.s -l sky_demo.lst
STARFIELD_DEMO: starfield_demo.o
ld65 -o STARFIELD_DEMO starfield_demo.o -C ./apple2_1000.inc
starfield_demo.o: starfield_demo.s \
../asm_routines/gr_scroll.s \
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/gr_fast_clear.s
ca65 -o starfield_demo.o starfield_demo.s -l starfield_demo.lst
2018-01-13 05:59:53 +00:00
RASTERBARS: rasterbars.o
ld65 -o RASTERBARS rasterbars.o -C ./apple2_1000.inc
rasterbars.o: rasterbars.s \
../asm_routines/gr_scroll.s \
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/gr_fast_clear.s
ca65 -o rasterbars.o rasterbars.s -l rasterbars.lst
2018-01-01 01:41:59 +00:00
STARFIELD_1K: starfield_1k.o
2018-01-13 05:59:53 +00:00
ld65 -o STARFIELD_1K starfield_1k.o -C ./apple2_1000.inc
2018-01-01 01:41:59 +00:00
starfield_1k.o: starfield_1k.s \
../asm_routines/gr_scroll.s \
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/gr_fast_clear.s
ca65 -o starfield_1k.o starfield_1k.s -l starfield_1k.lst
2018-01-26 05:03:28 +00:00
TEXT_DEMO: text_demo.o
ld65 -o TEXT_DEMO text_demo.o -C ./apple2_1000.inc
text_demo.o: text_demo.s \
../asm_routines/gr_scroll.s \
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/gr_fast_clear.s
ca65 -o text_demo.o text_demo.s -l text_demo.lst
2017-12-14 05:59:34 +00:00
scroller: scroller.o
$(CC) $(LFLAGS) -o scroller scroller.o
scroller.o: scroller.c
$(CC) $(CFLAGS) -c scroller.c
2017-12-18 20:26:31 +00:00
background: background.o
$(CC) $(LFLAGS) -o background background.o
background.o: background.c
$(CC) $(CFLAGS) -c background.c
clean:
2017-12-18 20:26:31 +00:00
rm -f *~ *.o scroller background \
2017-12-14 05:59:34 +00:00
MODE7 MODE7_ISLAND MODE7_CHECKERBOARD MODE7_RAINBOW \
2018-01-26 05:03:28 +00:00
PLOT_TEST RASTERBARS SCROLL_DEMO STARFIELD_DEMO STARFIELD_1K \
2018-06-11 04:01:23 +00:00
SKY_DEMO TEXT_DEMO *.lst