From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Detecting CPU type and Speed Date: Tue, 20 May 1997 18:59:19 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 18 Message-ID: <3381F487.5F32@cs.com> References: <33810891 DOT 358022513 AT 157 DOT 19 DOT 254 DOT 247> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp106.cs.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 Patrick G. Kutch wrote: > > Does anybody have a piece of code that will work with DJGPP to report > the CPU type and or Speed? Get DJVERIFY v0.33 from , and examine the file 'cpu.c' for examples of detecting both CPU type and presence of an FPU. If you like, I can email you that file privately. I don't know how to detect data like CPU speed, manufacturer, etc. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto: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 | ---------------------------------------------------------------------