cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/22/06:52:31

Date: Sun, 22 Feb 1998 13:51:31 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: leger_v AT bluewin DOT ch
cc: djgpp AT delorie DOT com
Subject: Re: low level interrupt :real or protected mode ?
In-Reply-To: <34EEFE41.448B@bluewin.ch>
Message-ID: <Pine.SUN.3.91.980222135110.19567a-100000@is>
MIME-Version: 1.0

On Sat, 21 Feb 1998 leger_v AT bluewin DOT ch wrote:

> I'd like to catch a low-level hardware interrupt. But I don't know
> if I must get the real interrupt vector with 
> _go32_dpmi_get_real_mode_interrupt_vector 
> or the protected interrupt vector with 
> _go32_dpmi_get_protected_mode_interrupt_vector 
> or the both.

It is already explained in the DJGPP FAQ list.  Get the file
v2/faq210b.zip from the same place you get DJGPP and read section 18.9
there.

In general, hardware interrupts are always reflected to protected mode
first.  So hooking the protected-mode interrupt should be enough.  The
FAQ has the details.

- Raw text -


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