2006-11-28 18:54:36 +03:00
|
|
|
;******************************************************************************
|
|
|
|
; project name: CPUID
|
|
|
|
; target platform: KolibriOS, x86 (IA-32), x86-64 achitectures
|
2013-10-27 02:33:12 +04:00
|
|
|
; compability: CPUID works in MS Windows by means of emulator KlbrInWin from Diamond http://board.kolibrios.org/viewtopic.php?f=23&t=1273
|
|
|
|
; compiler: flat assembler 1.70.03
|
2016-08-18 05:06:21 +03:00
|
|
|
; version: 2.29
|
|
|
|
; last update: 12 October 2014
|
2006-11-28 18:54:36 +03:00
|
|
|
; maintained by: Sergey Kuzmin aka Wildwest
|
|
|
|
; e-mail: kuzmin_serg@list.ru
|
|
|
|
; site: http://coolthemes.narod.ru/files.html
|
|
|
|
;******************************************************************************
|
|
|
|
; Summary:
|
2013-10-27 02:33:12 +04:00
|
|
|
; supported vendors - Intel, AMD, VIA, Cyrix, IDT (Centaur),Transmeta, Vortex86
|
2006-11-28 18:54:36 +03:00
|
|
|
; displayed features - CPU frequency;
|
|
|
|
; Internal Name;
|
|
|
|
; Multiplier and System Clock frequency;
|
|
|
|
; Standard and Extended Features;
|
|
|
|
; CPU signature (family, model,stepping);
|
|
|
|
; Codename;
|
|
|
|
; L1, L2 and L3 Caches;
|
|
|
|
; Technology;
|
|
|
|
; CPU Vendor;
|
|
|
|
; Type and Brand ID;
|
|
|
|
; Logo for Vendors;
|
|
|
|
; calculation of PR-rating for AMD AthlonXP;
|
|
|
|
; Amout of RAM (available and total)
|
|
|
|
; Highest input values for standard and extended calls
|
|
|
|
; performed tests - Performance test (RSA encoding)
|
|
|
|
;******************************************************************************
|
2007-02-04 04:47:46 +03:00
|
|
|
;"To do" plans:
|
|
|
|
; actual use of Brand ID for description of Intel's CPU, i.e. Celeron/Pentium separation;
|
|
|
|
; remove support of Cyrix and early Centaur (IDT) - they are too old, rare and non-standard;
|
|
|
|
; Sempron detection - probably they supports Brand-ID;
|
|
|
|
; update caches descriptors for intel Core 1/2
|
|
|
|
; quantity of logical CPU/cores - requires APIC ID analysis
|
|
|
|
; newest AMD/Intel codename detection
|
2013-10-27 02:33:12 +04:00
|
|
|
; improve support of Vortex86
|
2007-02-04 04:47:46 +03:00
|
|
|
;******************************************************************************
|
2006-11-28 18:54:36 +03:00
|
|
|
;HISTORY:
|
2016-08-18 05:32:55 +03:00
|
|
|
;2.5: CPUID 15/08/2016 (not finished)
|
|
|
|
;Authors:
|
|
|
|
; Manasi Thakkar aka mat1854
|
|
|
|
;Features:
|
|
|
|
; (+) added saving of features from fork version 2.26pre in log
|
|
|
|
; (+) fixed redraw bug, which appears if user execute save dialog
|
|
|
|
; Known issues: Sempron marked as AthlonXP
|
|
|
|
; second window doesn't closed when you close main window
|
|
|
|
; incorrect cache detection for several models of newest Intel CPU, because they designed for another cache detection approach
|
|
|
|
;-----------------------------------------------------------------------------
|
|
|
|
;2.4: CPUID 09/08/2016
|
|
|
|
;Authors:
|
|
|
|
; Artem Azhbakov aka marting422
|
|
|
|
; Nikita Moiseev aka Powerdogesss
|
|
|
|
; Manasi Thakkar aka mat1854
|
|
|
|
; Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
|
|
|
;Features:
|
|
|
|
; (+) added detection of Intel Arrandale
|
|
|
|
; (+) save log in text file;
|
|
|
|
; (+) use Extended models to turn off multiplier detection for CPU's, which aren't supported;
|
|
|
|
; (+) show multiplier numbers, if we detect something and show n/a, if we don't;
|
|
|
|
; (+) merging of different versions from GSOC students;
|
|
|
|
; (+) added detection of codenames for new Intel CPUs: IvyBridge, SandyBridge-E, Gulftown, Westmere-EX, Clarksfield, Bloomfield,Nehalem-EX, Yorkfield, Dunnington, Clovertown, Merom Conroe, Cedar Mill, Nocona Irwindale, NoconaIrwindale, Dothan, Cedarview, Lincroft and Pineview.
|
|
|
|
; (+) added detection of AMD k-10 series: AMD Athlon 7750 Black Edition, Opteron 2300-series, Opteron 8300-series, Phenom X4, Phenom X3, Athlon X2, Sempron, Opteron (Shanghai) 2387, Opteron (Magny-Cours), Opteron (Shanghai) 8300 series, Turion II.
|
|
|
|
; (+) fixed duplication in txt file
|
|
|
|
; (+) save Codename in text file;
|
|
|
|
; (+) fixed abstact examples in visualisation block for RSA encoding performance test
|
|
|
|
;Known issues: Sempron marked as AthlonXP
|
|
|
|
; second window doesn't closed when you close main window
|
|
|
|
; incorrect cache detection for several models of newest Intel CPU, because they designed for another cache detection approach
|
|
|
|
;-----------------------------------------------------------------------------
|
2016-08-18 05:06:21 +03:00
|
|
|
;2.3: CPUID 12/10/2014 (not finished)
|
2007-05-21 19:23:13 +04:00
|
|
|
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
2013-10-27 02:33:12 +04:00
|
|
|
; Pavel Rymovskiy aka Heavyiron <Heavyiron@pisem.net>
|
|
|
|
; fedesco
|
2007-05-21 19:23:13 +04:00
|
|
|
;Features:
|
2013-10-27 02:33:12 +04:00
|
|
|
; (+) 'choose FSB' button removed and related code changed in the way it would use FSB value detected by Ghost's code;
|
|
|
|
; (+) fixed calculation of Extended model for newest Intel;
|
|
|
|
; (+) initial support of new vendor Vortex86 - logo, caches, technology;
|
|
|
|
; (+) Italian translation by fedesco;
|
|
|
|
; (+) makefile for *nix by fedesco;
|
|
|
|
; (+) new cache descriptors for Intel;
|
|
|
|
; (+) fixed typo, which makes output of Brand ID for AMD CPU's at incorrect place by Heavyiron;
|
2007-05-21 19:23:13 +04:00
|
|
|
; (+) fixed typo, which makes selection of incorrect codename for AMD F8x CPU's;
|
2016-08-18 05:06:21 +03:00
|
|
|
; (+) added detection of Extended Model for Intel's CPU and example of it's use
|
2007-05-21 19:23:13 +04:00
|
|
|
;Known issues: Sempron marked as AthlonXP
|
|
|
|
; second window doesn't closed when you close main window
|
2013-10-27 02:33:12 +04:00
|
|
|
; incorrect multiplier detection for newest CPU
|
|
|
|
; incorrect cache detection for several models of newest Intel CPU, because they designed for another cache detection approach
|
2007-05-21 19:23:13 +04:00
|
|
|
;-----------------------------------------------------------------------------
|
|
|
|
;2.2: CPUID 01/05/2007
|
2007-02-04 04:47:46 +03:00
|
|
|
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
|
|
|
; Iliya Mikhailov aka Ghost <Ghost.nsk@gmail.com>
|
|
|
|
; /^S0rG^\ <s0rg@ngs.ru>
|
2007-05-21 19:23:13 +04:00
|
|
|
; Pavel Rymovskiy aka Heavyiron <Heavyiron@pisem.net>
|
|
|
|
; Leency <Leency@email.ua>
|
2006-11-28 18:54:36 +03:00
|
|
|
;Features:
|
2007-05-21 19:23:13 +04:00
|
|
|
; (+) creative work by Leency - logos now much better and they take less size;
|
|
|
|
; (+) changes from Heavyiron: client-relative drawing, title with function 0. It means the end of compatibility with MenuetOS!
|
2007-04-04 14:14:06 +04:00
|
|
|
; (+) real-time RAM monitoring (previous versions showed changed amount of available RAM only at redraw event or CPUID window activation);
|
2007-02-04 04:47:46 +03:00
|
|
|
; (+) fixed address of LAHF feature, added detection of CMPL, SVM, MOVCR8 technologies for AMD;
|
|
|
|
; (+) fixed L2 cache size detection for VIA (they changed format from 8 bits to 16 bits several years ago);
|
|
|
|
; (+) more macroses for Interface and Threads (from Menuett.inc written by /^S0rG^\, 2002), sources separated into several include files;
|
|
|
|
; (++) more info about caches for VIA and Transmeta;
|
|
|
|
; (+) added detection of DCA, SSSE3, VMX technologies for Intel;
|
|
|
|
; (+) updated multiplier detection for AMD and Intel (thanks a lot to Ghost);
|
|
|
|
;Known issues: Sempron marked as AthlonXP
|
|
|
|
; second window doesn't closed when you close main window
|
|
|
|
;-----------------------------------------------------------------------------
|
|
|
|
;2.1: CPUID 10/01/2007
|
|
|
|
;Author: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
|
|
|
;Features:
|
|
|
|
; (++) more info about caches for AMD and Intel
|
|
|
|
; (+) redesign
|
|
|
|
; (+) fixes for names of some extended features
|
|
|
|
; (+) fixed missing technology for some AMD64 cpu's
|
2006-11-28 18:54:36 +03:00
|
|
|
; (+) detection of dual-core AMD Opteron, but I came to conclusion that detection of AMD Fxxh CPU's should be changed (don't know how yet)
|
|
|
|
; (+) new caches for Intel
|
|
|
|
; (+) fixed Celeron detection based on L2 cache size for newest Intel CPU (there are Celeron models with 512 Kb);
|
|
|
|
; (+) CPUID now display System Clock with accuracy 0.01 MHz;
|
|
|
|
; (+) new logo for Intel (they changed it some time ago);
|
|
|
|
;Known issues: Sempron marked as AthlonXP
|
|
|
|
; second window doesn't closed when you close main window
|
|
|
|
;-----------------------------------------------------------------------------
|
|
|
|
;2.0: CPUID 31/10/2006
|
2007-05-21 19:23:13 +04:00
|
|
|
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
2006-11-28 18:54:36 +03:00
|
|
|
; Eugeniy Grechnikov aka Diamond <diamondz@land.ru>
|
|
|
|
; Iliya Mikhailov aka Ghost <Ghost.nsk@gmail.com>
|
|
|
|
;Features:
|
|
|
|
; (+) detection of Brand ID of AMD CPU's (Opteron etc - not finished)
|
|
|
|
; (+) detection of Extended family and Model of AMD CPU's
|
|
|
|
; (+) interface+(redesign)
|
|
|
|
; (+) calculation of System Clock
|
|
|
|
; (++) added multiplier detection for AMD and Intel (thanks a lot to Ghost)
|
|
|
|
; (+) optimization of GIF decoder, code cleanup and bugfix by Diamond;
|
|
|
|
; (+) fixed bug with MMX+ detection for Cyrix CPU (in second window;
|
|
|
|
; it was properly recognized in main window);
|
|
|
|
; (+) we show appropiate message in second window if Extended Features
|
|
|
|
; ($8000_000x) aren't available;
|
|
|
|
; (+) we mark unknown CPU models as "Next generation CPU";
|
|
|
|
;Known issues: Sempron marked as AthlonXP
|
|
|
|
; second window doesn't closed when you close main window
|
|
|
|
;-----------------------------------------------------------------------------
|
|
|
|
;1.1: CPUID 17/03/2006
|
|
|
|
;Author: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
|
|
|
;Features:
|
|
|
|
; (+) performance test now runs after click at "Press for more" button => we start app without test, i.e.
|
|
|
|
; immediately, but application can be unstable during multiple switching between windows(need testing)
|
|
|
|
; (++) added detection of total and available amount of RAM (would work only in KolibriOS)
|
|
|
|
; (++) added detection of extended family and model (not shown, but if you want...);
|
|
|
|
; (++) added detection of effective family and model;
|
|
|
|
; (+) more codenames: Intel Tejas, Presler, Yonah, Conroe;
|
|
|
|
; (+) more codenames: AMD Toledo;
|
|
|
|
; (+) interface+(redesign).
|
|
|
|
;Bugs: probably some non-critical graphical issues
|
|
|
|
;Known issues: Sempron is not supported (marked as AthlonXP)
|
|
|
|
;-----------------------------------------------------------------------------
|
|
|
|
;1.0: CPUID 26/09/2005
|
2007-05-21 19:23:13 +04:00
|
|
|
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
2007-02-04 04:47:46 +03:00
|
|
|
; Marat Zakiyanov aka Mario79 <mario79@bk.ru>
|
2006-11-28 18:54:36 +03:00
|
|
|
; Andrey Halyavin aka halyavin <halyavin@land.ru>
|
|
|
|
;Features:
|
|
|
|
; (+) fixed bug, when processor doesn't support extented features and program don't report 'no' in such case
|
|
|
|
; (+) fixed bug in CPU Type detection
|
|
|
|
; (+) fixed bug, when program crashes on AMD AthlonXP when after click on 'Press for more' button
|
|
|
|
; you click on 'Choose FSB' button;
|
|
|
|
; (+) added output of highest standard and extended calls
|
|
|
|
; (+) Extended Features(phase 1 - big part of AMD/Intel specific EF)
|
|
|
|
; (+) reworked P-rating calculation for AMD AthlonXP ->
|
|
|
|
; now one program for 266, 333, 400 MHz FSB
|
|
|
|
; (but unstable - see Bugs section)
|
|
|
|
; (+) support for Intel F5x, renamed C3(Esther) to C7(Esther)
|
|
|
|
; (+) more codenames
|
|
|
|
; (Intel: new Prescott's model; Dothan; VIA: Esther;
|
|
|
|
; AMD: Newcastle, Paris, Winchester, San Diego, Venice, Palermo)
|
|
|
|
; (+) performance test (RSA encoding, fixed-point arithmetics)
|
|
|
|
; by Andrey Halyavin
|
|
|
|
; (+) interface+(thanks to Mario79 for additional window
|
|
|
|
; and to me for nice button)
|
|
|
|
;Bugs: probably some non-critical graphical issues
|
|
|
|
;Known issues: Sempron is not supported (marked as AthlonXP)
|
|
|
|
;-----------------------------------------------------------------------------
|
|
|
|
;0.9: CPUID 24/01/2005
|
2007-05-21 19:23:13 +04:00
|
|
|
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
2007-02-04 04:47:46 +03:00
|
|
|
; Madis Kalme aka Madis731 <madis.kalme@mail.ee>
|
2006-11-28 18:54:36 +03:00
|
|
|
; Jeffrey Amelynck aka Profkid <the_adams_familie@hotmail.com>
|
|
|
|
;Features:
|
|
|
|
; (+) deleting leading whitespaces in Intel P4's internal name
|
|
|
|
; by Madis Kalme
|
|
|
|
; (+) all standard features
|
|
|
|
; (+) more codenames (Transmeta series)
|
|
|
|
; (+) caches for Cyrix
|
|
|
|
; (+) Brand ID for Intel
|
|
|
|
; (+) detect L3 cache for Intel
|
|
|
|
; (+) detect Xeon (will be improved later, at this moment see Brand)
|
|
|
|
; (+) interface+(redesign and grafical logos for vendors)
|
|
|
|
; (+) MMX+ test for Cyrix
|
|
|
|
; (+) Type for Intel
|
|
|
|
;Bugs: no !!!
|
|
|
|
;Known issues: Sempron is not supported (marked as AthlonXP)
|
|
|
|
; caches for IDT is not detected
|
|
|
|
;-----------------------------------------------------------------------------
|
2007-02-04 04:47:46 +03:00
|
|
|
;early history was removed; download any old version of CPUID and read it, if you want
|
2006-11-28 18:54:36 +03:00
|
|
|
;*****************************************************************************
|