Mail Archives: djgpp/1999/10/07/05:03:06
--- Johnny Chan <jchan AT paclink DOT net> wrote:
> Do you know how to raise a software interrupt in
> DJGPP?
> I had setted the interrupt vector, now I want to try
> to test it within my program, Does DJGPP has any
> function to raise a 32bit interrupt?
> --jC
>
Yes. Use the int86 function. I calls protected mode
interrupts. On the other hand, if you want to call a
real mode interrupt, use __dpmi_int.
Since you want a Protected Mode interrupt (it isn't
called a 32-bit interrupt), you must use int86 or
int386. Both are equivalent.
---
Prashant TR
=====
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
- Raw text -