Mail Archives: djgpp/1997/04/02/05:41:10
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 -