Technical information

Using NewMODE Serial Solutions
Parameter Setting._________________
This mode nearly mimics the DOS ’mode com’ command,
and allows the user to set the parameters (for example baud rate,
parity) of a port.
The command takes several parameters, firstly the port,
then a group of parameters defining the baud rate, parity,
number of data bits (word length) and the number of stop bits
(these separated by commas), then an optional i/o address and an
irq line number separated by spaces.
Note: The ability to set the i/o address and irq numbers
using NewMODE is for backwards compatibility with
previous versions of Serial Solutions. From version 2.00
onwards these parameters should only be set in the
CONFIG.SYS file using the /A and the /I commands,
or the /A and /L commands for multiport cards, on the
device= NewCOM.SYS line.
The format is:
c>newmode COM<n>[:<params>] [<address> [<irq>]]
where
<n> = 1...16 is the serial port number, as in ’COM4’.
= range 1 to 32 when NewCOM32.sys is used.
<params>
=[<baud>[,<parity>[,<databits>[,<stopbits>]]]] are
the parameters that define the serial port.
<baud> is the Baud rate
=one of 110, 150, 300, 1200, 2400, 4800, 9600,
19200, 38400, 57600, or 115200
<parity> is the parity option
=n, o, e, m, or s
for none, odd, even, mark and space respectively.
<databits> is the number of bits per word sent.
=5, 6, 7 or 8
<stopbits> is the number of stop bits appended to the data
=1 or 2
Chapter 3 Page 37