Hi, I wrote a nice small tool called CPULEVEL. Tyler was looking for
a tiny tool which would detect the CPU family (e.g. 4 for 486) but
all the tools out there were very big or outdated. The next best tool
is something like 50k in size and displays ALL CPUID info, including
cache size and stuff. Some URLs:

http://www.liaokai.com/softw_en/test.htm

http://cyberia.dnsalias.com/Cyb.11.Htm ->
ftp://cyberia.dnsalias.com/pub/filebase/utils/CPUID112.ZIP (only 28k zip)


My new small program (written in NASM, public domain) displays this:

C:\HOME\RAMDISK>cpulevel
CPULEVEL - public domain by Eric Auer 2004
CPU brand is AuthenticAMD / CPU is family 5 model 8 revision c
        CPUID level 1 EAX_.... EBX_.... ECX_.... EDX_....
          values are: 0000058c 00000000 00000000 008021bf
List of supported CPUID level 1 defined features:
  [FLOATING POINT UNIT]  [VME FLAGS]  [dbe]  [Page Size Ext.]
  [TIME STAMP COUNTER]  [Pentium msr]  [mce]  [cmpxchg8b opcode]
  [global pages]  [MMX UNIT]
List of supported AMD specific features: [3DNow!]
This CPU calls itself: [AMD-K6(tm) 3D processor_________________________]
 
C:\HOME\RAMDISK>echo %errorlevel%
5
 

Fairly obvious, huh? :-)).

Note that if CPUID is not supported then no extra checks are done to
find a 486 CPU or a floating point unit. Reason: You get the info for
free from CPUID with newer 486 CPUs and above anyway. And the difference
386 <-> 486 is only in speed for most aspects. Adding a check for a
floating point unit on 808x ... i486 would be a nice bonus. If you feel
like writing one, go for it. Just put the result online yourself, I am
planning to leave CPULEVEL like it is for now.

Eric.

PS: I hear that Pentium III Tualatin is MUCH faster per MHz compared to
VIA C3 Nehemiah, which is more like Celeron. Energy saving sometimes is
harder than you think (Athlon64 and PentiumM/Centrino are exp*nsive and
AMD K6 is not blazingly fast either).




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to