                  OPTi 82C930 Audio Device Driver for OS/2
                            Version 2.02 Release
                               (08/31/95)

     Before you install OPTi 930 Device Driver make sure that you have
     installed OS/2 WARP Version 3.00 Revision 8.162 or later.  
     Enter "VER /R" from an OS/2 command prompt to verify.

     This document describes the means for setting up your Sound Card for
     proper operation under the OS/2 operating system environment. Before
     installing, please read PART 0 What's new in this release. If you
     already have OS/2 installed, please read PART 1; if not, please
     proceed to PART 2 of this document. PART 3 of this document describes
     how to connect your existing or new CD-ROM drive to your Sound Card
     and provides a list of the CD-ROM models that are supported. PART 4
     describes the parameter options for the Sound Card setup program
     MAD16.SYS. PART 5 describes how to reconfigure your Sound Card settings
     at a later time. PART 6 describes WIN-OS/2 installation. PART 7
     describes MPU401 support. PART 8 lists some known problems detected with 
     this current release; and PART 9 describes a brief trouble-shooting 
     session for problems that may be encountered during and after the 
     installation of the Sound Card device driver. 

	 PART 0 - What's new in this release

         PART 1 - OS/2 Already Installed
                  Installing the Sound Card device driver

         PART 2 - OS/2 Not Installed
                  OS/2 Diskette Installation
                  OS/2 CD-ROM Installation (OS/2 Warp)

         PART 3 - CD-ROM Drive Interface
                  Interfacing a CD-ROM drive to your Sound Card
                  List of CD-ROM drive models supported by your Sound Card

         PART 4 - Options for MAD16.SYS Sound Card device driver

         PART 5 - How to Reconfig the Hardware Settings

         PART 6 - WIN-OS/2 support

         PART 7 - MPU401 support

         PART 8 - Known Problems

         PART 9 - Brief Trouble-Shooting Session

PART 0 - What's New in this release:	

       - WIN-OS/2 support. Windows Audio Applications can be run under OS/2.
       - Support MPU401 in WIN-OS/2 environment.
       - MAD16.ADD and BUSAUDIO.SYS are renamed to MAD16.SYS and SND16.SYS
         respectively.

       Changes that were done in the previous version (v2.01)
       - Keep CD Audio from being muted when playing or recording wave 
       - Keep CD Audio from being lowered when running DOS Multimedia 
         application.
       - Increase CD Audio volume.
       - Fix the problem of OS/2 boot failure when no Sound card is in
         system.
       - Allows MIC recording level adjustment.

PART 1 - OS/2 already installed

        Installing the Sound Card device driver:

        1. Ensure that your Sound Card has been properly installed and power
           on your system and wait for the OS/2 Desktop to appear.
        
        2. From your OS/2 Desktop, open (double click) the OS/2 System folder
           and then open the Command Prompts folder.
        
        3. Open either the OS/2 Window icon or the OS/2 Full Screen icon to
           start an OS/2 command prompt session.
        
        4. Check if a copy of MAD16.SYS existed in root directory by typing
           "dir \MAD16.SYS". Remove the old MAD16.SYS by typing "del \MAD16.SYS"
           if it existed.
        
        5. Enter another command "attrib -r \os2\boot\clock01.sys".
        
        6. Insert device driver diskette into your floppy disk drive.
        
        7. Type "A:MINSTALL" and ENTER.
        
        8. MINSTALL will display 3 options to install - OPTi 929 WAVE OS/2
           Driver, OPTi OPL3 Driver and OPTi WIN-OS/2 Audio Driver. 

        9. Type "EXIT" and ENTER to return to OS/2 Desktop.
             
        10. Reboot OS/2.


PART 2  - OS/2 not installed

        OS/2 Diskette Installation:

        1. Install OS/2 and proceed to PART 1 to complete the installation of device driver
	    for your Sound Card.


        OS/2 CD-ROM Installation:

        If you intend to connect a CD-ROM to the CD-ROM interface of your
        sound card and use it for your OS/2 Warp installation, please follow
        the steps below. If not, install your CD-ROM with the interface card
        supplied by your CD-ROM manufacturer and proceed to install OS/2 Warp,
        after your installation, proceed to PART 1 of this document to
        complete the device driver for your Sound Card.

        1. In the OS/2 Warp CD-ROM installation package, you will find two (2)
           "kicker" diskettes - a) Installation Diskette for CD-ROM, and
                                b) Diskette for CD-ROM (Disk 1).

        2. Copy the program MAD16.SYS located in your Sound Card device driver
           diskette to the OS/2 Warp "kicker" diskette labeled "Diskette for
           CD-ROM (Disk 1)".

        3. EDIT config.sys to add the following line immediately before the
           LIBPATH= statement:

	    BASEDEV=MAD16.SYS CDTYPE:X CDBASE:XXX CDIRQ:X

	    CDTYPE:S, P, M, I

                  S - SONY CDU-31A/33A
                  P - PANASONIC CR-522/523 CR-562/563
                  M - MITSUMI FX001/FX001D
                  I - Generic IDE (DEFAULT)

	    CDBASE:None, 320, 330, 340, 360 (default based on CDTYPE)

                  Sony31A   - 320, 330, 340, 360 (default 320)
                  Panasonic - 330, 340 (default 330)
                  Mitsumi   - 320, 340 (default, 320)
                  IDE       - 170      (fixed)

	    CDIRQ: None, 3, 5, 7, 9, 10, 11 (default based on CDTYPE)

                  Sony31A, Mitsumi (All above choices are valid)
                  Panasonic - None (polled device, no interrupts)
                  IDE       - 15 (fixed)
       	
	 4. Install OS/2 Warp (be sure to install multimedia software support)
	      ************************* note *****************************
              * The OPTi 929 Audio card is detected by OS/2 install      *
              * as a SB Pro - Remove this by clicking on Multimedia from *
              * the System Configuration menu and select remove from the *
              * Device Selections and Settings menu.			 *
	      ************************************************************
			      
	 5. Follow OPTi MAD16 Audio Device Driver for OS/2 Procedure part 1 above.



PART 3 - CD-ROM Drive Interface

        Interfacing a CD-ROM drive to your Sound Card:

        To interface/connect your new or existing CD-ROM drive to your
        sound card, please follow the simple steps below.

        If you are interfacing an existing CD-ROM drive to your sound card,
        you only need to follow steps 1 and 2 below since you should already
        have your existing CD-ROM driver setup in your CONFIG.SYS file.
        However, if your are interfacing a new CD-ROM drive, you will need
        to follow all 3 steps below; in which case, it is recommended that
        your perform step 1 first.


        1. Hardware setup

           To connect your CD-ROM drive to your sound card, you will need
           to setup the correct data connector cable from your CD-ROM to
           your sound card. Please refer to your sound card installation
           manual for more details.


        2. Modifying/Setting the MAD16.SYS setup program

           To interface your new or existing CD-ROM drive to your Sound Card,
           use an editor to open the CONFIG.SYS file for editing and locate
           the line "BASEDEV=MAD16.SYS..."  This line should be at the first
           line of the file. Insert the following "CDTYPE:" option into the
           line and when completed, it should read:

           BASEDEV=MAD16.SYS CDTYPE:X CDBASE:XXX CDIRQ:X

           where <model> is the CD-ROM model denoted by the following characters:
                       S       - stands for SONY
                       M       - stands for Mitsumi
                       P       - stands for Panasonic
                       I       - stands for IDE (secondary)

           For example, the following enables the interface for a SONY IDE CD-ROM.

           BASEDEV=MAD16.SYS CDTYPE:I CDBASE:170 

           If the above MAD16.SYS line is not located, proceed to PART 1 of
           this document for details on installing the Sound Card setup program.

           Save the file and proceed to install the CD-ROM driver if needed.


        3. Installing the CD-ROM driver

           Open the Selective Install program located in the System Setup
           folder and click on the icon next to the "CD-ROM Device Support"
           entry.  A window with the list of OS/2 supported CD-ROM drivers
           will appear. Select (click on) the CD-ROM driver name belonging
           to your CD-ROM model and click on OK to confirm. Click on OK to
           start your CD-ROM driver installation.

           If you have already successfully connected your CD-ROM drive
           to your sound card as detailed in your installation manual, you
           may shut down OS/2 and reboot your system for the changes to
           take effect. If not, please proceed to connect your CD-ROM drive
           to your sound card after shutting down OS/2 and switching off
           your system.



           List of CD-ROM drive models supported by your Sound Card:
   
           Below lists the make and models of the CD-ROM drives that are
           supported by your Sound Card.
   
   
           MAKE       MODEL(s)               TYPE          Character Denotation
           ------------------------------------------------------------------
           SONY       CDU-31A, 31A-02, 33A   Proprietary   S
   
           SONY       CDU-55D                IDE           I
   
           PANASONIC  522, 523, 562, 563     Proprietary   P
   
           MITSUMI    LU005S, FX001D         Proprietary   M
   
           MITSUMI    FX001DE                IDE           I
   
           PHILIPS    CM 207, CR 940I        IDE           I
   
           IPC        8001                   IDE           I
   
           WEARNES    CDD-120                IDE           I
   
   
           If you have a CD-ROM which isn't included in this list, please check
           that the drive is compatible with any of the above MAKE and MODELs.
           Contact the CD-ROM manufacturer for details on the compatibility of
           your drive. If your drive is compatible, the drive may be specified
           as the appropriate TYPE in the CDTYPE option.



PART 4 - Options for MAD16.SYS Sound Card Setup Program

        The following lists the available options for the MAD16.SYS
        sound card setup program.

        MODE:     wss, sb            (default Windows Sound System)
        BASE:     220, 240           (for Sound Blaster mode, default 220)
                  530, E80, F40, 604 (for Windows Sound System mode, default 530)
                  Choosing 530 or E80 for WSS gives 220 for Sound Blaster.
                  Choosing 604 or F40 for WSS gives 240 for Sound Blaster.
                  E80 and F40 are valid only with version 930 of the OPTi part.
        
        CDTYPE:   None, Sony31A, Panasonic, Mitsumi, IDE (default None)
                  One character is adequate (e.g. CDTYPE:S)
        
        CDBASE:   None, 320, 330, 340, 360 (default based on CDTYPE)
                  Sony31A   - 320, 330, 340, 360 (default 320)
                  Panasonic - 330, 340 (default 330)
                  Mitsumi   - 320, 340 (default, 320)
                  IDE       - 170      (fixed)
        
        CDIRQ:    None, 3, 5, 7, 9, 10, 11 (default based on CDTYPE)
                  Sony31A, Mitsumi (All above choices are valid)
                  Panasonic - None (polled device, no interrupts)
                  IDE       - 15 (fixed)
        
        SBIRQ:    5, 7, 10, 11 (default 7)
        SBDMA:    1, 2, 3 (default 1)
        
        WSSIRQ:   7, 9, 10, 11
        WSSDMA:   0, 1, 3 (default 1, avoid 0)
        
                  NOTE: The WSS IRQ and DMA are specified here, but can be
                  reset by the audio PDD when it loads.  Optimally, the
                  audio PDD will query MAD16.SYS to learn of the device settings.
                  As of this writing, this communication does not exist.
        
        JOYSTICK: 0, 1  (default 1, joystick enabled)
        
        MPU:      Y, N
        MPUBASE:  330, 320, 300
        MPUIRQ:   9, 5, 7
                  NOTE: MPU401 setting are optional settings.
                        See Part 7 for more MPU401 descriptions.

PART 5 - How to Reconfig the Hardware Settings

        Type "c:\sound16\minstall" and enter, then follow the directions from
        Part 1, step 8.  Directory "SOUND16" was created in root directoy during
        the first installation process.  It contains the same files as the 
        installation disk.

PART 6 - WIN-OS/2 support 

         Run MINSTALL and select OPTi WIN-OS/2 Audio Driver to install for
         WIN-OS/2 support.
         Before starting a WIN-OS/2 session, be sure to close all OS/2 Audio
         applications.

PART 7 - MPU401 support

         MPU401 interface is currently supported under WIN-OS/2 environment
         only. By default, MPU401 interface is disabled. MINSTALL does not 
         add any MPU401 hardware settings in config.sys. To run MPU401 
         applications under WIN-OS/2, MPU401 settings must be added using
         an editor in config.sys after installation.  Use an editor to
         open config.sys. Find the line 
                BASEDEV=MAD16.SYS...

         Add the MPU401 settings at the end of the line. The following lists 
         the available MPU401 options for the MAD16.SYS sound card setup 
         program: 
                 MPU:     Y, N (Enable or Disable MPU401 interface)
                 MPUBASE: 330, 320, 300 (Make sure there is no conflict with
                                         another device on the system)
                 MPUIRQ:  9, 5, 7       (Make sure there is no conflict with 
                                         another device on the system)
        For example, add MPU:Y MPUBASE:330 MPUIRQ:9 at the end of the line to
        enable MPU401 at base address 330 and irq 9.
        Save the changes and shutdown the system. 

PART 8 - Known Problems
       - None so far.   

PART 9 - Brief Trouble-Shooting Session

        Problem:  OS/2 cannot detect your sound card and/or CD-ROM
        Solution: Ensure that the BASEDEV=MAD16.SYS... line is located  
                  immediately before the LIBPATH= statement:

        Problem:  No startup sound when starting OS/2
        Solution: Check if System Sound is enabled

        Problem:  Sounds keep repeating
        Solution: This is due to an interrupt conflict on your system. To
                  use a different interrupt selection, open the CONFIG.SYS
                  file for editing and change the SBIRQ option in the
                  MAD16.SYS line to a different interrupt. 

        Problem:  DOS games do not work under OS/2 DOS session
        Solution: Run OS/2 Add Programs located in the System Setup folder
                  to ask OS/2 to add the set of DOS games on your system.
                  This allows OS/2 to setup the DOS session settings best
                  suited for your individual games such as DOOM.

                  If the DOS game still does not run, this may be due to
                  the incompatibility of the game with OS/2. Consult the
                  OS/2 newsgroup - comp.os.os2.games on the internet for
                  FAQs relating to this subject, or the FTP site -
                  hobbes.nmsu.edu.

        Problem:  IDE CD-ROM does not work
        Solution: Ensure that the IDE CD-ROM jumper is closed on your sound
                  card. Consult your sound card manual for details.
        
        Problem:  Compact Disc player does not generate sound.
        Solution: Go to Digital Audio. Under OPTIONS, select Monitor input.
        
        Problem:  The CD ROM device drivers for PANASONIC CR 562/563 and
                  IDE cdrom drives that ship with OS/2 WARP for Windows,
                  do not work. 
        Solution: The drivers that ship with OS/2 WARP "FullPack" fix this 
                  problem.
        
        Problem:  MINSTALL did not add the "BASEDEV=MAD16.SYS.." statement
                  to config.sys.
        Solution: Reduce the length "LIBPATH=.." statement in config.sys to
                  255 characters or less.

