home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
pcmag
/
vol8n17.arc
/
PF2.ARC
/
PF.DOC
< prev
next >
Wrap
Text File
|
1988-09-07
|
7KB
|
163 lines
PORT FINDER ver. 2.00 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:
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.
This program is yours to use and freely copy. You can not
sell PORT FINDER or change any fee for its use. A distribution
fee of not more than $5.00 can be charged with my written consent.
Thank You,
James D. McDaniel
Owner/Programmer
mcTRONic Systems
7426 Corwall Bridge Ln.
Houston, TX 77041-1709
(713) 462-7687
* If you need a good mail list program then send for my
shareware program MAILALL. It is the best and least exspensive
mail list program you can buy for a small company or personal use.
MAILALL will maintain the names of up to 20 address files each
with 4000 addresses on a hard disk or 1500 addresses per floppy
disk. There are nine data fields and you can sort the address
file by any two that you wish. MAILALL will print Labels (up to
four across), Reports, and Envelopes. You can edit or print all
functions based on address search matches from one to all nine
fields. MAILALL can import or export WORDSTAR mailmerge data
files and can export MULTIMATE ADVANTAGE II mailmerge files. It
cost just $27.50 shipped FIRST CLASS MAIL to you. Send for it
today!
PORT FINDER, COPYRIGHT (C) 1988 by mcTRONic Systems
MAILALL, COPYRIGHT (C) 1987, 1988 by mcTRONic Systems
DOCUMENT DATE: September 7, 1988