nxu/femto

20 lines
293 B
Plaintext
Raw Normal View History

2022-02-07 23:00:15 -05:00
#!/bin/sh
2022-03-23 23:03:20 -04:00
#
# see femto.tal for source code
#
# see femto.txt for documentation
2022-02-07 23:00:15 -05:00
TTY=`stty -g`
2023-04-10 13:06:54 -04:00
BASE="$HOME/w/nxu"
2023-04-10 13:06:54 -04:00
if [ $1 = "-r" ]; then
shift
uxnasm "$BASE/femto.tal" "$BASE/femto.rom"
fi
2022-02-08 22:22:08 -05:00
if [ $? -eq 0 ]; then
stty raw -echo
2023-04-10 13:06:54 -04:00
uxncli "$BASE/femto.rom" "$@"
2022-02-08 22:22:08 -05:00
stty "$TTY"
fi