delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/26/00:50:57

Date: Fri, 22 Aug 1997 12:01:12 -0600
From: pfrisbie AT geocities DOT com
Subject: Announce: CPU ID routines for DJGPP
Newsgroups: comp.os.msdos.djgpp
Message-ID: <872268672.24007@dejanews.com>
Reply-To: pfrisbie AT geocities DOT com
Organization: Deja News Posting Service
Lines: 32
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am releasing the source (C and asm) for my CPU ID routine. I originally
started writing it just to detect an MMX cpu, but I decided to make it
more useful for others to use. I have submitted the code to be included in
the next release of Allegro.

Features include:

Uses the cpuid instruction if supported

Detects 386 thru Pentium 2

Detects FPU

Detects MMX

Correctly detects Cyrix cpu's which do not support the cpuid instruction

Can be easily modified to detect more details as needed


The source code can be found on my web page at:
http://www.geocities.com/SiliconValley/Lakes/7220/

Phil

+-----------------------------------------------------------------+
|  Phil Frisbie's Programming Page- DJGPP,Games,3D,Visual Foxpro  |
|       http://www.geocities.com/SiliconValley/Lakes/7220/        |
+-----------------------------------------------------------------+

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet

- Raw text -


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