Subversion Repositories Kolibri OS

Rev

Rev 223 | Blame | Last modification | View Log | Download | RSS feed

  1. ;******************************************************************************
  2. ; project name:    CPUID
  3. ; target platform: KolibriOS, x86 (IA-32), x86-64 achitectures
  4. ; compability:     probably some functions would work in MenuetOS 32 and MenuetOS 64, may be even in Miraculix;
  5. ;                  CPUID works in MS Windows by means of emulator from Diamond  (http://diamondz.land.ru)
  6. ; compiler:        flat assembler 1.67.5
  7. ; version:         2.17
  8. ; last update:     3rd February 2007
  9. ; maintained by:   Sergey Kuzmin aka Wildwest
  10. ; e-mail:          kuzmin_serg@list.ru
  11. ; site:            http://coolthemes.narod.ru/files.html
  12. ;******************************************************************************
  13. ; Summary:
  14. ;        supported vendors  - Intel, AMD, VIA, Cyrix, IDT (Centaur),Transmeta
  15. ;        displayed features - CPU frequency;
  16. ;                             Internal Name;
  17. ;                             Multiplier and System Clock frequency;
  18. ;                             Standard and Extended Features;
  19. ;                             CPU signature (family, model,stepping);
  20. ;                             Codename;
  21. ;                             L1, L2 and L3 Caches;
  22. ;                             Technology;
  23. ;                             CPU Vendor;
  24. ;                             Type and Brand ID;
  25. ;                             Logo for Vendors;
  26. ;                             calculation of PR-rating for AMD AthlonXP;
  27. ;                             Amout of RAM (available and total)
  28. ;                             Highest input values for standard and extended calls
  29. ;        performed tests    - Performance test (RSA encoding)
  30. ;******************************************************************************
  31. ;"To do" plans:
  32. ; actual use of Brand ID for description of Intel's CPU, i.e. Celeron/Pentium separation;
  33. ; remove support of Cyrix and early Centaur (IDT)  - they are too old, rare and non-standard;
  34. ; Sempron detection - probably they supports Brand-ID;
  35. ; update caches descriptors for intel Core 1/2
  36. ; quantity of logical CPU/cores - requires APIC ID analysis
  37. ; newest AMD/Intel codename detection
  38. ;******************************************************************************
  39. ;HISTORY:
  40. ;3.0: CPUID   03/02/2007 (not finished)
  41. ;Authors:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  42. ;            Iliya Mikhailov aka Ghost  <Ghost.nsk@gmail.com>
  43. ;            /^S0rG^\ <s0rg@ngs.ru>
  44. ;Features:  
  45. ;          (+)  fixed address of LAHF feature, added detection of CMPL, SVM, MOVCR8 technologies for AMD;
  46. ;          (+)  fixed L2 cache size detection for VIA (they changed format from 8 bits to 16 bits several years ago);
  47. ;          (+)  more macroses for Interface and Threads (from Menuett.inc written by /^S0rG^\, 2002), sources separated into several include files;
  48. ;          (++) more info about caches for VIA and Transmeta;
  49. ;          (+)  added detection of DCA, SSSE3, VMX technologies for Intel;
  50. ;          (+)  updated multiplier detection for AMD and Intel (thanks a lot to Ghost);
  51. ;Known issues: Sempron marked as AthlonXP
  52. ;              second window doesn't closed when you close main window
  53. ;-----------------------------------------------------------------------------
  54. ;2.1: CPUID   10/01/2007
  55. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  56. ;Features:        
  57. ;          (++) more info about caches for AMD and Intel
  58. ;          (+)  redesign
  59. ;          (+)  fixes for names of some extended features
  60. ;          (+)  fixed missing technology for some AMD64 cpu's
  61. ;          (+)  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)
  62. ;          (+)  new caches for Intel
  63. ;          (+)  fixed Celeron detection based on L2 cache size for newest Intel CPU (there are Celeron models with 512 Kb);
  64. ;          (+)  CPUID now display System Clock with accuracy 0.01 MHz;
  65. ;          (+)  new logo for Intel (they changed it some time ago);
  66. ;Known issues: Sempron marked as AthlonXP
  67. ;              second window doesn't closed when you close main window
  68. ;-----------------------------------------------------------------------------
  69. ;2.0: CPUID   31/10/2006
  70. ;Authors:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  71. ;           Eugeniy Grechnikov aka Diamond <diamondz@land.ru>
  72. ;           Iliya Mikhailov aka Ghost  <Ghost.nsk@gmail.com>
  73. ;Features:
  74. ;          (+)  detection of Brand ID of AMD CPU's (Opteron etc - not finished)
  75. ;          (+)  detection of Extended family and Model of AMD CPU's
  76. ;          (+)  interface+(redesign)
  77. ;          (+)  calculation of System Clock
  78. ;          (++) added multiplier detection for AMD and Intel (thanks a lot to Ghost)
  79. ;          (+)  optimization of GIF decoder, code cleanup and bugfix by Diamond;
  80. ;          (+)  fixed bug with MMX+ detection for Cyrix CPU (in second window;
  81. ;               it was properly recognized in main window);
  82. ;          (+)  we show appropiate message in second window if Extended Features
  83. ;              ($8000_000x) aren't available;
  84. ;          (+)  we mark unknown CPU models as "Next generation CPU";
  85. ;Known issues: Sempron marked as AthlonXP
  86. ;              second window doesn't closed when you close main window
  87. ;-----------------------------------------------------------------------------
  88. ;1.1: CPUID   17/03/2006
  89. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  90. ;Features:
  91. ;          (+)  performance test now runs after click at "Press for more" button => we start app without test, i.e.
  92. ;               immediately, but application can be unstable during multiple switching between windows(need testing)
  93. ;          (++) added detection of total and available amount of RAM (would work only in KolibriOS)
  94. ;          (++) added detection of extended family and model (not shown, but if you want...);
  95. ;          (++) added detection of effective family and model;
  96. ;          (+)  more codenames: Intel Tejas, Presler, Yonah, Conroe;
  97. ;          (+)  more codenames: AMD Toledo;
  98. ;          (+)  interface+(redesign).
  99. ;Bugs:  probably some non-critical graphical issues
  100. ;Known issues: Sempron is not supported (marked as AthlonXP)
  101. ;-----------------------------------------------------------------------------
  102. ;1.0: CPUID   26/09/2005
  103. ;Authors:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  104. ;           Marat Zakiyanov aka Mario79 <mario79@bk.ru>
  105. ;           Andrey Halyavin aka halyavin <halyavin@land.ru>
  106. ;Features:
  107. ;          (+) fixed bug, when processor doesn't support extented features and program don't report 'no' in such case
  108. ;          (+) fixed bug in CPU Type detection
  109. ;          (+) fixed bug, when program crashes on AMD AthlonXP when after click on 'Press for more' button
  110. ;              you click on 'Choose FSB' button;
  111. ;          (+) added output of highest standard and extended calls
  112. ;          (+) Extended Features(phase 1 - big part of AMD/Intel specific EF)
  113. ;          (+) reworked P-rating calculation for AMD AthlonXP ->
  114. ;              now one program for 266, 333, 400 MHz FSB
  115. ;              (but unstable - see Bugs section)
  116. ;          (+) support for Intel F5x, renamed C3(Esther) to C7(Esther)
  117. ;          (+) more codenames
  118. ;             (Intel: new Prescott's model; Dothan;  VIA: Esther;
  119. ;              AMD: Newcastle, Paris, Winchester, San Diego, Venice, Palermo)
  120. ;          (+) performance test (RSA encoding, fixed-point arithmetics)
  121. ;              by Andrey Halyavin
  122. ;          (+) interface+(thanks to Mario79 for additional window
  123. ;              and to me for nice button)
  124. ;Bugs:  probably some non-critical graphical issues
  125. ;Known issues: Sempron is not supported (marked as AthlonXP)
  126. ;-----------------------------------------------------------------------------
  127. ;0.9: CPUID   24/01/2005
  128. ;Authors:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  129. ;           Madis Kalme aka Madis731 <madis.kalme@mail.ee>
  130. ;           Jeffrey Amelynck aka Profkid <the_adams_familie@hotmail.com>
  131. ;Features:
  132. ;          (+) deleting leading whitespaces in Intel P4's internal name
  133. ;              by Madis Kalme
  134. ;          (+) all standard features
  135. ;          (+) more codenames (Transmeta series)
  136. ;          (+) caches for Cyrix
  137. ;          (+) Brand ID for Intel
  138. ;          (+) detect L3 cache for Intel
  139. ;          (+) detect Xeon (will be improved later, at this moment see Brand)
  140. ;          (+) interface+(redesign and grafical logos for vendors)
  141. ;          (+) MMX+ test for Cyrix
  142. ;          (+) Type for Intel
  143. ;Bugs:     no !!!
  144. ;Known issues: Sempron is not supported (marked as AthlonXP)
  145. ;              caches for IDT is not detected
  146. ;-----------------------------------------------------------------------------
  147. ;early history was removed; download any old version of CPUID and read it, if you want
  148. ;*****************************************************************************