www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/02/05:41:10

Newsgroups: comp.os.msdos.djgpp
Date: Wed, 2 Apr 1997 13:34:31 +0300 (EET DST)
From: Lemponen Olli <l158134 AT proffa DOT cc DOT tut DOT fi>
Reply-To: Lemponen Olli <l158134 AT proffa DOT cc DOT tut DOT fi>
To: djgpp AT delorie DOT com
Subject: Gravis Ultrasound SDK and the DMA
Message-ID: <Pine.OSF.3.95.970402132336.14550B-100000@proffa.cc.tut.fi>
MIME-Version: 1.0

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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019