X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Joel Saunders" Newsgroups: comp.os.msdos.djgpp Subject: Re: Has anybody successfully hooked int 0DH? Date: Mon, 4 Mar 2002 04:45:18 +0000 (UTC) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Lines: 22 Message-ID: <0ba46b640f6dae4cc41710afe21bfe4e.62691@mygate.mailgate.org> References: <3c82e2f7 DOT sandmann AT clio DOT rice DOT edu> NNTP-Posting-Host: spider-ntc-tb082.proxy.aol.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.mailgate.org 1015190919 16725 198.81.16.187 (Mon Mar 4 05:45:17 2002) X-Complaints-To: abuse AT mailgate DOT org NNTP-Posting-Date: Mon, 4 Mar 2002 04:45:18 +0000 (UTC) Injector-Info: news.mailgate.org; posting-host=spider-ntc-tb082.proxy.aol.com; posting-account=62691; posting-date=1015190919 User-Agent: Mailgate Web Server X-URL: http://mygate.mailgate.org/mynews/comp/comp.os.msdos.djgpp/0ba46b640f6dae4cc41710afe21bfe4e.62691%40mygate.mailgate.org To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In real mode, GPF's happen if, and here's a cut and past from Ralph Brown's interrupt list: Notes: called in real mode when an instruction accesses a memory operand extending beyond offset FFFFh (i.e. WORD at FFFFh or DWORD at FFFDh or higher) in segment CS, DS, ES, FG, or GS a PUSH MEM or POP MEM instruction contains an invalid bit encoding in the second byte an instruction exceeds the maximum length allowed (10 bytes for 80286, 15 bytes for 80386/80486) an instruction wraps from offset FFFFh to offset 0000h So I just want to be able to intercept the interrupt and use my own exception handler. -- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG