home *** CD-ROM | disk | FTP | other *** search
/ D!Zone (Collector's Edition) / D_ZONE_CD.ISO / programs / editors / bnudm126 / sersetup.txt < prev   
Text File  |  1994-12-06  |  28KB  |  690 lines

  1.   │
  2.  ││ BNU DOOM Serial driver version 1.2.6
  3. │││ DOOM Network interface is copyright 1994 by Id Software Inc.
  4.  ││ BNU SIO Driver is copyright 1994 by David L Nugent
  5.   │                                   & Unique Computing P/L
  6.  
  7.  
  8. BNU for DOOM is a drop-in replacement for Id Software's
  9. SERSETUP.EXE provided with DOOM 1.2. This version, however,
  10. provides a full and complete interrupt driven serial driver
  11. implementation and therefore does not suffer many of the
  12. shortcomings in Id's original driver which was much too
  13. simplistic to provide the services necessary for running on
  14. today's typical modem configurations or at faster speeds
  15. than 9600 baud.
  16.  
  17. This work is a derivative and blending of Id's published
  18. source for SERSETUP and my own BNU FOSSIL driver plus some
  19. useful enhancements to the original dialer. This driver
  20. provides full support for the 8250 family of UARTs, including
  21. the 8250, 16450, 16550 (original, used in older PS/2's),
  22. 16550A(FN), 16551-4 (CMOS and packaged versions of the 16550)
  23. Intel 82510 and the TYPE3. It provides hardware flow control,
  24. the ability to run at *any* baud rate supported by the UART,
  25. configurable inbound/outbound buffer sizes.
  26.  
  27. Before you ask, BNU is an acronym for Basic Networking
  28. Utility, referring to its use in the FidoNet community as
  29. the base level of communications. FOSSIL in this context
  30. means "Fido Opus SEAdog Standard Interface Layer", which is
  31. a phrase used to describe the set of common interrupt
  32. functions developed as a common layer for many FidoNet
  33. applications. SIO (which you'll see in SERSETUP's banner)
  34. means "serial input/output".
  35.  
  36. This driver does not use FOSSIL services, so you need not
  37. install one nor need to even know what one is.
  38.  
  39.  
  40. INSTALLATION
  41.  
  42. This driver is almost a drop-in replacement for Id's
  43. original. First, rename Id's version to "SERSETUP.OLD" and
  44. copy in SERSETUP.EXE from this archive into your DOOM
  45. directory.
  46.  
  47. If you have used your modem to call other DOOM players and
  48. have an init string that works, then all the rules have
  49. just changed - you will almost certainly have to change your
  50. initialisation string from the one you used with Id's
  51. SERSETUP.
  52.  
  53. Specifically, you'll need to:
  54.  
  55.  - Enable V42bis (if available)
  56.  - Enable error correction (optional)
  57.  - ENABLE HARDWARE FLOW CONTROL
  58.    (ALSO REFERRED TO AS RTS/CTS HANDLING)
  59.  
  60. The latter is the most important if you intend to use an error
  61. corrected link, the others optional. Error correction and
  62. compression are transparent to the data stream. BNU automatically
  63. provides CTS/RTS signal handling to take care of the "spurts" of
  64. data it receives as a result of the protocol used between the
  65. modems. If you only have MNP5 compression, try it since it may
  66. work fine - disable it if play becomes too jerky. Compression is
  67. likely to slow down the game and make it less responsive, but
  68. implementations vary so trying it won't hurt.
  69.  
  70.    - You need 9600 baud or greater!
  71.  
  72. Don't consider attempting to run DOOM at any lesser speed -
  73. it just doesn't work. You'll get a connect, but movement is
  74. so slow that it is entirely unplayable. At 4800 baud it's
  75. like molasses at 50 fathoms! At 2400, it's like attempting
  76. to play DOOM inside a Jupiter Mining Corps' stasis booth -
  77. i.e. pretty much a waste of time. Try it on a direct connect
  78. if you like, it is amusing, but don't donate money to your
  79. PTT provider trying it out if you only have 2400 baud modems
  80. or less. At 7200 you might get a slow moving game going, but
  81. 9600 is really where it becomes playable. In fact, if you
  82. have a 16450 and/or a slower 386, you may find that 9600
  83. provides the most playable game (it is, after all, the speed
  84. for which the networking interface was developed by Id).
  85.  
  86.    - If you use error correction and/or compression, use a baud
  87.      rate greater than the actual connect speed.
  88.  
  89. For V32 modems, use 19200 (more probably won't be an
  90. advantage and makes your system work harder - sometimes
  91. causing jerky play). V32b modems should use 38400 or 19200.
  92. This driver *may* work with the HST protocols (but probably
  93. not brilliantly) and will certainly do just fine with ZYXEL
  94. 16.8K and 19.2K. VFC and V34 modems will probably need the
  95. port set at 38400 or 57600 (incidentally, if anyone has parallel
  96. port specs for use with these modems, or knows where these can
  97. be obtained, please let me know at the Email address noted
  98. at the end of this document).
  99.  
  100. MODEM.CFG has some additional (optional) lines which you can use:
  101.  
  102.   Line 1: Modem init string (+)
  103.   Line 2: Modem hang up string (+)
  104.   Line 3: Default baud rate (if not specified, 9600 is used)
  105.   Line 4: Receive buffer size (defaults to 2048 bytes)
  106.   Line 5: Transmit buffer size (defaults to receive buffer size)
  107.  
  108.   + Also present in Id's SERSETUP
  109.  
  110. Anything after the fifth line is ignored. Note that to make your
  111. existing MODEM.CFG compatible with this driver, it is advisable
  112. to either complete the above values or add empty lines for the
  113. additional fields as numbers starting on the additional lines may
  114. cause spurious options to be set.
  115.  
  116. As far as possible, this rework of SERSETUP is compatible with
  117. DOOM's SETUP.EXE. In fact, with the addition of configurable port
  118. settings via the environment (see below 'nonstandard settings')
  119. this version should be more compatible than the original, allowing
  120. SETUP to be used with non-standard port configurations.
  121.  
  122.  
  123. SERIAL CONNECTIONS
  124.  
  125. SERSETUP's dialer has been reworked into something that may work
  126. a little more intelligently than the original. Specifically, it
  127. supports these types of connections:
  128.  
  129.   - Direct connection (no modem)
  130.  
  131.     Run SERSETUP with none of the following present on the command
  132.     line: -modem, -voice, -dial, -answer
  133.     In the absence of these options, direct connect is the default.
  134.  
  135.   - Dialup and answer via modem (answer mode, dial mode)
  136.  
  137.     One end uses "-dial <number>" (where <number> is replaced by the
  138.     telephone number to dial), and the other and uses "-answer".
  139.     The dialing end's modem will call out to the other, and the
  140.     answering end attempts to pick up the phone line and establish
  141.     carrier when it sees "RING".
  142.  
  143.   - Connection via an existing modem <-> modem connection
  144.  
  145.     This is similar to the direct connect. However, if you use the
  146.     -modem switch, you may optionally hang up the telephone line
  147.     on completion of the game.
  148.  
  149.   - Switching voice -> data prior and data -> voice after play
  150.  
  151.     This avoids making unnecessary calls by allowing easy switching
  152.     between voice and data.
  153.  
  154.     As with dialup, this requires an originating (dialing) end
  155.     and an answering end, the difference between them being that
  156.     some parts of establishing the connection aren't present.
  157.     The originating system is told to 'pick up' the line immediately
  158.     and the answering end told to issue connection tones without
  159.     waiting for RING.
  160.  
  161.     At the originating end, use "-voice D" on the command line to
  162.     force originate mode. Your modem may offer other parameters
  163.     which do the same thing, perhaps a little better. In that case,
  164.     use "-voice <command>" where '<command>' is the recommended
  165.     string to place the modem into originate mode.
  166.  
  167.     At the answering end, use "-answer -noinit", which skips the
  168.     modem initialisation and sends the command "ATA" (answer call)
  169.     to the modem immediately without waiting for RING.
  170.  
  171. All responses now have time-outs, and redial is automatic should the
  172. number called result in "BUSY" or "NO CARRIER".  SERSETUP also
  173. understands response strings such as "VOICE" and "NO DIAL TONE",
  174. failing the call should they be detected and exiting cleanly.
  175.  
  176. Note that hanging up after a call is now optional. The default (by
  177. hitting ENTER at the prompt presented at the time) is to hang up.
  178.  
  179.  
  180. NONSTANDARD SETTINGS
  181.  
  182. DOOM 1.2's SETUP.EXE did not allow any but the standard port (1-4)
  183. selections. This means that those use run their modem on other
  184. serial ports, or ports configured slightly differently than standard
  185. had to either change these to the standard settings or use SERSETUP
  186. from the command l