Source to detect which intel chip is in a computer - Detects the processor for sure, but does it by checking for invalid opcodes.
#include <std_disclaimer.h>
(Translation: Whatever happens (bad or good) when you use this stuff, it
ain't my fault. Use at own risk, no nutritional value, prolonged exposure
may lead to cerebral herpes, etc...etc...etc...).
Here's a quick little program to determine what CPU you've got, along with
all the source code.
used Borland Pascal 7 and Tasm 3.2 to create all this. It SHOULD work on
TP7, but probably won't on TP6 or less (I used some null-terminated strings).
If you've got any Komments, Kwestions, Koncerns, or any other K-words (as one
of my high school physics teachers used to put it), you can get in touch with
me as follows:
Snail mail:
Marc Buchmann
47 Lindsay Drive
Saskatoon, SK S7H 3E2
Canada
E-mail:
mbb190@engr.usask.ca
or, if that bounces:
heinz@skatter.usask.ca, Subject: For Marc
Note: This is my dad's e-mail.
IRC: (on the rare occasions that I actually go onto EFnet): DrS