From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: FPU detection code Date: Thu, 24 Oct 1996 22:20:43 -0700 Organization: Three pounds of chaos and a pinch of salt Lines: 17 Message-ID: <32704E2B.2051@cs.com> References: <326FFC7C DOT 15D1 AT ananke DOT amu DOT edu DOT pl> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp211.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: grendel AT ananke DOT amu DOT edu DOT pl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Mark Habersack wrote: > > Here's the promised FPU detection code. I post it both in original asm and > DJGPP inline asm forms. Code (AFAIK) originally comes from Intel and it > worked on all computers I have tested it against. Note that it assumes > it's being run on at least 386. The code uses FPU opcodes but it DOES NOT > require any FPU emulation. It works! Thanks much; that's a nice bit of functionality to add to DJVERIFY. ;) -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Proud owner of what might one | http://www.cs.com/fighteer | | day be a spectacular MUD... | Plan: To make Bill Gates suffer | ---------------------------------------------------------------------