News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

MS-DOS CpuID Program

Started by TomRiddle, January 25, 2007, 11:59:30 AM

Previous topic - Next topic

anon

 -=- Starting Probe Log -=-
- CPU Detection Start -
CpuID Supported (586+)
Cpu Vendor: GenuineIntel
Max Arguments: 10           
Cpu Family-Model-Stepping: 6-148
Cpu Type: Primary Processor
Extended Family-Model: 0 -0
Brand ID: 0 
CFlush 8-Byte Chunk Count: 8 
Cpu Count: 2 
APIC ID: 1
-=- Features -=-
SSE3 - Streaming SIMD Extension 3
MON - Monitor/MWait
EST - Enhanced SpeedStep Technology
TM2 - Thermal Monitor 2
ETPRD - ETPRD
FPU - Floating Point Unit
VME - V86/Virtual Mode Extensions
DE - Debugging Extensions
PSE - Page Size Extensions
TSC - Time Stamp Counter
MSR - Model Specific Registers
PAE - Physical Address Extensions
MCE - Machine Check Exception
CX8 - Compare and Exchange 8-Byte
APIC - Local APIC On Chip
SEP - Fast System Call
MTRR - Memory Type Range Registers
PGE - Page Global Enable
MCA - Machine Check Architecture
CMOV - Conditional Move Instructions
PAT - Page Attribute Table
CFLSH - Cache Flush
DTES - Debug Trace and EMON Store MSRs
ACPI - Software Clock Control
MMX - MultiMedia Extensions
FXSR - Fast Floating Point Save/Restore
SIMD - Streaming SIMD Extensions
SSE2 - Streaming SIMD Extensions 2
SELFSNOOP - Self-Snoop
HTT - Hyper-Threading Technology
TM - Thermal Monitor
PBE - Pending Break Event

Extended CpuID Max Arguments: 8           
Extended Family-Model-Stepping: 0 -0 -0
Extended Family-Model: 0  -0
-=- Extended Features -=-

Extended CPU Name: Genuine Intel(R) CPU           T2250  @ 1.73GHz
- CPU Detection Start -
-=- Finished Probe Log -=-

TomRiddle

Took me a few days, but I did update alot of the code, here is the modified version with ALL source code included :)

Ohh, and the code deserves a look, its 100% MASM-Compatible  :red

Still needs sharpened up, more features listed, and branch's for processor-specific flags.


-=- Starting Probe Log -=-
- CPU Detection Start -
CpuID Supported (586+)
Cpu Vendor: AuthenticAMD
Max Arguments: 00000001     
Cpu Family-Model-Stepping: 06-02-01
Cpu Type: Primary Processor
Extended Family-Model: 00-00
Brand ID: 00
CFlush 8-Byte Chunk Count: 00
Cpu Count: 00
APIC ID: 00
-=- Features -=-
FPU - Floating Point Unit
VME - V86/Virtual Mode Extensions
DE - Debugging Extensions
PSE - Page Size Extensions
TSC - Time Stamp Counter
MSR - Model Specific Registers
PAE - Physical Address Extensions
MCE - Machine Check Exception
CX8 - Compare and Exchange 8-Byte
SEP - Fast System Call
MTRR - Memory Type Range Registers
PGE - Page Global Enable
MCA - Machine Check Architecture
CMOV - Conditional Move Instructions
PAT - Page Attribute Table
PSE36 - 36-Bit Page Size Extenions
MMX - MultiMedia Extensions
FXSR - Fast Floating Point Save/Restore

Extended CpuID Max Arguments: 00000006     
Extended Family-Model-Stepping: 07-02-01
Extended Family-Model: 00 -00
-=- Extended Features -=-
FPU - Co-Processor Built In
VME - Virtual Mode Extensions
DE - Debugging Extensions
PSE - Page Size Extension
TSC - Time Stamp Counter
MSR - Model Specific Registers
PAE - Physical Address Extension
MCE - Machine Check Exception
CX8 - Compare and Exchange 8-Byte
SEP - Fast System Call
MTRR - Memory Type Range Reg
PGE - Page Global Enable
MCA - Machine Check Architecture
CMOV - Conditionnal Move Instructions
FCMOV - FCMOVcc/F(U)COMI(P)
PSE36 - 36-Bit Page Size Extension
MMX+ - MMX-SSE and SSE-MEM
MMX - MMX
3DNow!+ - Extended 3DNow!
3DNow! - 3DNow!

Extended CPU Name: AMD Athlon(tm) Processor
- CPU Detection Start -
-=- Finished Probe Log -=-


Edit: Ignore line 99 of BSM\Core.mac  :dazzled:

[attachment deleted by admin]