home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / os2 / passetup.zip / PASSETUP.DOC
Text File  |  1993-07-15  |  16KB  |  316 lines

  1. Setting up the Pro Audio Spectrum 16 (et al) for Use with OS/2
  2. Version 1.1
  3.  
  4. Author:   Steve Freeman [IBM]
  5. CIS:      76474,443
  6. Internet: sfreeman@vnet.ibm.com
  7. IBM:      SFREEMAN at DETVMIC1
  8.  
  9. If you find any problems with this document or you wish to provide
  10. suggestions, please provide feedback directly to my mailbox.  Thanks.
  11.  
  12. NOTE:  This is not intended to be a completely definitive guide to 
  13.        installing the Pro Audio Spectrum cards.  Instead it is intended to 
  14.        give you some guidelines to work with.  If you're having problems 
  15.        getting your card to work with OS/2, please call Media Vision's 
  16.        technical support line with your problems.  They will help you work 
  17.        through any problems.  When the problem is resolved, please let me 
  18.        know what the problem was and how it was resolved so that I may 
  19.        incorporate that information into this document.
  20.  
  21.        Media Vision Technical Support:  (800) 638-2807
  22.        -- other numbers at the end of this document --
  23.  
  24. The following cards are supported for audio under OS/2 2.1:
  25.  
  26.     Pro AudioSpectrum Plus (with MMPM2.INI file change, required below)
  27.     Pro AudioSpectrum 16  
  28.     Pro Audio Studio 16 (++) 
  29.     Pro 16 Multimedia Upgrade Kit    
  30.     Fusion CD 
  31.     Fusion CD 16
  32.     Fusion CD 16E
  33.     CDPC  (**)
  34.     CDPC XL (**)
  35.  
  36.     (**)  The CDPC and CDPC-XL front panel volume and mute controls are not
  37.           yet supported.     
  38.  
  39.     (***) Audio support for the original Pro AudioSpectrum (8-bit ISA bus
  40.           slot interface) has not been tested for this release. OS/2
  41.           MMPM support will be available in a future release.
  42.  
  43.     (++) Pro AudioStudio 16's selectable input gain feature is not supported
  44.          on this release.
  45.  
  46. If you have a PAS+ card, there are certain restrictions.  These will be 
  47. noted in context.  The major differences are that the PAS+ only supports 8 
  48. bit audio and the Soundblaster emulation is performed in software (on the 
  49. PAS-16, it's done in hardware).  
  50.  
  51. Before you get started opening up your machine, you need to perform a
  52. little organizational activity; namely mapping out the I/O ports, IRQ lines
  53. and DMA channels in your machine.  Then you need to configure everything so
  54. there is no overlap.
  55.  
  56. What I mean by this is to answer to the following questions:
  57.  
  58. - For each board or port installed in your system (also for I/O installed
  59.   on the motherboard or planar), what are its I/O addresses, IRQs and DMA
  60.   channels?  List possible configurations to select from.
  61.  
  62. - What combinations of configurations can be selected so that I/O, IRQ and
  63.   DMA from two or more boards doesn't overlap?
  64.  
  65. Probably the best aid in performing this task is to make up a chart.  Each
  66. entry in the chart should look like this:  (I'll fill in the information
  67. for some common ports.  *=default setting)
  68.  
  69.   Description                           I/O Addr Range    DMA    IRQ
  70.   DMA Controller 1                        0000-001F        -       -
  71.   IRQ Controller 1                        0020-003F        -       -
  72.   System Timer                            0040-005F        -       0
  73.   Keyboard (8042)                         0060-006F        -       1
  74.     (output buffer full)
  75.   Real Time Clock                         0070-007F        -      NMI
  76.   DMA Page Register (74LS612)             0080-009F        -       -
  77.   Second IRQ Controller                   00A0-00AF        -       2 (controls 8-15)
  78.   DMA Controller 2                        00C0-00DF        -       4
  79.     (cascade for controller. 1)
  80.   Math Coprocessor                        00F0-00FF        -      13
  81.   secondary hard disk controller          0170-0177        ?      15
  82.   primary hard disk controller            01F0-01F7        6      14
  83.   Game I/O                                0200-0207        -       -
  84.   SoundBlaster                            0220-022F        1     2,3,4,*5,7
  85.   MS Bus Mouse                            023C-023F       none   3,4,*5,7
  86.   ATI Mouse Port                          023C-023F,      none   2,3,4,*5,7
  87.                                           0238-023B
  88.   LPT3                                    0278             -       7(?)
  89.   COM2                                    02F8-02FF       none     3
  90.   Prototype Card                          0300-031F        -       -
  91.   Sony CDB-242 CDRom Adapter             *0340-034F        -       -
  92.   (IRQ not used by driver)                (0300-030F      (1,2,3)  (2,3,4,5)
  93.   (default is none for DMA Req.)              to
  94.                                            0390-039F)
  95.   SDLC bisync. 2                          0380-038F        1       -
  96.   bisync. 1                               03A0-03AF        -       -
  97.   LPT1                                    03BC or          -       7
  98.                                           0378             -       7
  99.   LPT2                                    0378 or          -       5
  100.                                           0278                     5
  101.   PS/2 Mouse                                              none    12
  102.   Color/Graphics Monitor Adapter          03D0-03DF        -       -
  103.   floppy controller                       03F0-03F7        2       6
  104.   COM1                                    03F8-03FF       none     4
  105.   SDLC Adapter                               ?             ?     3 & 4
  106.  
  107. Leave the PAS-16 mapping until last, because it is very complex.
  108.  
  109.   PAS Base Address Settings            *0388,0384,038C,0288,0280,0284,028C
  110.     the resulting address is the selected base + one of the offsets,
  111.     offsets are:  0-3, 400-403, 800-803, C00-C03, 1000-1003, 1400-1403,
  112.     1800-1802, 1C00-1C01, 2000, 2001, 2400, 2401, 3C00-3C03, 4000, 4001,
  113.     5C00-5C03, 7001, 7003, 7403, 8000-8003, BC00, BC02, E38A, E38B,
  114.     E800-E803, EC03, F000-F003, F400-F403, F800-F803, F80A, FC00, FC03
  115.     Just add the base addresses to the above.  If you stick with the 
  116.     default, you get:  388-38B, 788-78B, B88-B8B, F88-F8B, 1388-138B, 
  117.     1788-178B, 1B88-1B8B, 1788-178B, 1B88-1B8A, 1F88-1F8B, 2388, 2389, 
  118.     2788, 2789, 3F88-3F8B, 4388, 4389, 5F88-5F8B, 8388-838B, BF88, BF8A, 
  119.     E388-E38B, EB88-EB8B, EF8B, F388-F38B, F788-F78B, FB88-FB8B, FF88, FF8B
  120.   PAS IRQ Settings                     2,3,4,5,6,*7,10,11,12,14,15
  121.   PAS DMA Settings                     1,2,*3,5,6,7
  122.   Soundblaster Address Settings        *220, 230, 240
  123.     the resulting address is the selected base + an offset (01-0F)
  124.     which turns out to be 2x0-2xF (x=2, 3 or 4), also 3x0 and 3x1.
  125.  
  126.  
  127. Remember the PAS-16 has both a SoundBlaster and a PAS on it.  That means
  128. that it will use two sets of I/O addresses, DMA channels and IRQs.  The
  129. SoundBlaster side of the PAS-16 is fixed to DMA 1.
  130.  
  131. Older PAS-16's will have the SoundBlaster settings made via jumpers on the
  132. card.  This is documented in the PAS-16 manual.  On newer boards these are
  133. set via a parameter on the device driver.
  134.  
  135. One of the ways of mapping things out, and the way I've used, is to select
  136. a high IRQ (10, 11, 12 or 15) and a high DMA channel (5 or 7) for the PAS
  137. side of the card.  You can then use the Soundblaster side for DOS and games
  138. and the PAS side for OS/2 sounds.  You can elect to use either with
  139. Win-OS/2.
  140.  
  141. If you have the PAS+ card, the high order IRQ and DMA channels may not work
  142. correctly with your card.  Either use the low IRQ (below 8) and DMA 
  143. channels (below 4), or call Media Vision for support.
  144.  
  145. Remember that either Win-OS/2 or OS/2 can use the PAS side of the card, but
  146. not both.  It's really up to how you use your system.  You can always
  147. reconfigure Win-OS/2 later to use the other interface if you find that you
  148. have troubles.
  149.  
  150.  
  151. OS/2 Configuration Notes
  152.  
  153. To install the OS/2 support, you'll need to install MMPM/2.  Insert the 
  154. first MMPM/2 diskette, open a command prompt and type:  A:MINSTALL (or B:  
  155. or C:, etc.).  The program will eventually display a list of devices.  
  156. Unhighlight any options you don't have (like Soundblaster).  Then proceed 
  157. with the install.
  158.  
  159. The installation program will ask you to specify the number of PAS16 cards 
  160. you've installed (1, unless you have more).  After that, it will ask you to 
  161. specify the IRQ (default=11) and DMA (default=3) for each card installed.  
  162. Enter the settings you've selected from your analysis of your system.  Then 
  163. proceed with the rest of the installation.
  164.  
  165. Parameters for the MVPRODD.SYS device driver:
  166.  
  167.         /S:X,XXX,X,X     SoundBlaster { enable,base addr,DMA,IRQ }
  168.                          Note: Sound Blaster DMA channel must be 1 on this
  169.                          driver release. 
  170.         /N:<name>        allows naming of driver /N:PAS161$ (do not change)
  171.         /T:X             T:1 = use PAS oscillator for OPL-3 (default /T:0)
  172.         /D:X             sets the DMA channel
  173.         /Q:X             sets the IRQ channel
  174.         /I:X             also can be used to set the IRQ channel
  175.         /B:XXX           HEX Base board I/O location (DEFAULT: /B:388)
  176.         /W:X             /W:1 enables warm boot reset (DEFAULT /W:0)
  177.         /M:X,XXX,X       MPU {enable,base addr,IRQ}
  178.         /F:X             FM Synth disable switch; /F:1 enabled by default
  179.         /J:X             /J:1 cause Joystick to be enabled, J:0 is default
  180.  
  181. If you have a PAS+ card, you'll need to change the MMOS2.INI file after 
  182. installation.  From the MVNOTES.TXT file in MVOS2.ZIP:
  183.  
  184. A: In the file MMPM2.INI found in your MMOS2 directory, you'll find a
  185.    header like this:
  186.  
  187.    [ibmwavepas1601]
  188.  
  189.    Under this heading you will find the PARMSTRING parameter.  Change
  190.    the string BPS=16 to BPS=8 and digital audio will work.
  191.  
  192.  
  193. DOS Configuration Notes
  194.  
  195. Before starting the discussion, one warning:  Don't put MVSOUND.SYS in
  196. the CONFIG.SYS file.
  197.  
  198. Most DOS programs will not need to use MVSOUND.SYS.  Some will.  An example
  199. of one that does is the TrackBlaster Pro application that comes with the
  200. card.  To set up a program to use this driver, create a program object on
  201. the desktop for the program.  Fill in the program name, working directory,
  202. title (General page), etc.  Go to the settings page and click on the
  203. appropriate session type (DOS Windowed or DOS Full screen).  Then click on
  204. the DOS Settings button.
  205.  
  206. Find DOS_DEVICE and select it.  Fill in the blank box with the path and
  207. name of the MVSOUND.SYS file.  Append the correct DMA and IRQ to the end of
  208. the line.  An example would be:
  209.  
  210.    C:\PROAUDIO\MVSOUND.SYS /D:5 /Q:12
  211.  
  212.    Note:  The IRQ and DMA settings MUST match those you set for OS/2.
  213.  
  214. Now close the settings notebook and run the program by opening the program
  215. object that you just created.  MVSOUND.SYS will load and the application
  216. should run with sound.
  217.  
  218. If this doesn't work, you may need to get the latest MVSOUND.SYS driver
  219. from the MediaVision BBS or the forum on Compuserve (MULTIV, lib 12).  The
  220. minimum version that works for me is 3.19.
  221.  
  222.  
  223. Win-OS/2 Configuration Notes
  224.  
  225. After you have gotten the system set up for use by OS/2, it's time to
  226. install and configure the Win-OS/2 drivers.
  227.  
  228. If you elect to use the SoundBlaster side of the card for Windows
  229. applications, installation doesn't require any additional drivers.  Just
  230. bring up the Win-OS/2 Control Panel (type CONTROL from an OS/2 prompt) and
  231. install the SoundBlaster using the Drivers icon.  Don't restart Win-OS/2
  232. yet.  Open up the Drivers icon again and set up the SoundBlaster.  Make
  233. sure that the proper I/O address and IRQ are selected.  Now you should exit
  234. Win-OS/2 and bring it back up.  You should get a Ta-Da sound.
  235.  
  236. If you elect to use the PAS side of the card for Windows, setup is a bit
  237. more difficult; you need to install the Windows drivers.  I've heard of two
  238. separate installation mechanisms for this.  The early boards and Windows
  239. driver updates supply the drivers on a separate diskette.  This code is
  240. installable from within Win-OS/2.  Later boards bundle the Windows setup
  241. with the DOS installation.  I'll walk through both of these.
  242.  
  243. For the separate Windows driver diskette, bring up the Win-OS/2 Program
  244. Manager (type PROGMAN from and OS/2 prompt).  Pick File, then Run from the
  245. Program Manager menu and execute A:\INSTALL.EXE (B:\INSTALL.EXE if the
  246. diskette is in the B:  drive).  Follow through with the installation and
  247. don't restart Windows yet.
  248.  
  249. Bring up the Control Panel and open the Drivers icon.  You'll need to set
  250. up the PAS drivers so they select the right port addresses.  These MUST be
  251. the same as the ones you used for OS/2.  Then exit Win-OS/2 and bring it
  252. back up.  You should get a Ta-Da sound.
  253.  
  254. Also in the Drivers, there is a CDPC Mixer driver.  If you set this up,
  255. you can elect to Save and Restore the volume settings when entering and
  256. exiting Win-OS/2.  Select both of these options.  This will eliminate
  257. some of the volume jumps when going in and out of Win-OS/2.
  258.  
  259. Please note that Win-OS/2 does not currently support Windows' Virtual 
  260. Device Drivers.  This function is provided by OS/2.  Win-OS/2 doesn't 
  261. provide sound when running in Enhanced mode.  There is a patch that you can 
  262. make to VDMA.SYS that will enable Enhanced mode support.  Ken Nicholson of 
  263. Media Vision posted this set of instructions on Compuserve:  
  264.  
  265. ------------------------- patching VDMA.SYS ------------------------------
  266. >IBM has an open defect against the VDMA component returning the wrong
  267. >revision level when queried by the Mediavision Windows driver.  You can
  268. >be notified of the defect/APAR closure by submitting the problm.txt file
  269. >in the IBMOS2 file area.  Just say you want the VDMA Mediavision ProAudio
  270. >Spectrum fix and they should find the APAR and attach you to it
  271. >accordingly.
  272.  
  273. We have a patched OS/2 VDMA.SYS driver that we're testing.
  274.  
  275. If you want to patch your VDMA.SYS, here's how to do it.  (Somebody save
  276. this message to help other people with the same question).
  277.  
  278. copy c:\os2\mdos\vdma.sys c:\os2\mdos\vdma.bak       /* backup original */
  279. cd c:\os2\mdos                                       /* go to directory */
  280. debug vmda.sys                                     /* use debug to edit */
  281. -e 1c01                                       /* verify byte 1c01 == 01 */
  282. -e 1c01 2
  283. -w
  284.  
  285. This patch can only be used on ISA systems and only with the OS/2 2.1 GA
  286. release of VDMA.SYS!
  287.  
  288. Disclaimer: If you patch any file and screw up your OS/2 installation it's
  289.             your own fault.
  290. --------------------------------------------------------------------------
  291.  
  292. The latest Windows drivers are available from the MediaVision BBS or thier
  293. area on Compuserve.
  294.  
  295.  
  296. Getting in Touch with Media Vision
  297.  
  298.    Media Vision's Technical Support department telephone number is
  299.    (800) 638-2807.  Media Vision also has a European office that 
  300.    offers technical assistance.  They are located in Munich.  Check
  301.    directory assistance for Media Vision GMBH.
  302.  
  303.    Media Vision, Inc        Main:         (800) 348-7116 or (510) 770-8600                                   
  304.    3815 LaurelView Ct.      Sales:        (800) 845-5870
  305.    Fremont, CA 94539        Parts:        (800) 356-7886
  306.                             Tech Support: (800) 638-2807 or (510) 770-9905
  307.                             FAX:          (510) 770-8648 or (510) 770-9592
  308.    BBS: (510) 770-0968 2400 (8 bits, no parity, 1 stop bit)
  309.         (510) 770-1661 2400 (8 bits, no parity, 1 stop bit)
  310.         (510) 770-0527 9600 (8 bits, no parity, 1 stop bit)
  311.  
  312.    Developer Assistance Program: (800) 472-6147
  313.  
  314.    CIS: GO MEDIAVISION or send CIS mail to 75300,2772
  315.    Internet: Send mail to 75300,2772@compuserve.com
  316.