Subversion Repositories Kolibri OS

Rev

Go to most recent revision | 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 (versions before 2.00) works in MS Windows by means of emulators
  6. ; compiler:        flat assembler 1.67.5
  7. ; version:         2.05
  8. ; last update:     1st November 2006
  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. ;HISTORY:
  32. ;2.1: CPUID   01/11/2006 (not finished)
  33. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  34. ;Features:  
  35. ;          (+)  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)
  36. ;          (+)  new caches for Intel
  37. ;          (+)  fixed Celeron detection based on L2 cache size for newest Intel CPU (there are Celeron models with 512 Kb);
  38. ;          (+)  CPUID now display System Clock with accuracy 0.01 MHz;
  39. ;          (+)  new logo for Intel (they changed it some time ago);
  40. ;Known issues: Sempron marked as AthlonXP
  41. ;              second window doesn't closed when you close main window
  42. ;-----------------------------------------------------------------------------
  43. ;2.0: CPUID   31/10/2006
  44. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  45. ;           Eugeniy Grechnikov aka Diamond <diamondz@land.ru>
  46. ;           Iliya Mikhailov aka Ghost  <Ghost.nsk@gmail.com>
  47. ;Features:
  48. ;          (+)  detection of Brand ID of AMD CPU's (Opteron etc - not finished)
  49. ;          (+)  detection of Extended family and Model of AMD CPU's
  50. ;          (+)  interface+(redesign)
  51. ;          (+)  calculation of System Clock
  52. ;          (++) added multiplier detection for AMD and Intel (thanks a lot to Ghost)
  53. ;          (+)  optimization of GIF decoder, code cleanup and bugfix by Diamond;
  54. ;          (+)  fixed bug with MMX+ detection for Cyrix CPU (in second window;
  55. ;               it was properly recognized in main window);
  56. ;          (+)  we show appropiate message in second window if Extended Features
  57. ;              ($8000_000x) aren't available;
  58. ;          (+)  we mark unknown CPU models as "Next generation CPU";
  59. ;Known issues: Sempron marked as AthlonXP
  60. ;              second window doesn't closed when you close main window
  61. ;-----------------------------------------------------------------------------
  62. ;1.1: CPUID   17/03/2006
  63. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  64. ;Features:
  65. ;          (+)  performance test now runs after click at "Press for more" button => we start app without test, i.e.
  66. ;               immediately, but application can be unstable during multiple switching between windows(need testing)
  67. ;          (++) added detection of total and available amount of RAM (would work only in KolibriOS)
  68. ;          (++) added detection of extended family and model (not shown, but if you want...);
  69. ;          (++) added detection of effective family and model;
  70. ;          (+)  more codenames: Intel Tejas, Presler, Yonah, Conroe;
  71. ;          (+)  more codenames: AMD Toledo;
  72. ;          (+)  interface+(redesign).
  73. ;Bugs:  probably some non-critical graphical issues
  74. ;Known issues: Sempron is not supported (marked as AthlonXP)
  75. ;-----------------------------------------------------------------------------
  76. ;1.0: CPUID   26/09/2005
  77. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  78. ;Additions: Marat Zakiyanov aka Mario79 <mario79@bk.ru>
  79. ;           Andrey Halyavin aka halyavin <halyavin@land.ru>
  80. ;Features:
  81. ;          (+) fixed bug, when processor doesn't support extented features and program don't report 'no' in such case
  82. ;          (+) fixed bug in CPU Type detection
  83. ;          (+) fixed bug, when program crashes on AMD AthlonXP when after click on 'Press for more' button
  84. ;              you click on 'Choose FSB' button;
  85. ;          (+) added output of highest standard and extended calls
  86. ;          (+) Extended Features(phase 1 - big part of AMD/Intel specific EF)
  87. ;          (+) reworked P-rating calculation for AMD AthlonXP ->
  88. ;              now one program for 266, 333, 400 MHz FSB
  89. ;              (but unstable - see Bugs section)
  90. ;          (+) support for Intel F5x, renamed C3(Esther) to C7(Esther)
  91. ;          (+) more codenames
  92. ;             (Intel: new Prescott's model; Dothan;  VIA: Esther;
  93. ;              AMD: Newcastle, Paris, Winchester, San Diego, Venice, Palermo)
  94. ;          (+) performance test (RSA encoding, fixed-point arithmetics)
  95. ;              by Andrey Halyavin
  96. ;          (+) interface+(thanks to Mario79 for additional window
  97. ;              and to me for nice button)
  98. ;Bugs:  probably some non-critical graphical issues
  99. ;Known issues: Sempron is not supported (marked as AthlonXP)
  100. ;-----------------------------------------------------------------------------
  101. ;0.9: CPUID   24/01/2005
  102. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  103. ;Additions: Madis Kalme aka Madis731 <madis.kalme@mail.ee>
  104. ;           Jeffrey Amelynck aka Profkid <the_adams_familie@hotmail.com>
  105. ;Features:
  106. ;          (+) deleting leading whitespaces in Intel P4's internal name
  107. ;              by Madis Kalme
  108. ;          (+) all standard features
  109. ;          (+) more codenames (Transmeta series)
  110. ;          (+) caches for Cyrix
  111. ;          (+) Brand ID for Intel
  112. ;          (+) detect L3 cache for Intel
  113. ;          (+) detect Xeon (will be improved later, at this moment see Brand)
  114. ;          (+) interface+(redesign and grafical logos for vendors)
  115. ;          (+) MMX+ test for Cyrix
  116. ;          (+) Type for Intel
  117. ;Bugs:     no !!!
  118. ;Known issues: Sempron is not supported (marked as AthlonXP)
  119. ;              caches for IDT is not detected
  120. ;-----------------------------------------------------------------------------
  121. ;0.8: CPUID     10/12/2004
  122. ;Author:   Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  123. ;Features: (+) CPUID now display frequency in Mhz with accuracy 0.01 MHz
  124. ;          (+) more codenames - Intel Itanium :-)
  125. ;          (+) display Internal Name
  126. ;          (+) caches for Intel Pentium
  127. ;          (+) Technology
  128. ;          (+) detect L1 Trace Instruction cache and some new caches for Intel
  129. ;          (+) detect Celerons based on Pentium III/4 kernels
  130. ;          (+) interface+(redesign) and Logo for Vendors
  131. ;          (+) fix for HTT detection on Celeron(it wasn't bug, just Intel's marketing)
  132. ;          (+) test for MMX+ and 3DNow!+
  133. ;Bugs:     no !!!
  134. ;Known issues: Sempron not supported (marked as AthlonXP)
  135. ;              Xeon is not fully supported (marked as Pentium except some models)
  136. ;-----------------------------------------------------------------------------
  137. ;0.7: CPUID     28/11/2004
  138. ;Author:   Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  139. ;Features: updated calculation of PR-rating for AMD AthlonXP,
  140. ;          more codenames (AMD series: Applebred, Thorton),
  141. ;          added L1 and L2 cache size detection,
  142. ;          fix for 3DNow! detection on non-AMD CPU's
  143. ;Bugs:     HTT detection on Celeron 4 (really Celeron 4 have HTT,
  144. ;          but Intel disabled it in microcode)
  145. ;-----------------------------------------------------------------------------
  146. ;0.6: CPUID     28/10/2004
  147. ;Author:   Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  148. ;Features: added calculation of PR-rating for AMD AthlonXP(on request of
  149. ;          RU-team), more codenames (VIA, Cyrix, IDT (Centaur) series),
  150. ;          interface+ (redesign), added output of CPU frequency in MHz,
  151. ;          fix for CPU clock detection (needs changes in kernel.asm),
  152. ;          fixed bugs which were founded during public testing,
  153. ;          decreased required memory 0x100000->0x340
  154. ;Bugs:     problem with 3DNow! detection on non-AMD CPU's (VIA C3 and others)
  155. ;-----------------------------------------------------------------------------
  156. ;0.5: CPUID     16/10/2004
  157. ;Author:   Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  158. ;Features: added test for Hyper-Threading Technology support,
  159. ;          more codenames (Intel and AMD series)
  160. ;          fasm 1.50 compability, interface+ (window type 2->3 and redesign)
  161. ;          fix for window redrawing bug
  162. ;Bugs:     error in CPU clock detection (cause: error in sysfunc 18 subfunc 5)
  163. ;-----------------------------------------------------------------------------
  164. ;0.4: CPUID     27/09/2004
  165. ;Author:   Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  166. ;Features: added processor codename's detection engine and little database of
  167. ;          codenames (P1 and K7)
  168. ;Bugs:     window redrawing bug, error in CPU clock detection
  169. ;-----------------------------------------------------------------------------
  170. ;0.3: CPUID     26/09/2004
  171. ;Author:   Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  172. ;Features: display CPU frequency; CPU Vendor;
  173. ;          CPU signature(family, model,stepping),
  174. ;          test for MMX,SSE,SSE2,SSE3,3DNow!
  175. ;Bugs:     window redrawing bug, error in CPU clock detection
  176. ;-----------------------------------------------------------------------------
  177. ;0.2:      TIMES from old OFFICIAL distribution 11/10/2001
  178. ;Author:   unknown hero (VT?)
  179. ;Features: display CPU frequency, CPU Vendor,
  180. ;          test for MMX, Process Management
  181. ;-----------------------------------------------------------------------------
  182. ;0.1:      CPUSPEED from OFFICIAL distribution  21/05/2001
  183. ;Author:   unknown hero (VT?)
  184. ;Features: display CPU frequency
  185. ;*****************************************************************************