delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/21/07:17:30

From: "John M. Aldrich" <fighteer AT cs DOT com>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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
<ftp://ftp.delorie.com/pub/djgpp/alpha/vrfy033a.zip>, 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 |
---------------------------------------------------------------------

- Raw text -


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