mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 08:54:51 +00:00
82 lines
2.2 KiB
Makefile
82 lines
2.2 KiB
Makefile
include ../Makefile.inc
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
PNG2GR = ../gr-utils/png2gr
|
|
PNG2RLE = ../gr-utils/png2rle
|
|
|
|
all: mode7.dsk scroller
|
|
|
|
$(DOS33):
|
|
cd ../dos33fs-utils && make
|
|
|
|
mode7.dsk: $(DOS33) MODE7_ISLAND MODE7_CHECKERBOARD MODE7_RAINBOW \
|
|
SCROLL_DEMO
|
|
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 MODE7_ISLAND
|
|
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 MODE7_CHECKERBOARD
|
|
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 MODE7_RAINBOW
|
|
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 SCROLL_DEMO
|
|
|
|
|
|
###
|
|
|
|
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 \
|
|
zp.inc sprites.inc \
|
|
../asm_routines/multiply_fast.s \
|
|
../asm_routines/hlin_clearscreen.s \
|
|
../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 \
|
|
zp.inc sprites.inc \
|
|
../asm_routines/multiply_fast.s \
|
|
../asm_routines/hlin_clearscreen.s \
|
|
../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_checkerboard.o mode7.s -D CHECKERBOARD_MAP=1 -l mode7.lst
|
|
|
|
MODE7_RAINBOW: mode7_rainbow.o
|
|
ld65 -o MODE7_RAINBOW mode7_rainbow.o -C ./apple2_1000.inc
|
|
|
|
mode7_rainbow.o: mode7.s rainbow_lookup.s \
|
|
zp.inc sprites.inc \
|
|
../asm_routines/multiply_fast.s \
|
|
../asm_routines/hlin_clearscreen.s \
|
|
../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_rainbow.o mode7.s -D RAINBOW_MAP=1 -l mode7.lst
|
|
|
|
SCROLL_DEMO: scroll_demo.o
|
|
ld65 -o SCROLL_DEMO scroll_demo.o -C ./apple2_1000.inc
|
|
|
|
scroll_demo.o: scroll_demo.s \
|
|
deater_scroll.inc
|
|
ca65 -o scroll_demo.o scroll_demo.s -l scroll_demo.lst
|
|
|
|
scroller: scroller.o
|
|
$(CC) $(LFLAGS) -o scroller scroller.o
|
|
|
|
scroller.o: scroller.c
|
|
$(CC) $(CFLAGS) -c scroller.c
|
|
|
|
clean:
|
|
rm -f *~ *.o scroller \
|
|
MODE7 MODE7_ISLAND MODE7_CHECKERBOARD MODE7_RAINBOW \
|
|
SCROLL_DEMO *.lst
|
|
|