Date: Wed, 11 Sep 1996 08:19:28 +0200 (IST) From: Eli Zaretskii To: Brennan The Reverend Bas Underwood Cc: djgpp AT delorie DOT com Subject: Re: coprocessor In-Reply-To: <511put$ne@mack.rt66.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 9 Sep 1996, Brennan The Reverend Bas Underwood wrote: > I'm not the original poster, but I'd like to be able to issue a warning > when I detect "coprocessor not present" for my current project. It'll > still work w/emulation, just much slower. I noticed Quake will flat > out refuse to run with 387=N set. There is a function called `_detect_80387' (I think it's public, but if not, you can find its source in the library sources) that the DJGPP startup code calls to find out if there is an FPU. I guess you can just call it (it returns zero if there is no FPU, non-zero otherwise).