aboutsummaryrefslogtreecommitdiff
path: root/src/start_getty.sh
blob: 7195d5e7c35c105449853b74d35a5b1776ef347c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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