www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/07/05:03:06

Message-ID: <19991007081300.3161.rocketmail@web1404.mail.yahoo.com>
Date: Thu, 7 Oct 1999 01:13:00 -0700 (PDT)
From: Prashant TR <prashant_news AT yahoo DOT com>
Subject: RE: deriving the interrupt vector
To: djgpp AT delorie DOT com
Cc: jchan AT paclink DOT net
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com


--- 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019