Technical information
Using NewMODE Serial Solutions
example ’COM296,e,7,,’ is legal for DOS mode, but not
for NewMODE.
2) DOS does not support above COM4.
3) Newmode also supports COM17 to COM32 when
NewCOM32.SYS is used, while DOS does not.
4) DOS mode does not give a default Baud rate, where
newmode does.
5) Newmode does not support the ’P’ option that DOS mode
offers if the port is to be connected to a printer and
assigned to LPT.
Query.______
This reports the current state of one or all of the serial
ports. The syntax is:
c>newmode [COM<port>] <queryflag>
where
<port> is 1...16, the COM port, eg COM11.
<queryflag> is ? or query
If a COM port is specified then a report for that port alone is
generated. If no port has been specified then a report on all the
ports is generated. The report for each port is a line in exactly
the same format as a NewMODE setting command. This allows
the output of the query to be redirected to a batch file which can
be run later to restore to state of the ports.
Examples._________
c>newmode com1 query generates the reply
NEWMODE COM1:1200,n,8,1 3F8 4
c>newmode ? generates
NEWMODE COM1:1200,n,8,1 3F8 4
NEWMODE COM2:2400,n,8,1 2F8 3
NEWMODE COM3:300,n,7,1 3E8 3
NEWMODE COM4:1200,e,7,1 2E8 3
NEWMODE COM5 0
NEWMODE COM6 0
NEWMODE COM7 0
Chapter 3 Page 39