Mail Archives: djgpp/1996/09/15/07:42:24
snarfy AT goodnet DOT com wrote:
>I had a question on how to chain interrupts. Is their anything special
>that needs to be considered? I've written all of my interrupt code in
>asm, and I'm setting the interrupt with the raw __dpmi set interrupt calls.
>It works fine, but it doesn't chain to the old handler, and after a
>while it crashes because the old handler needs to be called.
>I've tried chaining to the old handler by just jmping to it, but that
>blows up with random error messages.
I was doing that a while ago! You see, I wrote a useful DJGPP
interrupt-chaining library. I posted the original because it was so
small - look in the archives for "libints", I guess it'll still be
there... or else wait until I FINALLY get the time to finish the next
version, including:
- Locking malloc (lmalloc) convenience function
- Should be more tolerant of funny DPMI providers (not that I have
many to test it with!)
- I WILL get around to writing about PMODE/DJ and CWSDPR0!
- Anything else I can think of in the meantime
Regards,
ABW
---
COMPUTER: We are in position over the Rebel homeworld.
VADAR: Engage the Death Star primary weapon, let those rebel worms die!
COMPUTER: Sorry, your evaluation version of Battle Computer 3.0 has expired.
Please send 2.6 billion dollars to the address in REGISTER.TXT
Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.abwillms.demon.co.uk/">Hello :-)</A>
- Raw text -