This commit is contained in:
~d6 2023-04-29 18:25:21 -07:00
commit 3afc7071ff
1 changed files with 6 additions and 2 deletions

8
femto
View File

@ -5,11 +5,15 @@
# see femto.txt for documentation # see femto.txt for documentation
TTY=`stty -g` 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 if [ $? -eq 0 ]; then
stty raw -echo stty raw -echo
uxncli femto.rom "$@" uxncli "$BASE/femto.rom" "$@"
stty "$TTY" stty "$TTY"
fi fi