nxu/femto

20 lines
293 B
Bash
Executable File

#!/bin/sh
#
# see femto.tal for source code
#
# see femto.txt for documentation
TTY=`stty -g`
BASE="$HOME/w/nxu"
if [ $1 = "-r" ]; then
shift
uxnasm "$BASE/femto.tal" "$BASE/femto.rom"
fi
if [ $? -eq 0 ]; then
stty raw -echo
uxncli "$BASE/femto.rom" "$@"
stty "$TTY"
fi