2023-05-01 02:09:16 -04:00
|
|
|
include ../../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../../utils/dos33fs-utils/dos33
|
|
|
|
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
|
|
|
|
LINKERSCRIPTS = ../../linker_scripts
|
|
|
|
EMPTYDISK = ../../empty_disk/empty.dsk
|
|
|
|
|
|
|
|
all: double.dsk
|
|
|
|
|
|
|
|
double.dsk: HELLO DOUBLE
|
|
|
|
cp $(EMPTYDISK) double.dsk
|
|
|
|
$(DOS33) -y double.dsk SAVE A HELLO
|
|
|
|
$(DOS33) -y double.dsk BSAVE -a 0x1000 DOUBLE
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
DOUBLE: double.o
|
|
|
|
ld65 -o DOUBLE double.o -C $(LINKERSCRIPTS)/apple2_1000.inc
|
|
|
|
|
|
|
|
double.o: double.s \
|
2023-05-01 02:30:26 -04:00
|
|
|
zp.inc hardware.inc pt3_lib_mockingboard_detect.s \
|
|
|
|
pt3_lib_mockingboard_setup.s pt3_lib_detect_model.s
|
2023-05-01 02:09:16 -04:00
|
|
|
ca65 -o double.o double.s -l double.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o *.lst HELLO DOUBLE
|