forked from KolibriOS/kolibrios
CPUID 2.21 from Wildwest
git-svn-id: svn://kolibrios.org@515 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
875ba74b27
commit
07aab9f5f6
@ -2,8 +2,8 @@
|
|||||||
; project name: CPUID *
|
; project name: CPUID *
|
||||||
; target platform: KolibriOS, x86 (IA-32), x86-64 achitectures *
|
; target platform: KolibriOS, x86 (IA-32), x86-64 achitectures *
|
||||||
; compiler: flat assembler 1.67.21 *
|
; compiler: flat assembler 1.67.21 *
|
||||||
; version: 2.18 *
|
; version: 2.21 *
|
||||||
; last update: 1st April 2007 1st 2nd 3rd 4th *
|
; last update: 18th May 2007 1st 2nd 3rd 4th 5th 6th 7th 8th 9th *
|
||||||
; maintained by: Sergey Kuzmin aka Wildwest *
|
; maintained by: Sergey Kuzmin aka Wildwest *
|
||||||
; e-mail: kuzmin_serg@list.ru *
|
; e-mail: kuzmin_serg@list.ru *
|
||||||
; site: http://coolthemes.narod.ru/files.html *
|
; site: http://coolthemes.narod.ru/files.html *
|
||||||
@ -457,7 +457,7 @@ Text 75,70,0x00000000,AMDn, AMDnlen-AMDn
|
|||||||
|
|
||||||
mov esi, amd
|
mov esi, amd
|
||||||
call load_gif
|
call load_gif
|
||||||
PutImage 135,97,201,49,img_area+8
|
PutImage 135,107,201,49,img_area+8
|
||||||
; place size
|
; place size
|
||||||
|
|
||||||
; Relax, man. AMD made PRETTY SIMPLE cache detection routine
|
; Relax, man. AMD made PRETTY SIMPLE cache detection routine
|
||||||
@ -739,33 +739,33 @@ fif: ; AMD-64 Family=15
|
|||||||
jz .AFC
|
jz .AFC
|
||||||
cmp [m],$E ; Athlon 64 //
|
cmp [m],$E ; Athlon 64 //
|
||||||
jz .AFE
|
jz .AFE
|
||||||
cmp [m],$F ; Athlon 64 Winchester(512) |SSE3+ SanDiego(1024) Venice (512) Palermo (256) 0.09
|
cmp [m],$F ; Athlon 64 Winchester(512) |SSE3+ SanDiego(1024) Venice (512) Palermo (256) 0.09
|
||||||
jz .AFF
|
jz .AFF
|
||||||
jmp next_generation
|
jmp next_generation
|
||||||
.AF1:
|
.AF1:
|
||||||
mov [micron], 09 ;?
|
mov [micron], 09 ;?
|
||||||
Text 100,70,0x00000000,AF1, AF1len-AF1
|
Text 100,70,0x00000000,AF1, AF1len-AF1
|
||||||
jmp MMXtest
|
jmp MMXtest
|
||||||
.AF3:
|
.AF3:
|
||||||
mov [micron], 09
|
mov [micron], 09
|
||||||
Text 100,70,0x00000000,AF3, AF3len-AF3
|
Text 100,70,0x00000000,AF3, AF3len-AF3
|
||||||
jmp MMXtest
|
jmp MMXtest
|
||||||
.AF4:
|
.AF4:
|
||||||
mov [micron], 13
|
mov [micron], 13
|
||||||
Text 100,70,0x00000000,AF4, AF4len-AF4
|
Text 100,70,0x00000000,AF4, AF4len-AF4
|
||||||
jmp MMXtest
|
jmp MMXtest
|
||||||
.AF5:
|
.AF5:
|
||||||
mov [micron], 13
|
mov [micron], 13
|
||||||
Text 100,70,0x00000000,AF5, AF5len-AF5
|
Text 100,70,0x00000000,AF5, AF5len-AF5
|
||||||
jmp MMXtest
|
jmp MMXtest
|
||||||
.AF7:
|
.AF7:
|
||||||
mov [micron], 13
|
mov [micron], 13
|
||||||
Text 100,70,0x00000000,AF5, AF5len-AF5
|
Text 100,70,0x00000000,AF5, AF5len-AF5
|
||||||
jmp MMXtest
|
jmp MMXtest
|
||||||
.AF8:
|
.AF8:
|
||||||
mov [micron], 13
|
mov [micron], 13
|
||||||
Text 100,70,0x00000000,AF4, AF5len-AF4
|
Text 100,70,0x00000000,AF4, AF4len-AF4 ; AF4, AF5len-AF4
|
||||||
jmp MMXtest
|
jmp MMXtest
|
||||||
.AFB:
|
.AFB:
|
||||||
mov [micron], 13
|
mov [micron], 13
|
||||||
Text 100,70,0x00000000,AF4, AF4len-AF4
|
Text 100,70,0x00000000,AF4, AF4len-AF4
|
||||||
@ -780,21 +780,20 @@ je .AFCnpal
|
|||||||
|
|
||||||
.AFCnpar: ; paris
|
.AFCnpar: ; paris
|
||||||
mov [micron], 13
|
mov [micron], 13
|
||||||
Text 100,70,0x00000000,AFCs, AFCslen-AFCs
|
Text 100,70,0x00000000,AFCs, AFCslen-AFCs
|
||||||
jmp MMXtest
|
jmp MMXtest
|
||||||
|
|
||||||
.AFCnpal: ; palermo
|
.AFCnpal: ; palermo
|
||||||
mov [micron], 9
|
mov [micron], 9
|
||||||
Text 100,70,0x00000000,AFCsp, AFCsplen-AFCsp
|
Text 100,70,0x00000000,AFCsp, AFCsplen-AFCsp
|
||||||
jmp MMXtest
|
jmp MMXtest
|
||||||
|
|
||||||
|
|
||||||
.AFCn: ;newcastle
|
.AFCn: ;newcastle
|
||||||
mov [micron], 13
|
mov [micron], 13
|
||||||
Text 100,70,0x00000000,AFC, AFClen-AFC
|
Text 100,70,0x00000000,AFC, AFClen-AFC
|
||||||
jmp MMXtest
|
jmp MMXtest
|
||||||
|
|
||||||
.AFE: ; error in cpu
|
.AFE: ; error in cpu
|
||||||
jmp .AFC
|
jmp .AFC
|
||||||
|
|
||||||
.AFF:
|
.AFF:
|
||||||
@ -832,7 +831,8 @@ Text 75,70,0x00000000,Inteln, Intelnlen-Inteln
|
|||||||
|
|
||||||
mov esi, intel
|
mov esi, intel
|
||||||
call load_gif
|
call load_gif
|
||||||
PutImage 125,107,201,49,img_area+8
|
PutImage 135,107,201,49,img_area+8
|
||||||
|
;PutImage 125,107,201,49,img_area+8
|
||||||
; place size
|
; place size
|
||||||
|
|
||||||
det:
|
det:
|
||||||
@ -1113,7 +1113,8 @@ Text 15, 190,0x00000000,cache, cachelen-cache
|
|||||||
|
|
||||||
mov esi, cyrix
|
mov esi, cyrix
|
||||||
call load_gif
|
call load_gif
|
||||||
PutImage 130,127,201,49,img_area+8
|
PutImage 135,107,201,49,img_area+8
|
||||||
|
;PutImage 130,127,201,49,img_area+8
|
||||||
; place size
|
; place size
|
||||||
|
|
||||||
cmp [f], $5
|
cmp [f], $5
|
||||||
@ -1264,7 +1265,8 @@ fivC: ;Family=5
|
|||||||
|
|
||||||
mov esi, idt
|
mov esi, idt
|
||||||
call load_gif
|
call load_gif
|
||||||
PutImage 125,107,201,49,img_area+8
|
PutImage 135,107,201,49,img_area+8
|
||||||
|
;PutImage 125,107,201,49,img_area+8
|
||||||
; place size
|
; place size
|
||||||
|
|
||||||
Text 75,70,0x00000000,IDTn, IDTnlen-IDTn
|
Text 75,70,0x00000000,IDTn, IDTnlen-IDTn
|
||||||
@ -1291,7 +1293,8 @@ sixC: ;Family=6
|
|||||||
|
|
||||||
mov esi, via
|
mov esi, via
|
||||||
call load_gif
|
call load_gif
|
||||||
PutImage 125,107,201,49,img_area+8
|
PutImage 135,107,201,49,img_area+8
|
||||||
|
;PutImage 125,107,201,49,img_area+8
|
||||||
; place size
|
; place size
|
||||||
|
|
||||||
Text 75,70,0x00000000,Centaurn, Centaurnlen-Centaurn
|
Text 75,70,0x00000000,Centaurn, Centaurnlen-Centaurn
|
||||||
@ -1334,7 +1337,8 @@ Text 75,70,0x00000000,Tranmsmetan, Tranmsmetanlen-Tranmsmetan
|
|||||||
|
|
||||||
mov esi, transmeta
|
mov esi, transmeta
|
||||||
call load_gif
|
call load_gif
|
||||||
PutImage 125,107,201,49,img_area+8
|
PutImage 135,107,201,49,img_area+8
|
||||||
|
;PutImage 125,107,201,49,img_area+8
|
||||||
; place size
|
; place size
|
||||||
|
|
||||||
; cache detection routine - it is the same as for AMD (almost)
|
; cache detection routine - it is the same as for AMD (almost)
|
||||||
@ -1978,7 +1982,7 @@ load_gif2:
|
|||||||
|
|
||||||
; DATA AREA
|
; DATA AREA
|
||||||
|
|
||||||
title db 'CPUID 2.2 by S.Kuzmin & the KolibriOS team',0
|
title db 'CPUID 2.21 by S.Kuzmin & the KolibriOS team',0
|
||||||
|
|
||||||
tsum:
|
tsum:
|
||||||
db 'Frequency: . MHz'
|
db 'Frequency: . MHz'
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
;******************************************************************************
|
;******************************************************************************
|
||||||
; project name: CPUID
|
; project name: CPUID
|
||||||
; target platform: KolibriOS, x86 (IA-32), x86-64 achitectures
|
; target platform: KolibriOS, x86 (IA-32), x86-64 achitectures
|
||||||
; compability: probably some functions would work in MenuetOS 32 and MenuetOS 64, may be even in Miraculix;
|
; compability: CPUID works in MS Windows by means of emulator KlbrInWin from Diamond (http://diamondz.land.ru)
|
||||||
; CPUID works in MS Windows by means of emulator KlbrInWin from Diamond (http://diamondz.land.ru)
|
|
||||||
; compiler: flat assembler 1.67.21
|
; compiler: flat assembler 1.67.21
|
||||||
; version: 2.2
|
; version: 2.21
|
||||||
; last update: 5st April 2007
|
; last update: 18th May 2007
|
||||||
; maintained by: Sergey Kuzmin aka Wildwest
|
; maintained by: Sergey Kuzmin aka Wildwest
|
||||||
; e-mail: kuzmin_serg@list.ru
|
; e-mail: kuzmin_serg@list.ru
|
||||||
; site: http://coolthemes.narod.ru/files.html
|
; site: http://coolthemes.narod.ru/files.html
|
||||||
@ -37,11 +36,22 @@
|
|||||||
; newest AMD/Intel codename detection
|
; newest AMD/Intel codename detection
|
||||||
;******************************************************************************
|
;******************************************************************************
|
||||||
;HISTORY:
|
;HISTORY:
|
||||||
;3.0: CPUID 01/04/2007 (not finished)
|
;3.0: CPUID 18/05/2007 (not finished)
|
||||||
|
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
||||||
|
;Features:
|
||||||
|
; (+) fixed typo, which makes selection of incorrect codename for AMD F8x CPU's;
|
||||||
|
;Known issues: Sempron marked as AthlonXP
|
||||||
|
; second window doesn't closed when you close main window
|
||||||
|
;-----------------------------------------------------------------------------
|
||||||
|
;2.2: CPUID 01/05/2007
|
||||||
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
||||||
; Iliya Mikhailov aka Ghost <Ghost.nsk@gmail.com>
|
; Iliya Mikhailov aka Ghost <Ghost.nsk@gmail.com>
|
||||||
; /^S0rG^\ <s0rg@ngs.ru>
|
; /^S0rG^\ <s0rg@ngs.ru>
|
||||||
|
; Pavel Rymovskiy aka Heavyiron <Heavyiron@pisem.net>
|
||||||
|
; Leency <Leency@email.ua>
|
||||||
;Features:
|
;Features:
|
||||||
|
; (+) 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!
|
||||||
; (+) real-time RAM monitoring (previous versions showed changed amount of available RAM only at redraw event or CPUID window activation);
|
; (+) real-time RAM monitoring (previous versions showed changed amount of available RAM only at redraw event or CPUID window activation);
|
||||||
; (+) fixed address of LAHF feature, added detection of CMPL, SVM, MOVCR8 technologies for AMD;
|
; (+) 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);
|
; (+) fixed L2 cache size detection for VIA (they changed format from 8 bits to 16 bits several years ago);
|
||||||
@ -49,8 +59,6 @@
|
|||||||
; (++) more info about caches for VIA and Transmeta;
|
; (++) more info about caches for VIA and Transmeta;
|
||||||
; (+) added detection of DCA, SSSE3, VMX technologies for Intel;
|
; (+) added detection of DCA, SSSE3, VMX technologies for Intel;
|
||||||
; (+) updated multiplier detection for AMD and Intel (thanks a lot to Ghost);
|
; (+) updated multiplier detection for AMD and Intel (thanks a lot to Ghost);
|
||||||
; (+) client-relative drawing, title with function 0
|
|
||||||
; It means end of capability with MenuetOS!
|
|
||||||
;Known issues: Sempron marked as AthlonXP
|
;Known issues: Sempron marked as AthlonXP
|
||||||
; second window doesn't closed when you close main window
|
; second window doesn't closed when you close main window
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
@ -70,7 +78,7 @@
|
|||||||
; second window doesn't closed when you close main window
|
; second window doesn't closed when you close main window
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
;2.0: CPUID 31/10/2006
|
;2.0: CPUID 31/10/2006
|
||||||
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
||||||
; Eugeniy Grechnikov aka Diamond <diamondz@land.ru>
|
; Eugeniy Grechnikov aka Diamond <diamondz@land.ru>
|
||||||
; Iliya Mikhailov aka Ghost <Ghost.nsk@gmail.com>
|
; Iliya Mikhailov aka Ghost <Ghost.nsk@gmail.com>
|
||||||
;Features:
|
;Features:
|
||||||
@ -103,7 +111,7 @@
|
|||||||
;Known issues: Sempron is not supported (marked as AthlonXP)
|
;Known issues: Sempron is not supported (marked as AthlonXP)
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
;1.0: CPUID 26/09/2005
|
;1.0: CPUID 26/09/2005
|
||||||
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
||||||
; Marat Zakiyanov aka Mario79 <mario79@bk.ru>
|
; Marat Zakiyanov aka Mario79 <mario79@bk.ru>
|
||||||
; Andrey Halyavin aka halyavin <halyavin@land.ru>
|
; Andrey Halyavin aka halyavin <halyavin@land.ru>
|
||||||
;Features:
|
;Features:
|
||||||
@ -128,7 +136,7 @@
|
|||||||
;Known issues: Sempron is not supported (marked as AthlonXP)
|
;Known issues: Sempron is not supported (marked as AthlonXP)
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
;0.9: CPUID 24/01/2005
|
;0.9: CPUID 24/01/2005
|
||||||
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
;Authors: Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
|
||||||
; Madis Kalme aka Madis731 <madis.kalme@mail.ee>
|
; Madis Kalme aka Madis731 <madis.kalme@mail.ee>
|
||||||
; Jeffrey Amelynck aka Profkid <the_adams_familie@hotmail.com>
|
; Jeffrey Amelynck aka Profkid <the_adams_familie@hotmail.com>
|
||||||
;Features:
|
;Features:
|
||||||
|
@ -5,7 +5,7 @@ ENGLISH
|
|||||||
Hi! My name is Sergey Kuzmin aka Wildwest.
|
Hi! My name is Sergey Kuzmin aka Wildwest.
|
||||||
This is one of the mostly famous program for KolibriOS/MenuetOS.
|
This is one of the mostly famous program for KolibriOS/MenuetOS.
|
||||||
I called it CPUID. CPUID talks with you CPU and show log.
|
I called it CPUID. CPUID talks with you CPU and show log.
|
||||||
Current version is 2.17 and you can use it on your own risk without any warranty.
|
Current version is 2.21 and you can use it on your own risk without any warranty.
|
||||||
E-mail me (kuzmin_serg@list.ru) if you have some problems or suggestions.
|
E-mail me (kuzmin_serg@list.ru) if you have some problems or suggestions.
|
||||||
All righs on this program are mine, except parts of code written by other developers.
|
All righs on this program are mine, except parts of code written by other developers.
|
||||||
|
|
||||||
@ -29,13 +29,17 @@ People from international KolibriOS/MenuetOS team help me and I wish to mention
|
|||||||
|
|
||||||
Eugeniy Grechnikov (Russia) for great code clean-up and optimization;
|
Eugeniy Grechnikov (Russia) for great code clean-up and optimization;
|
||||||
|
|
||||||
Iliya Mikhailov (Russia) for piece of code from his great GMON.
|
Iliya Mikhailov (Russia) for piece of code from his great GMON;
|
||||||
|
|
||||||
|
Pavel Rymovskiy (Belarus) and Leency (Ukraine) for their work, which enhance look & feel of CPUID.
|
||||||
|
|
||||||
Also I want to thank folks which help me by testing and suggestions -
|
Also I want to thank folks which help me by testing and suggestions -
|
||||||
Sonny, Smiddy and all the RU-Team.
|
Sonny, Smiddy and all the RU-Team.
|
||||||
|
|
||||||
Please, test it and e-mail me screenshot.
|
Please, test it and e-mail me screenshot.
|
||||||
|
|
||||||
|
The CPUID thread with announcements and discussion is at http://meos.sysbin.com/viewtopic.php?t=594
|
||||||
|
|
||||||
Bye...
|
Bye...
|
||||||
|
|
||||||
|
|
||||||
@ -44,7 +48,7 @@ RUSSIAN
|
|||||||
Привет! Меня зовут Сергей Кузьмин aka Wildwest.
|
Привет! Меня зовут Сергей Кузьмин aka Wildwest.
|
||||||
Это одна из самых известных программ для KolibriOS/MenuetOS.
|
Это одна из самых известных программ для KolibriOS/MenuetOS.
|
||||||
Она называется CPUID и показывает результаты идентификации процессора.
|
Она называется CPUID и показывает результаты идентификации процессора.
|
||||||
Это версия 2.17 и ВЫ можете её использовать на свой собственный риск безо всяких гарантий.
|
Ýòî âåðñèÿ 2.21 è ÂÛ ìîæåòå å¸ èñïîëüçîâàòü íà ñâîé ñîáñòâåííûé ðèñê áåçî âñÿêèõ ãàðàíòèé.
|
||||||
Если будут какие-то проблемы или предложения, то напишите мне (kuzmin_serg@list.ru).
|
Если будут какие-то проблемы или предложения, то напишите мне (kuzmin_serg@list.ru).
|
||||||
Все права на программу принадлежат мне, кроме прав на части, написанных остальными разработчиками.
|
Все права на программу принадлежат мне, кроме прав на части, написанных остальными разработчиками.
|
||||||
|
|
||||||
@ -68,14 +72,16 @@ RUSSIAN
|
|||||||
|
|
||||||
Евгения Гречникова (Россия) за чистку кода и оптимизацию;
|
Евгения Гречникова (Россия) за чистку кода и оптимизацию;
|
||||||
|
|
||||||
Илью Михайлова (Россия) за кусок кода из его замечательной программы GMON.
|
Èëüþ Ìèõàéëîâà (Ðîññèÿ) çà êóñîê êîäà èç åãî çàìå÷àòåëüíîé ïðîãðàììû GMON;
|
||||||
|
|
||||||
|
Ïàâëà Ðûìîâñêîãî (Áåëîðóññèÿ) è Leency (Óêðàèíà) çà ðàáîòó, ñïîñîñîáñòâîâàâøóþ óëó÷øåíèþ âíåøíåãî âèäà CPUID.
|
||||||
|
|
||||||
Также я хочу поблагодарить людей, помогавших мне тестированием и предложениями -
|
Также я хочу поблагодарить людей, помогавших мне тестированием и предложениями -
|
||||||
Sonny, Smiddy и всю "советскую команду" KolibriOS/MenuetOS .
|
Sonny, Smiddy и всю "советскую команду" KolibriOS/MenuetOS .
|
||||||
|
|
||||||
Пожалуйста, протестируйте программу и пришлите мне скриншот по e-mail.
|
Пожалуйста, протестируйте программу и пришлите мне скриншот по e-mail.
|
||||||
|
|
||||||
До встреч на форумах( http://meos.sysbin.com, http://board.flatassembler.net/forum.php?f=12).
|
Äî âñòðå÷ íà ôîðóìå(http://meos.sysbin.com/viewtopic.php?t=594).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user