Mail Archives: djgpp/1997/10/07/22:04:59
On 7 Oct 97 at 23:36, firewind wrote:
> justin deltener <deltener AT fm-net DOT com> wrote:
> > I've finally got around to programming interrupts again, and i'm so DARN
> > close i can taste it. I think my computer is laughing at me. Anyways
> > i'm hooking up into the SB16 sound card and for the life of me i can't
> > get it into auto-init mode! i'm doing the same DSP commands as i was in
> > real mode, and i think the rest is correct. It will play the DMAbuffer
> > once and thats it. No autoinit :-( Any ideas?
Most of this you've probably already thought of/know, but:
Did you enable the IRQ line in the PICs (programmable interrupt
controllers, see Ralf Brown's interrupt list (ports.lst) for
details)?
Did you hook the correct interrupt?
Is the DMA set up correctly for autoinit?
Is this under windows? 3.1x has some bugs with the
interrupt flag and 95 doesn't always let you get at the soundblaster
hardware (seems to depend on wheter or not something else is trying
to use it), especially the interrupt.
Sorry I can't be of more help, but most of my recent interrupt
experience has be with my custom kernel and been for IDE and FDC
drivers and the like. I also havn't got a SB16 (only an SBP8).
>
> Wait... the Sound Blaster interrupt would be real mode, wouldn't it?
> So shouldn't you use: (where rm_regs is a __dpmi_regs created
> previously in the function)
No, hardware interrupts go to protected mode first and then real mode
only if not hooked by protected mode.
Bill
--
Leave others their otherness.
- Raw text -