msbasic/make.sh
2008-10-12 03:33:45 +00:00

14 lines
344 B
Bash
Executable File

# 1.0
for i in cbmbasic1 cbmbasic2 kbdbasic osi kb9 applesoft; do
echo $i
ca65 -D $i msbasic.s -o tmp/$i.o &&
ld65 -C $i.cfg tmp/$i.o -o tmp/$i-new.bin -Ln tmp/$i.lbl &&
xxd -g 1 orig/$i.bin > tmp/$i.bin.txt
xxd -g 1 tmp/$i-new.bin > tmp/$i-new.bin.txt
diff -u tmp/$i.bin.txt tmp/$i-new.bin.txt | head
done
#da65 --info applesoft-temp.txt