2021-01-06 03:52:10 +00:00
|
|
|
include ../../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../../utils/dos33fs-utils/dos33
|
|
|
|
PNG_TO_40x96 = ../../utils/gr-utils/png_to_40x96
|
|
|
|
PNG_TO_40x48D = ../../utils/gr-utils/png_to_40x48d
|
|
|
|
PNG2RLE = ../../utils/gr-utils/png2rle
|
|
|
|
B2D = ../../utils/bmp2dhr/b2d
|
|
|
|
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
|
2020-05-05 05:14:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
all: memories.dsk
|
|
|
|
|
2020-05-12 18:58:40 +00:00
|
|
|
memories.dsk: HELLO CIRCLES.BAS CIRCLES CHECKERS CHECKERS_SMALL PLANE \
|
2020-10-04 05:31:39 +00:00
|
|
|
SIER TUNNEL TNM CIRCLES_NORMAL
|
2020-05-05 05:14:22 +00:00
|
|
|
cp empty.dsk memories.dsk
|
|
|
|
$(DOS33) -y memories.dsk SAVE A HELLO
|
|
|
|
$(DOS33) -y memories.dsk SAVE A CIRCLES.BAS
|
|
|
|
$(DOS33) -y memories.dsk BSAVE -a 0x070 CIRCLES
|
2020-05-05 15:04:31 +00:00
|
|
|
$(DOS33) -y memories.dsk BSAVE -a 0x070 CHECKERS
|
2020-05-06 04:24:25 +00:00
|
|
|
$(DOS33) -y memories.dsk BSAVE -a 0x070 CHECKERS_SMALL
|
2020-05-12 18:58:40 +00:00
|
|
|
$(DOS33) -y memories.dsk BSAVE -a 0x1000 PLANE
|
2020-05-13 04:40:09 +00:00
|
|
|
$(DOS33) -y memories.dsk BSAVE -a 0x1000 SIER
|
2020-05-07 19:22:43 +00:00
|
|
|
$(DOS33) -y memories.dsk BSAVE -a 0x1000 TUNNEL
|
2020-05-12 18:58:40 +00:00
|
|
|
$(DOS33) -y memories.dsk BSAVE -a 0x1000 TNM
|
2020-10-04 05:31:39 +00:00
|
|
|
$(DOS33) -y memories.dsk BSAVE -a 0x300 CIRCLES_NORMAL
|
2020-05-05 05:14:22 +00:00
|
|
|
|
|
|
|
CIRCLES: circles.o
|
2021-01-06 03:52:10 +00:00
|
|
|
ld65 -o CIRCLES circles.o -C ../../linker_scripts/apple2_70_zp.inc
|
2020-05-05 05:14:22 +00:00
|
|
|
|
|
|
|
circles.o: circles.s
|
|
|
|
ca65 -o circles.o circles.s -l circles.lst
|
|
|
|
|
2020-10-04 05:31:39 +00:00
|
|
|
CIRCLES_NORMAL: circles_normal.o
|
2021-01-06 03:52:10 +00:00
|
|
|
ld65 -o CIRCLES_NORMAL circles_normal.o -C ../../linker_scripts/apple2_300.inc
|
2020-10-04 05:31:39 +00:00
|
|
|
|
|
|
|
circles_normal.o: circles_normal.s
|
|
|
|
ca65 -o circles_normal.o circles_normal.s -l circles_normal.lst
|
|
|
|
|
2020-05-05 05:14:22 +00:00
|
|
|
###
|
|
|
|
|
2020-05-05 15:04:31 +00:00
|
|
|
CHECKERS: checkers.o
|
2021-01-06 03:52:10 +00:00
|
|
|
ld65 -o CHECKERS checkers.o -C ../../linker_scripts/apple2_70_zp.inc
|
2020-05-05 15:04:31 +00:00
|
|
|
|
|
|
|
checkers.o: checkers.s
|
|
|
|
ca65 -o checkers.o checkers.s -l checkers.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2020-05-12 18:58:40 +00:00
|
|
|
PLANE: plane.o
|
2021-01-06 03:52:10 +00:00
|
|
|
ld65 -o PLANE plane.o -C ../../linker_scripts/apple2_1000.inc
|
2020-05-12 18:58:40 +00:00
|
|
|
|
|
|
|
plane.o: plane.s
|
|
|
|
ca65 -o plane.o plane.s -l plane.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2020-05-13 04:40:09 +00:00
|
|
|
SIER: sier.o
|
2021-01-06 03:52:10 +00:00
|
|
|
ld65 -o SIER sier.o -C ../../linker_scripts/apple2_1000.inc
|
2020-05-13 04:40:09 +00:00
|
|
|
|
2020-05-17 04:17:25 +00:00
|
|
|
sier.o: sier.s fast_plot.s
|
2020-05-13 04:40:09 +00:00
|
|
|
ca65 -o sier.o sier.s -l sier.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2020-05-07 19:22:43 +00:00
|
|
|
TUNNEL: tunnel.o
|
2021-01-06 03:52:10 +00:00
|
|
|
ld65 -o TUNNEL tunnel.o -C ../../linker_scripts/apple2_1000.inc
|
2020-05-07 19:22:43 +00:00
|
|
|
|
|
|
|
tunnel.o: tunnel.s
|
|
|
|
ca65 -o tunnel.o tunnel.s -l tunnel.lst
|
|
|
|
|
2020-05-12 18:58:40 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
TNM: tunnel_nm.o
|
2021-01-06 03:52:10 +00:00
|
|
|
ld65 -o TNM tunnel_nm.o -C ../../linker_scripts/apple2_1000.inc
|
2020-05-12 18:58:40 +00:00
|
|
|
|
|
|
|
tunnel_nm.o: tunnel_nm.s
|
|
|
|
ca65 -o tunnel_nm.o tunnel_nm.s -l tunnel_nm.lst
|
|
|
|
|
|
|
|
|
2020-05-07 19:22:43 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
2020-05-06 04:24:25 +00:00
|
|
|
CHECKERS_SMALL: checkers_small.o
|
2021-01-06 03:52:10 +00:00
|
|
|
ld65 -o CHECKERS_SMALL checkers_small.o -C ../../linker_scripts/apple2_70_zp.inc
|
2020-05-06 04:24:25 +00:00
|
|
|
|
|
|
|
checkers_small.o: checkers_small.s
|
|
|
|
ca65 -o checkers_small.o checkers_small.s -l checkers_small.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2020-05-05 15:04:31 +00:00
|
|
|
|
2020-05-05 05:14:22 +00:00
|
|
|
HELLO: hello.bas
|
2021-01-06 03:52:10 +00:00
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
2020-05-05 05:14:22 +00:00
|
|
|
|
|
|
|
CIRCLES.BAS: zooming_circles.bas
|
2021-01-06 03:52:10 +00:00
|
|
|
$(TOKENIZE) < zooming_circles.bas > CIRCLES.BAS
|
2020-05-05 05:14:22 +00:00
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2020-05-06 04:24:25 +00:00
|
|
|
rm -f *~ *.o *.lst HELLO CIRCLES.BAS CIRCLES CHECKERS \
|
2021-01-06 04:09:35 +00:00
|
|
|
CIRCLES_NORMAL CHECKERS_SMALL PLANE SIER TUNNEL TNM \
|
2021-01-06 03:52:10 +00:00
|
|
|
division_table
|
2020-05-05 05:14:22 +00:00
|
|
|
|