Filter out the copyright symbol from Applesoft programs because the Apple // does not seem to like unicode for some reason.

This commit is contained in:
Jeremy Rand 2018-07-18 20:45:36 -05:00
parent 2be79b8fd5
commit 3701fd5b62
2 changed files with 11 additions and 2 deletions

11
make/bt
View File

@ -22,4 +22,13 @@ then
exit 1
fi
exec "$JAVA" -jar make/bastokenizer-tools-bt-0.2.0.jar $*
INPUTFILE=$1
shift
tr -d '©' < "$INPUTFILE" > /tmp/bt_filtered.$$
"$JAVA" -jar make/bastokenizer-tools-bt-0.2.0.jar $* /tmp/bt_filtered.$$
RESULT=$?
rm /tmp/bt_filtered.$$
exit $RESULT

View File

@ -128,7 +128,7 @@ execute: $(DISKIMAGE)
make/errorFilter.sh $(CL65) $(MACHCONFIG) --cpu $(CPU) $(ASMFLAGS) -l -c -o $@ $<
%.tok: %.bas
make/bt $(BASICFLAGS) -o $@ $<
make/bt $< $(BASICFLAGS) -o $@
$(OBJS): Makefile