blob: 4f3ad40b641a5c55f7e43fad656080e0732e562c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/sh
# Configurable stuff:
TTY=/dev/ttyS0 # serial port to use
BAUD=4800 # must match FujiChat conf
# This setting is only needed if you're using an AtariMax (Steve Tucker)
# auto-sensing SIO2PC as your serial device.
TUCKER_SIO2PC_HACK="yes"
# DELAY is needed on some (most?) systems because e.g. atariserver tries
# to run before the atarisio module is fully initialized. Choose one:
# No delay:
#DELAY="true"
# 1 second:
#DELAY="sleep 1"
# 1/4 second (may not work on old Linux installs):
DELAY="usleep 250000"
slirp "tty $TTY" "mru 576" "mtu 576" "baudrate $BAUD" &
if [ "$TUCKER_SIO2PC_HACK" = "yes" ]; then
sleep 1
./clear_rts
fi
|