home *** CD-ROM | disk | FTP | other *** search
/ Game Killer / Game_Killer.bin / 448.M29COMM.ZIP / M29COMM.TXT < prev   
Text File  |  1993-09-01  |  9KB  |  183 lines

  1.                        M29COMM for MiG-29 version 1.00
  2.  
  3.                         By: Ken "Stinger" Richardson
  4.                             UID: [70761,301]
  5.  
  6. The M29COMM.COM file is a TSR that will install itself in your computers
  7. memory waiting for you to run MiG-29. Once you execute MiG-29, the TSR  
  8. becomes active replacing some of MiG-29's communications code. Using this
  9. patch you will see your connection times improve greatly. During testing,
  10. this patch completed a 2400bps direct connection in just over 2 minutes, a
  11. 57600bps V.42bis connection in just under 30 seconds. The improvement is 
  12. depended upon your computers CPU speed and hard drive speed. Slower computers
  13. with slower hard drives will not link as fast as quicker computers. Another
  14. problem slower computers might suffer would be UART Overrun errors. M29COMM 
  15. will recover from the occasional Overrun error but if you experience problems
  16. connecting at high speed, try a lower baud rate. 
  17.  
  18.         If you have your modem connected to COM3 or COM4, you can tell
  19. M29COMM to force MiG-29 to use either of these ports by placing a /3 or /4
  20. after typing M29COMM. If you do use the "re-map" feature, when you enter
  21. MiG-29's COMMs screen COM1 will be COM3 or COM2 will be COM4. For example:
  22.  
  23.         M29COMM /3            ; This causes MiG-29 use COM3 when you tell
  24.                                 it to use COM1 from the COMMS screen.
  25.  
  26.         After you finish playing MiG-29, you can remove the M29COMM TSR from 
  27. memory simply by running it a second time.
  28.  
  29.  
  30. V.42bis modems:
  31.  
  32. V.42bis is a CCITT standard for data compression and error
  33. correction. It can give a modem up to 4:1 compression with 100%
  34. reliability. A 9600bps V.42bis modem can achieve throughput of up
  35. to 38,400bps and a 14.4kbps V.42bis modem can go up to 57,600bps
  36. throughput. This is done by the modem by compressing the data it
  37. receives from the computer before it sends it across the phone
  38. line on it's 9600 or 14.4k bps carrier. The receiving modem
  39. decompresses the data before sending it to it's host computer.
  40. All data can not be compressed the same amount. For example, text
  41. files can be compressed a great amout while ZIP file can't
  42. because they are already compressed. Therefore the effective
  43. speed of a V.42bis modem can vary from it's carrier speed (9600
  44. or 14.4k bps) all the way up to 4 times it's carrier speed (38.4
  45. or 57.6k bps). The way the data flow is regulated by the modem is
  46. with FLOW CONTROL, or more specific harware flow control
  47. (CTS/RTS). The CTS (clear to send) line will tell the computer
  48. when the modem is ready for data. Your comm port might be set to
  49. 57,600bps while the modem is sending data at 15,000cps, obviously
  50. the computer must wait for the modem. So as you can see, flow
  51. control is absolutely needed when a V.42bis connection is made
  52. between two computers with the comm ports set to a bps rate
  53. higher than the modem's carrier.
  54.  
  55.  
  56. Important Things to Know:
  57.  
  58. 1. M29COMM does perform error checking and will recover if an error occurs.
  59.  
  60. 2. M29COMM will support modem data compression (V.42bis and MNP-5). You must 
  61. have hardware flow control turned on (RTS/CTS). Check you modem's manual for 
  62. the proper commands although AT&F with generally work for most modems.
  63.  
  64. 3. You will NOT see any satellite downlink "progress" indicators (the spinning
  65. wheel and dots). This was skipped so I could gain as much speed as possible
  66. by dedicating the CPU to the serial port.
  67.  
  68. 4. When using M29COMM you will NOT be able to connect with someone who is not
  69. using M29COMM. Both computers must run the TSR.
  70.  
  71.  
  72. What to Expect from M29COMM:
  73.  
  74. 1. You will see less "jittering" in your opponents plane.
  75. 2. There will be a 30% increase in cps rate while playing.
  76. 3. The Satellite Downlink will be considerably faster if your
  77.    UART can handle a high speed connection. (See UART
  78.    consideration)
  79.  
  80.  
  81. UART (Universal Asycronosis Receiver/Trasmitter) Consideration:
  82.  
  83. A UART is the "brains" of your COMM port. It receives and sends
  84. data to and from the modem, monitors line errors, and monitors
  85. modem status. It will interrupt the CPU whenever data is ready so
  86. the CPU can read every incoming byte without disrupting program
  87. execution. What I have found while testing the original V42PATCH, is some
  88. UARTs are not fast enough to achieve a reliable connection at
  89. speeds over 9600 baud. For speeds over 9600 baud you may find
  90. that you will need either a 16450 or probally a 16550 UART. These
  91. chips are direct replacements for the old 8250 UART and are much
  92. faster. If you have an internal modem, you can be sure that your
  93. UART is fast enough as it is built into the modem. External
  94. modems might have a problem. The UART is not contained in your
  95. modem, it is part of your computer, so you may have a 14.4k bps
  96. modem and have a weak link betweeen the modem and computer caused
  97. by the slow UART. 
  98.  
  99. If you are unsure if your UART can handle a high-speed
  100. connection, try connecting with your opponent via a communication
  101. program using same modem defaults that you intend to use in
  102. MiG-29. Configure your comm port to the same baud rate you will
  103. use in MiG-29 (38,400 or 57,600). Then try uploading/downloading
  104. files to/from each other. If you experience errors, either your
  105. UART or your opponent's is to slow. Most comm programs have an
  106. option in their setup to enable CTS/RTS (hardware) flow control,
  107. this must be on.
  108.  
  109.  
  110. Tips on Connecting with MiG-29 using V42PATCH.EXE:
  111.  
  112. When connecting with a patched version of MiG-29, you will want
  113. to have V.42bis turned on, also you need hardware flow control
  114. enabled. Use your comm program to configure your modem for the
  115. correct setup and then save your modems configuration in "Stored
  116. Profile 0" in your modem's non-volitile memory. I found it is
  117. also a good idea to make sure the "Extended V.42 Response Codes"
  118. are turned off. After the proper configuration is stored in your
  119. modem's memory, your are ready to connect. Go to the comms screen
  120. and select 57,600bps and modem connection. Select call or answer,
  121. whichever you and your opponent decided on. Use modem defaults
  122. when MiG-29 asks, this is important. If you use defaults, MiG-29
  123. will use "Stored Profile 0" to make a connection as a result of
  124. the ATZ command MiG-29 will send. This is the configuration you
  125. just saved. You should get a connect message and everything else
  126. should work fine. Here is an example of how to setup your modem:
  127.  
  128. From TERMINAL mode in your comm program type:
  129. AT &F                ;Return to factory configuration
  130. AT &Q5               ;Enable V.42bis connection
  131. AT &K3               ;Enable hardware flow control (CTS/RTS)
  132. AT W0                ;Disable extended V.42 response codes
  133. AT &W0               ;Store in Profile 0, very important.
  134. AT &V                ;Display profile. Use this command to double
  135.                       check your setup.
  136.  
  137. Note:  Your modem may have different commands than I have listed
  138. here, check your modem's manual before you type these commands,
  139. especially &Q5 and W0. Some modems use &M5 instead of &Q5. You
  140. may even have to change some S-registers. Whateven you must do,
  141. make sure the last thing you type is AT &W0 to store it in your
  142. modem's memory. If you type an illegal command, your modem should
  143. respond with ERROR, otherwise it will respond with OK.
  144.  
  145. I should mention that all 9600 V.42bis modems will not go to
  146. 57,600bps, some have a limit of 38,400bps which is fine. Using a
  147. 9600bps carrier and V.42bis compression (4 to 1), the maximum
  148. throughput will be 9600 * 4 = 38,400bps. So 57,600bps has no
  149. advantage when using a 9600bps modem/carrier. When using a
  150. 14,400bps V.42bis modem, you should select 57,600bps as all
  151. 14.4kbps modems will accept 57,600bps connections. If you have a
  152. 14.4kbps modem and your opponent has a 9600bps modem, you will
  153. have to connect using a 9600bps carrier. The modems should do
  154. this automatically. You can select 57,600bps (although it offers
  155. no advantage over 38,400bps over a 9600bps carrier) when in
  156. MiG-29 and your 9600bps opponent can select 38,400bps and you
  157. will still have a good connection. Remember, with V.42bis turned
  158. on, your computer is connected to your modem, not directly to
  159. your opponent's computer. When you select the baud rate in
  160. MiG-29, what you are doing is telling MiG-29 how fast you can
  161. talk to your modem. The "Flow Control" with regulate the actual
  162. data transfer rate between computers. I suggest selecting 38,400
  163. baud when using a 9600bps carrier and 57,600 baud with a 14.4kbps
  164. carrier.
  165.  
  166.  
  167. Future Versions of M29COMM:
  168.  
  169. I intend to continually support M29COMM, upgrading it as future
  170. versions of MiG-29 are released. I may also add more features as
  171. the need arises. 
  172.  
  173.  
  174. Note:
  175. This patch is not supported by Spectrum Holobyte. If you
  176. experience problems, contact me in the ModemGames Forum.
  177.  
  178. Ken "Stinger" Richardson
  179. [70761,301]
  180.  
  181. P.S. Have fun!!!
  182.  
  183.