Skip to content

Commit

Permalink
1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
IndeedMiners committed Jan 6, 2019
1 parent ac49f54 commit a505855
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 32 deletions.
34 changes: 27 additions & 7 deletions PolarisBiosEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public partial class PolarisBiosEditor : Form

/* DATA */

string version = "1.7.0";
string version = "1.7.2";
string programTitle = "PolarisBiosEditor";


Expand Down Expand Up @@ -59,10 +59,12 @@ public partial class PolarisBiosEditor : Form
//"777000000000000022AA1C00AC615B3CA0550F142C8C1506006004007C041420CA8980A9020004C01712262B612B3715" // new, please test

// Universal Hynix
"777000000000000022AA1C00B56A6D46C0551017BE8E060C006006000C081420EA8900AB030000001B162C31C0313F17"
"777000000000000022AA1C00B56A6D46C0551017BE8E060C006006000C081420EA8900AB030000001B162C31C0313F17",
//Hynix 4
"999000000000000022559D0031626C46905F1015BC0D060C004004007D0714204A8900A0020071241B12312CC02D3C17" //new, please test
};

Dictionary<string, string> rc = new Dictionary<string, string>();
Dictionary<string, string> rc = new Dictionary<string, string>();

[StructLayout(LayoutKind.Explicit, Size = 96, CharSet = CharSet.Ansi)]
public class VRAM_TIMING_RX
Expand Down Expand Up @@ -115,9 +117,9 @@ public class VRAM_TIMING_RX
[StructLayout(LayoutKind.Sequential, Pack = 1)]
struct ATOM_COMMON_TABLE_HEADER
{
Int16 usStructureSize;
Byte ucTableFormatRevision;
Byte ucTableContentRevision;
public Int16 usStructureSize;
public Byte ucTableFormatRevision;
public Byte ucTableContentRevision;
}

[StructLayout(LayoutKind.Sequential, Pack = 1)]
Expand Down Expand Up @@ -521,6 +523,7 @@ public PolarisBiosEditor()
rc.Add("H5GQ4H24AJ", "HYNIX_2");
rc.Add("H5GQ8H24MJ", "HYNIX_2");
rc.Add("H5GC8H24MJ", "HYNIX_3");
rc.Add("H5GC8H24AJ", "HYNIX_4");
rc.Add("K4G80325FB", "SAMSUNG");
rc.Add("K4G41325FE", "SAMSUNG");
rc.Add("K4G41325FC", "SAMSUNG");
Expand Down Expand Up @@ -1454,6 +1457,7 @@ private void button1_Click(object sender, EventArgs e)
int hynix_1_index = -1;
int hynix_2_index = -1;
int hynix_3_index = -1;
int hynix_4_index = -1;
for (var i = 0; i < atom_vram_info.ucNumOfVRAMModule; i++)
{
string mem_vendor;
Expand Down Expand Up @@ -1490,6 +1494,9 @@ private void button1_Click(object sender, EventArgs e)
case "HYNIX_3":
hynix_3_index = i;
break;
case "HYNIX_4":
hynix_4_index = i;
break;
}


Expand Down Expand Up @@ -1533,7 +1540,7 @@ private void button1_Click(object sender, EventArgs e)
}
else
{
int num = (int)MessageBox.Show("Hynix (2) Memory found at index #" + (object)micron_index + ", now applying GOOD Hynix timings to 1500+ strap(s)");
int num = (int)MessageBox.Show("Hynix (2) Memory found at index #" + (object)hynix_2_index + ", now applying GOOD Hynix timings to 1500+ strap(s)");
this.apply_timings(hynix_2_index, 3);
}
}
Expand Down Expand Up @@ -1569,6 +1576,19 @@ private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show("Sorry, no supported memory found. If you think this is an error, please file a bugreport @ https://github.com/IndeedMiners/PolarisBiosEditor/issues");
}
if (hynix_4_index != -1)
{
if (MessageBox.Show("Do you want Universal Hynix Timing?", "Important Question", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
MessageBox.Show("Hynix (2) Memory found at index #" + hynix_4_index + ", now applying Universal HYNIX MINING timings to 1500+ strap(s)");
apply_timings(hynix_4_index, 8);
}
else
{
int num = (int)MessageBox.Show("Hynix (4) Memory found at index #" + (object)hynix_4_index + ", now applying Hynix timings to 1500+ strap(s)");
this.apply_timings(hynix_4_index, 9);
}
}

this.tablePOWERPLAY.Items[1].SubItems[1].Text = "2300";

Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.0.0")]
[assembly: AssemblyFileVersion("1.7.0.0")]
[assembly: AssemblyVersion("1.7.2.0")]
[assembly: AssemblyFileVersion("1.7.2.0")]
Binary file modified bin/Debug/PolarisBiosEditor.exe
Binary file not shown.
Binary file modified bin/Debug/PolarisBiosEditor.pdb
Binary file not shown.
Binary file removed obj/Debug/DesignTimeResolveAssemblyReferences.cache
Binary file not shown.
Binary file modified obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
Binary file modified obj/Debug/PolarisBiosEditor.PolarisBiosEditor.resources
Binary file not shown.
2 changes: 1 addition & 1 deletion obj/Debug/PolarisBiosEditor.csproj.CoreCompileInputs.cache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ae1ee4fadfe79c1d80e35a6d7186d4895ab6595a
38da12bf041ebeae403fc31d8eae2738deefcca6
30 changes: 10 additions & 20 deletions obj/Debug/PolarisBiosEditor.csproj.FileListAbsolute.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
C:\Users\VASKE\Desktop\PolarisBiosEditor-master\obj\Debug\PolarisBiosEditor.csprojAssemblyReference.cache
C:\Users\VASKE\Desktop\PolarisBiosEditor-master\obj\Debug\PolarisBiosEditor.Properties.Resources.resources
C:\Users\VASKE\Desktop\PolarisBiosEditor-master\obj\Debug\PolarisBiosEditor.csproj.GenerateResource.cache
C:\Users\VASKE\Desktop\PolarisBiosEditor-master\bin\Debug\PolarisBiosEditor.exe.config
C:\Users\VASKE\Desktop\PolarisBiosEditor-master\bin\Debug\PolarisBiosEditor.exe
C:\Users\VASKE\Desktop\PolarisBiosEditor-master\bin\Debug\PolarisBiosEditor.pdb
C:\Users\VASKE\Desktop\PolarisBiosEditor-master\obj\Debug\PolarisBiosEditor.PolarisBiosEditor.resources
C:\Users\VASKE\Desktop\PolarisBiosEditor-master\obj\Debug\PolarisBiosEditor.csproj.CoreCompileInputs.cache
C:\Users\VASKE\Desktop\PolarisBiosEditor-master\obj\Debug\PolarisBiosEditor.exe
C:\Users\VASKE\Desktop\PolarisBiosEditor-master\obj\Debug\PolarisBiosEditor.pdb
C:\Users\Acer\Documents\GitHub\PolarisBiosEditor\bin\Debug\PolarisBiosEditor.exe.config
C:\Users\Acer\Documents\GitHub\PolarisBiosEditor\bin\Debug\PolarisBiosEditor.exe
C:\Users\Acer\Documents\GitHub\PolarisBiosEditor\bin\Debug\PolarisBiosEditor.pdb
C:\Users\Acer\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.csprojResolveAssemblyReference.cache
C:\Users\Acer\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.PolarisBiosEditor.resources
C:\Users\Acer\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.Properties.Resources.resources
C:\Users\Acer\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.csproj.GenerateResource.Cache
C:\Users\Acer\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.csproj.CoreCompileInputs.cache
C:\Users\Acer\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.exe
C:\Users\Acer\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.pdb
C:\Users\mattt\OneDrive\Documents\GitHub\PolarisBiosEditor\bin\Debug\PolarisBiosEditor.exe.config
C:\Users\mattt\OneDrive\Documents\GitHub\PolarisBiosEditor\bin\Debug\PolarisBiosEditor.exe
C:\Users\mattt\OneDrive\Documents\GitHub\PolarisBiosEditor\bin\Debug\PolarisBiosEditor.pdb
C:\Users\mattt\OneDrive\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.csprojAssemblyReference.cache
C:\Users\mattt\OneDrive\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.PolarisBiosEditor.resources
C:\Users\mattt\OneDrive\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.Properties.Resources.resources
C:\Users\mattt\OneDrive\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.csproj.GenerateResource.cache
C:\Users\mattt\OneDrive\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.csproj.CoreCompileInputs.cache
C:\Users\mattt\OneDrive\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.exe
C:\Users\mattt\OneDrive\Documents\GitHub\PolarisBiosEditor\obj\Debug\PolarisBiosEditor.pdb
Binary file modified obj/Debug/PolarisBiosEditor.csproj.GenerateResource.Cache
Binary file not shown.
Binary file modified obj/Debug/PolarisBiosEditor.csprojAssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file modified obj/Debug/PolarisBiosEditor.exe
Binary file not shown.
Binary file modified obj/Debug/PolarisBiosEditor.pdb
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0
1.7.2

0 comments on commit a505855

Please sign in to comment.