diff --git a/femto b/femto index 6e4b9cc..d267560 100755 --- a/femto +++ b/femto @@ -5,11 +5,15 @@ # see femto.txt for documentation TTY=`stty -g` +BASE="$HOME/w/nxu" -uxnasm femto.tal femto.rom +if [ $1 = "-r" ]; then + shift + uxnasm "$BASE/femto.tal" "$BASE/femto.rom" +fi if [ $? -eq 0 ]; then stty raw -echo - uxncli femto.rom "$@" + uxncli "$BASE/femto.rom" "$@" stty "$TTY" fi