diff options
Diffstat (limited to 'src/start_getty.sh')
-rw-r--r-- | src/start_getty.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/start_getty.sh b/src/start_getty.sh new file mode 100644 index 0000000..7195d5e --- /dev/null +++ b/src/start_getty.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +ATR_IMAGE=${1-dumb.atr} +TTY=/dev/ttyS0 + +fuser -k $TTY 2&>/dev/null # make sure nobody's using the port... +$DELAY +fuser -k -9 $TTY 2&>/dev/null # Just in case... +$DELAY +modprobe atarisio port=$TTY +$DELAY +atariserver $ATR_IMAGE +#atariserver autorun.sys # fails when run from MyPicoDOS, why? +$DELAY +rmmod atarisio +$DELAY +strace -o/dev/null agetty -L $TTY 4800 vt100 & +$DELAY +./clear_rts |