Mail Archives: djgpp/2004/07/23/11:45:54
Matt Flyer <goaway AT nospam DOT me> wrote:
: So far I have been able to straighten things out a little bit. I can
: re-direct the interrupts either by chaining or allocating an iret wrapper
: and claiming the interrupt with a "_go32_set_protected" command. For some
: reason though, the interrupt only executes one time. From my research, I
: would say this means that the interrupt is not being acknowledged - but I
: believe this I addressed this. If I am not mistaken, when I chain the
: interrupt using the "_go32_chain_protected ..." command, I acknowledge the
: interrupt with an outportb(0xA0, 0x20); outportb(0x20,0x20); (slave first)
: for a non specific EOI and when I simply capture the interupt the wrapper
: handles this for me. My above assumptions are partially based on
: experimental results as if I don't structure the code this way I get crash
: errors of some form.
I would expect the chain variant to acknowledge the interrupt (as I
would expect it to be chained to the previous handler), but not
the iret version.
But note that I haven't done any hardware interrupt hooking myself, so
I don't know much about that.
Right,
MartinS
- Raw text -