delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/28/17:52:07

From: muller AT cerbere DOT u-strasbg DOT fr
Message-Id: <3.0.6.32.20000429003907.00abf920@ics.u-strasbg.fr>
X-Sender: muller AT ics DOT u-strasbg DOT fr
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Sat, 29 Apr 2000 00:39:07 +0200
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Subject: Re: interrupt 0x75 limitation in Win95 ?
Cc: djgpp-workers AT delorie DOT com
In-Reply-To: <200004282216.SAA26951@indy.delorie.com>
References: <200004281635 DOT SAA21811 AT cerbere DOT u-strasbg DOT fr>
<200004271332 DOT PAA01783 AT cerbere DOT u-strasbg DOT fr>
<3907023C DOT 30855 DOT 3E86E3 AT localhost>
<200004271332 DOT PAA01783 AT cerbere DOT u-strasbg DOT fr>
<200004281635 DOT SAA21811 AT cerbere DOT u-strasbg DOT fr>
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

At 18:16 28/04/00 -0400, Eli Zaretskii wrote:
>> Date: Fri, 28 Apr 2000 18:21:41 +0200
>> From: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>
>>
>> >Sorry, I don't understand what does this mean: ``exception seems to be
>> >sent to redir''.
>> 
>>   If I recompile redir.c but remove the djgpp_exception_toggle
>> around the run_program call then
>> the redir program gets the following !
>> 
>> 
>> Exiting due to signal SIGFPE
>> Floating Point exception at eip=0000e816, x87 status=0000
>
>Well, why did you need to remove djgpp_exception_toggle?  It's there
>on purpose, precisely to avoid these crashes, and so are the calls to
>_clear87 and _fpreset.
>
>Does it work okay with djgpp_exception_toggle in place?  If not, what
>happens if you do not remove djgpp_exception_toggle?

  Of course not, otherwise I would never have sent this mail !!
The interrupt in the second executable (divexcp.exe) is never called by the
OS !
All I wanted to say here is that the OS apparently calls
the 0x75 interrupt handler of the primary executable (redir.exe)

  But here at home my Pentium II (233 MHz with MMX)
shows the same behavior...
  I just got confused because I was using an old version of 
redir.exe here (v 1.0 that probably does not use
djgpp_exception_toggle ) as I get a "Exiting due to signal SIGFPE".


  My real concern is that divexcp.exe only works correctly
if run directly from command line and completely differently
if run from any other Dos Program !

- Raw text -


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