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   
Text File  |  1989-04-17  |  3KB  |  75 lines

  1. TOADMODE.COM    serial port utility
  2.  
  3. TOADMODE will increase the baud rate of COM ports 1-4 to 19200 baud.
  4. TOADMODE must be used after the MODE command!
  5.  
  6.   This utility is most useful when you're doing "back-to-back" transfers
  7. between two computers (like a laptop and a tabletop), and you're using a
  8. comm transfer package that
  9.    (1) will NOT set the baud rate you desire (like JMODEM),
  10. or
  11.    (2) involves a complicated command line you can't remember
  12.        or don't wanna hassle with (like DSZ).
  13.  
  14.   Just run MODE and then TOADMODE with the desired baudrate.  You can then
  15. make multiple transfers using JMODEM or DSZ (both of which use the current
  16. serial port settings).
  17.  
  18. Syntax for cofiguration:
  19.  
  20. c:\>mode COMx:9600,n,8,1        Let DOS do most of the work
  21.                     (The baudrate doesn't really matter,
  22.                      it's the parity, data and stop bits
  23.                      we really want!)
  24. c:\>toadmode x b            Then let TOADMODE bump the baudrate
  25.  
  26.     where x = 1 for COM1
  27.           2 for COM2
  28.           3 for COM3
  29.           4 for COM4
  30.  
  31.     and   b = 1 for  19,200 bps
  32.           3 for  38,400 bps
  33.           5 for  57,600 bps
  34.           + for 115,200 bps
  35.  
  36. c:\toadmode        without parameters (or with incorrect parameters)
  37.             presents a help screen.
  38.  
  39. Any application programs that internally configure the COM ports will
  40. nullify the effects of TOADMODE.COM.  To overcome this problem, route the
  41. output of the application to a parallel port using the applications
  42. setup routines.  After this is done, add the following MODE command to
  43. the above configuration:
  44.  
  45. c:\>mode LPTx:=COMx
  46.  
  47.  
  48. Toad Hall Notes:
  49.   This is a tweaked version of 19200.COM (as fixed by Keith Petersen).
  50. The original was "hard-coded" for 19200 baud only.  I just added the second
  51. command line parameter and a table lookup for alternate high baud rates
  52. (plus some error msgs, etc.).
  53.  
  54.   Remember, now:  This utility will set your serial card (or modem) UART
  55. to the higher baud rate (using baud rate divisors correct for the normal
  56. UART chip).  However, that's NO guarantee your system will work correctly,
  57. or that your UART can in fact handle such baud rates.
  58.  
  59.   I'd suggest sticking to reasonable rates (38400 or 57600 bps) .. most comm
  60. programs are "CPU-bound" and couldn't begin to approach the 115,200 bps rate
  61. in any case!
  62.  
  63.   Re weird ports:  Some modem and serial cards purport to provide COM3 and
  64. COM4 .. but they're not exactly "standard."  The basic rule is, if the DOS
  65. MODE command won't set one of those weird ports .. neither will TOADMODE!
  66.  
  67. Released to public domain.
  68.  
  69. Do NOT separate the assembly language source or this documentation
  70. from the executable file when redistributing.
  71. Do NOT remove any credits.
  72.  
  73. David Kirschbaum
  74. Toad Hall
  75.