nxu/uxnrun

17 lines
256 B
Plaintext
Raw Normal View History

2021-12-19 15:57:09 -05:00
#!/bin/sh
BIN="$HOME/w/uxn/bin"
DEST="run.rom"
2021-12-23 01:01:00 -05:00
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
fi