dos33fsprogs/demos/lores_escape/Makefile

119 lines
2.9 KiB
Makefile
Raw Normal View History

include ../../Makefile.inc
DOS33 = ../../utils/dos33fs-utils/dos33
PNG2RLE = ../../utils/gr-utils/png2rle
PNG2LZ4 = ../../utils/gr-utils/png2lz4
PNG_TO_40x96 = ../../utils/gr-utils/png_to_40x96
PNG_TO_40x48D = ../../utils/gr-utils/png_to_40x48d
B2D = ../../utils/bmp2dhr/b2d
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
2019-08-31 03:45:50 +00:00
2019-11-16 03:43:44 +00:00
all: demosplash2019.dsk
demosplash2019.dsk: HELLO LOADER DEMOSPLASH
cp empty.dsk demosplash2019.dsk
$(DOS33) -y demosplash2019.dsk SAVE A HELLO
$(DOS33) -y demosplash2019.dsk BSAVE -a 0x1000 LOADER
$(DOS33) -y demosplash2019.dsk BSAVE -a 0x1400 DEMOSPLASH
# $(DOS33) -y demosplash2019.dsk BSAVE -a 0x1700 MUSICTEST
2019-08-31 03:45:50 +00:00
####
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
2019-08-31 03:45:50 +00:00
#####
#DEMOSPLASH: demosplash.o
# ld65 -o DEMOSPLASH demosplash.o -C ../../linker_scripts/apple2_1700.inc
#demosplash.o: demosplash.s \
# zp.inc hardware.inc \
# appleII_intro.s vapor_lock.s delay_a.s \
# pt3_lib_init.s pt3_lib_core.s pt3_lib_mockingboard.s \
# interrupt_handler.s \
# starbase.s starbase_action.s \
# graphics/starbase/starbase.inc \
# graphics/sprites/alien.inc graphics/sprites/astronaut.inc \
# dya_space_demo.pt3 appleII_40_96.inc \
# book.s book_40_48d.inc \
# missing.s \
# escape.s
# ca65 -o demosplash.o demosplash.s -l demosplash.lst
2019-08-31 03:45:50 +00:00
#####
DEMOSPLASH: demosplash.o
ld65 -o DEMOSPLASH demosplash.o -C ../../linker_scripts/apple2_1400.inc
2019-10-12 14:47:38 +00:00
demosplash.o: demosplash.s \
2019-10-12 14:47:38 +00:00
zp.inc hardware.inc \
2019-10-12 22:11:32 +00:00
appleII_intro.s font.s \
2019-10-12 14:47:38 +00:00
pt3_lib_init.s pt3_lib_core.s pt3_lib_mockingboard.s \
2019-10-15 00:43:40 +00:00
pt3_lib_play_frame.s pt3_lib_write_frame.s \
pt3_lib_write_lc.s \
2019-10-12 14:47:38 +00:00
interrupt_handler.s \
2019-11-05 03:47:52 +00:00
missing.s k_40_48d.inc create_update_type1.s \
open_book.s graphics/book_open/book_open.inc \
starbase.s starbase_keyboard.s \
starbase_action.s starbase_laser.s starbase_blast.s \
2019-11-15 03:34:28 +00:00
gr_run_sequence.s gr_unrle.s \
graphics/starbase/starbase.inc \
2019-11-05 03:47:52 +00:00
graphics/starbase/ship_flames.inc \
graphics/starbase/star_wipe.inc \
graphics/sprites/alien.inc graphics/sprites/astronaut.inc \
2019-11-03 16:23:53 +00:00
escape.s create_update_type2.s offsets_table2.s \
2019-11-06 02:20:11 +00:00
reading.s book_40_48d.inc \
2019-11-02 19:47:58 +00:00
credits.s credits_bg.inc offsets_table.s \
2019-10-12 14:47:38 +00:00
dya_space_demo2.pt3
ca65 -o demosplash.o demosplash.s -l demosplash.lst
2019-10-12 14:47:38 +00:00
#####
LOADER: loader.o
ld65 -o LOADER loader.o -C ../../linker_scripts/apple2_1000.inc
loader.o: loader.s
ca65 -o loader.o loader.s -l loader.lst
#####
2019-09-04 19:46:10 +00:00
appleII_40_96.inc: appleII_40_96.png
$(PNG_TO_40x96) asm appleII_40_96.png appleII > appleII_40_96.inc
2019-10-07 04:12:36 +00:00
#####
#ball.img.lz4: ball.img
# lz4 -f -16 ball.img
#ball.img: BALLC.BIN
# cp BALLC.BIN ball.img
BOOK_HGR2C.BIN: book_hgr2.bmp
$(B2D) book_hgr2.bmp HGR -d
#####
2019-11-02 19:47:58 +00:00
credits_bg.inc: credits_bg.png
$(PNG_TO_40x48D) asm credits_bg.png credits > credits_bg.inc
2019-10-07 04:12:36 +00:00
book_40_48d.inc: book_40_48d.png
$(PNG_TO_40x48D) asm book_40_48d.png book > book_40_48d.inc
2019-09-04 19:46:10 +00:00
2019-11-01 03:55:29 +00:00
k_40_48d.inc: k_40_48d.png
$(PNG_TO_40x48D) asm k_40_48d.png k > k_40_48d.inc
2019-09-04 19:46:10 +00:00
#####
2019-08-31 03:45:50 +00:00
clean:
rm -f *~ *.o *.lst *.lz4 HELLO \
DEMOSPLASH
cd ansi && make clean
cd generator && make clean