home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / mail32.zip / PF.DOC < prev    next >
Text File  |  1989-05-14  |  7KB  |  181 lines

  1.             PORT FINDER ver. 2.10 by mcTRONic Systems
  2.  
  3.      PORT  FINDER is a very versatile program.  It  will  display 
  4. your  computer  type and bios date.  It will detect  and  display  
  5. COM1 to COM4 and LPT1 to LPT3 ports that are responding.  You can 
  6. swap  COM or LPT ports addresses instead of swapping cables.   If 
  7. you are using DOS 3.3 or higher  and have COM3  and/or COM4, PORT
  8. FINDER will  activate  both  COM3  and/or  COM4.   DOS  will then
  9. recognize these ports and you will be able to  use the  DOS  MODE
  10. command.   Any other  programs that  operate  through  DOS should
  11. accept  COM3 and/or  COM4.  Your serial  port count  will also be
  12. increased.  If you have a new IBM PS/2 computer COM3 and/or  COM4 
  13. will already be activated.  You can use PORT FINDER to reset both
  14. COM and LPT port addresses in  case you forget   what address  is
  15. what.  PORT  FINDER can also be used in a BATCH  file  to  detect
  16. which COM ports  are present.    An  Errorlevel  is  set  for all
  17. possible  combinations.   An  example  batch file COMMTEST.BAT is
  18. included.
  19.  
  20.      Any  program  that directly addresses the COM or  LPT  ports 
  21. will  not be affected by PORT FINDER.  Any program that uses  DOS 
  22. to  address  the  COM or LPT ports, will work  with  PORT FINDER, 
  23. allowing  you to  swap any  port address you like.  Activation of
  24. COM3 or  COM4 port does require DOS 3.3 or higher  and a  COM3 or
  25. COM4 port.
  26.  
  27.     PORT FINDER  requires  no run time parameters, to display
  28. responding  COM  and  LPT ports  on all  systems,  or to activate
  29. alternate COM ports on PC/XT/AT systems.  DOS 3.3 and higher only
  30. supports  access  to a  maximum  of 4  COM  and  3 LPT ports. The
  31. optional  PORT FINDER  parameters  for parm1  and/or  parm2  with
  32. descriptions are:
  33.  
  34. d:>PF [parm1] [parm2]
  35.  
  36. H   - Display this help screen       C23 - Swap COM ports 2 and 3
  37. RC  - Reset COM port addresses       C24 - Swap COM ports 2 and 4
  38. RL  - Reset LPT port addresses       C34 - Swap COM ports 3 and 4
  39. C12 - Swap COM ports 1 and 2         L12 - Swap LPT ports 1 and 2
  40. C13 - Swap COM ports 1 and 3         L13 - Swap LPT ports 1 and 3
  41. C14 - Swap COM ports 1 and 4         L23 - Swap LPT ports 2 and 3
  42.  
  43. NOTES:
  44.  
  45. 1)  PORT  FINDER always displays the final I/O port  address  for 
  46. both COM and LPT ports, after all swaps and port resets.
  47.         
  48. 2) All parameters can be used as parm1 and/or parm1 as you wish.
  49.         
  50. 3)  Two additional COM port addresses have been added to the  two 
  51. original  addresses  that PORT FINDER will activate  on  PC/XT/AT 
  52. systems.
  53.         
  54. 4)  PORT FINDER will now assign COM and LPT ports during a  reset 
  55. just like DOS does it.
  56.         
  57. 5)  PORT FINDER will now recognize all of the new PS/2  COM  port 
  58. addresses.
  59.         
  60. 6)  PORT FINDER now includes an optional help screen if you  need 
  61. it. 
  62.         
  63.  
  64.  
  65.  
  66.         The PORT FINDER files are:
  67.         
  68.         PF.COM       - The PORT FINDER program
  69.         PF.DOC       - The PORT FINDER document file
  70.         COMMTEST.BAT - Demo batch file for COM errorlevel test
  71.  
  72.  
  73. The file COMMTEST.BAT requires DOS 3.3 or higher to work as writ-
  74. ten however DOS 3.3 is not required to use PF.COM in a batch file.
  75.  
  76. PORT FINDER has been tested with DOS 4.0 and worked just fine!
  77.  
  78.      All parameter  letters  can be upper or lower case.  The COM
  79. and  LPT port  addresses displayed   always  indicate  the  final
  80. location after  all  port  swaps  and resets  have been exacuted.
  81. Enter all port numbers with low first then high.
  82.  
  83.      I highly recommend that you not leave any address holes  for 
  84. either the COM or LPT ports.  As an example do not have only COM1 
  85. and COM3 with no COM2.  Do not have a LPT2 and LPT3 with no LPT1.  
  86. If you have one port it should be 1,  two ports should be 1 and 2 
  87. and  so forth.  Swap only ports that you have.  While nothing  is 
  88. wrong with testing out a port address you do not have by swapping 
  89. an  address  you  have to it,  you and  your  system  may  become 
  90. confused.   Use  the RC or RL functions to restore  all  standard 
  91. port  address  locations.   If you have any  problems  with  your 
  92. system after using PORT FINDER then stop using it.
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99. TECHNICAL DATA:
  100.  
  101.     DOS assigns COM and LPT numbers, from LOW to HIGH, to all
  102. responding  I/O  ports  in  order  as  they  are  found  and non-
  103. responding I/O ports addresses are skipped.
  104.  
  105. MACHINE         COMx             I/O            INT.        MEM
  106.  
  107. ALL             COM1            3F8 HEX         IRQ4       40:00
  108. ALL             COM2            2F8 HEX         IRQ3       40:02
  109. PC/XT/AT        COM3            3E8 HEX         IRQ4       40:04
  110. PC/XT/AT        COM4            2E8 HEX         IRQ3       40:06
  111. PC/XT/AT        COM5            2E0 HEX         IRQ4       NONE
  112. PC/XT/AT        COM6            3E0 HEX         IRQ3       NONE
  113.  
  114. PS/2            COM3           3220 HEX         IRQ3       40:04
  115. PS/2            COM4           3228 HEX         IRQ3       40:06
  116. PS/2            COM5           4220 HEX         IRQ3       NONE
  117. PS/2            COM6           4228 HEX         IRQ3       NONE
  118. PS/2            COM7           5220 HEX         IRQ3       NONE
  119. PS/2            COM8           5228 HEX         IRQ3       NONE
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132. SERIAL PORT COUNT IS AT MEM 40:11 BITS 2, 3, AND 4.
  133.  
  134.         ErrorLevel              COM1  COM2  COM3  COM4
  135.  
  136.             0                     0     0     0     0
  137.             1                     X     0     0     0
  138.             2                     0     X     0     0
  139.             3                     X     X     0     0
  140.             4                     0     0     X     0
  141.             5                     X     0     X     0
  142.             6                     0     X     X     0
  143.             7                     X     X     X     0
  144.             8                     0     0     0     X
  145.             9                     X     0     0     X
  146.            10                     0     X     0     X
  147.            11                     X     X     0     X
  148.            12                     0     0     X     X
  149.            13                     X     0     X     X
  150.            14                     0     X     X     X
  151.            15                     X     X     X     X
  152.  
  153.                       (X means COMx is there)
  154.  
  155.      PORT ADDRESS     MEM
  156.  
  157. LPT1   3BC HEX       40:08 (may be included on MDA or other card)
  158. LPT2   378 HEX       40:0A (may be addressed as LPT1 on PC,XT,AT)
  159. LPT3   278 HEX       40:0C (may be addrresed as LPT2 on PC,XT,AT)
  160.  
  161. DISCLAIMER:
  162.  
  163.      PORT  FINDER is not guaranteed in any way.  Use at your  own 
  164. risk!   I have made every attempt to get it right but testing  it 
  165. on  every  machine configuration is not possible.   If  you  have 
  166. problems with PORT FINDER then stop using it and let me know.  
  167.  
  168.  
  169.                                         Thank You,
  170.  
  171.  
  172.                                         James D. McDaniel
  173.                                         Owner/Programmer
  174.  
  175.                                         mcTRONic Systems
  176.                                         7426 Corwall Bridge Ln.
  177.                                         Houston, TX  77041-1709
  178.                                         (713) 462-7687
  179.  
  180. PORT FINDER, COPYRIGHT (C) 1988 by mcTRONic Systems
  181. DOCUMENT DATE:  March 23, 1989