Page 1 of 1

Processor Speed...

Posted: Wed Feb 28, 2001 12:00 am
by MasterMind
Hello fellow OS coders,
I have a rather stupid question for you...

I'm writing an OS all in assembly (NASM) and
was wondering if anyone out there has some code
that will tell me the processor type and speed.


Thank you...

RE:Processor Speed...

Posted: Wed Feb 28, 2001 12:00 am
by Chase
>On 2001-02-28 20:31:52, MasterMind wrote:

>was wondering if anyone out there has some code
>that will tell me the processor type and speed.

not sure how up to date it is but try
http://www.programmersheaven.com/zone5/cat20/
and look for cpu115.zip

RE:Processor Speed...

Posted: Sat Aug 11, 2001 11:00 pm
by Crystalline
>On 2001-02-28 20:31:52, MasterMind wrote:
>Hello fellow OS coders,
>I have a rather stupid question for you...
>
>I'm writing an OS all in assembly (NASM) and
>was wondering if anyone out there has some code
>that will tell me the processor type and speed.
>
>
>Thank you...

The safest and most accurate way is to use the CPUID
instruction(486+) you can search at developer.intel.com
for the CPUID functions