Mail Archives: djgpp-workers/2000/04/28/17:52:07
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 -