2020-02-28 20:55:57 +00:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
|
|
PNG_TO_40x96 = ../gr-utils/png_to_40x96
|
|
|
|
PNG_TO_40x48D = ../gr-utils/png_to_40x48d
|
|
|
|
PNG2RLE = ../gr-utils/png2rle
|
|
|
|
B2D = ../bmp2dhr/b2d
|
|
|
|
|
2020-04-02 03:50:20 +00:00
|
|
|
all: mist.dsk mist_side2.dsk
|
2020-02-28 20:55:57 +00:00
|
|
|
|
2020-04-08 16:45:35 +00:00
|
|
|
zip: mist.dsk mist_side2.dsk
|
|
|
|
zip mist.zip mist.dsk mist_side2.dsk
|
|
|
|
|
2020-04-09 05:23:32 +00:00
|
|
|
mist.dsk: HELLO LOADER MIST_TITLE MIST OCTAGON VIEWER \
|
2020-06-16 17:57:10 +00:00
|
|
|
MECHE SELENA CABIN CHANNEL STONEY
|
2020-02-28 20:55:57 +00:00
|
|
|
cp empty.dsk mist.dsk
|
|
|
|
$(DOS33) -y mist.dsk SAVE A HELLO
|
2020-03-08 18:11:11 +00:00
|
|
|
$(DOS33) -y mist.dsk BSAVE -a 0x1000 LOADER
|
2020-03-02 21:50:00 +00:00
|
|
|
$(DOS33) -y mist.dsk BSAVE -a 0x4000 MIST_TITLE
|
2020-06-16 17:30:45 +00:00
|
|
|
$(DOS33) -y mist.dsk BSAVE -a 0x2000 MIST
|
|
|
|
$(DOS33) -y mist.dsk BSAVE -a 0x2000 OCTAGON
|
|
|
|
# $(DOS33) -y mist.dsk BSAVE -a 0x2000 MECHE
|
|
|
|
# $(DOS33) -y mist.dsk BSAVE -a 0x2000 SELENA
|
2020-06-16 17:57:10 +00:00
|
|
|
$(DOS33) -y mist.dsk BSAVE -a 0x2000 CABIN
|
2020-06-16 17:30:45 +00:00
|
|
|
# $(DOS33) -y mist.dsk BSAVE -a 0x2000 VIEWER
|
|
|
|
$(DOS33) -y mist.dsk BSAVE -a 0x2000 STONEY
|
2020-03-19 17:55:29 +00:00
|
|
|
$(DOS33) -y mist.dsk BSAVE -a 0x9000 ./audio/link_noise.btc LINK_NOISE.BTC
|
2020-02-28 20:55:57 +00:00
|
|
|
|
2020-06-17 05:13:10 +00:00
|
|
|
mist_side2.dsk: HELLO_DISK2 MECHE SELENA CHANNEL VIEWER ARBOR
|
2020-04-02 03:50:20 +00:00
|
|
|
cp empty.dsk mist_side2.dsk
|
2020-06-16 17:35:19 +00:00
|
|
|
$(DOS33) -y mist_side2.dsk SAVE A HELLO_DISK2 HELLO
|
2020-06-16 17:30:45 +00:00
|
|
|
$(DOS33) -y mist_side2.dsk BSAVE -a 0x2000 MECHE
|
|
|
|
$(DOS33) -y mist_side2.dsk BSAVE -a 0x2000 SELENA
|
|
|
|
$(DOS33) -y mist_side2.dsk BSAVE -a 0x2000 CHANNEL
|
2020-06-17 05:13:10 +00:00
|
|
|
$(DOS33) -y mist_side2.dsk BSAVE -a 0x2000 ARBOR
|
2020-06-16 17:30:45 +00:00
|
|
|
$(DOS33) -y mist_side2.dsk BSAVE -a 0x2000 VIEWER
|
2020-06-17 05:13:10 +00:00
|
|
|
# $(DOS33) -y mist_side2.dsk BSAVE -a 0x9000 ./audio/link_noise.btc LINK_NOISE.BTC
|
2020-04-02 03:50:20 +00:00
|
|
|
|
2020-03-02 21:50:00 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
LOADER: loader.o
|
2020-03-08 18:11:11 +00:00
|
|
|
ld65 -o LOADER loader.o -C ../linker_scripts/apple2_1000.inc
|
2020-03-02 21:50:00 +00:00
|
|
|
|
2020-06-16 18:55:45 +00:00
|
|
|
loader.o: loader.s \
|
|
|
|
gr_copy.s gr_offsets.s gr_pageflip.s gr_putsprite_crop.s \
|
|
|
|
text_print.s gr_fast_clear.s decompress_fast_v2.s \
|
|
|
|
keyboard.s draw_pointer.s end_level.s audio.s
|
2020-03-02 21:50:00 +00:00
|
|
|
ca65 -o loader.o loader.s -l loader.lst
|
|
|
|
|
2020-02-28 20:55:57 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
|
|
|
|
|
2020-06-16 17:35:19 +00:00
|
|
|
HELLO_DISK2: hello_disk2.bas
|
|
|
|
../asoft_basic-utils/tokenize_asoft < hello_disk2.bas > HELLO_DISK2
|
|
|
|
|
2020-06-16 18:55:45 +00:00
|
|
|
####
|
|
|
|
|
|
|
|
generate_common: generate_common.o
|
|
|
|
$(CC) $(LFLAGS) -o generate_common generate_common.o
|
|
|
|
|
|
|
|
generate_common.o: generate_common.c
|
|
|
|
$(CC) $(CFLAGS) -c generate_common.c
|
|
|
|
|
|
|
|
####
|
|
|
|
common_routines.inc: loader.lst generate_common
|
|
|
|
./generate_common > common_routines.inc
|
2020-06-16 17:35:19 +00:00
|
|
|
|
2020-02-28 20:55:57 +00:00
|
|
|
####
|
|
|
|
|
2020-03-01 05:37:09 +00:00
|
|
|
MIST_TITLE: mist_title.o
|
2020-03-02 21:50:00 +00:00
|
|
|
ld65 -o MIST_TITLE mist_title.o -C ../linker_scripts/apple2_4000.inc
|
2020-03-01 05:37:09 +00:00
|
|
|
|
2020-03-19 17:55:29 +00:00
|
|
|
mist_title.o: mist_title.s zp.inc hardware.inc common_defines.inc \
|
2020-06-16 17:30:45 +00:00
|
|
|
common_routines.inc \
|
2020-03-19 17:55:29 +00:00
|
|
|
graphics_title/mist_title.lzsa graphics_title/title_graphics.inc \
|
|
|
|
gr_copy.s gr_offsets.s gr_pageflip.s gr_putsprite_crop.s \
|
|
|
|
text_print.s gr_fast_clear.s decompress_fast_v2.s \
|
|
|
|
keyboard.s draw_pointer.s end_level.s audio.s \
|
2020-04-07 20:31:00 +00:00
|
|
|
init_state.s \
|
2020-03-19 17:55:29 +00:00
|
|
|
link_book_mist_dock.s common_sprites.inc leveldata_title.inc
|
2020-03-01 05:37:09 +00:00
|
|
|
ca65 -o mist_title.o mist_title.s -l mist_title.lst
|
|
|
|
|
|
|
|
####
|
|
|
|
|
2020-02-28 20:55:57 +00:00
|
|
|
MIST: mist.o
|
2020-06-16 17:30:45 +00:00
|
|
|
ld65 -o MIST mist.o -C ../linker_scripts/apple2_2000.inc
|
2020-02-28 20:55:57 +00:00
|
|
|
|
2020-06-16 17:30:45 +00:00
|
|
|
mist.o: mist.s zp.inc hardware.inc common_defines.inc common_routines.inc \
|
2020-03-18 05:48:15 +00:00
|
|
|
graphics_mist/mist_graphics.inc \
|
2020-03-06 20:19:35 +00:00
|
|
|
common_sprites.inc \
|
2020-03-15 18:25:51 +00:00
|
|
|
leveldata_mist.inc \
|
2020-03-07 16:06:29 +00:00
|
|
|
clock_bridge_puzzle.s clock_sprites.inc \
|
2020-03-07 16:16:44 +00:00
|
|
|
letter_cat.s \
|
|
|
|
marker_switch.s \
|
2020-03-08 04:11:08 +00:00
|
|
|
keyboard.s \
|
|
|
|
draw_pointer.s \
|
2020-03-08 18:11:11 +00:00
|
|
|
end_level.s \
|
2020-03-10 20:12:56 +00:00
|
|
|
generator_puzzle.s \
|
2020-03-05 05:25:59 +00:00
|
|
|
gr_copy.s audio.s text_print.s decompress_fast_v2.s
|
2020-02-28 20:55:57 +00:00
|
|
|
ca65 -o mist.o mist.s -l mist.lst
|
|
|
|
|
|
|
|
####
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
OCTAGON: octagon.o
|
2020-06-16 17:30:45 +00:00
|
|
|
ld65 -o OCTAGON octagon.o -C ../linker_scripts/apple2_2000.inc
|
2020-03-19 21:25:20 +00:00
|
|
|
|
|
|
|
octagon.o: octagon.s zp.inc hardware.inc common_defines.inc \
|
2020-06-16 17:30:45 +00:00
|
|
|
common_routines.inc \
|
2020-03-19 21:25:20 +00:00
|
|
|
graphics_octagon/octagon_graphics.inc \
|
2020-04-08 16:02:03 +00:00
|
|
|
books/octagon_books.inc \
|
2020-05-20 04:41:44 +00:00
|
|
|
common_sprites.inc page_sprites.inc \
|
2020-03-19 21:25:20 +00:00
|
|
|
leveldata_octagon.inc \
|
|
|
|
letter_cat.s \
|
|
|
|
marker_switch.s \
|
|
|
|
brother_books.s \
|
|
|
|
keyboard.s \
|
|
|
|
draw_pointer.s \
|
|
|
|
end_level.s \
|
2020-05-20 06:02:19 +00:00
|
|
|
handle_pages.s \
|
2020-04-01 20:45:13 +00:00
|
|
|
octagon_bookshelf.s \
|
2020-04-07 20:31:00 +00:00
|
|
|
octagon_rotation.s \
|
2020-03-19 21:25:20 +00:00
|
|
|
gr_copy.s audio.s text_print.s decompress_fast_v2.s
|
|
|
|
ca65 -o octagon.o octagon.s -l octagon.lst
|
|
|
|
|
|
|
|
|
|
|
|
####
|
|
|
|
|
2020-03-08 04:26:52 +00:00
|
|
|
MECHE: meche.o
|
2020-06-16 17:30:45 +00:00
|
|
|
ld65 -o MECHE meche.o -C ../linker_scripts/apple2_2000.inc
|
2020-03-08 04:26:52 +00:00
|
|
|
|
2020-03-19 18:04:41 +00:00
|
|
|
meche.o: meche.s zp.inc hardware.inc common_defines.inc \
|
2020-06-16 17:30:45 +00:00
|
|
|
common_routines.inc \
|
2020-03-08 04:26:52 +00:00
|
|
|
graphics_meche/meche_graphics.inc \
|
|
|
|
common_sprites.inc \
|
2020-03-23 20:11:14 +00:00
|
|
|
page_sprites.inc \
|
2020-03-08 04:26:52 +00:00
|
|
|
leveldata_meche.inc \
|
2020-03-08 17:45:05 +00:00
|
|
|
link_book_meche.s \
|
2020-03-17 05:42:26 +00:00
|
|
|
link_book_mist.s \
|
2020-03-21 20:55:48 +00:00
|
|
|
meche_rotation.s \
|
2020-04-21 21:12:08 +00:00
|
|
|
handle_pages.s \
|
2020-03-08 04:26:52 +00:00
|
|
|
keyboard.s \
|
|
|
|
draw_pointer.s \
|
|
|
|
gr_copy.s audio.s text_print.s decompress_fast_v2.s
|
|
|
|
ca65 -o meche.o meche.s -l meche.lst
|
|
|
|
|
2020-03-13 17:04:31 +00:00
|
|
|
####
|
|
|
|
|
|
|
|
SELENA: selena.o
|
2020-06-16 17:30:45 +00:00
|
|
|
ld65 -o SELENA selena.o -C ../linker_scripts/apple2_2000.inc
|
2020-03-13 17:04:31 +00:00
|
|
|
|
2020-03-19 18:04:41 +00:00
|
|
|
selena.o: selena.s zp.inc hardware.inc common_defines.inc \
|
2020-06-16 17:30:45 +00:00
|
|
|
common_routines.inc \
|
2020-03-13 17:04:31 +00:00
|
|
|
graphics_selena/selena_graphics.inc \
|
|
|
|
common_sprites.inc \
|
|
|
|
leveldata_selena.inc \
|
2020-03-17 05:42:26 +00:00
|
|
|
link_book_mist.s \
|
|
|
|
end_level.s \
|
2020-03-13 17:04:31 +00:00
|
|
|
keyboard.s \
|
|
|
|
draw_pointer.s \
|
2020-03-14 15:57:09 +00:00
|
|
|
speaker_beeps.s \
|
|
|
|
organ_puzzle.s \
|
2020-03-13 17:04:31 +00:00
|
|
|
gr_copy.s audio.s text_print.s decompress_fast_v2.s
|
|
|
|
ca65 -o selena.o selena.s -l selena.lst
|
|
|
|
|
2020-03-08 04:26:52 +00:00
|
|
|
|
2020-03-25 05:17:59 +00:00
|
|
|
####
|
|
|
|
|
|
|
|
VIEWER: viewer.o
|
2020-06-16 17:30:45 +00:00
|
|
|
ld65 -o VIEWER viewer.o -C ../linker_scripts/apple2_2000.inc
|
2020-03-25 05:17:59 +00:00
|
|
|
|
|
|
|
viewer.o: viewer.s zp.inc hardware.inc common_defines.inc \
|
|
|
|
graphics_viewer/viewer_graphics.inc \
|
2020-06-16 17:30:45 +00:00
|
|
|
common_routines.inc \
|
2020-03-25 05:17:59 +00:00
|
|
|
common_sprites.inc \
|
|
|
|
page_sprites.inc \
|
|
|
|
leveldata_viewer.inc \
|
2020-03-27 19:43:24 +00:00
|
|
|
viewer_controls.s \
|
2020-03-25 05:17:59 +00:00
|
|
|
keyboard.s \
|
|
|
|
draw_pointer.s \
|
|
|
|
gr_copy.s audio.s text_print.s decompress_fast_v2.s
|
|
|
|
ca65 -o viewer.o viewer.s -l viewer.lst
|
|
|
|
|
2020-03-26 18:17:10 +00:00
|
|
|
####
|
|
|
|
|
|
|
|
STONEY: stoney.o
|
2020-06-16 17:30:45 +00:00
|
|
|
ld65 -o STONEY stoney.o -C ../linker_scripts/apple2_2000.inc
|
2020-03-26 18:17:10 +00:00
|
|
|
|
|
|
|
stoney.o: stoney.s zp.inc hardware.inc common_defines.inc \
|
|
|
|
graphics_stoney/stoney_graphics.inc \
|
2020-06-16 17:30:45 +00:00
|
|
|
common_routines.inc \
|
2020-03-26 18:17:10 +00:00
|
|
|
common_sprites.inc \
|
|
|
|
page_sprites.inc \
|
|
|
|
leveldata_stoney.inc \
|
|
|
|
keyboard.s \
|
|
|
|
draw_pointer.s \
|
2020-04-16 19:35:49 +00:00
|
|
|
link_book_stoney.s \
|
2020-04-21 21:12:08 +00:00
|
|
|
link_book_mist.s \
|
|
|
|
handle_pages.s \
|
2020-03-26 18:17:10 +00:00
|
|
|
gr_copy.s audio.s text_print.s decompress_fast_v2.s
|
|
|
|
ca65 -o stoney.o stoney.s -l stoney.lst
|
|
|
|
|
2020-06-16 17:57:10 +00:00
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
CABIN: cabin.o
|
|
|
|
ld65 -o CABIN cabin.o -C ../linker_scripts/apple2_2000.inc
|
|
|
|
|
|
|
|
cabin.o: cabin.s zp.inc hardware.inc common_defines.inc \
|
|
|
|
common_routines.inc \
|
|
|
|
graphics_cabin/cabin_graphics.inc \
|
|
|
|
common_sprites.inc \
|
|
|
|
page_sprites.inc \
|
|
|
|
leveldata_cabin.inc \
|
|
|
|
keyboard.s \
|
|
|
|
draw_pointer.s \
|
|
|
|
link_book_channel.s \
|
|
|
|
gr_copy.s audio.s text_print.s decompress_fast_v2.s
|
|
|
|
ca65 -o cabin.o cabin.s -l cabin.lst
|
|
|
|
|
|
|
|
|
2020-04-09 05:23:32 +00:00
|
|
|
####
|
|
|
|
|
|
|
|
CHANNEL: channel.o
|
2020-06-16 17:30:45 +00:00
|
|
|
ld65 -o CHANNEL channel.o -C ../linker_scripts/apple2_2000.inc
|
2020-04-09 05:23:32 +00:00
|
|
|
|
|
|
|
channel.o: channel.s zp.inc hardware.inc common_defines.inc \
|
2020-06-16 17:30:45 +00:00
|
|
|
common_routines.inc \
|
2020-04-09 05:23:32 +00:00
|
|
|
graphics_channel/channel_graphics.inc \
|
|
|
|
common_sprites.inc \
|
|
|
|
page_sprites.inc \
|
|
|
|
leveldata_channel.inc \
|
2020-06-13 04:27:13 +00:00
|
|
|
channel_switches.s \
|
2020-04-09 05:23:32 +00:00
|
|
|
keyboard.s \
|
|
|
|
draw_pointer.s \
|
2020-04-15 21:03:07 +00:00
|
|
|
link_book_channel.s \
|
2020-06-16 05:10:33 +00:00
|
|
|
link_book_mist.s \
|
2020-04-09 05:23:32 +00:00
|
|
|
gr_copy.s audio.s text_print.s decompress_fast_v2.s
|
|
|
|
ca65 -o channel.o channel.s -l channel.lst
|
|
|
|
|
2020-06-17 05:13:10 +00:00
|
|
|
####
|
2020-04-09 05:23:32 +00:00
|
|
|
|
2020-06-17 05:13:10 +00:00
|
|
|
ARBOR: arbor.o
|
|
|
|
ld65 -o ARBOR arbor.o -C ../linker_scripts/apple2_2000.inc
|
2020-03-26 18:17:10 +00:00
|
|
|
|
2020-06-17 05:13:10 +00:00
|
|
|
arbor.o: arbor.s zp.inc hardware.inc common_defines.inc \
|
|
|
|
common_routines.inc \
|
|
|
|
graphics_arbor/arbor_graphics.inc \
|
|
|
|
leveldata_arbor.inc \
|
|
|
|
channel_switches.s
|
|
|
|
ca65 -o arbor.o arbor.s -l arbor.lst
|
2020-03-08 04:26:52 +00:00
|
|
|
####
|
|
|
|
|
2020-03-04 21:14:41 +00:00
|
|
|
graphics_island/mist_graphics.inc:
|
|
|
|
cd graphics_island && make
|
2020-03-03 22:02:44 +00:00
|
|
|
|
2020-03-02 21:50:00 +00:00
|
|
|
|
2020-02-28 20:55:57 +00:00
|
|
|
####
|
|
|
|
|
|
|
|
clean:
|
2020-06-16 17:35:19 +00:00
|
|
|
rm -f *~ *.o *.lst HELLO HELLO_DISK2 \
|
|
|
|
LOADER MIST_TITLE \
|
2020-04-09 05:23:32 +00:00
|
|
|
MIST OCTAGON \
|
2020-06-17 05:13:10 +00:00
|
|
|
MECHE SELENA STONEY CHANNEL ARBOR
|