home *** CD-ROM | disk | FTP | other *** search
- CZCOMMOD version 1.1 beta
- 12/12/90
-
- I got tired of all the clumsy commport drivers that were around.
- Not a single one that *I* found would allow various mixes of
- different commports or "skipping" (i.e. COM1,3,4). Sooooo...
- I sat down one evening and wrote CZCOM.SYS and CZMOD.COM.
-
- These two serial port utilities enable COM3 and COM4 to perform the
- same functions as COM1 and COM2. One is CZCOM.SYS, a driver. The
- other is CZMOD.COM, a utility program which replaces DOS MODE.COM/EXE.
-
-
- 1. CZCOM
-
- CZCOM is a device driver that initializes two devices,
- COM3 and COM4, for serial ports on your I/O Card. After
- CZCOM has been executed, you can gain access to these
- serial ports by simply entering the names COM3 and COM4.
-
- Before installing CZCOM, please set your I/O Card's serial
- ports to COM3 and COM4. If the system fails to "see" these
- COM ports, the following message will appear on the screen:
-
- "Can not find device COMn" (where "n" is comport number)
-
- Installation is easy. Simply include "DEVICE=[dr:\DIR\]CZCOM.SYS"
- in your CONFIG.SYS file (without the quotes, of course). You may
- have to define a [path] depending on where you keep CZCOM.SYS.
-
- If your boot diskette or current working drive does not have a
- CONFIG.SYS device, create one which includes the DEVICE= line.
-
- reboot your system by pressing the RESET buttom; simultaneously
- pressing CTRL, ALT and DEL; or turning the power off and on. If
- COM3 or COM4 ports exist, then the following messages will appear
- on the screen:
-
- Device COM3 is installed.
- Parameters set to 2400,n,8,1
- Device COM4 is installed.
- Parameters set to 2400,n,8,1
-
- NOTE: CZCOM DEFAULT SETS COM3 AND COM4 COMMUNICATION PARAMETERS
- TO BAUD RATE 2400, NO PARITY, 8 DATA BITS AND 1 STOP BIT.
- These parameters can be changed using CZMOD.COM as will be
- explained later.
-
- If COM3 and COM4 ports do not exist, then the following
- messages will appear on the screen:
-
- Can not find device COM3.
- Can not find device COM4.
-
-
- 2. CZMOD COMMAND
-
- The utility programm, CZMOD.COM, sets options for an
- asynchronous communications adapter. The CZMOD.COM also
- enables printer output to be routed to an asynchronous
- communications adapter or to another printer port (LPT).
-
-
- 2.1 Setting Parameters
-
- The command format for setting the options of an asynchronous
- communications adapter is listed below.
-
- CZMOD COMn:baud[,parity[,data bits[,stop bits[,p]]]]
-
- The variable "n" can be 1, 2, 3 or 4 designating the number
- of the asynchronous communications adapter.
-
- The protocol parameters used to initialize the asynchronous
- communications adapter can be set by replacing the bracketed
- items with specific characters. These parameters and the
- specific characters are listed below.
-
- Baud Rate: Enter 50, 75, 110, 134.5, 150, 300, 600, 1200,
- 1800, 2000, 2400, 3600, 4800, 7200, 9600, or 19200.
-
- (The default setting is 2400)
-
- NOTE: ONLY THE FIRST TWO CHARACTERS ARE REQUIRED, SUBSEQUENT
- CHARACTERS ARE IGNORED. FOR EXAMPLE, IF THE COMMAND
- FORMAT WAS "CZMOD COM3: 12,2", THE MODE OF OPERATION
- WOULD BE 1200 BAUD RATE, EVEN PARITY (default), DATABIT
- 7 (default), AND STOPBIT 2. ANY PARAMETERS OMITTED WOULD
- REVERT TO DEFAULT SINCE NO CHARACTERS WERE ENTERED.
-
- Parity: Enter N (None), O (Odd), E (Even), M (Mark),
- or S (Space).
-
- The default setting is E.
-
- Databits: Enter 5, 6, 7 or 8.
-
- The default setting is 7.
-
- Stopbits: Enter either 1 or 2.
-
- The default setting is 2 if the baud rate
- is less than or equal to 110.
-
- The default setting is 1 if the baud rate
- is greater than 110.
-
- The "P" option indicates that the asynchronous adapter is
- being used for a serial interface printer. If you enter the
- "P", time-out errors are continously retried. You can stop
- the retry loop by pressing Ctrl-Break. To stop the time-out
- errors from being continously retried when you have entered
- "P", you must reinitialize the asynchronous adapter without
- entering the "P". Including the P parameter allows CTL-Break
- to react immediately. Without P, "break" will not occur until
- the printer buffer has emptied.
-
-
- 2.2 Routing Printer Output
-
- The command formats for directing parllel printer output to
- an asynchronous communications adapter (serial port) or to
- another printer are listed below.
-
- CZMOD LPT#: = COMn
-
- CZMOD LPT#: = LPT$
-
- There are three variables in this command format:
-
- The variable "#" can be 1, 2, or 3 designating the printer port
- (LPT) number.
-
- The variable "n" can be 1, 2, 3 or 4 designating the asynchronous
- communications adapter (COM).
-
- The variable "$" can be 1, 2, or 3 designating another printer port.
-
- All output direct to the printer LPT# is redirected to the asynchronous
- adapter n (COMn), or to another printer $.
- Another format, CZMOD LPT#: = LPT#, disables any redirection to the
- printer designated by the "#".
-
- Before you can use the CZMOD to redirect the parallel printer
- output to a serial device, you must initialize the asynchronous
- communications adapter by using the CZMOD COMn format described
- in Section 2.1 Setting Parameters. If that serial device is a
- printer, your seial initialization command should also include
- the "P" parameter.
-
- NOTE: WHEN USED IN THE CZMOD COMn FORMAT WITH THE "P" OPTION, OR
- IN THE CZMOD LPT#: = COMn OR CZMOD LPT#: = LPT$, THE CZMOD
- COMMAND CAUSES THE PRINTER AND ASYNCHRONOUS COMMUNICATIONS
- ADAPTER INTERCEPT CODE TO BE MADE RESIDENT IN MEMORY.
-
-
- !! VERY IMPORTANT NOTE !!
-
- On some machines less than 100% IBM compatable, CZMOD.COM parameters
- may tend to "stick". If this occurs, reboot your CPU "COLD" (turn it
- OFF and then ON with the power switch) to reset CZCOM.SYS defaults !
-
-
- 3. DISCLAIMER
-
- Both CZCOM.SYS and CZMOD.COM have been tested extensively with no
- injurious results to hardware or neighboring software. But they
- are provided strictly "as is", and any damage resulting from their
- installation and /or use is strictly the responsibility of the user.
- The author makes no claims of guarantee or warranty of any kind.
-
- 4. LEGALESE
-
- The author hereby donates CZCOM.SYS & CZMOD.COM to the public domain.
- Any problems, questions, suggestions may be deposited in the nearest
- file-13. Any compliments, thank-yous, or monetary gratuities may be
- forwarded to:
-
- Cap'n Chris
- LIBERTY BBS
- (313)792-4911
-