delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/13/15:24:50

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <39BFD254.556B8799@phekda.freeserve.co.uk>
Date: Wed, 13 Sep 2000 20:15:32 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.14 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>,
DJGPP newsgroup <djgpp AT delorie DOT com>
Subject: Re: djgpp query
References: <20000912000952 DOT 12918 DOT qmail AT web9702 DOT mail DOT yahoo DOT com> <8pl5mj$4bj$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
Reply-To: djgpp AT delorie DOT com

Hello.

Hans-Bernhard Broeker wrote:
> 
> fakhri fki <ffkhr AT yahoo DOT com> wrote:
> > my program crash with a General protection fault when
> > I try to hook interrupt  0x31 DPMI service  (not after hooking but
> > when I call
> > "__dpmi_set_protected_mode_interrupt_vector(0x31....)
> > " ). if there is
> > a solution to do that please tell me it ?
> 
> I strongly doubt you can ever hook 0x31 in a DJGPP program. You'ld
> almost invariably end up with an endless loop, because you sawed away
> the branch the whole DJGPP runtime environment is sitting on.

This seems to have been discussed here before. I seem to remember that
Michael Bukin had some INT 0x31 hooking code. I toyed with the idea of
using it to implement some of the DPMI 1.0 spec under Windows, but never
gave it much thought.

Anyhow, this search may be useful:

http://www.delorie.com/djgpp/mail-archives/search.cgi?search=INT31+handler&since=&db=djgpp

That should all be one line. Going to:

    http://www.delorie.com/djgpp/mail-archives/search.cgi

and typing 'dpmi michael bukin' also turned up a lot. Don't bother with
0x31 - it's not in the index.

Bye,

-- 
Richard Dawe
[ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]

- Raw text -


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