2020-05-05 05:14:22 +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: memories.dsk
|
|
|
|
|
2020-05-05 15:04:31 +00:00
|
|
|
memories.dsk: HELLO CIRCLES.BAS CIRCLES CHECKERS
|
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-05 05:14:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
CIRCLES: circles.o
|
|
|
|
ld65 -o CIRCLES circles.o -C ../linker_scripts/apple2_70_zp.inc
|
|
|
|
|
|
|
|
circles.o: circles.s
|
|
|
|
ca65 -o circles.o circles.s -l circles.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2020-05-05 15:04:31 +00:00
|
|
|
CHECKERS: checkers.o
|
|
|
|
ld65 -o CHECKERS checkers.o -C ../linker_scripts/apple2_70_zp.inc
|
|
|
|
|
|
|
|
checkers.o: checkers.s
|
|
|
|
ca65 -o checkers.o checkers.s -l checkers.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
|
2020-05-05 05:14:22 +00:00
|
|
|
HELLO: hello.bas
|
|
|
|
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
|
|
|
|
|
|
|
|
CIRCLES.BAS: zooming_circles.bas
|
|
|
|
../asoft_basic-utils/tokenize_asoft < zooming_circles.bas > CIRCLES.BAS
|
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2020-05-05 15:04:31 +00:00
|
|
|
rm -f *~ *.o *.lst HELLO CIRCLES.BAS CIRCLES CHECKERS
|
2020-05-05 05:14:22 +00:00
|
|
|
|