Subj : *.wav, *.mod; sound files
To : Chris Hoppman
From : mark lewis
Date : Fri Jan 31 2003 02:10 pm
CH> Just wondering. I am on a Win2000 box and downloaded some
CH> source code (serveral infact) for playing sound bits through
CH> the sound blaster.
if its the source stuff that we used to play with back in the DOS days, then
you problem would appear to be that win2000 doesn't allow direct access to the
hardware like win9x and earlier did...
to play sound files in your current environment, you may have to switch to a
compiler and such so that you can access the windows internal APIs directly...
you won't be setting any DMA or IRQ settings at all because you can't gain
direct access to the hardware...
what error message/code (exactly) do you get when you try your current methods?
not all lowlevel coding is/was done with the REGS structures... some are done
with inline or ASM... if you are trying to link in a precompiled OBJ file, you
can't tell what's being done in there...