home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / MOUSE / PASSCOM.ZIP / PASSCOM.DOC next >
Encoding:
Text File  |  1990-04-26  |  9.5 KB  |  232 lines

  1. PASSCOM.DOC
  2.  
  3. Program  : PASSCOM.EXE
  4.  
  5. Author   : Kevin Kiley
  6.  
  7. Company  : INTERLINK TECHNOLOGIES
  8.  
  9. Address  : 1222 5th Street
  10.            Sarasota, Fla. 34236
  11.            (813) 366-3728
  12.  
  13. Released : 04/25/90
  14.  
  15. Terms    : Shareware. A $10 registration fee is expected if you
  16.            use the program on a regular basis. Registration entitles
  17.            you to phone support and free updates. Send check or 
  18.            money order to INTERLINK.
  19.  
  20. Source   : Written completely in TURBO 'C'. No ASM code at all.
  21.            Fully commented source code is available from INTERLINK
  22.            TECHNOLOGIES.
  23.  
  24. WHAT IS PASSCOM?
  25.  
  26. PASSCOM is a PC DOS communications utility.
  27.  
  28. The program resides in memory and will pass ALL characters received or
  29. transmitted on either COM1 or COM2 directly to the OPPOSITE COM PORT.
  30.  
  31. I have 4 PC's. Only ONE of them has an INTERNAL MODEM and I use this
  32. program to SHARE that internal modem with ALL of the other PC's.
  33.  
  34. I never have to decide WHICH PC should have the modem and go through
  35. the hassle of re-installing the modem card. The modem resides 
  36. permanently on COM2 in ONE PC and I use THIS PROGRAM and an inexpensive
  37. ABC switch box connected to COM1 to use the modem from any one of the 
  38. other 3 PC's.
  39.  
  40. The program is a VERY SMALL Terminate and Stay Resident program (TSR)
  41. which can be installed or removed from memory at any time from either
  42. the DOS command line or from within a DOS batch file.
  43.  
  44. Since the program is a TSR you can still do anything you want in the
  45. foreground on the PC with the modem in it while you are using the
  46. modem from another PC. 
  47.  
  48. This program can be used to SHARE ANY SERIAL device between a number
  49. of PC's but the MODEM SHARING is perhaps the best example.
  50.  
  51. WHAT YOU NEED TO USE PASSCOM
  52.  
  53. IBMPC or compatible, DOS 3.1 or better, 2 com ports ( COM1 and COM2 ).
  54.  
  55. STARTING PASSCOM...
  56.  
  57. PASSCOM uses a syntax similar to the DOS MODE command. You never
  58. need to supply the 'COM1:' or 'COM2:' parameter as you would with a MODE
  59. command since PASSCOM already knows it will be dealing with BOTH COM PORTS.
  60. You can, however, specify the PROTOCOL to be used for a session by supplying
  61. the right parameters on the command line. Separate parameters with SPACES,
  62. not COMMAS!...
  63.  
  64. PASSCOM             <-- Default protocol 2400 BAUD, NO   PARITY, 8 DATA, 1 STOP
  65. PASSCOM 1200 N 8 1  <-- Use     protocol 1200 BAUD, NO   PARITY, 8 DATA, 1 STOP
  66. PASSCOM 1200 E 7 1  <-- Use     protocol 1200 BAUD, EVEN PARITY, 7 DATA, 1 STOP
  67. Etc...      | | |
  68.             | | |
  69.           USE SPACES
  70.           TO SEPARATE
  71.           PARAMETERS!
  72.  
  73. PASSCOM will complain if it doesn't like a parameter and will display an
  74. error message and a reminder on how to the protocol should be specified.
  75.  
  76. If all is OK then PASSCOM will go memory resident and give you a message
  77. telling you that the load was successful.
  78.  
  79. NOTE: PASSCOM will use the SAME BAUD RATE for both ports! If you need
  80.       to share a port and ( for some reason ) need to use different
  81.       BAUD rates then contact INTERLINK TECHNOLOGIES. I have a program
  82.       that uses BUFFERS and is much more complicated than PASSCOM but it
  83.       will UPSHIFT or DOWNSHIFT and allow 2 devices to communicate using
  84.       different BAUD RATES.
  85.  
  86. USING PASSCOM...
  87.  
  88. As long as PASSCOM is resident it will re-direct all COM I/O on COM1 and
  89. COM2 to the opposite port. If you are using it to share an internal modem
  90. then you can go to the OTHER PC and use ANY communications software like
  91. PROCOMM or QMODEM to place phone calls and/or UPLOAD/DOWNLOAD files.
  92.  
  93. PASSCOM re-directs the communciations interrupt vectors for BOTH COM
  94. PORTS to get the job done. You have to be careful about what you RUN
  95. on the PC where PASSCOM is running because of this. Do NOT run any 
  96. other software that will also re-direct the communications interrupts
  97. or PASSCOM may stop working. This includes PROCOMM, TELINK, etc.
  98.  
  99. STOPPING PASSCOM...
  100.  
  101. Just enter 'PASSCOM T' to 'TERMINATE' the program. If no other TSR's
  102. were loaded after PASSCOM then the program will automatically remove
  103. itself from memory. The communications interrupt vectors will be 
  104. restored to their values at the time PASSCOM was loaded and the ports
  105. will be released.
  106.  
  107. If another TSR has been loaded on top of PASSCOM then all it can do
  108. is SUSPEND. It will release the communciations interrupt vectors but
  109. will NOT remove itself from memory. Use a standard TSR FLUSH setup to
  110. remove PASSCOM if you're are forever loading other TSR's on top of it.
  111. This will be the only way to actually REMOVE it from memory ( other than
  112. a quck re-boot ) if there are other TSR's on top of it. This is true
  113. for all TSR's that are asked to remove themselves from memory under such
  114. circumstances.
  115.  
  116. NULL MODEM CABLE REQUIRED FOR ANY DEVICE CONNECTED TO HOST PC
  117.  
  118. Any device connected externally to the COM PORTS must use a NULL modem
  119. for things to work as desired. 
  120.  
  121. In my case where I'm using PASSCOM to share 1 INTERNAL MODEM on COM2...
  122. The OTHER PC I have connected to COM1 uses a standard NULL MODEM cable
  123. with pins 2 and 3 reversed. If you're confused about this just ask
  124. your dealer for an RS232 NULL MODEM cable or go to RADIO SHACK and buy
  125. one of their 'NULL MODEM ADAPTERS' and attach it to your 'STRAIGHT THRU'
  126. serial cable at the point where it enters the HOST PC.
  127.  
  128. If the device you're SHARING happens to be external as well ( external
  129. modem? ) then you may or may NOT need a NULL MODEM. You don't have
  130. to do anything different for PASSCOM. If you can use it already on
  131. COM1 or COM2 without PASSCOM then everything should be fine.
  132.  
  133. LIMITATION: HARDWARE SIGNALS ARE NOT PASSED!
  134.  
  135. Since PASSCOM is a bit of fakery there are a few things to keep in mind
  136. about how it works with regard to HARDWARE SIGNALS. PASSCOM will re-direct
  137. all TRANSMIT and RECEIVE DATA that arrives on pins 2 and 3 but it will
  138. NOT PASS HARDWARE SIGNALS! This has never caused a problem for me since
  139. I simply use it to share an INTERNAL SMARTMODEM but there's no telling
  140. what someone might need it for so I felt obliged to mention this limitation.
  141.  
  142. If you run a piece of software on a PC that does NOT have the actual
  143. device installed in it and that software is depending on the status of
  144. certain RS232 pins to be HIGH or LOW then be aware that the pins on the
  145. port you are communciating with will NOT go HIGH and LOW exactly the
  146. way the pins would if the device were ACTUALLY connected to it.
  147.  
  148. DTR will always go HIGH and LOW on all ports since this is controllable
  149. from PASSCOM but other signals like CD, RTS or CTS may be lost.
  150.  
  151. Confusing? Here's an example...
  152.  
  153. Let's say you have a TEMPEATURE SENSING DEVICE installed in 1 PC
  154. on COM2 and you are trying to use that device from another PC by
  155. attaching it to COM1 and running PASSCOM on the PC with the SENSING
  156. DEVICE installed.
  157.  
  158. Let us also say that the TEMPERATURE SENSING SOFTWARE that came with
  159. the device has been hardcoded to wait for the CD (CARRIER DETECT) pin
  160. to go HIGH (ON) before it will run its main menu. This would be pretty
  161. silly but you never know what's out there...
  162.  
  163. When you run the TEMPEATURE SENSING SOFTWARE on the OTHER PC attached to
  164. COM1 then this software may wait forever since it's looking at a pin
  165. on a COM PORT that is NOT actually attached to the device itself.
  166.  
  167. CD may be HIGH over on the PC with the actual device ( running PASSCOM )
  168. but the state of the CD pin is NOT PASSED ALONG to the other RS232 
  169. connector. Only DTR and DATA are passed on a regular basis.
  170.  
  171. Don't despair! It would be unusual if problems like these could not
  172. be solved with the right cable. Example: In the case above... STRAPPING 
  173. pin DTR to pin CD on the PC running the TEMPERATURE SENSING SOFTWARE would
  174. succeed in fooling it and the MENU would appear normally. STRAPPING
  175. pins to fool software is performed at even the highest levels of DP and
  176. it is not difficult to do. 
  177.  
  178. Consult your dealer or call me if you have an unusual piece of hardware 
  179. or software that you would like to use with PASSCOM.
  180.  
  181. Most hardware signals are controllable from software and if worst comes
  182. to worst then either you or I can alter the source code to provide
  183. the special signals that your device is looking for ( if DOS allows access
  184. to the pin on the UART chip! ).
  185.  
  186. OTHER PUBLIC DOMAIN PROGRAMS BY INTERLINK TECHNOLOGIES...
  187.  
  188. 1. ELSEWARE v2.2 - FREEWARE - TSR REMOTE ACCESS SOFTWARE
  189.  
  190. COMPUSERVE listing  : ELSEWA.ZIP
  191. COMPUSERVE forum    : IBM COMMUNICATIONS ( GO IBMCOM )
  192. COMPUSERVE library  : Communications programs                      
  193.  
  194. ELSEWARE is a FREEWARE REMOTE ACCESS PROGRAM that allows you to use
  195. a remote PC as if you were sitting in front of it. It works the same
  196. (if not better) than most of the commercial software you can buy but
  197. it requires only 8K for the HOST TSR EXE file on the HOST PC. Some video
  198. buffers are created dynamically and the total memory footprint is
  199. no more than 16-17K. No commercial remote access software even comes 
  200. close to this small footprint. 
  201.  
  202. The REMOTE session is a full TSR POP-UP session which will NOT TAKE OVER
  203. the REMOTE PC used to call the HOST as most commercial software will. 
  204. Password security access is included. 
  205.  
  206. Easy to use SETUP SCREENS with full HELP.
  207.  
  208. Full XMODEM file transfer and AUTOMATIC FILE TRANSFER are available
  209. for ELSEWARE as well as a unique HOST MODEM SHARING option not offered
  210. by any commercial software.
  211.  
  212. Many CUSTOMS versions of ELSEWARE have been written to solve specific
  213. problems out in the field. These special versions can be supplied
  214. QUICKLY by contacting INTERLINK TECHNOLOGIES at (813) 366-3728.
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.