Newsgroups: comp.os.msdos.djgpp Date: Wed, 2 Apr 1997 13:34:31 +0300 (EET DST) From: Lemponen Olli Reply-To: Lemponen Olli To: djgpp AT delorie DOT com Subject: Gravis Ultrasound SDK and the DMA Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I ported the Gravis Ultrasound SDK version 2.22 to DJGPP and C++. It was relatively easy, but when I tested it, the machine hanged. It didn't even respond to CTRL-ALT-DEL. I commented out the specific lines which actually initiate the DMA transfer (two 'out' commands) to the GUS and everything worked fine, except for the DMA (no longer hanged, but didn't work properly either;) What could be wrong? Another possibility would be to move the sound data to the GUS is directly pokeing the values, but that is _really_ slow. (btw, with pmode/dj it was considerably faster than with cwsdpmi!) I'm have MS-DOS and GUS Max. My DJGPP is version 2.02. I didn't include the code here, because it is a little bit too long (the relevant code is about 200 lines), and the lines in question are identical to the ones in the original code. If you want the code, I *might* consider emailing it to you:) Olli Lemponen