Skip to content

Commit

Permalink
Add initial AMD FX Processors
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jan 8, 2012
1 parent 9c0e2f4 commit 7db444f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
Binary file modified src/i-nex/.gambas/FINFOSYS
Binary file not shown.
Binary file modified src/i-nex/.gambas/GLOBAL
Binary file not shown.
4 changes: 2 additions & 2 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ SearchString=True

[OpenFile]
File[1]=".src/Finfosys.form"
File[2]=".src/Finfosys.class:327.89"
File[2]=".src/Finfosys.class:104.10"
Active=3
File[3]=".src/Global.class:87.53"
File[3]=".src/Global.class:83.24"
File[4]="linuxmint.png"
File[5]="intellogo.gif"
File[6]=".src/About.form"
Expand Down
6 changes: 0 additions & 6 deletions src/i-nex/.src/Finfosys.class
Original file line number Diff line number Diff line change
Expand Up @@ -105,21 +105,15 @@ Public Sub kernel()
Shell "uname -r" Wait To Label26.Text
'Usuwanie kerneli
Shell "bash -c /usr/bin/check_kernel" Wait To stringa
'dpkg-query -f '${status} ${package}\n' -W linux-image-\* | grep '^install ok installed ' | cut -d' ' -f4
righe = Split(stringa, "\n", "%%", True)

For count = 2 To righe.Max

riga = Split(righe[count], " ", "%%", True)

risultato = Replace(riga[0], " ", "")
lista.add(risultato)
Next

ComboBox3.List = lista
ComboBox3.Index = 0
'Koniec usuwania kerneli

End

Public Sub dzwiek()
Expand Down
23 changes: 17 additions & 6 deletions src/i-nex/.src/Global.class
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Static Public Sub ikonaprocka()
Finfosys.PictureBox3.Picture = Picture["intelcore2quad.png"]
Endif

If Finfosys.TextArea1.Text Like "*Intel(R) Core(TM)2 CPU*" Then
If Finfosys.TextArea1.Text Like "*Intel(R) Core(TM)2*" Then
Finfosys.PictureBox3.Picture = Picture["intelcore2duo.png"]
Endif

Expand All @@ -36,6 +36,13 @@ Static Public Sub ikonaprocka()
Finfosys.PictureBox3.Picture = Picture["intelp4.png"]
Endif

If Finfosys.TextArea1.Text Like "*Intel(R) Atom(TM)*" Then
Finfosys.PictureBox3.Picture = Picture["atom.png"]
Endif

If Finfosys.TextArea1.Text Like "*Intel(R) Core(TM) i7*" Then
Finfosys.PictureBox3.Picture = Picture["Processors/intel_core_i7.png"]
Endif
'Procesory amd
If Finfosys.TextArea1.Text Like "*AMD Athlon(tm) 64 X2*" Then
Finfosys.PictureBox3.Picture = Picture["amdathlonx2.png"]
Expand All @@ -45,7 +52,7 @@ Static Public Sub ikonaprocka()
Finfosys.PictureBox3.Picture = Picture["amdsempron.png"]
Endif

If Finfosys.TextArea1.Text Like "*Mobile AMD Sempron(tm)*" Then
If Finfosys.TextArea1.Text Like "*Mobile AMD Sempron*" Then
Finfosys.PictureBox3.Picture = Picture["amdsempronmobile.png"]
Endif

Expand All @@ -69,13 +76,17 @@ Static Public Sub ikonaprocka()
Finfosys.PictureBox3.Picture = Picture["Processors/amd_athlon_x2.png"]
Endif

If Finfosys.TextArea1.Text Like "*Intel(R) Atom(TM)*" Then
Finfosys.PictureBox3.Picture = Picture["atom.png"]
Endif

If Finfosys.TextArea1.Text Like "*AMD Athlon(tm) II X4*" Then
Finfosys.PictureBox3.Picture = Picture["Processors/amd_athlon_x4.png"]
Endif

If Finfosys.TextArea1.Text Like "*AMD FX*" Then
Finfosys.PictureBox3.Picture = Picture["Processors/amd_fx_eight_core_processor.png"]
Endif

If Finfosys.TextArea1.Text Like "*AMD Opteron*6*" Then
Finfosys.PictureBox3.Picture = Picture["Processors/amd_opteron_processor_6xxx.png"]
Endif

End

Expand Down

0 comments on commit 7db444f

Please sign in to comment.