| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| Date: | Tue, 5 Mar 2002 12:28:49 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | IeperNaum <zandro_arceo AT support DOT trendmicro DOT com> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Hooking INT 2F |
| In-Reply-To: | <d26d20a2.0203050120.5157c02c@posting.google.com> |
| Message-ID: | <Pine.SUN.3.91.1020305122716.19973C-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On 5 Mar 2002, IeperNaum wrote: > i tried to build the sample tsr, and it worked. then i changed the > interrupt from int 8 to 2f, modified the int2f handler to make the > program beep. > > but it did not work. Int 2Fh is a software interrupt, not a hardware interrupt. Software interrupts are not reflected to protected-mode handlers (says the DPMI spec), so you need either to hook them in real mode or to use real-mode callbacks, as explained in section 18.9 of the DJGPP FAQ list.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |