delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/12/08:24:40

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp query
Date: 12 Sep 2000 11:57:07 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 15
Message-ID: <8pl5mj$4bj$1@nets3.rz.RWTH-Aachen.DE>
References: <20000912000952 DOT 12918 DOT qmail AT web9702 DOT mail DOT yahoo DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 968759827 4467 137.226.32.75 (12 Sep 2000 11:57:07 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 12 Sep 2000 11:57:07 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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