home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / Z404MPSC.ZIP / README < prev    next >
Encoding:
Text File  |  1991-06-24  |  7.7 KB  |  169 lines

  1. MPSC.COM is a program that sets up the Multi-Protocol Serial Controller
  2. port on the Zenith Z-404 Multi-I/O board as a 'standard' serial port
  3. useable by DOS and most 'well-behaved' programs.  It was written by Zenith
  4. Data Systems and was originally known as COM3.COM in the IUTIL004.LBR file
  5. from the Air Force's Dial-A-Log BBS on gunter-adam.af.mil.  The name
  6. COM3.COM made it difficult to extract from the LBR file because it
  7. conflicts with a device name.  I've renamed it to MPSC.COM to avoid this
  8. problem and packaged it in a ZIP file with a pair of utilities for telling
  9. DOS that there is another serial port available.  I have also included in
  10. this file additional documentation on the MPSC program.
  11.      
  12. From the comments I've read on Usenet, Dial-A-Log, and Plato, there
  13. appears to be some confusion over how to use the Z-404 serial port.  I
  14. hope this documentation helps to clear up some of that confusion.  Because
  15. ZDS is intentionally vague about the proprietary circuitry of the Z-404,
  16. much of the information in this file are really only intelligent guesses
  17. based on information gleaned from the various ZDS technical manuals
  18. available to me and some experimentation.  If you find any errors in this
  19. doc, please let me know.
  20.  
  21. The ZIP file contains the following:
  22.  
  23. README         This file.
  24.  
  25. MPSC.COM       Z-404 Multi-Protocol Serial Controller program.  
  26.  
  27. Z404MPSC.BAT   Sample BAT file for using SETCOM2.DBG and MPSC.COM.
  28.  
  29. SETCOM2.DBG    DEBUG input file to setup COM2.
  30.  
  31. SETCOM3.DBG    DEBUG input file to setup COM3.
  32.  
  33.  
  34.                                Installation
  35.  
  36. 1.  This requires some familiarity with DOS.  Determine which COM port you
  37. want the Z-404 MPSC to look like.  COM1 is not recommended since most
  38. Z-248s already have a standard COM1 serial port.  Setting up the MPSC as
  39. COM1 will disable the standard port.  If for some reason you insist on
  40. using the MPSC as COM1, then ignore any steps in the following
  41. instructions that reference the SETCOM files.  The following instructions
  42. assume a COM2 setup.  If you are installing the MPSC as COM3, then change
  43. all the 2's to 3's in the text that follows.
  44.  
  45. 2.  Move MPSC.COM and SETCOM2.DBG to your utility directory.  This can be
  46. a subdirectory on the hard drive such as C:\UTILITY.  This directory
  47. should also be part of your DOS PATH.
  48.  
  49.           copy mpsc.com c:\utility
  50.           copy setcom2.dbg c:\utility
  51.  
  52. 3.  Edit your AUTOEXEC.BAT file in your root directory to include the
  53. following lines:
  54.  
  55.           debug <c:\utility\setcom2.dbg
  56.           c:\utility\mpsc com2
  57.  
  58. 4.  Reset the computer by pressing the Ctrl, Alt, and Del keys at the same
  59. time.
  60.  
  61. Notes:  The BAUD rate and other serial port parameters for the MPSC can be
  62. specified on either the MPSC.COM command line or by using the DOS MODE
  63. command.  For example, to setup the MPSC as a 2400 BAUD COM2 port you
  64. would use
  65.  
  66.           mpsc com2,2400
  67.  
  68. The possible MPSC parameters can be listed by entering
  69.  
  70.           mpsc ?
  71.  
  72. at the DOS command prompt.  You can also use the DOS MODE command to set
  73. parameters, for example:
  74.  
  75.           mode com2:9600
  76.  
  77. sets up the MPSC at 9600 BAUD.  Lastly, you can also redirect the parallel
  78. ports to it:
  79.  
  80.           mode LPT1:=COM2:
  81.  
  82. See the DOS user's guide and reference manual for more details on the MODE
  83. command.  Certain restrictions apply depending on the version of DOS that
  84. you are using.
  85.  
  86.  
  87.                           Additional information
  88.  
  89. SETCOM2.DBG and SETCOM3.DBG are text files containing instructions for the
  90. DOS DEBUG program to store the base address of the Z-404 board (0270H)
  91. into location 40:2H or 40:4H.  If this is not done, DOS will not know
  92. there is a COM2 or COM3 port and will not even attempt any BIOS calls to
  93. those ports (ie. the MODE command will not work and many programs will not
  94. acknowledge the existence of those ports).
  95.  
  96. MPSC.COM seems to run as a BIOS-level driver.  It hooks itself in as the
  97. interrupt 14H handler and intercepts software BIOS calls for the port that
  98. it was installed for.  The BIOS pathway for serial-port access is
  99. relatively slow so terminal-emulation/modem-access programs may experience
  100. problems with lost characters (see below for comments on operation with
  101. Kermit and similar programs).  
  102.  
  103. However, serial printing through MPSC.COM is not adversely affected the
  104. same way.  You should be able to run a serial printer using MPSC at high
  105. BAUD rates.  For reasons explained in the following paragraph, you should
  106. setup your application programs to use software handshaking (XON/XOFF)
  107. with the serial printer.  The printer should also be setup to use XON/XOFF
  108. handshaking.  Note that if your software only sends output to a parallel
  109. printer, you will have to redirect the LPT1 port to the appropriate COM
  110. port by using the MODE commands redirection feature as shown in the
  111. example above.
  112.  
  113. MPSC.COM does not seem to affect the operation of the LPT2 port or the
  114. COM1 port (if it wasn't installed for COM1).  I don't think it implements
  115. the full BIOS set of instructions for the MPSC particularly with regard to
  116. the modem status signals.  However, it seems to return TRUE signals for
  117. these when a modem status query is received.  This will fake most programs
  118. into running properly but make sure you set them up to do software
  119. handshaking instead of hardware handshaking.  If a program requires
  120. control of the modem status lines and/or hardware handshaking, there is a
  121. good chance it will hang.  Programs that are known to do this include
  122. RBBS-PC and NYTELINE.
  123.  
  124. Use with MS-Kermit.  The MPSC has been tested with MS-Kermit running at
  125. 1200 and 2400 BAUD through the Zenith 2400 BAUD modem to the DDN.  On an
  126. 8 MHz Z-248, Kermit experiences a problem of missing characters while
  127. scrolling at the bottom of an already filled screen at 2400 BAUD (this may
  128. be higher for faster Z-248s).  Characters are not lost if text is sent to
  129. a freshly-cleared display screen.  This problem is probably caused by the
  130. extra processing time required to move up the lines on the display
  131. conflicting with the slow BIOS access method.  However, file transfers at
  132. 2400 BAUD and higher speeds work fine since there is very little screen
  133. manipulation during a file transfer.  
  134.  
  135. The missing-character problem can be worked around if the host computer
  136. you are logged on to can be set up to 1) pause slightly at the end of each
  137. carriage-return, linefeed sequence, or 2) send a few NULL characters to
  138. allow Kermit to finish scrolling the screen before it gets new characters,
  139. or 3) clear the screen every 24 lines or at the bottom of each page.  See
  140. your host command reference manual for details on configuring your
  141. terminal line.  If your terminal line can be 'fixed' this way or if you
  142. intend to do a lot of file transfers, you should logon at 2400 BAUD (or
  143. higher for a direct line), otherwise use 1200 BAUD.  These comments
  144. probably also apply to any other communication programs that access the
  145. MPSC through the BIOS.
  146.  
  147. Complaints regarding the MPSC.COM program should be directed to the
  148. authors (ZDS).  As mentioned earlier, MPSC.COM is known to ZDS as either
  149. COM3.COM (or Z248COM3.COM) so refer to it by those names when you talk to
  150. them.  MPSC.COM is not public domain but ZDS has provided it free of
  151. charge to Z-248/Z-404 owners.
  152.  
  153. If you know of a more recent version of this program that fixes some of
  154. the problems mentioned in the above paragraphs, I would appreciate hearing
  155. from you.  If you have any other related questions or comments, one of the
  156. following addresses or phone numbers will reach me.  
  157.  
  158. Internet e-mail:  tony@mpg.phys.hawaii.edu
  159. BITnet e-mail:  querubin@uhunix
  160.  
  161. (808) 956-7660
  162. AUTOVON 456-1232
  163. Slow-mail address:
  164. 199th Weather Flight
  165. Hawaii Air National Guard
  166. Wheeler AFB, HI 96854-5000
  167.  
  168. Enjoy!
  169. Antonio Querubin, Jr.