Microsoft KB Archive/95354

{| = WW0764: Updated SNDSYS.DRV for Single-Mode DMA Transfers =
 * width="100%"|

Last reviewed: May 1, 1997

Article ID: Q95354 1.00 WINDOWS kbfile kbmm kbappnote The information in this article applies to:


 * Microsoft Windows Sound System version 1.0

Microsoft has an Application Note that contains an updated sound driver for use with Microsoft Windows Sound System version 1.0. This driver was created for use on computers with 386 or higher processors that exhibit problems with demand-mode direct memory access (DMA) transfers.

You can obtain this Application Note from the following sources:


 * Microsoft's World Wide Web Site on the Internet
 * The Internet (Microsoft anonymous ftp server)
 * Microsoft Download Service (MSDL)
 * Microsoft Product Support Services

For complete information, see the &quot;To Obtain This Application Note&quot; section at the end of this article.

THE TEXT OF WW0764
Microsoft Product Support Services Application Note (Text File) WW0764: UPDATED SNDSYS.DRV FOR SINGLE-MODE DMA TRANSFERS Revision Date: 2/93 1 Disk Included The following information applies to Microsoft(R) Windows(TM) Sound System version 1.0.
 * INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY   |
 * ACCOMPANY THIS DOCUMENT (collectively referred to as an           |
 * Application Note) IS PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY     |
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO   |
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A    |
 * PARTICULAR PURPOSE. The user assumes the entire risk as to the    |
 * accuracy and the use of this Application Note. This Application   |
 * Note may be copied and distributed subject to the following       |
 * conditions: 1) All text must be copied without modification and   |
 * all pages must be included; 2) If software is included, all files |
 * on the disk(s) must be copied without modification [the MS-DOS(R) |
 * utility DISKCOPY is appropriate for this purpose]; 3) All         |
 * components of this Application Note must be distributed together; |
 * and 4) This Application Note may not be distributed for profit.   |
 * Copyright 1993 Microsoft Corporation. All                         |
 * Rights Reserved.                                                  |
 * Microsoft and MS-DOS are registered trademarks and Windows        |
 * is a trademark of Microsoft Corporation.                          |
 * is a trademark of Microsoft Corporation.                          |

Introduction
This application note contains an updated sound driver for use with Microsoft Windows Sound System version 1.0. This driver was created for use on computers with 386 or higher processors that exhibit problems with demand-mode direct memory access (DMA) transfers.

Symptoms of demand-mode DMA transfer problems may include:

- Compressed wave (.WAV) files produce only static when played.

- Uncompressed wave (.WAV) files produce some static when played.

- Wave (.WAV) files play at a rate of speed that is approximately twice the normal speed. 33 and 50 megahertz (MHz) machines using the Symphony chip set are known to exhibit all or some of the above symptoms. The updated driver included with this application note changes the DMA mode used during data transfers to the Windows Sound System hardware. It allows the Windows Sound System software to perform single-mode DMA transfers.

By default, the Windows Sound System uses demand-mode DMA. This means that multibyte transfers can occur during a single data request cycle. Certain chip sets may have difficulty handling the timing of this cycle, sometimes causing multibyte transfers to work incorrectly. By using single-mode DMA, a single byte is transferred per data request cycle. This allows certain chip sets to function with the Windows Sound System hardware; however, it does reduce the bus bandwidth.

NOTE: If your chip set can only operate with single-mode DMA transfers, high bandwidth data formats (such as stereo, 16-bit 22  kilohertz [kHz], and 16-bit 44kHz) may cause pops and clicks when the bus is busy due to high network or disk activity. At this time, there is no software workaround for this problem. If you encounter this problem, contact your chip set manufacturer for a workaround and/or upgrade. The WW0764 disk included with this application note contains one file: SNDSYS.DRV. This file replaces the file of the same name located in your Windows SYSTEM subdirectory.

To install the updated driver:
  At the MS-DOS command prompt, type the following, and then press enter cd \ \system where is the name of your Windows directory. If your Windows directory is called WINDOWS, type the following command: cd \windows\system   Rename the existing file by typing: ren sndsys.drv sndsys.old  Insert the enclosed WW0764 disk in your floppy disk drive.  At the MS-DOS command prompt, type the following, and then press enter copy \sndsys.drv \windows\system where  is the floppy disk drive containing the WW0764 disk and  is the drive where your Windows SYSTEM subdirectory resides. For example, if the WW0764 disk is in drive A and your Windows directory is called WINDOWS and is on drive C, 

type the following command:

copy a:\sndsys.drv c:\windows\system Using a text editor, such as Microsoft Windows Notepad, add the following line to the [SNDSYS.DRV] section of your SYSTEM.INI file (usually located in the Windows directory): SingleModeDMA=TRUE NOTE: This line must be present in order for the updated driver to perform single-mode DMA transfers.

TO OBTAIN THIS APPLICATION NOTE
You can find WW0764.EXE (size: 33090 bytes) , a self-extracting file, on the following services:   Microsoft's World Wide Web Site on the Internet On the www.microsoft.com home page, click the Support icon. Click Knowledge Base, and select the product. Enter kbfile #|WW0764.EXE (size: 33090 bytes), and click GO! Open the article, and click the button to download the file. </li>  Internet (anonymous FTP) ftp ftp.microsoft.com Change to the Softlib/Mslfiles folder. Get WW0764.EXE (size: 33090 bytes) </li>  Microsoft Download Service (MSDL) Dial (425) 936-6735 to connect to MSDL Download WW0764.EXE (size: 33090 bytes) </li></ul>

For additional information about downloading, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q119591 TITLE    : How to Obtain Microsoft Support Files from Online Services If you are unable to access the source(s) listed above, you can have this Application Note mailed or faxed to you by calling Microsoft Product Support Services Monday through Friday, 6:00 A.M. to 6:00 P.M. Pacific time at (425) 637-7098. If you are outside the United States, contact the Microsoft subsidiary for your area.
 * }