@ -2,4 +2,15 @@
BIN="$HOME/w/uxn/bin"
DEST="run.rom"
if [ $# -lt 1 ]; then
echo "usage: $0 [-c] FILE.tal"
exit 1
fi
if [ "$1" = "-c" ]; then
shift
$BIN/uxnasm $1 $DEST && $BIN/uxncli $DEST
else
$BIN/uxnasm $1 $DEST && $BIN/uxnemu $DEST