Subversion Repositories Kolibri OS

Rev

Rev 318 | 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 works in MS Windows by means of emulator KlbrInWin from Diamond  (http://diamondz.land.ru)
  6. ; compiler:        flat assembler 1.67.21
  7. ; version:         2.18
  8. ; last update:     1st April 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   01/04/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. ;          (+)  real-time RAM monitoring (previous versions showed changed amount of available RAM only at redraw event or CPUID window activation);
  46. ;          (+)  fixed address of LAHF feature, added detection of CMPL, SVM, MOVCR8 technologies for AMD;
  47. ;          (+)  fixed L2 cache size detection for VIA (they changed format from 8 bits to 16 bits several years ago);
  48. ;          (+)  more macroses for Interface and Threads (from Menuett.inc written by /^S0rG^\, 2002), sources separated into several include files;
  49. ;          (++) more info about caches for VIA and Transmeta;
  50. ;          (+)  added detection of DCA, SSSE3, VMX technologies for Intel;
  51. ;          (+)  updated multiplier detection for AMD and Intel (thanks a lot to Ghost);
  52. ;Known issues: Sempron marked as AthlonXP
  53. ;              second window doesn't closed when you close main window
  54. ;-----------------------------------------------------------------------------
  55. ;2.1: CPUID   10/01/2007
  56. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  57. ;Features:        
  58. ;          (++) more info about caches for AMD and Intel
  59. ;          (+)  redesign
  60. ;          (+)  fixes for names of some extended features
  61. ;          (+)  fixed missing technology for some AMD64 cpu's
  62. ;          (+)  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)
  63. ;          (+)  new caches for Intel
  64. ;          (+)  fixed Celeron detection based on L2 cache size for newest Intel CPU (there are Celeron models with 512 Kb);
  65. ;          (+)  CPUID now display System Clock with accuracy 0.01 MHz;
  66. ;          (+)  new logo for Intel (they changed it some time ago);
  67. ;Known issues: Sempron marked as AthlonXP
  68. ;              second window doesn't closed when you close main window
  69. ;-----------------------------------------------------------------------------
  70. ;2.0: CPUID   31/10/2006
  71. ;Authors:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  72. ;           Eugeniy Grechnikov aka Diamond <diamondz@land.ru>
  73. ;           Iliya Mikhailov aka Ghost  <Ghost.nsk@gmail.com>
  74. ;Features:
  75. ;          (+)  detection of Brand ID of AMD CPU's (Opteron etc - not finished)
  76. ;          (+)  detection of Extended family and Model of AMD CPU's
  77. ;          (+)  interface+(redesign)
  78. ;          (+)  calculation of System Clock
  79. ;          (++) added multiplier detection for AMD and Intel (thanks a lot to Ghost)
  80. ;          (+)  optimization of GIF decoder, code cleanup and bugfix by Diamond;
  81. ;          (+)  fixed bug with MMX+ detection for Cyrix CPU (in second window;
  82. ;               it was properly recognized in main window);
  83. ;          (+)  we show appropiate message in second window if Extended Features
  84. ;              ($8000_000x) aren't available;
  85. ;          (+)  we mark unknown CPU models as "Next generation CPU";
  86. ;Known issues: Sempron marked as AthlonXP
  87. ;              second window doesn't closed when you close main window
  88. ;-----------------------------------------------------------------------------
  89. ;1.1: CPUID   17/03/2006
  90. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  91. ;Features:
  92. ;          (+)  performance test now runs after click at "Press for more" button => we start app without test, i.e.
  93. ;               immediately, but application can be unstable during multiple switching between windows(need testing)
  94. ;          (++) added detection of total and available amount of RAM (would work only in KolibriOS)
  95. ;          (++) added detection of extended family and model (not shown, but if you want...);
  96. ;          (++) added detection of effective family and model;
  97. ;          (+)  more codenames: Intel Tejas, Presler, Yonah, Conroe;
  98. ;          (+)  more codenames: AMD Toledo;
  99. ;          (+)  interface+(redesign).
  100. ;Bugs:  probably some non-critical graphical issues
  101. ;Known issues: Sempron is not supported (marked as AthlonXP)
  102. ;-----------------------------------------------------------------------------
  103. ;1.0: CPUID   26/09/2005
  104. ;Authors:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  105. ;           Marat Zakiyanov aka Mario79 <mario79@bk.ru>
  106. ;           Andrey Halyavin aka halyavin <halyavin@land.ru>
  107. ;Features:
  108. ;          (+) fixed bug, when processor doesn't support extented features and program don't report 'no' in such case
  109. ;          (+) fixed bug in CPU Type detection
  110. ;          (+) fixed bug, when program crashes on AMD AthlonXP when after click on 'Press for more' button
  111. ;              you click on 'Choose FSB' button;
  112. ;          (+) added output of highest standard and extended calls
  113. ;          (+) Extended Features(phase 1 - big part of AMD/Intel specific EF)
  114. ;          (+) reworked P-rating calculation for AMD AthlonXP ->
  115. ;              now one program for 266, 333, 400 MHz FSB
  116. ;              (but unstable - see Bugs section)
  117. ;          (+) support for Intel F5x, renamed C3(Esther) to C7(Esther)
  118. ;          (+) more codenames
  119. ;             (Intel: new Prescott's model; Dothan;  VIA: Esther;
  120. ;              AMD: Newcastle, Paris, Winchester, San Diego, Venice, Palermo)
  121. ;          (+) performance test (RSA encoding, fixed-point arithmetics)
  122. ;              by Andrey Halyavin
  123. ;          (+) interface+(thanks to Mario79 for additional window
  124. ;              and to me for nice button)
  125. ;Bugs:  probably some non-critical graphical issues
  126. ;Known issues: Sempron is not supported (marked as AthlonXP)
  127. ;-----------------------------------------------------------------------------
  128. ;0.9: CPUID   24/01/2005
  129. ;Authors:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  130. ;           Madis Kalme aka Madis731 <madis.kalme@mail.ee>
  131. ;           Jeffrey Amelynck aka Profkid <the_adams_familie@hotmail.com>
  132. ;Features:
  133. ;          (+) deleting leading whitespaces in Intel P4's internal name
  134. ;              by Madis Kalme
  135. ;          (+) all standard features
  136. ;          (+) more codenames (Transmeta series)
  137. ;          (+) caches for Cyrix
  138. ;          (+) Brand ID for Intel
  139. ;          (+) detect L3 cache for Intel
  140. ;          (+) detect Xeon (will be improved later, at this moment see Brand)
  141. ;          (+) interface+(redesign and grafical logos for vendors)
  142. ;          (+) MMX+ test for Cyrix
  143. ;          (+) Type for Intel
  144. ;Bugs:     no !!!
  145. ;Known issues: Sempron is not supported (marked as AthlonXP)
  146. ;              caches for IDT is not detected
  147. ;-----------------------------------------------------------------------------
  148. ;early history was removed; download any old version of CPUID and read it, if you want
  149. ;*****************************************************************************