msbasic/make.sh

49 lines
2.1 KiB
Bash
Raw Normal View History

2008-10-07 08:03:36 +00:00
# 1.0
2008-10-08 05:07:59 +00:00
echo cbmbasic1
2008-10-11 06:23:53 +00:00
ca65 -D CBM -D CBM1 -D CBM_KBD -D CBM_KBD_APPLE -D CONFIG_CBM1_PATCHES -D CBM1_APPLE -D CBM_APPLE msbasic.s -o cbmbasic1.o &&
2008-10-09 07:24:49 +00:00
ld65 -C cbmbasic1.cfg cbmbasic1.o -o cbmbasic1-new.bin &&
2008-10-07 10:36:34 +00:00
xxd -g 1 cbmbasic1.bin > cbmbasic1.bin.txt
xxd -g 1 cbmbasic1-new.bin > cbmbasic1-new.bin.txt
diff -u cbmbasic1.bin.txt cbmbasic1-new.bin.txt | head
2008-10-08 05:07:59 +00:00
# 1.0 ?
echo kbdbasic
2008-10-11 09:24:32 +00:00
ca65 -D KBD -D OSI_KBD -D CBM_KBD -D CBM_KBD_APPLE -D CBM2_KBD -D KIM_KBD -D CONFIG_11 -D CONFIG_11_NOAPPLE -D CBM2_KBD_APPLE -D KIM_KBD_APPLE -D OSI_KBD_APPLE msbasic.s -o kbdbasic.o &&
2008-10-08 05:07:59 +00:00
ld65 -C kbdbasic.cfg kbdbasic.o -o kbdbasic-new.bin &&
2008-10-08 11:42:15 +00:00
xxd -g 1 kbdbasic.bin > kbdbasic.bin.txt
xxd -g 1 kbdbasic-new.bin > kbdbasic-new.bin.txt
diff -u kbdbasic.bin.txt kbdbasic-new.bin.txt | head
2008-10-08 05:07:59 +00:00
2008-10-07 10:36:34 +00:00
# 1.0 rev 3.2
2008-10-08 05:07:59 +00:00
echo osi
2008-10-11 09:24:32 +00:00
ca65 -D OSI -D OSI_KBD -D OSI_KBD_APPLE msbasic.s -o osi.o &&
2008-10-07 04:54:56 +00:00
ld65 -C osi.cfg osi.o -o osi-new.bin
xxd -g 1 osi.bin > osi.bin.txt
xxd -g 1 osi-new.bin > osi-new.bin.txt
diff -u osi.bin.txt osi-new.bin.txt | head
2008-10-07 08:03:36 +00:00
# 1.1
2008-10-08 05:07:59 +00:00
echo kb9
2008-10-11 06:23:53 +00:00
ca65 -D KIM -D KIM_KBD -D CONFIG_11 -D CONFIG_11_NOAPPLE -D CBM2_KIM -D KIM_KBD_APPLE -D CBM2_KIM_APPLE -D KIM_APPLE msbasic.s -o kb9.o &&
2008-10-07 08:03:36 +00:00
ld65 -C kb9.cfg kb9.o -o kb9-new.bin &&
xxd -g 1 kb9.bin > kb9.bin.txt
xxd -g 1 kb9-new.bin > kb9-new.bin.txt
diff -u kb9.bin.txt kb9-new.bin.txt | head
# 2
2008-10-08 05:07:59 +00:00
echo cbmbasic2
2008-10-11 06:23:53 +00:00
ca65 -D CBM -D CBM2 -D CONFIG_11 -D CONFIG_11_NOAPPLE -D CBM_KBD -D CBM_KBD_APPLE -D CBM2_KBD_APPLE -D CBM2_KBD -D CBM2_KIM -D CBM2_APPLE -D CBM2_KIM_APPLE -D CBM_APPLE msbasic.s -o cbmbasic2.o &&
2008-10-09 07:24:49 +00:00
ld65 -C cbmbasic1.cfg cbmbasic2.o -o cbmbasic2-new.bin &&
xxd -g 1 cbmbasic2.bin > cbmbasic2.bin.txt
xxd -g 1 cbmbasic2-new.bin > cbmbasic2-new.bin.txt
diff -u cbmbasic2.bin.txt cbmbasic2-new.bin.txt | head
2008-10-07 04:54:56 +00:00
2008-10-11 06:23:53 +00:00
# 1.1
echo applesoft
2008-10-11 09:24:32 +00:00
ca65 -D APPLE -D CONFIG_11 -D CBM_KBD_APPLE -D CBM2_APPLE -D CBM2_KBD_APPLE -D KIM_KBD_APPLE -D CBM2_KIM_APPLE -D CBM1_APPLE -D CBM_APPLE -D KIM_APPLE -D OSI_KBD_APPLE msbasic.s -o applesoft.o &&
2008-10-11 06:23:53 +00:00
ld65 -C applesoft.cfg applesoft.o -o applesoft-new.bin &&
xxd -g 1 applesoft.bin > applesoft.bin.txt
xxd -g 1 applesoft-new.bin > applesoft-new.bin.txt
2008-10-11 09:24:32 +00:00
diff -u applesoft.bin.txt applesoft-new.bin.txt | head
#da65 --info applesoft-temp.txt