Mail Archives: djgpp/1996/07/23/11:48:12
gaggi AT cs DOT unibo DOT it (Nicola Gaggi) wrote:
>Alaric B. Williams (alaric AT abwillms DOT demon DOT co DOT uk) wrote:
>: I'm writing a tutorial on DJGPP hardware interrupts! I'll post the
>: first draft in a couple of days.
It'll be a little delayed; I'm busy :-(
>I am interested in hardware interrupt programming too.
>Well, I have a problem: I need to call the original interrupt code before
>call my interrupt handler, how can I do this? I have used the function
>go32_dpmi_chain_etc... but this routine chains the orignal interrupt code
>*after* the user interrupt handler.
Watcha need to do is keep the original real mode handler address, and
use a function called something like "_go32_simulate_fcall_iret" (look
in info) to chain the original handler. Put this at the start of thy
handler. I haven't tried this lately, so there may be something I've
forgotten!
>Is there in your tutorial a solution for this?
There will be...
>Could you mail-me a copy of your tutorial?
>Thank you.
Sure!
ABW
--
I have become... Comfortably numb...
Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.hardcafe.co.uk/Alaric/">http://www.hardcafe.co.uk/Alaric/</A>
- Raw text -