2022-10-10 06:34:32 +00:00
|
|
|
include ../../../Makefile.inc
|
|
|
|
|
|
|
|
LINKER_DIR = ../../../linker_scripts/
|
|
|
|
|
|
|
|
EMPTY_DISK = ../../../empty_disk/empty.dsk
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
|
|
|
|
|
|
all: both.dsk
|
|
|
|
|
2022-10-12 01:58:19 +00:00
|
|
|
both.dsk: HELLO DSR_BOT A2_BOT DSR_LORES PROOF PROOF2
|
2022-10-10 06:34:32 +00:00
|
|
|
cp $(EMPTY_DISK) both.dsk
|
|
|
|
$(DOS33) -y both.dsk SAVE A HELLO
|
2022-10-11 07:47:24 +00:00
|
|
|
$(DOS33) -y both.dsk BSAVE -a 0xC00 DSR_LORES
|
2022-10-12 01:58:19 +00:00
|
|
|
$(DOS33) -y both.dsk BSAVE -a 0x36C DSR_BOT
|
2022-11-05 03:24:49 +00:00
|
|
|
$(DOS33) -y both.dsk BSAVE -a 0x36c A2_BOT
|
2022-10-10 06:34:32 +00:00
|
|
|
$(DOS33) -y both.dsk BSAVE -a 0xC00 PROOF
|
|
|
|
$(DOS33) -y both.dsk BSAVE -a 0xC00 PROOF2
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
DSR_LORES: dsr_lores.o
|
2022-10-11 07:47:24 +00:00
|
|
|
ld65 -o DSR_LORES dsr_lores.o -C $(LINKER_DIR)/apple2_c00.inc
|
2022-10-10 06:34:32 +00:00
|
|
|
|
|
|
|
dsr_lores.o: dsr_lores.s
|
|
|
|
ca65 -o dsr_lores.o dsr_lores.s -l dsr_lores.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2022-10-11 07:47:24 +00:00
|
|
|
DSR_BOT: dsr_bot.o
|
2022-11-05 03:24:49 +00:00
|
|
|
ld65 -o DSR_BOT dsr_bot.o -C $(LINKER_DIR)/apple2_36c.inc
|
2022-10-11 07:47:24 +00:00
|
|
|
|
|
|
|
dsr_bot.o: dsr_bot.s
|
|
|
|
ca65 -o dsr_bot.o dsr_bot.s -l dsr_bot.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2022-10-12 01:58:19 +00:00
|
|
|
A2_BOT: a2_bot.o
|
|
|
|
ld65 -o A2_BOT a2_bot.o -C $(LINKER_DIR)/apple2_36c.inc
|
|
|
|
|
|
|
|
a2_bot.o: a2_bot.s
|
|
|
|
ca65 -o a2_bot.o a2_bot.s -l a2_bot.lst
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2022-10-10 06:34:32 +00:00
|
|
|
PROOF: proof.o
|
|
|
|
ld65 -o PROOF proof.o -C $(LINKER_DIR)/apple2_c00.inc
|
|
|
|
|
|
|
|
proof.o: proof.s
|
|
|
|
ca65 -o proof.o proof.s -l proof.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
PROOF2: proof2.o
|
|
|
|
ld65 -o PROOF2 proof2.o -C $(LINKER_DIR)/apple2_c00.inc
|
|
|
|
|
|
|
|
proof2.o: proof2.s
|
|
|
|
ca65 -o proof2.o proof2.s -l proof2.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o *.lst HELLO DSR_LORES PROOF PROOF2
|
|
|
|
|