Technical information
Serial Solutions Using NewMode
Chapter 3
Using NewMODE.
Introduction.____________
NewMODE is a replacement for the DOS ’mode com...’
command which supports some of the extra features available
under NewBIOS and NewCOM. It enables the user to set the
baud rate parity, word length and number of stop bits of a serial
port, and a query mode allows the user to find the settings of
one or all ports. The i/o address and interrupt line can also be
set with the newmode command.
Command Format._________________
In the descriptions which follow a string of characters
enclosed in angled braces <thus> indicates a symbol which
should be replaced by a string defined later. Optional parameters
are enclosed in square braces [to indicate that they don’t
necessarily have to be included]. Alternatives are enclosed in
curly braces and separated by vertical bars as {one|or
another|but not both}. Note that spaces are important, for
example the line
c>newmode com1:1200 ,e,7,1
which is a legal syntax for the DOS mode command, will
prevent further use of COM1. Use only the spaces shown in the
syntax, and check them against the examples if you’re still not
sure.
NewMODE can be used in three main ways: help,
parameter setting (like the DOS mode com command) and query.
Help._____
To obtain help on the NewMODE command type:
c>newmode
This returns a brief description of the command syntax.
Page 36 Chapter 3