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
|
|
|
|
|
|
|
|
all: mist.dsk
|
|
|
|
|
2020-03-04 21:14:41 +00:00
|
|
|
mist.dsk: HELLO LOADER MIST MIST_TITLE
|
2020-02-28 20:55:57 +00:00
|
|
|
cp empty.dsk mist.dsk
|
|
|
|
$(DOS33) -y mist.dsk SAVE A HELLO
|
2020-03-02 21:50:00 +00:00
|
|
|
$(DOS33) -y mist.dsk BSAVE -a 0x800 LOADER
|
2020-02-28 20:55:57 +00:00
|
|
|
$(DOS33) -y mist.dsk BSAVE -a 0x1000 MIST
|
2020-03-02 21:50:00 +00:00
|
|
|
$(DOS33) -y mist.dsk BSAVE -a 0x4000 MIST_TITLE
|
2020-03-04 21:14:41 +00:00
|
|
|
# $(DOS33) -y mist.dsk BSAVE -a 0xa000 MIST_TITLE.LZ4
|
2020-03-02 04:09:35 +00:00
|
|
|
# $(DOS33) -y mist.dsk BSAVE -a 0x4000 STEPS_HGRC.BIN
|
2020-02-28 20:55:57 +00:00
|
|
|
|
2020-03-02 21:50:00 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
LOADER: loader.o
|
|
|
|
ld65 -o LOADER loader.o -C ../linker_scripts/apple2_800.inc
|
|
|
|
|
|
|
|
loader.o: loader.s
|
|
|
|
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-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-04 21:14:41 +00:00
|
|
|
mist_title.o: mist_title.s zp.inc hardware.inc \
|
|
|
|
graphics_title/MIST_TITLE.LZ4
|
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
|
|
|
|
ld65 -o MIST mist.o -C ../linker_scripts/apple2_1000.inc
|
|
|
|
|
2020-03-01 05:37:09 +00:00
|
|
|
mist.o: mist.s zp.inc hardware.inc \
|
2020-03-04 21:14:41 +00:00
|
|
|
graphics_island/mist_graphics.inc \
|
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-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-03-04 21:14:41 +00:00
|
|
|
rm -f *~ *.o *.lst HELLO LOADER MIST MIST_TITLE
|