2021-01-06 02:03:44 +00:00
|
|
|
include ../../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../../utils/dos33fs-utils/dos33
|
|
|
|
PNG2GR = ../../utils/gr-utils/png2gr
|
|
|
|
PNG2RLE = ../../utils/gr-utils/png2rle
|
|
|
|
|
|
|
|
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
|
2017-05-01 02:24:49 +00:00
|
|
|
|
|
|
|
|
2018-06-11 04:08:39 +00:00
|
|
|
ARTDIR = ./art
|
|
|
|
|
2017-05-01 02:24:49 +00:00
|
|
|
all: tfv.dsk
|
|
|
|
|
2017-08-23 17:09:52 +00:00
|
|
|
$(DOS33):
|
2021-01-06 02:03:44 +00:00
|
|
|
cd ../../utils/dos33fs-utils && make
|
2017-08-23 17:09:52 +00:00
|
|
|
|
2020-12-30 06:41:14 +00:00
|
|
|
tfv.dsk: $(DOS33) HELLO LOADER TFV_TITLE TFV_FLYING TFV_WORLD
|
2020-09-28 02:03:01 +00:00
|
|
|
$(DOS33) -y tfv.dsk SAVE A HELLO
|
2020-12-28 06:11:54 +00:00
|
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x1000 LOADER
|
|
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 TFV_TITLE
|
2020-12-30 06:41:14 +00:00
|
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 TFV_FLYING
|
|
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 TFV_WORLD
|
2020-12-28 06:11:54 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
2021-01-06 02:03:44 +00:00
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
2020-12-28 06:11:54 +00:00
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
LOADER: loader.o
|
2021-01-06 02:03:44 +00:00
|
|
|
ld65 -o LOADER loader.o -C ../../linker_scripts/apple2_1000.inc
|
2020-12-28 06:11:54 +00:00
|
|
|
|
|
|
|
loader.o: loader.s init_vars.s common_defines.inc
|
|
|
|
ca65 -o loader.o loader.s -l loader.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
TFV_TITLE: tfv_title.o
|
2021-01-06 02:03:44 +00:00
|
|
|
ld65 -o TFV_TITLE tfv_title.o -C ../../linker_scripts/apple2_2000.inc
|
2020-12-28 06:11:54 +00:00
|
|
|
|
|
|
|
tfv_title.o: tfv_title.s \
|
|
|
|
gr_vlin.s tfv_opener.s \
|
2020-12-30 06:00:25 +00:00
|
|
|
draw_menu.s keyboard.s joystick.s \
|
2020-12-28 06:11:54 +00:00
|
|
|
graphics_title/tfv_title.inc
|
|
|
|
ca65 -o tfv_title.o tfv_title.s -l tfv_title.lst
|
2017-08-23 17:09:52 +00:00
|
|
|
|
2017-08-16 19:13:43 +00:00
|
|
|
###
|
|
|
|
|
2020-12-30 06:41:14 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
TFV_FLYING: tfv_flying.o
|
2021-01-06 02:03:44 +00:00
|
|
|
ld65 -o TFV_FLYING tfv_flying.o -C ../../linker_scripts/apple2_2000.inc
|
2020-12-30 06:41:14 +00:00
|
|
|
|
|
|
|
tfv_flying.o: tfv_flying.s \
|
2020-12-31 16:43:03 +00:00
|
|
|
zp.inc \
|
|
|
|
gr_putsprite.s \
|
2020-12-31 20:01:44 +00:00
|
|
|
help_flying.s \
|
2020-12-30 23:25:43 +00:00
|
|
|
flying_mode7.s flying_sprites.inc
|
2020-12-30 06:41:14 +00:00
|
|
|
ca65 -o tfv_flying.o tfv_flying.s -l tfv_flying.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
TFV_WORLD: tfv_world.o
|
2021-01-06 02:03:44 +00:00
|
|
|
ld65 -o TFV_WORLD tfv_world.o -C ../../linker_scripts/apple2_2000.inc
|
2020-12-30 06:41:14 +00:00
|
|
|
|
|
|
|
tfv_world.o: tfv_world.s \
|
2021-01-05 20:32:11 +00:00
|
|
|
tfv_overworld.s tfv_drawmap.s tfv_battle.s \
|
|
|
|
help_overworld.s rotate_intro.s \
|
2020-12-30 06:41:14 +00:00
|
|
|
graphics_map/tfv_backgrounds.inc tfv_sprites.inc zp.inc
|
|
|
|
ca65 -o tfv_world.o tfv_world.s -l tfv_world.lst
|
2017-08-16 19:13:43 +00:00
|
|
|
|
2020-09-28 02:03:01 +00:00
|
|
|
graphics_map/tfv_backgrounds.inc:
|
|
|
|
cd graphics_map && make
|
|
|
|
|
2017-08-16 19:13:43 +00:00
|
|
|
|
2017-05-01 02:24:49 +00:00
|
|
|
|
2020-09-28 02:03:01 +00:00
|
|
|
###
|
|
|
|
|
2017-05-01 02:24:49 +00:00
|
|
|
clean:
|
2020-12-30 06:41:14 +00:00
|
|
|
rm -f *~ TITLE.GR *.o *.lst TFV TFV_TITLE TFV_FLYING TFV_WORLD HELLO LOADER
|
2017-05-12 18:29:21 +00:00
|
|
|
|