home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / sb2warp.zip / sb2warp.txt < prev   
Text File  |  1995-08-14  |  10KB  |  217 lines

  1.  
  2.                  Using Sound Blaster 2.0 clones
  3.           (such as the Media Vision ThunderBoard Card)
  4.                      with OS/2 2.1 and Warp
  5.               by Jacco de Leeuw (leeuw@fwi.uva.nl)
  6.          ---------------------------------------------
  7.  
  8.  
  9. Introduction
  10. ------------
  11.  
  12. Many sound cards, including the Media Vision Thunderboard, claim to be
  13. Sound Blaster 2.0 compatible (8-bit mono) but in fact Warp's SB 2.0
  14. driver fails to install. I found a way to get it working!
  15.  
  16. Your mileage may vary though, depending on your sound card. If it's
  17. "compatible" enough with the original SB 2.0, i.e. upto the hardware
  18. level, it should work. So far, I received conformations for sound cards
  19. which use the Thunder chipset, such as the Thunderboard and the Sound Blaster
  20. part of the PAS/16. So, no guarantees, but the least you can do is give it
  21. a try...
  22.  
  23. It all started when I found the file TBOS2.ZIP on Hobbes. It contains
  24. an OS/2 2.1 driver patched by MediaVision. This is what MV wrote:
  25.  
  26.    "As many of you know, Media Vision has perfected Sound Blaster compatibility
  27.    and all of our sound cards that claim 100% Sound Blaster are, in fact,
  28.    compatible at the hardware level.
  29.  
  30.    Paradoxically, the Sound Blaster driver that ships with OS/2 2.1 (SBD2.SYS)
  31.    does not work with the Media Vision ThunderBoard nor the Sound Blaster
  32.    section of the Pro AudioSpectrum 16, even though the hardware is the same.
  33.  
  34.    Here's the reason why:  When Media Vision cloned the original Sound Blaster
  35.    (calling our clone 'ThunderBoard'), we added some extra features. For
  36.    example, the ThunderBoard has the ability to record at up to 22KHz.  We
  37.    needed a way to check whether the card in the system was a Sound Blaster
  38.    or a ThunderBoard to determine whether or not to allow the enhanced
  39.    functionality.
  40.  
  41.    The method we came up with was to have a 'hidden' version number.  The first
  42.    time a program asks a ThunderBoard (TB) for its version number, the TB
  43.    returns the same value the Sound Blaster returns.  The second time, the TB
  44.    returns its own version number (which is different from the Sound Blaster
  45.    version number.)
  46.  
  47.    The Sound Blaster people discovered our trick and now they put a _double_
  48.    version check into their code to detect the ThunderBoard.  We think
  49.    that's a fair and reasonable thing to do, as long as they don't crash the
  50.    user's system or do anything else destructive.  Claims that the ThunderBoard
  51.    isn't 100% compatible are obviously misleading.
  52.  
  53.    The OS/2 driver peforms a double version check and so it's possible to
  54.    bypass the second check and allow the ThunderBoard to work.  All that is
  55.    necessary is to change a single byte.  We're telling you which byte it is
  56.    here so that you can verify the change or perform it yourself.  We've also
  57.    supplied a patched version so that you can avoid the details and just
  58.    start using the driver".
  59.  
  60. Unfortunately, the OS/2 2.1 driver did not work under Warp so I was back
  61. to square one. I had a look at the 2.1 driver and the new one, and after
  62. a while, I found a similar location in the Warp driver which could be 
  63. patched. And sure enough, it worked!
  64.  
  65. But let me correct myself because of legal reasons...
  66.  
  67. Disclaimer
  68. ----------
  69.  
  70. Creative's licence agreement (which is not included with Warp as far as
  71. I know, but you can pick it up with the latest driver from ftp.creaf.com)
  72. says the following: "THE SOFTWARE IS PROVIDED FOR USE ONLY WITH
  73. CREATIVE'S HARDWARE AND RELATED SOFTWARE. [...] You may not reverse
  74. engineer, decompile or disassemble the Software".
  75.  
  76. So here's my own little disclaimer:
  77.  
  78. NO WARRANTY.  ANY USE BY YOU OF THE SOFTWARE IS AT YOUR OWN RISK. THE
  79. SOFTWARE IS PROVIDED FOR USE "AS IS" WITHOUT WARRANTY OF ANY KIND. TO
  80. THE MAXIMUM EXTENT PERMITTED BY LAW, JACCO DE LEEUW DISCLAIMS ALL
  81. WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT
  82. LIMITATION, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  83. PARTICULAR PURPOSE. JACCO DE LEEUW SHALL NOT BE LIABLE FOR ANY DAMAGES 
  84. WHATSOEVER, INCLUDING DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, LOST 
  85. PROFITS OR INFORMATION, BUSINESS INTERRUPTION, OR OTHER PECUNIARY LOSS,
  86. EVEN IF JACCO DE LEEUW HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  87. BECAUSE SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY 
  88. FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT
  89. APPLY TO YOU.
  90.  
  91. JACCO DE LEEUW HEREBY DENIES HAVING REVERSE ENGINEERED, DECOMPILED
  92. OR DISASSEMBLED THIS SOFTWARE. So there. 
  93.  
  94. That means, for instance, should this Creative Labs driver format your
  95. harddisk because it detected it has been tampered with, I cannot be
  96. held responsable. There's actually very little chance it will, though :-).
  97.  
  98. Installation instructions
  99. -------------------------
  100.  
  101. First, make sure the original Sound Blaster driver included with your
  102. copy of OS/2 is installed.
  103.  
  104. (If you haven't done that yet, start Selective Install and choose "Sound
  105. Blaster Non-Pro (ISA and MCV)" at the Multimedia part of the window. Be sure
  106. to enter the correct IRQ and I/O port for your sound card. Now continue
  107. the normal installation process. When the Selective Install program has
  108. finished, it says you to shutdown the machine. Do so. When OS/2 boots, you
  109. get an error that "x:\MMOS2\SBD2.SYS has not been installed. Line yy is
  110. ignored". Never mind, just press Enter).
  111.  
  112. Unzip the contents of this archive to a directory on your OS/2 boot partition.
  113.  
  114. If you use OS/2 2.1 execute the following command:
  115. PATCH PATCH2_1.FIL /A
  116.  
  117. If you have OS/2 Warp, without Windows (Red box) or with Windows (Blue box)
  118. execute the following command:
  119. PATCH PATCH213.FIL /A
  120.  
  121. If you have downloaded the latest driver, v2.14, from the Creative Labs
  122. FTP site (ftp.creaf.com), execute the following command:
  123. PATCH PATCH214.FIL /A
  124.  
  125. I'm not sure what driver is included with Warp Connect. Try PATCH213.FIL
  126. or PATCH214.FIL. If these do not work for you, contact me and I'll see
  127. what I can do.
  128.  
  129. Note: Warp Red box has an installation bug which adds an extra parameter to
  130. the SBD2.SYS line in the CONFIG.SYS. This parameter is for the DMA channel
  131. (default 1) but AFAIK the original Sound Blaster 2.0 doesn't have DMA. The
  132. extra parameter does not seem to have any effect on Warp Red though. I don't
  133. know if this bug is fixed in Warp Blue box or Warp Connect. But if you use
  134. the latest v2.14 SBD2.SYS driver with Warp Red box you _will_ get an error
  135. saying "an invalid argument was specified" and that the default settings
  136. (IRQ 7, Port 220) will be used. If you get this error, just delete
  137. the second digit after the SBD2.SYS driver:
  138.  
  139. DEVICE=x:\MMOS2\SBD2.SYS 1 1 5 220 /N:SBAUD$ etc.
  140.                            ^ Delete this one if SBD2.SYS is version 2.14
  141.  
  142. Now reboot your computer and you should have sound! If your sound card
  143. does not use dipswitches for setting the IRQ and I/O port, you may
  144. have to boot DOS first and use the DOS utility supplied with your sound card.
  145. That program will configure your sound card (they have to agree
  146. with what you chose in the installation of the Warp driver). I can run
  147. this DOS program even from a DOS box but you may have to boot to pure DOS.
  148. If your sound card uses dipswitches, you may not have a DOS utility
  149. to configure your card. You won't have to boot DOS then.
  150.  
  151. MISCELLANEOUS NOTES (copied from the Mediavision text):
  152. -------------------------------------------------------
  153.  
  154.    *  Digital audio appears to work fine.
  155.  
  156.    *  FM synthesis (MIDI player) doesn't appear to work.  We don't know why.
  157.       If you get it to work, let us know.
  158.  
  159.    *  In theory, this driver should work on the Sound Blaster section of the
  160.       PAS 16.  This would allow you to have two Sound drivers working
  161.       at the same time in MMPM.  We have not tested this. If you get it
  162.       to work, let us know.  If you can't get it to work, we don't want to
  163.       know.
  164.  
  165. [JdL: according to one report I got, the PAS 16 seems to work.]
  166.  
  167.    *  The ThunderBoard does not have a MIDI interface!  Do not waste your
  168.       time or money trying to use a MIDI connector box.
  169.  
  170.    *  Since we have only patched this driver and don't have the ability to
  171.       modify the original source code, do not expect any bug fixes or
  172.       changes to come from Media Vision.
  173.  
  174.    *  Media Vision's Tech Support department will not be able to assist
  175.       you with this driver.  If you have comments or questions about this
  176.       driver send them to:
  177.                 Internet: 75300,2772@compuserve.com
  178.                 CompuServe: Media Vision [75300,2772]
  179.                 FAX: (510) 226-2582, Attn. OS/2 engineering
  180.  
  181.    *  Many people have asked whether Media Vision will write a ThunderBoard
  182.       driver for OS/2.  The answer is 'probably not'.  We recommend that our
  183.       ThunderBoard customers upgrade to the Pro Audio Spectrum 16.  Prices
  184.       in computer specialty stores have been as low as $139.  That's an
  185.       excellent price!  And the PAS 16 is fully supported under OS/2.  Even
  186.       the SCSI interface.
  187.  
  188.   If you'd like to learn more about Media Vision's products, call our
  189.   Sales department.
  190.  
  191.  Media Vision, Inc        Main:         (800) 348-7116 or (510) 770-8600
  192.  3815 LaurelView Ct.      Sales:        (800) 845-5870
  193.  Fremont, CA 94539        FAX:          (510) 770-8648 or (510) 770-9592
  194.  
  195.      Customer Service and Tech Support: (800) 638-2807 or (510) 770-9905
  196.      ISV Relations and Developer Assistance: (800) 472-6147
  197.  
  198.  BBS: (510) 770-0968 2400
  199.       (510) 770-0527 9600
  200.  
  201.      There are a total of 8 lines and all lines support
  202.      8 bits, no parity, 1 stop bit, 300 - 14,400 bps
  203.  
  204.  
  205.  CIS: GO MEDIAVISION or send CIS mail to 75300,2772
  206.  
  207.  European Customers:
  208.  
  209.                 Media Vision Technology GMBH
  210.                 Raiffeisenalle 16
  211.                 8024 Munchen-Oberhaching
  212.                 Germany
  213.  
  214.                 Main:                       89-61381-175
  215.                 Tech Support:               89-61381-167
  216.                 FAX:                        89-61381-174
  217.