Date: Sun, 22 Feb 1998 13:51:31 +0200 (IST) From: Eli Zaretskii 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.