Article View: comp.sys.intel
Article #518How can I identify CPU types ??
From: Gary Schmidt
Date: Sun, 23 Aug 1992 13:27
Date: Sun, 23 Aug 1992 13:27
23 lines
1353 bytes
1353 bytes
I want to be able to programmatically identify which variation of the Intel 80x86 my program is running on, without having to use protected mode instructions. I would like some assemby code that I can assemble for any OS, be it MeSsy-DOS, *NIX, PICK, OS/2, ... etcetera, that does not need any high privs to be run, and will tell me whether I am on an 8086, 80286, 80386, or an 80486. I really want something that will allow me to determine the difference between a '386 and a '486, not so much whether it's an SX step or not, but whether it is a '486. Please bear in mind that I do not want to switch the processor in and out of various modes, and I want the sort of stuff that could be linked into any piece of code. Cheers, Gary B-) -- ______________________________________________________________________________ Gary R. Schmidt Internet/ACSNet/FishNet: grs@werple.pub.uu.oz.au ______________________________________________________________________________
Technical Details
Message-ID:
<1992Aug23.132751.2011@werple.pub.uu.oz.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!labtam!eyrie!werple!grsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!labtam!eyrie!werple!grs From: grs@werple.pub.uu.oz.au (Gary Schmidt) Newsgroups: comp.sys.intel Subject: How can I identify CPU types ?? Message-ID: <1992Aug23.132751.2011@werple.pub.uu.oz.au> Date: 23 Aug 92 13:27:51 GMT Followup-To: poster Organization: Werple public-access Unix, Melbourne Lines: 23