OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 23, 2024 2:39 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Processor Speed...
PostPosted: Wed Feb 28, 2001 12:00 am 
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...


Top
  
 
 Post subject: RE:Processor Speed...
PostPosted: Wed Feb 28, 2001 12:00 am 
>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


Top
  
 
 Post subject: RE:Processor Speed...
PostPosted: Sat Aug 11, 2001 11:00 pm 
>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


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: austanss, Bing [Bot], Google [Bot], SemrushBot [Bot] and 114 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group