DOS/32 Advanced DOS Extender - D32A C/C++ Run-Time Library Reference
2.10 - DOS/32 Advanced D32A Library function - d32a_get_cpu_type()
Synopsys:
#include <d32a.h>
int d32a_get_cpu_type(void);
Description:
This function allows you to determine the processor type installed into
the computer. Additionally, when the CPU type is 5 or greater (Pentium class
processors) this function will fill the _cpu_equipment variable with
information about features supported by the processor (such as MMX, CMOV,
APIC etc). See D32A library header file for more information.
Returns:
The CPU type where:
0 thru 2 N/A
3 is 80386
4 is 80486
5 is Pentium (or compatible 5x86)
6 is Pentium Pro or Pentium II
(other numbers are reserved for future processors)
Copyright © DOS/32 Advanced Team 1996-2002 All Rights Reserved
|