mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-11-22 01:32:13 +00:00
20 lines
326 B
Bash
Executable File
20 lines
326 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "X$X64" = "X" ]; then
|
|
X64=x64
|
|
fi
|
|
SRC=$1
|
|
if [ "X$1" = "X" ]; then
|
|
echo "Usage: ./loadngo-c64.sh <source.60p>"
|
|
exit 1
|
|
fi
|
|
OUT=/tmp/a-out.prg
|
|
bin/sixtypical --traceback --prelude=c64 $SRC > $OUT || exit 1
|
|
ls -la $OUT
|
|
if [ -e vicerc ]; then
|
|
$X64 -config vicerc $OUT
|
|
else
|
|
$X64 $OUT
|
|
fi
|
|
rm -f $OUT
|