summaryrefslogtreecommitdiff
path: root/system/atarisio/man/atariserver.1
blob: 6226bb55c775129c587a2d95315786eef7071927 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
.TH ATARISERVER "1" "April 2007" "atariserver (atarisio 0.30)" "HiassofT Atari 8-bit Tools"
.SH
NAME
\fBatariserver\fR \- SIO server (peripheral emulator) for Atari 8\-bit computers, for use with an SIO2PC cable

.SH
SYNOPSIS
.B atariserver
[\fB\-h\fR]
[\fB\-f\fR \fIdevice\fR]
[\fB\-c\fR]
[\fB\-C\fR]
[\fB\-m\fR]
[\fB\-o\fR \fIfile\fR]
[\fB\-p\fR]
[\fB\-s\fR]
[\fB\-S\fR]
[\fB\-X\fR]
[\fB\-t\fR]
[\fB\-<1-8>\fR]
[\fB\-V\fR \fIdensity\fR \fIdir\fR]
[\fB\-P\fR \fIconv\fR \fIpath\fR]
[\fBfilename\fR]
[\fI...\fR]

.SH
DESCRIPTION
\fBatariserver\fR emulates Atari 8\-bit peripherals using the \fBSIO\fR
protocol, including disk drives, printers, and cassette tape decks.

This manual page only documents the command\-line options to
\fBatariserver\fR. For more information, including a description of
the user interface and the command set
for remote command support, see the \fBREADME\fR
file for AtariSIO, possibly located in /usr/doc/atarisio or
/usr/share/doc/atarisio.

.SH
OPTIONS
Most options can be set from within \fBatariserver\fR's curses\-based
user interface while the program is running.
.TP
\fB\-h\fR
Displays command line help message
.TP
\fB-f\fR \fIdevice\fR
Sets the AtariSIO device. This option is only needed if you
configured the kernel driver to support more than one interface.
.IP
\fINote:\fR this must be the very first command line option, otherwise
it will be ignored!
.IP
Without this option, \fBatariserver\fR will check if the environment
variable \fBATARISERVER_DEVICE\fR is set. If not, the default device
\fB/dev/atarisio0\fR will be used.

.TP
\fB\-c\fR
Tells AtariSIO that your Atari is connected via an alternative
SIO2PC cable. The standard SIO2PC cable uses the RI pin for
command line input. Some Windows SIO emulators use a slightly
modified SIO2PC cable, using DSR instead of RI. If you are not
sure what kind of SIO2PC cable you have, just try starting
atariserver with and without the \fB\-c\fR switch and test if your
Atari can boot from atariserver.
.IP
\fINote:\fR there's no performance benefit using the DSR line instead
of the RI line; both cables work identically with AtariSIO.

.TP
\fB\-C\fR
Similar to \fB\-c\fR except that the CTS pin is used. This is
quite useful for testing purposes: connect two PCs with a
nullmodem\-cable, start \fBatariserver\fR with \fB\-C\fR on one machine
and \fBatarixfer\fR with \fB\-p\fR on the other.

.TP
\fB\-m\fR
Monochrome mode: disable colors, even if your terminal
reports color support.

.TP
\fB\-o\fR \fIfile\fR
Set trace file: all output displayed in the log window will
also be saved to the specified file.

.TP
\fB\-p\fR
Loads the next image with "write protect" enabled. This
option is only valid for the next image; if you want to load
multiple write protected images, you have to specify this
options before each filename.

.TP
\fB\-s\fR
Disables high speed (57600 bit/sec) SIO support. It sets
the baudrate to fixed 19200 bit/sec and also disables several
special commands like "get ultraspeed byte" or "flush disk"
that are only supported by high-speed drives like the
1050 speedy. Read the list of SIO commands at the end of the
README for more details.

.TP
\fB\-S\fR
High speed (57600 bit/sec) mode with pauses between bytes.
This is needed for some high speed SIO routines which are too
slow to handle sustained 57600 bit/sec transfers. The effective
speed will be approx. 48000 bit/sec.

.TP
\fB\-X\fR
Enable XF551 compatibility mode. In XF551 mode \fBatariserver\fR
reacts to commands with the 7th bit set and automatically
switches to 38400 bit/sec transfer mode. Additionally, the
GetStatus command sets both bit 7 and 6 in case of an QD
(double sided, double density, 1440 sectors) disk, just like
the XF551.

.TP
\fB\-t\fR
Increases the trace level. You may use this option up to
three times if you want more output.

.TP
\fB\-1\fR \fIthrough\fR \fB\-8\fR
Set the drive number for the next image file. The default is 1 for the
first image, and is incremented for each subsequent image. See \fBNOTES\fR
below for an example.

.TP
\fB\-V\fR \fIdensity\fR \fIdir\fR
Create virtual device of given density, using files from directory \fIdir\fR.
\fIdensity\fR is one of:
.IP
\fBs\fR (single density, 720 sectors),
.IP
\fBd\fR (double density, 720 sectors),
.IP
\fBe\fR (1050 "enhanced" density, 1040 sectors),
.IP
\fInumber\fR\fBs\fR (single density, \fInumber\fR sectors, e.g. \fB1440s\fR),
.IP
\fInumber\fR\fBd\fR (double density, \fInumber\fR sectors, e.g. \fB1440d\fR),
.IP
\fBS\fR (single density, the number of sectors needed to store all files is automatically calculated)
.IP
\fBD\fR (double density, like \fBS\fR)
.TP
\fB\-P\fR \fIconv\fR \fIpath\fR
Install printer handler.
.IP
\fIconv\fR is EOL conversion: \fBr\fR=raw(no conversion), \fBl\fR=LF (UN*X), \fBc\fR=CR+LF (DOS/Windows)
.IP
\fIpath\fR is either a filename or \fI|print-command\fR, eg \fB|lpr\fR
.IP
\fINote:\fR Most shells require you to quote \fIpath\fR if it contains a pipe (|) character. To use the standard unix print service, use: \fB-P l "|lpr"\fR

.TP
\fIfilename\fR
One or more image files, which should be either ATR or XFD format Atari
8\-bit disk images. Image filenames may be interleaved with \fB\-[1\-8]\fR
and/or \fB-p\fR options. Images may be in any Atari\-compatible DOS or
boot disk format; \fBatariserver\fR simply serves them to the Atari,
without interpreting the contents.

.SH
NOTES
To load several images you could start atariserver with
the following options (for example):

.br
atariserver dos.atr -3 -p data1.atr -V d filedir
.br

This will load dos.atr into D1:, data1.atr into D3: and create
a virtual drive in double density (720 sectors) out of the
directory filedir. Furthermore, D1: and D4: will be writable,
whereas D3: will be write protected.

If you set the environment variable ATRPATH, \fBatariserver\fR will look
for image files in the specified (colon separated) directories
if the image can't be found in the current working directory.
ATRPATH works both on the command line and in the user interface.
For example:

export ATRPATH=/home/atari/dos:/data/xl/magazines

or (for csh users):
setenv ATRPATH /home/atari/dos:/data/xl/magazines

.SH
KERNEL SUPPORT

\fBatariserver\fR requires the \fBatarisio\fR kernel module (driver) to
be loaded. If you receive an "error opening /dev/atarisio0" message,
try loading the module (as \fBroot\fR):

.br
/sbin/modprobe atarisio port=/dev/ttyS0
.PP
Replace ttyS0 with whichever serial port has the SIO2PC cable attached.
If the module refuses to load, you may have to "modprobe 8250" first.

.SH
SUPPORTED HARDWARE

\fBatariserver\fR works with most common one-chip RS232 (serial port)
SIO2PC designs, including the AtariMax "smart" SIO2PC by Steven Tucker,
and designs based on the 1489/14C89 and Max232/233 chips.
.PP
The USB SIO2PC (sometimes incorrectly called SIO2USB) from AtariMax is
\fBNOT\fR supported, though support is planned for future versions
of AtariSIO/atariserver.
.PP
The old two-chip SIO2PC interface (with a MAX232 and an LS368)
is NOT supported, and probably never will be.
.PP
All Atari 8\-bit computers (400/800, XL, and XE series) are supported.

.SH
AUTHOR
Matthias Reichl <\fBhias@horus.com\fR>
.PP
Man page by B. Watson <\fBurchlay@urchlay.com\fB>

.SH
SEE ALSO
\&\fIatarixfer\fR\|(1), \&\fIdir2atr\fR\|(1), \&\fIadir\fR\|(1).
.PP
AtariSIO home page: \fBhttp://www.horus.com/~hias/atari/\fR