git @ Cat's Eye Technologies SixtyPical / 0.10 loadngo.sh
0.10

Tree @0.10 (Download .tar.gz)

loadngo.sh @0.10raw · history · blame

#!/bin/sh

SRC=$1
if [ "X$1" = "X" ]; then
    echo "Usage: ./loadngo.sh <source.60p>"
    exit 1
fi
OUT=/tmp/a-out.prg
bin/sixtypical --traceback --analyze --compile --basic-prelude $SRC > $OUT || exit 1
if [ -e vicerc ]; then
    x64 -config vicerc $OUT
else
    x64 $OUT
fi
rm -f $OUT