Difference between revisions of "Configuration:SerialPort"

From DOSBoxWiki
Jump to navigationJump to search
(Actual info)
(Formatted)
 
Line 1: Line 1:
<pre>
+
'''serialX = device [parameter:value]'''
[serial]
+
:device can be: dummy | modem | nullmodem | directserial
 +
:parameter is: irq
 +
:value is:
 +
:#          for directserial: realport (required), rxdelay (optional).
 +
:#          for modem: listenport (optional).
 +
:#          for nullmodem: server, rxdelay, txdelay, telnet, usedtr, transparent, port, inhsocket (all optional).
  
#====NEW/Changed in 0.65
+
:Defaults:
# serial1-4 -- set type of device connected to com port.
+
:serial1=dummy
#              Can be disabled, dummy, modem, directserial.
+
:serial2=dummy
#              Additional parameters must be in the same line in the form of
+
:serial3=disabled
#              parameter:value. Parameters for all types are irq, startbps, bytesize,
+
:serial4=disabled
#              stopbits, parity (all optional).
 
#              for directserial: realport (required).
 
#              for modem: listenport (optional).
 
#              Example1: serial1=modem listenport:5000
 
#              Example2: serial1=directserial realport:COM3
 
  
serial1=dummy
+
:An example of how to configure an actual serial port for I/O use:
serial2=dummy
 
serial3=disabled
 
serial4=disabled
 
</pre>
 
 
 
An example of how to configure an actual serial port for I/O use:
 
 
<pre>
 
<pre>
 
serial1=directserial realport:com1
 
serial1=directserial realport:com1
 
</pre>
 
</pre>

Latest revision as of 22:20, 28 May 2009

serialX = device [parameter:value]

device can be: dummy | modem | nullmodem | directserial
parameter is: irq
value is:
  1. for directserial: realport (required), rxdelay (optional).
  2. for modem: listenport (optional).
  3. for nullmodem: server, rxdelay, txdelay, telnet, usedtr, transparent, port, inhsocket (all optional).
Defaults:
serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled
An example of how to configure an actual serial port for I/O use:
serial1=directserial realport:com1