Xref: utzoo comp.os.msdos.programmer:1331 comp.sys.ibm.pc.misc:2338 Path: utzoo!attcan!uunet!seismo!dimacs.rutgers.edu!mips!sdd.hp.com!zaphod.mps.ohio-state.edu!swrinde!emory!arasmith From: arasmith@mathcs.emory.edu (David Arasmith) Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.misc Subject: Find CPU type Keywords: 8086,8088,80286,80386 (don't need to know NEC's) Message-ID: <6367@emory.mathcs.emory.edu> Date: 5 Oct 90 12:39:43 GMT Followup-To: alt.msdos.programmer Organization: Math & Computer Science, Emory University, Atlanta, GA Lines: 17 I have a fairly pressing need to learn how to determine CPU type from inside a C program. I can look at the equipment list etc. to find all kinds of other hardware in the box but I have NOT been able to find a good (or not so good) method for CPU detection. I would greatly appreciate some assistance: pointers, code fragments, amusing anecdotes. Email or posting, whatever you feel like (I will get to email faster). Thanks -- David M. Arasmith | arasmith@mathcs.emory.edu Internet Emory University | {sun!sunatl,gatech}!emory!arasmith UUCP Dept of Math and CS | Atlanta, GA 30322 | I should be working! Gee....I wonder what's on TV?