home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
windows
/
mail32.zip
/
PF.DOC
< prev
next >
Wrap
Text File
|
1989-05-14
|
7KB
|
181 lines
PORT FINDER ver. 2.10 by mcTRONic Systems
PORT FINDER is a very versatile program. It will display
your computer type and bios date. It will detect and display
COM1 to COM4 and LPT1 to LPT3 ports that are responding. You can
swap COM or LPT ports addresses instead of swapping cables. If
you are using DOS 3.3 or higher and have COM3 and/or COM4, PORT
FINDER will activate both COM3 and/or COM4. DOS will then
recognize these ports and you will be able to use the DOS MODE
command. Any other programs that operate through DOS should
accept COM3 and/or COM4. Your serial port count will also be
increased. If you have a new IBM PS/2 computer COM3 and/or COM4
will already be activated. You can use PORT FINDER to reset both
COM and LPT port addresses in case you forget what address is
what. PORT FINDER can also be used in a BATCH file to detect
which COM ports are present. An Errorlevel is set for all
possible combinations. An example batch file COMMTEST.BAT is
included.
Any program that directly addresses the COM or LPT ports
will not be affected by PORT FINDER. Any program that uses DOS
to address the COM or LPT ports, will work with PORT FINDER,
allowing you to swap any port address you like. Activation of
COM3 or COM4 port does require DOS 3.3 or higher and a COM3 or
COM4 port.
PORT FINDER requires no run time parameters, to display
responding COM and LPT ports on all systems, or to activate
alternate COM ports on PC/XT/AT systems. DOS 3.3 and higher only
supports access to a maximum of 4 COM and 3 LPT ports. The
optional PORT FINDER parameters for parm1 and/or parm2 with
descriptions are:
d:>PF [parm1] [parm2]
H - Display this help screen C23 - Swap COM ports 2 and 3
RC - Reset COM port addresses C24 - Swap COM ports 2 and 4
RL - Reset LPT port addresses C34 - Swap COM ports 3 and 4
C12 - Swap COM ports 1 and 2 L12 - Swap LPT ports 1 and 2
C13 - Swap COM ports 1 and 3 L13 - Swap LPT ports 1 and 3
C14 - Swap COM ports 1 and 4 L23 - Swap LPT ports 2 and 3
NOTES:
1) PORT FINDER always displays the final I/O port address for
both COM and LPT ports, after all swaps and port resets.
2) All parameters can be used as parm1 and/or parm1 as you wish.
3) Two additional COM port addresses have been added to the two
original addresses that PORT FINDER will activate on PC/XT/AT
systems.
4) PORT FINDER will now assign COM and LPT ports during a reset
just like DOS does it.
5) PORT FINDER will now recognize all of the new PS/2 COM port
addresses.
6) PORT FINDER now includes an optional help screen if you need
it.
The PORT FINDER files are:
PF.COM - The PORT FINDER program
PF.DOC - The PORT FINDER document file
COMMTEST.BAT - Demo batch file for COM errorlevel test
The file COMMTEST.BAT requires DOS 3.3 or higher to work as writ-
ten however DOS 3.3 is not required to use PF.COM in a batch file.
PORT FINDER has been tested with DOS 4.0 and worked just fine!
All parameter letters can be upper or lower case. The COM
and LPT port addresses displayed always indicate the final
location after all port swaps and resets have been exacuted.
Enter all port numbers with low first then high.
I highly recommend that you not leave any address holes for
either the COM or LPT ports. As an example do not have only COM1
and COM3 with no COM2. Do not have a LPT2 and LPT3 with no LPT1.
If you have one port it should be 1, two ports should be 1 and 2
and so forth. Swap only ports that you have. While nothing is
wrong with testing out a port address you do not have by swapping
an address you have to it, you and your system may become
confused. Use the RC or RL functions to restore all standard
port address locations. If you have any problems with your
system after using PORT FINDER then stop using it.
TECHNICAL DATA:
DOS assigns COM and LPT numbers, from LOW to HIGH, to all
responding I/O ports in order as they are found and non-
responding I/O ports addresses are skipped.
MACHINE COMx I/O INT. MEM
ALL COM1 3F8 HEX IRQ4 40:00
ALL COM2 2F8 HEX IRQ3 40:02
PC/XT/AT COM3 3E8 HEX IRQ4 40:04
PC/XT/AT COM4 2E8 HEX IRQ3 40:06
PC/XT/AT COM5 2E0 HEX IRQ4 NONE
PC/XT/AT COM6 3E0 HEX IRQ3 NONE
PS/2 COM3 3220 HEX IRQ3 40:04
PS/2 COM4 3228 HEX IRQ3 40:06
PS/2 COM5 4220 HEX IRQ3 NONE
PS/2 COM6 4228 HEX IRQ3 NONE
PS/2 COM7 5220 HEX IRQ3 NONE
PS/2 COM8 5228 HEX IRQ3 NONE
SERIAL PORT COUNT IS AT MEM 40:11 BITS 2, 3, AND 4.
ErrorLevel COM1 COM2 COM3 COM4
0 0 0 0 0
1 X 0 0 0
2 0 X 0 0
3 X X 0 0
4 0 0 X 0
5 X 0 X 0
6 0 X X 0
7 X X X 0
8 0 0 0 X
9 X 0 0 X
10 0 X 0 X
11 X X 0 X
12 0 0 X X
13 X 0 X X
14 0 X X X
15 X X X X
(X means COMx is there)
PORT ADDRESS MEM
LPT1 3BC HEX 40:08 (may be included on MDA or other card)
LPT2 378 HEX 40:0A (may be addressed as LPT1 on PC,XT,AT)
LPT3 278 HEX 40:0C (may be addrresed as LPT2 on PC,XT,AT)
DISCLAIMER:
PORT FINDER is not guaranteed in any way. Use at your own
risk! I have made every attempt to get it right but testing it
on every machine configuration is not possible. If you have
problems with PORT FINDER then stop using it and let me know.
Thank You,
James D. McDaniel
Owner/Programmer
mcTRONic Systems
7426 Corwall Bridge Ln.
Houston, TX 77041-1709
(713) 462-7687
PORT FINDER, COPYRIGHT (C) 1988 by mcTRONic Systems
DOCUMENT DATE: March 23, 1989