Mail Archives: djgpp/1997/06/18/05:35:08
acebear AT pukopn1 DOT puk DOT ac DOT za wrote:
>Has anybody got any ideas how to compile optimized and still get working
>sound out of SBLIB?
>Rylan
I had similar problems with MIKMOD. I narrowed the problem down to DMA code
(inports/outports etc).
The code was wrapping critical sections in interrupts on/off ASM (CLI,etc).
I replaced this with enable() and disable() (these incidently call the DPMI
appropriate DPMI equivalents) and it now works.
I've since been able to compile the whole caboodle with -O6 -mpentium
(I'm using the pentium pgcc snapshot). Oh, and it works with DOS *and* Windows
(which is nice).
Hope this helps,
Jason.
- Raw text -