www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/16/10:59:46

Date: Fri, 16 Jul 93 09:30:35 CDT
From: "Jeremy Mathers" <pynq AT midway DOT uchicago DOT edu>
To: dj AT ctron DOT com
Subject: Re: How do I use emu387 only when necessary?
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

>> It seems that setting the "emu" field in the go32 environment  
>> variable automatically disables the 80387 and uses the emulator  
>> instead.  Without it, I expect that the program will crash on a  
>> non-387 equipped machine.

>One of the "future" projects for djgpp is to switch to a linked-in
>emulator instead of the go32-provided one.  The linked-in version
>could install itself only when it doesn't detect a real 80387.  This
>would also alleviate some of the code in go32.

>Currently, however, what you want to do is not possible.

I remember asking this question a long time ago - in the context of
"What will happen if I run a DJGPP compiled program that does floating
point on a 486 DX, but happen to have the emu field set in the GO32 var?"

At that time, I was told (by who I cannot remember) that it would use
the chip (i.e., would "do the right thing").  Was I misled?

- Raw text -


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