home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
t
/
toadmod1.zip
/
TOADMODE.DOC
< prev
Wrap
Text File
|
1989-04-17
|
3KB
|
75 lines
TOADMODE.COM serial port utility
TOADMODE will increase the baud rate of COM ports 1-4 to 19200 baud.
TOADMODE must be used after the MODE command!
This utility is most useful when you're doing "back-to-back" transfers
between two computers (like a laptop and a tabletop), and you're using a
comm transfer package that
(1) will NOT set the baud rate you desire (like JMODEM),
or
(2) involves a complicated command line you can't remember
or don't wanna hassle with (like DSZ).
Just run MODE and then TOADMODE with the desired baudrate. You can then
make multiple transfers using JMODEM or DSZ (both of which use the current
serial port settings).
Syntax for cofiguration:
c:\>mode COMx:9600,n,8,1 Let DOS do most of the work
(The baudrate doesn't really matter,
it's the parity, data and stop bits
we really want!)
c:\>toadmode x b Then let TOADMODE bump the baudrate
where x = 1 for COM1
2 for COM2
3 for COM3
4 for COM4
and b = 1 for 19,200 bps
3 for 38,400 bps
5 for 57,600 bps
+ for 115,200 bps
c:\toadmode without parameters (or with incorrect parameters)
presents a help screen.
Any application programs that internally configure the COM ports will
nullify the effects of TOADMODE.COM. To overcome this problem, route the
output of the application to a parallel port using the applications
setup routines. After this is done, add the following MODE command to
the above configuration:
c:\>mode LPTx:=COMx
Toad Hall Notes:
This is a tweaked version of 19200.COM (as fixed by Keith Petersen).
The original was "hard-coded" for 19200 baud only. I just added the second
command line parameter and a table lookup for alternate high baud rates
(plus some error msgs, etc.).
Remember, now: This utility will set your serial card (or modem) UART
to the higher baud rate (using baud rate divisors correct for the normal
UART chip). However, that's NO guarantee your system will work correctly,
or that your UART can in fact handle such baud rates.
I'd suggest sticking to reasonable rates (38400 or 57600 bps) .. most comm
programs are "CPU-bound" and couldn't begin to approach the 115,200 bps rate
in any case!
Re weird ports: Some modem and serial cards purport to provide COM3 and
COM4 .. but they're not exactly "standard." The basic rule is, if the DOS
MODE command won't set one of those weird ports .. neither will TOADMODE!
Released to public domain.
Do NOT separate the assembly language source or this documentation
from the executable file when redistributing.
Do NOT remove any credits.
David Kirschbaum
Toad Hall