private void LoadHexFile(string Filename) { debugWindow.Pause(); kernel.SetVersion(version); if (kernel.ResetCPU(Filename)) { gpu.Refresh(); if (kernel.lstFile != null) { ShowDebugWindow(); ShowMemoryWindow(); } ResetSDCard(); debugWindow.ClearTrace(); } }
private void ToolStripRevision_Click(object sender, EventArgs e) { if (version == BoardVersion.RevB) { version = BoardVersion.RevC; } else { version = BoardVersion.RevB; } kernel.SetVersion(version); if (uploaderWindow != null) { uploaderWindow.SetBoardVersion(version); } DisplayBoardVersion(); // TODO - Reset the memory and reload the program? }