2021-07-01 17:41:26 +00: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: thinking.dsk
|
|
|
|
|
2021-07-02 04:15:50 +00:00
|
|
|
thinking.dsk: HELLO THINKING RAINBOW_BOX T2 THINKING_FLIP T3 THINKING_SLOW \
|
|
|
|
THINKING_ATTEMPT2 THINKING_ATTEMPT3 THINKING_ATTEMPT4 THINKING_ATTEMPT5 \
|
|
|
|
THINKING_ATTEMPT6
|
2021-07-01 17:41:26 +00:00
|
|
|
cp $(EMPTYDISK) thinking.dsk
|
|
|
|
$(DOS33) -y thinking.dsk SAVE A HELLO
|
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 THINKING
|
2021-07-02 04:15:50 +00:00
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 THINKING_FLIP
|
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 THINKING_SLOW
|
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 THINKING_ATTEMPT2
|
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 THINKING_ATTEMPT3
|
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 THINKING_ATTEMPT4
|
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 THINKING_ATTEMPT5
|
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 THINKING_ATTEMPT6
|
2021-07-01 17:41:26 +00:00
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 RAINBOW_BOX
|
2021-07-02 04:15:50 +00:00
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 T2
|
|
|
|
$(DOS33) -y thinking.dsk BSAVE -a 0xC00 T3
|
2021-07-01 17:41:26 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
THINKING: thinking.o
|
|
|
|
ld65 -o THINKING thinking.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
thinking.o: thinking.s
|
|
|
|
ca65 -o thinking.o thinking.s -l thinking.lst
|
|
|
|
|
2021-07-02 04:15:50 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
THINKING_FLIP: thinking_flip.o
|
|
|
|
ld65 -o THINKING_FLIP thinking_flip.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
thinking_flip.o: thinking_flip.s
|
|
|
|
ca65 -o thinking_flip.o thinking_flip.s -l thinking_flip.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
THINKING_SLOW: thinking_slow.o
|
|
|
|
ld65 -o THINKING_SLOW thinking_slow.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
thinking_slow.o: thinking_slow.s
|
|
|
|
ca65 -o thinking_slow.o thinking_slow.s -l thinking_slow.lst
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
THINKING_ATTEMPT2: thinking_attempt2.o
|
|
|
|
ld65 -o THINKING_ATTEMPT2 thinking_attempt2.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
thinking_attempt2.o: thinking_attempt2.s
|
|
|
|
ca65 -o thinking_attempt2.o thinking_attempt2.s -l thinking_attempt2.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
THINKING_ATTEMPT3: thinking_attempt3.o
|
|
|
|
ld65 -o THINKING_ATTEMPT3 thinking_attempt3.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
thinking_attempt3.o: thinking_attempt3.s
|
|
|
|
ca65 -o thinking_attempt3.o thinking_attempt3.s -l thinking_attempt3.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
THINKING_ATTEMPT4: thinking_attempt4.o
|
|
|
|
ld65 -o THINKING_ATTEMPT4 thinking_attempt4.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
thinking_attempt4.o: thinking_attempt4.s
|
|
|
|
ca65 -o thinking_attempt4.o thinking_attempt4.s -l thinking_attempt4.lst
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
THINKING_ATTEMPT5: thinking_attempt5.o
|
|
|
|
ld65 -o THINKING_ATTEMPT5 thinking_attempt5.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
thinking_attempt5.o: thinking_attempt5.s
|
|
|
|
ca65 -o thinking_attempt5.o thinking_attempt5.s -l thinking_attempt5.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
THINKING_ATTEMPT6: thinking_attempt6.o
|
|
|
|
ld65 -o THINKING_ATTEMPT6 thinking_attempt6.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
thinking_attempt6.o: thinking_attempt6.s
|
|
|
|
ca65 -o thinking_attempt6.o thinking_attempt6.s -l thinking_attempt6.lst
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-07-01 17:41:26 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
RAINBOW_BOX: rainbow_box.o
|
|
|
|
ld65 -o RAINBOW_BOX rainbow_box.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
rainbow_box.o: rainbow_box.s
|
|
|
|
ca65 -o rainbow_box.o rainbow_box.s -l rainbow_box.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2021-07-02 04:15:50 +00:00
|
|
|
T2: t2.o
|
|
|
|
ld65 -o T2 t2.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
t2.o: t2.s
|
|
|
|
ca65 -o t2.o t2.s -l t2.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
T3: t3.o
|
|
|
|
ld65 -o T3 t3.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
t3.o: t3.s
|
|
|
|
ca65 -o t3.o t3.s -l t3.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2021-07-01 17:41:26 +00:00
|
|
|
clean:
|
2021-07-02 04:15:50 +00:00
|
|
|
rm -f *~ *.o *.lst HELLO THINKING RAINBOW_BOX T2 THINKING_FLIP T3 THINKING_SLOW \
|
|
|
|
THINKING_ATTEMPT2 THINKING_ATTEMPT3 THINKING_ATTEMPT4 THINKING_ATTEMPT5 THINKING_ATTEMPT6
|