From: plushboy AT green DOT eggs DOT and DOT spam DOT maine DOT rr DOT com (Daniel T. Hall) Newsgroups: comp.os.msdos.djgpp Subject: Re: help! FPU emulation worries... (RHIDE?) Date: Wed, 21 May 1997 03:29:42 GMT Organization: Road Runner - Portland, ME Lines: 45 Message-ID: <33896c1b.24285139@news-server> References: NNTP-Posting-Host: dt2h5n1c.maine.rr.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Sun, 18 May 1997 14:25:09 GMT, Eli Zaretskii wrote: > >On Thu, 15 May 1997, Charles Sandmann wrote: > >> > Or is there any way for me to simulate the software FPU even when >> > I have a 486 DX? >> >> SET 387=n > >Last time I tried this on a 486DX, I couldn't make it behave as if there >were no FPU. I wrote a small program that was linked without an emulator, >and expected it to barf when I set 387=n and rename emu387.dxe, but it >happily ran to completion... That's odd. I upgraded my CPU from an Intel 486SX-66 to a Cyrix-p150 a while ago, and I got tons of errors (well, actually, one error repeatedly) later when I tried Quake. It turned out that Quake would refuse to recognize my now-present FPU and would refuse to run. After much hair-pulling (and an embarrassing amount of yelling "I have a f**&$^ing FPU, what is the REAL problem????"), I found the solution right in front of me: my old autoexec.bat which set 387=n (which I hadn't bothered to remove). No flames, please, for missing something so obvious. Quake ran fine after that, or at least as fine as Quake gets running on a Cyrix processor. :-( So, anyway, try Quake with 387=n. I'd be damn surprised if it works. I haven't tried any homebrewn progs with 387=n to see if it triggers the emulator, so maybe Quake uses a different algorithm for 387 detection (or the emu library explicitly ignores the 387 environment variable and performs a hardware check anyway). As always, YMMV. Hope this helps, and wasn't an utter waste of time and bandwidth for all involved. ---------------------------------------- I do not like green eggs and spam, I do not like them, Dan I am! To e-mail me, remove the green eggs and spam from my address. ----------------------------------------