diff --git a/Contralto/UI/AltoWindow.Designer.cs b/Contralto/UI/AltoWindow.Designer.cs index b7493a7..fae007b 100644 --- a/Contralto/UI/AltoWindow.Designer.cs +++ b/Contralto/UI/AltoWindow.Designer.cs @@ -29,7 +29,7 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AltoWindow)); - this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this._mainMenu = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveScreenshotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -56,22 +56,23 @@ this.CaptureStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.SystemStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.DisplayBox = new System.Windows.Forms.PictureBox(); - this.menuStrip1.SuspendLayout(); + this.fullScreenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this._mainMenu.SuspendLayout(); this.StatusLine.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.DisplayBox)).BeginInit(); this.SuspendLayout(); // - // menuStrip1 + // _mainMenu // - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this._mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.settingsToolStripMenuItem, this.helpToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); - this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(608, 24); - this.menuStrip1.TabIndex = 2; - this.menuStrip1.Text = "menuStrip1"; + this._mainMenu.Location = new System.Drawing.Point(0, 0); + this._mainMenu.Name = "_mainMenu"; + this._mainMenu.Size = new System.Drawing.Size(608, 24); + this._mainMenu.TabIndex = 2; + this._mainMenu.Text = "menuStrip1"; // // fileToolStripMenuItem // @@ -108,7 +109,8 @@ this.AlternateBootToolStripMenuItem, this.SystemEthernetBootMenu, this.optionsToolStripMenuItem, - this.SystemShowDebuggerMenuItem}); + this.SystemShowDebuggerMenuItem, + this.fullScreenToolStripMenuItem}); this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; this.settingsToolStripMenuItem.Size = new System.Drawing.Size(57, 20); this.settingsToolStripMenuItem.Text = "System"; @@ -253,7 +255,7 @@ this.StatusLine.Size = new System.Drawing.Size(608, 25); this.StatusLine.TabIndex = 3; this.StatusLine.Text = "statusStrip1"; - this.StatusLine.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnKeyDown); + this.StatusLine.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnKeyDown); // // DiskStatusLabel // @@ -305,6 +307,15 @@ this.DisplayBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnDisplayMouseMove); this.DisplayBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OnDisplayMouseUp); // + // fullScreenToolStripMenuItem + // + this.fullScreenToolStripMenuItem.Name = "fullScreenToolStripMenuItem"; + this.fullScreenToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt) + | System.Windows.Forms.Keys.F))); + this.fullScreenToolStripMenuItem.Size = new System.Drawing.Size(223, 22); + this.fullScreenToolStripMenuItem.Text = "Full Screen"; + this.fullScreenToolStripMenuItem.Click += new System.EventHandler(this.OnFullScreenMenuClick); + // // AltoWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -312,22 +323,23 @@ this.ClientSize = new System.Drawing.Size(608, 859); this.Controls.Add(this.StatusLine); this.Controls.Add(this.DisplayBox); - this.Controls.Add(this.menuStrip1); + this.Controls.Add(this._mainMenu); this.DoubleBuffered = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.MainMenuStrip = this.menuStrip1; + this.MainMenuStrip = this._mainMenu; this.MaximizeBox = false; this.Name = "AltoWindow"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.Text = "ContrAlto"; this.Deactivate += new System.EventHandler(this.OnWindowDeactivate); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.OnAltoWindowClosed); + this.SizeChanged += new System.EventHandler(this.OnWindowSizeChanged); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnKeyDown); this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OnKeyUp); this.Leave += new System.EventHandler(this.OnWindowLeave); - this.menuStrip1.ResumeLayout(false); - this.menuStrip1.PerformLayout(); + this._mainMenu.ResumeLayout(false); + this._mainMenu.PerformLayout(); this.StatusLine.ResumeLayout(false); this.StatusLine.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.DisplayBox)).EndInit(); @@ -339,7 +351,7 @@ #endregion private System.Windows.Forms.PictureBox DisplayBox; - private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.MenuStrip _mainMenu; private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem; @@ -365,5 +377,6 @@ private System.Windows.Forms.ToolStripMenuItem AlternateBootToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem saveScreenshotToolStripMenuItem; private System.Windows.Forms.ToolStripStatusLabel FPSLabel; + private System.Windows.Forms.ToolStripMenuItem fullScreenToolStripMenuItem; } } \ No newline at end of file diff --git a/Contralto/UI/AltoWindow.cs b/Contralto/UI/AltoWindow.cs index e752582..4864c08 100644 --- a/Contralto/UI/AltoWindow.cs +++ b/Contralto/UI/AltoWindow.cs @@ -22,6 +22,7 @@ namespace Contralto _mouseCaptured = false; _currentCursorState = true; + _fullScreenDisplay = false; _displayBuffer = new Bitmap(608, 808, PixelFormat.Format1bppIndexed); DisplayBox.Image = _displayBuffer; @@ -54,18 +55,17 @@ namespace Contralto this.DoubleBuffered = true; - System.Timers.Timer fpsTimer = new System.Timers.Timer(); - fpsTimer.AutoReset = true; - fpsTimer.Interval = 1000; - fpsTimer.Elapsed += OnFPSTimerElapsed; - fpsTimer.Start(); + _fpsTimer = new System.Timers.Timer(); + _fpsTimer.AutoReset = true; + _fpsTimer.Interval = 1000; + _fpsTimer.Elapsed += OnFPSTimerElapsed; + _fpsTimer.Start(); - - System.Timers.Timer diskTimer = new System.Timers.Timer(); - diskTimer.AutoReset = true; - diskTimer.Interval = 25; - diskTimer.Elapsed += OnDiskTimerElapsed; - diskTimer.Start(); + _diskAccessTimer = new System.Timers.Timer(); + _diskAccessTimer.AutoReset = true; + _diskAccessTimer.Interval = 25; + _diskAccessTimer.Elapsed += OnDiskTimerElapsed; + _diskAccessTimer.Start(); } public void AttachSystem(AltoSystem system) @@ -188,6 +188,11 @@ namespace Contralto optionsWindow.ShowDialog(); } + private void OnFullScreenMenuClick(object sender, EventArgs e) + { + BeginInvoke(new DisplayDelegate(ToggleFullScreen)); + } + private void OnHelpAboutClick(object sender, EventArgs e) { AboutBox about = new AboutBox(); @@ -270,6 +275,12 @@ namespace Contralto private void OnAltoWindowClosed(object sender, FormClosedEventArgs e) { + // + // Stop UI timers + // + _fpsTimer.Stop(); + _diskAccessTimer.Stop(); + // Halt the system and detach our display _controller.StopExecution(); _system.DetachDisplay(); @@ -278,7 +289,7 @@ namespace Contralto // // Commit current configuration to disk // - Configuration.WriteConfiguration(); + Configuration.WriteConfiguration(); DialogResult = DialogResult.OK; } @@ -764,6 +775,23 @@ namespace Contralto ReleaseMouse(); } + private void OnWindowSizeChanged(object sender, EventArgs e) + { + // + // If we've switched to a fullscreen mode, update the + // Alto's display area. + // + if (_fullScreenDisplay) + { + DisplayBox.Top = 0; + DisplayBox.Left = 0; + DisplayBox.Width = this.Width; + DisplayBox.Height = this.Height; + DisplayBox.SizeMode = PictureBoxSizeMode.Zoom; + DisplayBox.BackColor = Color.Black; + } + } + private void OnFPSTimerElapsed(object sender, ElapsedEventArgs e) { string fpsMessage = String.Format("{0} fields/sec", _system.DisplayController.Fields); @@ -804,6 +832,41 @@ namespace Contralto } } + private void ToggleFullScreen() + { + _fullScreenDisplay = !_fullScreenDisplay; + + if (_fullScreenDisplay) + { + // Save the original size and location of the Alto's Display so we can + // restore it when full-screen mode is exited. + _windowedDisplayBoxLocation = DisplayBox.Location; + _windowedDisplayBoxSize = DisplayBox.Size; + + // Hide window adornments and make the window full screen on the current + // display. + this.FormBorderStyle = FormBorderStyle.None; + this.WindowState = FormWindowState.Maximized; + _mainMenu.Visible = false; + StatusLine.Visible = false; + + // Once the window repaints we will center the Alto's display and + // stretch if applicable. + } + else + { + // Show everything that was hidden before. + this.FormBorderStyle = FormBorderStyle.FixedSingle; + this.WindowState = FormWindowState.Normal; + _mainMenu.Visible = true; + StatusLine.Visible = true; + + DisplayBox.SizeMode = PictureBoxSizeMode.Normal; + DisplayBox.Location = _windowedDisplayBoxLocation; + DisplayBox.Size = _windowedDisplayBoxSize; + } + } + private void InitKeymap() { _keyMap = new Dictionary(); @@ -907,10 +970,16 @@ namespace Contralto // Keyboard mapping from windows vkeys to Alto keys private Dictionary _keyMap; + // Mouse capture state private bool _mouseCaptured; private bool _currentCursorState; private bool _skipNextMouseMove; + // Full-screen state + private bool _fullScreenDisplay; + private Point _windowedDisplayBoxLocation; + private Size _windowedDisplayBoxSize; + // The Alto system we're running private AltoSystem _system; @@ -920,17 +989,20 @@ namespace Contralto // The debugger, which may or may not be running. private Debugger _debugger; - // strings. TODO: move to resource - private const string _noImageLoadedText = ""; - private const string _systemStoppedText = "Alto Stopped."; - private const string _systemRunningText = "Alto Running."; - private const string _systemErrorText = "Alto Stopped due to error. See Debugger."; + // Status bar things + System.Timers.Timer _fpsTimer; + System.Timers.Timer _diskAccessTimer; private DiskActivityType _lastActivity; private Image _diskIdleImage; private Image _diskReadImage; private Image _diskWriteImage; - private Image _diskSeekImage; + private Image _diskSeekImage; - } + // strings. TODO: move to resource + private const string _noImageLoadedText = ""; + private const string _systemStoppedText = "Alto Stopped."; + private const string _systemRunningText = "Alto Running."; + private const string _systemErrorText = "Alto Stopped due to error. See Debugger."; + } } diff --git a/Contralto/UI/AltoWindow.resx b/Contralto/UI/AltoWindow.resx index 8227c8e..ceebdb9 100644 --- a/Contralto/UI/AltoWindow.resx +++ b/Contralto/UI/AltoWindow.resx @@ -117,10 +117,10 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + 17, 17 - + True diff --git a/Contralto/UI/Debugger.Designer.cs b/Contralto/UI/Debugger.Designer.cs index bf6a47d..713fddb 100644 --- a/Contralto/UI/Debugger.Designer.cs +++ b/Contralto/UI/Debugger.Designer.cs @@ -28,31 +28,21 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); @@ -63,8 +53,49 @@ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Debugger)); this.Microcode = new System.Windows.Forms.GroupBox(); + this.SourceTabs = new System.Windows.Forms.TabControl(); + this.Rom0Page = new System.Windows.Forms.TabPage(); + this._rom0SourceViewer = new System.Windows.Forms.DataGridView(); + this.Breakpoint = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.T = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Addr = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Source = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Rom1Page = new System.Windows.Forms.TabPage(); + this._rom1SourceViewer = new System.Windows.Forms.DataGridView(); + this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Ram0Page = new System.Windows.Forms.TabPage(); + this._ram0SourceViewer = new System.Windows.Forms.DataGridView(); + this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Ram1Page = new System.Windows.Forms.TabPage(); + this._ram1SourceViewer = new System.Windows.Forms.DataGridView(); + this.dataGridViewCheckBoxColumn3 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Ram2Page = new System.Windows.Forms.TabPage(); + this._ram2SourceViewer = new System.Windows.Forms.DataGridView(); + this.dataGridViewCheckBoxColumn4 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.label2 = new System.Windows.Forms.Label(); this.JumpToAddress = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); @@ -86,9 +117,15 @@ this.Reg = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.RegValue = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.groupBox4 = new System.Windows.Forms.GroupBox(); + this.MemoryFindTextBox = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); this.MemoryJumpToAddress = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this._memoryData = new System.Windows.Forms.DataGridView(); + this.Bkpt = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.Address = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Data = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Disassembly = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.label1 = new System.Windows.Forms.Label(); this.ExecutionStateLabel = new System.Windows.Forms.Label(); this.ResetButton = new System.Windows.Forms.Button(); @@ -99,44 +136,18 @@ this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Ram0Page = new System.Windows.Forms.TabPage(); - this._ram0SourceViewer = new System.Windows.Forms.DataGridView(); - this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.Rom1Page = new System.Windows.Forms.TabPage(); - this._rom1SourceViewer = new System.Windows.Forms.DataGridView(); - this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.Rom0Page = new System.Windows.Forms.TabPage(); - this._rom0SourceViewer = new System.Windows.Forms.DataGridView(); - this.Source = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Addr = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.T = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Breakpoint = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.SourceTabs = new System.Windows.Forms.TabControl(); - this.Ram1Page = new System.Windows.Forms.TabPage(); - this.Ram2Page = new System.Windows.Forms.TabPage(); - this._ram1SourceViewer = new System.Windows.Forms.DataGridView(); - this.dataGridViewCheckBoxColumn3 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this._ram2SourceViewer = new System.Windows.Forms.DataGridView(); - this.dataGridViewCheckBoxColumn4 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.MemoryFindTextBox = new System.Windows.Forms.TextBox(); - this.label4 = new System.Windows.Forms.Label(); - this.Bkpt = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.Address = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Data = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Disassembly = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Microcode.SuspendLayout(); + this.SourceTabs.SuspendLayout(); + this.Rom0Page.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this._rom0SourceViewer)).BeginInit(); + this.Rom1Page.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this._rom1SourceViewer)).BeginInit(); + this.Ram0Page.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this._ram0SourceViewer)).BeginInit(); + this.Ram1Page.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this._ram1SourceViewer)).BeginInit(); + this.Ram2Page.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this._ram2SourceViewer)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this._registerData)).BeginInit(); this.groupBox2.SuspendLayout(); @@ -147,17 +158,6 @@ ((System.ComponentModel.ISupportInitialize)(this._memoryData)).BeginInit(); this.groupBox6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this._reservedMemory)).BeginInit(); - this.Ram0Page.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this._ram0SourceViewer)).BeginInit(); - this.Rom1Page.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this._rom1SourceViewer)).BeginInit(); - this.Rom0Page.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this._rom0SourceViewer)).BeginInit(); - this.SourceTabs.SuspendLayout(); - this.Ram1Page.SuspendLayout(); - this.Ram2Page.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this._ram1SourceViewer)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this._ram2SourceViewer)).BeginInit(); this.SuspendLayout(); // // Microcode @@ -167,15 +167,538 @@ this.Microcode.Controls.Add(this.JumpToAddress); this.Microcode.Location = new System.Drawing.Point(3, 3); this.Microcode.Name = "Microcode"; - this.Microcode.Size = new System.Drawing.Size(603, 622); + this.Microcode.Size = new System.Drawing.Size(603, 667); this.Microcode.TabIndex = 0; this.Microcode.TabStop = false; this.Microcode.Text = "Microcode Source"; // + // SourceTabs + // + this.SourceTabs.Controls.Add(this.Rom0Page); + this.SourceTabs.Controls.Add(this.Rom1Page); + this.SourceTabs.Controls.Add(this.Ram0Page); + this.SourceTabs.Controls.Add(this.Ram1Page); + this.SourceTabs.Controls.Add(this.Ram2Page); + this.SourceTabs.Location = new System.Drawing.Point(6, 19); + this.SourceTabs.Name = "SourceTabs"; + this.SourceTabs.SelectedIndex = 0; + this.SourceTabs.Size = new System.Drawing.Size(590, 620); + this.SourceTabs.TabIndex = 14; + this.SourceTabs.SelectedIndexChanged += new System.EventHandler(this.OnTabChanged); + // + // Rom0Page + // + this.Rom0Page.Controls.Add(this._rom0SourceViewer); + this.Rom0Page.Location = new System.Drawing.Point(4, 22); + this.Rom0Page.Name = "Rom0Page"; + this.Rom0Page.Padding = new System.Windows.Forms.Padding(3); + this.Rom0Page.Size = new System.Drawing.Size(582, 594); + this.Rom0Page.TabIndex = 0; + this.Rom0Page.Text = "ROM0"; + this.Rom0Page.UseVisualStyleBackColor = true; + // + // _rom0SourceViewer + // + this._rom0SourceViewer.AllowUserToAddRows = false; + this._rom0SourceViewer.AllowUserToDeleteRows = false; + this._rom0SourceViewer.AllowUserToResizeColumns = false; + this._rom0SourceViewer.AllowUserToResizeRows = false; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.Silver; + this._rom0SourceViewer.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + this._rom0SourceViewer.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; + this._rom0SourceViewer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this._rom0SourceViewer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.Breakpoint, + this.T, + this.Addr, + this.Source}); + this._rom0SourceViewer.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; + this._rom0SourceViewer.Location = new System.Drawing.Point(0, 0); + this._rom0SourceViewer.Name = "_rom0SourceViewer"; + this._rom0SourceViewer.ReadOnly = true; + this._rom0SourceViewer.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle5.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this._rom0SourceViewer.RowHeadersDefaultCellStyle = dataGridViewCellStyle5; + this._rom0SourceViewer.RowHeadersVisible = false; + this._rom0SourceViewer.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; + this._rom0SourceViewer.RowTemplate.Height = 18; + this._rom0SourceViewer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this._rom0SourceViewer.ShowCellErrors = false; + this._rom0SourceViewer.ShowEditingIcon = false; + this._rom0SourceViewer.ShowRowErrors = false; + this._rom0SourceViewer.Size = new System.Drawing.Size(582, 594); + this._rom0SourceViewer.TabIndex = 1; + this._rom0SourceViewer.TabStop = false; + this._rom0SourceViewer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Rom0SourceViewCellClick); + // + // Breakpoint + // + this.Breakpoint.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.Breakpoint.FalseValue = "false"; + this.Breakpoint.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Breakpoint.HeaderText = "B"; + this.Breakpoint.IndeterminateValue = "null"; + this.Breakpoint.Name = "Breakpoint"; + this.Breakpoint.ReadOnly = true; + this.Breakpoint.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.Breakpoint.TrueValue = "true"; + this.Breakpoint.Width = 20; + // + // T + // + this.T.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; + dataGridViewCellStyle2.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.T.DefaultCellStyle = dataGridViewCellStyle2; + this.T.HeaderText = "T"; + this.T.Name = "T"; + this.T.ReadOnly = true; + this.T.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.T.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.T.Width = 5; + // + // Addr + // + this.Addr.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; + dataGridViewCellStyle3.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Addr.DefaultCellStyle = dataGridViewCellStyle3; + this.Addr.HeaderText = "Addr"; + this.Addr.Name = "Addr"; + this.Addr.ReadOnly = true; + this.Addr.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.Addr.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.Addr.Width = 5; + // + // Source + // + this.Source.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + dataGridViewCellStyle4.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Source.DefaultCellStyle = dataGridViewCellStyle4; + this.Source.HeaderText = "Source Code"; + this.Source.Name = "Source"; + this.Source.ReadOnly = true; + this.Source.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.Source.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // Rom1Page + // + this.Rom1Page.Controls.Add(this._rom1SourceViewer); + this.Rom1Page.Location = new System.Drawing.Point(4, 22); + this.Rom1Page.Name = "Rom1Page"; + this.Rom1Page.Padding = new System.Windows.Forms.Padding(3); + this.Rom1Page.Size = new System.Drawing.Size(582, 594); + this.Rom1Page.TabIndex = 1; + this.Rom1Page.Text = "ROM1"; + this.Rom1Page.UseVisualStyleBackColor = true; + // + // _rom1SourceViewer + // + this._rom1SourceViewer.AllowUserToAddRows = false; + this._rom1SourceViewer.AllowUserToDeleteRows = false; + this._rom1SourceViewer.AllowUserToResizeColumns = false; + this._rom1SourceViewer.AllowUserToResizeRows = false; + dataGridViewCellStyle6.BackColor = System.Drawing.Color.Silver; + this._rom1SourceViewer.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6; + this._rom1SourceViewer.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; + this._rom1SourceViewer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this._rom1SourceViewer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewCheckBoxColumn1, + this.dataGridViewTextBoxColumn4, + this.dataGridViewTextBoxColumn3, + this.dataGridViewTextBoxColumn5}); + this._rom1SourceViewer.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; + this._rom1SourceViewer.Location = new System.Drawing.Point(0, 0); + this._rom1SourceViewer.Name = "_rom1SourceViewer"; + this._rom1SourceViewer.ReadOnly = true; + this._rom1SourceViewer.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; + dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle10.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this._rom1SourceViewer.RowHeadersDefaultCellStyle = dataGridViewCellStyle10; + this._rom1SourceViewer.RowHeadersVisible = false; + this._rom1SourceViewer.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; + this._rom1SourceViewer.RowTemplate.Height = 18; + this._rom1SourceViewer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this._rom1SourceViewer.ShowCellErrors = false; + this._rom1SourceViewer.ShowEditingIcon = false; + this._rom1SourceViewer.ShowRowErrors = false; + this._rom1SourceViewer.Size = new System.Drawing.Size(582, 594); + this._rom1SourceViewer.TabIndex = 2; + this._rom1SourceViewer.TabStop = false; + this._rom1SourceViewer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Rom1SourceViewCellClick); + // + // dataGridViewCheckBoxColumn1 + // + this.dataGridViewCheckBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.dataGridViewCheckBoxColumn1.FalseValue = "false"; + this.dataGridViewCheckBoxColumn1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.dataGridViewCheckBoxColumn1.HeaderText = "B"; + this.dataGridViewCheckBoxColumn1.IndeterminateValue = "null"; + this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1"; + this.dataGridViewCheckBoxColumn1.ReadOnly = true; + this.dataGridViewCheckBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewCheckBoxColumn1.TrueValue = "true"; + this.dataGridViewCheckBoxColumn1.Width = 20; + // + // dataGridViewTextBoxColumn4 + // + this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; + dataGridViewCellStyle7.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle7; + this.dataGridViewTextBoxColumn4.HeaderText = "T"; + this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; + this.dataGridViewTextBoxColumn4.ReadOnly = true; + this.dataGridViewTextBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn4.Width = 5; + // + // dataGridViewTextBoxColumn3 + // + this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; + dataGridViewCellStyle8.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle8; + this.dataGridViewTextBoxColumn3.HeaderText = "Addr"; + this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + this.dataGridViewTextBoxColumn3.ReadOnly = true; + this.dataGridViewTextBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn3.Width = 5; + // + // dataGridViewTextBoxColumn5 + // + this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + dataGridViewCellStyle9.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle9; + this.dataGridViewTextBoxColumn5.HeaderText = "Source Code"; + this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; + this.dataGridViewTextBoxColumn5.ReadOnly = true; + this.dataGridViewTextBoxColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // Ram0Page + // + this.Ram0Page.Controls.Add(this._ram0SourceViewer); + this.Ram0Page.Location = new System.Drawing.Point(4, 22); + this.Ram0Page.Name = "Ram0Page"; + this.Ram0Page.Padding = new System.Windows.Forms.Padding(3); + this.Ram0Page.Size = new System.Drawing.Size(582, 594); + this.Ram0Page.TabIndex = 2; + this.Ram0Page.Text = "RAM0"; + this.Ram0Page.UseVisualStyleBackColor = true; + // + // _ram0SourceViewer + // + this._ram0SourceViewer.AllowUserToAddRows = false; + this._ram0SourceViewer.AllowUserToDeleteRows = false; + this._ram0SourceViewer.AllowUserToResizeColumns = false; + this._ram0SourceViewer.AllowUserToResizeRows = false; + dataGridViewCellStyle11.BackColor = System.Drawing.Color.Silver; + this._ram0SourceViewer.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11; + this._ram0SourceViewer.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; + this._ram0SourceViewer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this._ram0SourceViewer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewCheckBoxColumn2, + this.dataGridViewTextBoxColumn7, + this.dataGridViewTextBoxColumn6, + this.dataGridViewTextBoxColumn8}); + this._ram0SourceViewer.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; + this._ram0SourceViewer.Location = new System.Drawing.Point(0, 0); + this._ram0SourceViewer.Name = "_ram0SourceViewer"; + this._ram0SourceViewer.ReadOnly = true; + this._ram0SourceViewer.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; + dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle15.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this._ram0SourceViewer.RowHeadersDefaultCellStyle = dataGridViewCellStyle15; + this._ram0SourceViewer.RowHeadersVisible = false; + this._ram0SourceViewer.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; + this._ram0SourceViewer.RowTemplate.Height = 18; + this._ram0SourceViewer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this._ram0SourceViewer.ShowCellErrors = false; + this._ram0SourceViewer.ShowEditingIcon = false; + this._ram0SourceViewer.ShowRowErrors = false; + this._ram0SourceViewer.Size = new System.Drawing.Size(582, 594); + this._ram0SourceViewer.TabIndex = 2; + this._ram0SourceViewer.TabStop = false; + this._ram0SourceViewer.Tag = "RAM0"; + this._ram0SourceViewer.VirtualMode = true; + this._ram0SourceViewer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Ram0SourceViewCellClick); + this._ram0SourceViewer.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.OnMicrocodeSourceValueNeeded); + // + // dataGridViewCheckBoxColumn2 + // + this.dataGridViewCheckBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.dataGridViewCheckBoxColumn2.FalseValue = "false"; + this.dataGridViewCheckBoxColumn2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.dataGridViewCheckBoxColumn2.HeaderText = "B"; + this.dataGridViewCheckBoxColumn2.IndeterminateValue = "null"; + this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2"; + this.dataGridViewCheckBoxColumn2.ReadOnly = true; + this.dataGridViewCheckBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewCheckBoxColumn2.TrueValue = "true"; + this.dataGridViewCheckBoxColumn2.Width = 20; + // + // dataGridViewTextBoxColumn7 + // + this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; + dataGridViewCellStyle12.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle12; + this.dataGridViewTextBoxColumn7.HeaderText = "Addr"; + this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; + this.dataGridViewTextBoxColumn7.ReadOnly = true; + this.dataGridViewTextBoxColumn7.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn7.Width = 5; + // + // dataGridViewTextBoxColumn6 + // + this.dataGridViewTextBoxColumn6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; + dataGridViewCellStyle13.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle13; + this.dataGridViewTextBoxColumn6.HeaderText = "Word"; + this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; + this.dataGridViewTextBoxColumn6.ReadOnly = true; + this.dataGridViewTextBoxColumn6.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn6.Width = 5; + // + // dataGridViewTextBoxColumn8 + // + this.dataGridViewTextBoxColumn8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + dataGridViewCellStyle14.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle14; + this.dataGridViewTextBoxColumn8.HeaderText = "Disassembly"; + this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; + this.dataGridViewTextBoxColumn8.ReadOnly = true; + this.dataGridViewTextBoxColumn8.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // Ram1Page + // + this.Ram1Page.Controls.Add(this._ram1SourceViewer); + this.Ram1Page.Location = new System.Drawing.Point(4, 22); + this.Ram1Page.Name = "Ram1Page"; + this.Ram1Page.Padding = new System.Windows.Forms.Padding(3); + this.Ram1Page.Size = new System.Drawing.Size(582, 594); + this.Ram1Page.TabIndex = 3; + this.Ram1Page.Text = "RAM1"; + this.Ram1Page.UseVisualStyleBackColor = true; + // + // _ram1SourceViewer + // + this._ram1SourceViewer.AllowUserToAddRows = false; + this._ram1SourceViewer.AllowUserToDeleteRows = false; + this._ram1SourceViewer.AllowUserToResizeColumns = false; + this._ram1SourceViewer.AllowUserToResizeRows = false; + dataGridViewCellStyle16.BackColor = System.Drawing.Color.Silver; + this._ram1SourceViewer.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16; + this._ram1SourceViewer.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; + this._ram1SourceViewer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this._ram1SourceViewer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewCheckBoxColumn3, + this.dataGridViewTextBoxColumn1, + this.dataGridViewTextBoxColumn2, + this.dataGridViewTextBoxColumn12}); + this._ram1SourceViewer.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; + this._ram1SourceViewer.Location = new System.Drawing.Point(0, 0); + this._ram1SourceViewer.Name = "_ram1SourceViewer"; + this._ram1SourceViewer.ReadOnly = true; + this._ram1SourceViewer.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; + dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle20.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this._ram1SourceViewer.RowHeadersDefaultCellStyle = dataGridViewCellStyle20; + this._ram1SourceViewer.RowHeadersVisible = false; + this._ram1SourceViewer.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; + this._ram1SourceViewer.RowTemplate.Height = 18; + this._ram1SourceViewer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this._ram1SourceViewer.ShowCellErrors = false; + this._ram1SourceViewer.ShowEditingIcon = false; + this._ram1SourceViewer.ShowRowErrors = false; + this._ram1SourceViewer.Size = new System.Drawing.Size(582, 594); + this._ram1SourceViewer.TabIndex = 3; + this._ram1SourceViewer.TabStop = false; + this._ram1SourceViewer.Tag = "RAM1"; + this._ram1SourceViewer.VirtualMode = true; + this._ram1SourceViewer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Ram1SourceViewCellClick); + this._ram1SourceViewer.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.OnMicrocodeSourceValueNeeded); + // + // dataGridViewCheckBoxColumn3 + // + this.dataGridViewCheckBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.dataGridViewCheckBoxColumn3.FalseValue = "false"; + this.dataGridViewCheckBoxColumn3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.dataGridViewCheckBoxColumn3.HeaderText = "B"; + this.dataGridViewCheckBoxColumn3.IndeterminateValue = "null"; + this.dataGridViewCheckBoxColumn3.Name = "dataGridViewCheckBoxColumn3"; + this.dataGridViewCheckBoxColumn3.ReadOnly = true; + this.dataGridViewCheckBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewCheckBoxColumn3.TrueValue = "true"; + this.dataGridViewCheckBoxColumn3.Width = 20; + // + // dataGridViewTextBoxColumn1 + // + this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; + dataGridViewCellStyle17.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle17; + this.dataGridViewTextBoxColumn1.HeaderText = "Addr"; + this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.dataGridViewTextBoxColumn1.ReadOnly = true; + this.dataGridViewTextBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn1.Width = 5; + // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; + dataGridViewCellStyle18.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle18; + this.dataGridViewTextBoxColumn2.HeaderText = "Word"; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.ReadOnly = true; + this.dataGridViewTextBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn2.Width = 5; + // + // dataGridViewTextBoxColumn12 + // + this.dataGridViewTextBoxColumn12.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + dataGridViewCellStyle19.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle19; + this.dataGridViewTextBoxColumn12.HeaderText = "Disassembly"; + this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; + this.dataGridViewTextBoxColumn12.ReadOnly = true; + this.dataGridViewTextBoxColumn12.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // Ram2Page + // + this.Ram2Page.Controls.Add(this._ram2SourceViewer); + this.Ram2Page.Location = new System.Drawing.Point(4, 22); + this.Ram2Page.Name = "Ram2Page"; + this.Ram2Page.Padding = new System.Windows.Forms.Padding(3); + this.Ram2Page.Size = new System.Drawing.Size(582, 594); + this.Ram2Page.TabIndex = 4; + this.Ram2Page.Text = "RAM2"; + this.Ram2Page.UseVisualStyleBackColor = true; + // + // _ram2SourceViewer + // + this._ram2SourceViewer.AllowUserToAddRows = false; + this._ram2SourceViewer.AllowUserToDeleteRows = false; + this._ram2SourceViewer.AllowUserToResizeColumns = false; + this._ram2SourceViewer.AllowUserToResizeRows = false; + dataGridViewCellStyle21.BackColor = System.Drawing.Color.Silver; + this._ram2SourceViewer.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21; + this._ram2SourceViewer.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; + this._ram2SourceViewer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this._ram2SourceViewer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewCheckBoxColumn4, + this.dataGridViewTextBoxColumn13, + this.dataGridViewTextBoxColumn14, + this.dataGridViewTextBoxColumn15}); + this._ram2SourceViewer.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; + this._ram2SourceViewer.Location = new System.Drawing.Point(0, 0); + this._ram2SourceViewer.Name = "_ram2SourceViewer"; + this._ram2SourceViewer.ReadOnly = true; + this._ram2SourceViewer.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; + dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle25.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle25.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle25.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle25.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle25.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this._ram2SourceViewer.RowHeadersDefaultCellStyle = dataGridViewCellStyle25; + this._ram2SourceViewer.RowHeadersVisible = false; + this._ram2SourceViewer.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; + this._ram2SourceViewer.RowTemplate.Height = 18; + this._ram2SourceViewer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this._ram2SourceViewer.ShowCellErrors = false; + this._ram2SourceViewer.ShowEditingIcon = false; + this._ram2SourceViewer.ShowRowErrors = false; + this._ram2SourceViewer.Size = new System.Drawing.Size(582, 594); + this._ram2SourceViewer.TabIndex = 3; + this._ram2SourceViewer.TabStop = false; + this._ram2SourceViewer.Tag = "RAM2"; + this._ram2SourceViewer.VirtualMode = true; + this._ram2SourceViewer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Ram2SourceViewCellClick); + this._ram2SourceViewer.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.OnMicrocodeSourceValueNeeded); + // + // dataGridViewCheckBoxColumn4 + // + this.dataGridViewCheckBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.dataGridViewCheckBoxColumn4.FalseValue = "false"; + this.dataGridViewCheckBoxColumn4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.dataGridViewCheckBoxColumn4.HeaderText = "B"; + this.dataGridViewCheckBoxColumn4.IndeterminateValue = "null"; + this.dataGridViewCheckBoxColumn4.Name = "dataGridViewCheckBoxColumn4"; + this.dataGridViewCheckBoxColumn4.ReadOnly = true; + this.dataGridViewCheckBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewCheckBoxColumn4.TrueValue = "true"; + this.dataGridViewCheckBoxColumn4.Width = 20; + // + // dataGridViewTextBoxColumn13 + // + this.dataGridViewTextBoxColumn13.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; + dataGridViewCellStyle22.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle22; + this.dataGridViewTextBoxColumn13.HeaderText = "Addr"; + this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; + this.dataGridViewTextBoxColumn13.ReadOnly = true; + this.dataGridViewTextBoxColumn13.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn13.Width = 5; + // + // dataGridViewTextBoxColumn14 + // + this.dataGridViewTextBoxColumn14.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; + dataGridViewCellStyle23.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle23; + this.dataGridViewTextBoxColumn14.HeaderText = "Word"; + this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; + this.dataGridViewTextBoxColumn14.ReadOnly = true; + this.dataGridViewTextBoxColumn14.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn14.Width = 5; + // + // dataGridViewTextBoxColumn15 + // + this.dataGridViewTextBoxColumn15.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + dataGridViewCellStyle24.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle24; + this.dataGridViewTextBoxColumn15.HeaderText = "Disassembly"; + this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; + this.dataGridViewTextBoxColumn15.ReadOnly = true; + this.dataGridViewTextBoxColumn15.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn15.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // // label2 // this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(11, 602); + this.label2.Location = new System.Drawing.Point(9, 648); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(47, 13); this.label2.TabIndex = 13; @@ -183,7 +706,7 @@ // // JumpToAddress // - this.JumpToAddress.Location = new System.Drawing.Point(64, 599); + this.JumpToAddress.Location = new System.Drawing.Point(62, 644); this.JumpToAddress.Name = "JumpToAddress"; this.JumpToAddress.Size = new System.Drawing.Size(48, 20); this.JumpToAddress.TabIndex = 12; @@ -193,9 +716,9 @@ // groupBox1 // this.groupBox1.Controls.Add(this._registerData); - this.groupBox1.Location = new System.Drawing.Point(909, 3); + this.groupBox1.Location = new System.Drawing.Point(941, 3); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(137, 667); + this.groupBox1.Size = new System.Drawing.Size(137, 715); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "General Registers"; @@ -235,7 +758,7 @@ this._registerData.ShowCellToolTips = false; this._registerData.ShowEditingIcon = false; this._registerData.ShowRowErrors = false; - this._registerData.Size = new System.Drawing.Size(123, 642); + this._registerData.Size = new System.Drawing.Size(123, 690); this._registerData.TabIndex = 0; this._registerData.TabStop = false; // @@ -270,7 +793,7 @@ // // StepButton // - this.StepButton.Location = new System.Drawing.Point(9, 647); + this.StepButton.Location = new System.Drawing.Point(9, 694); this.StepButton.Name = "StepButton"; this.StepButton.Size = new System.Drawing.Size(44, 23); this.StepButton.TabIndex = 3; @@ -281,7 +804,7 @@ // // AutoStep // - this.AutoStep.Location = new System.Drawing.Point(59, 647); + this.AutoStep.Location = new System.Drawing.Point(59, 694); this.AutoStep.Name = "AutoStep"; this.AutoStep.Size = new System.Drawing.Size(47, 23); this.AutoStep.TabIndex = 4; @@ -292,7 +815,7 @@ // // RunButton // - this.RunButton.Location = new System.Drawing.Point(112, 647); + this.RunButton.Location = new System.Drawing.Point(112, 694); this.RunButton.Name = "RunButton"; this.RunButton.Size = new System.Drawing.Size(41, 23); this.RunButton.TabIndex = 5; @@ -303,7 +826,7 @@ // // StopButton // - this.StopButton.Location = new System.Drawing.Point(489, 648); + this.StopButton.Location = new System.Drawing.Point(489, 695); this.StopButton.Name = "StopButton"; this.StopButton.Size = new System.Drawing.Size(43, 23); this.StopButton.TabIndex = 6; @@ -315,7 +838,7 @@ // groupBox2 // this.groupBox2.Controls.Add(this._taskData); - this.groupBox2.Location = new System.Drawing.Point(612, 326); + this.groupBox2.Location = new System.Drawing.Point(612, 374); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(137, 344); this.groupBox2.TabIndex = 7; @@ -386,9 +909,9 @@ // groupBox3 // this.groupBox3.Controls.Add(this._otherRegs); - this.groupBox3.Location = new System.Drawing.Point(755, 326); + this.groupBox3.Location = new System.Drawing.Point(755, 374); this.groupBox3.Name = "groupBox3"; - this.groupBox3.Size = new System.Drawing.Size(148, 344); + this.groupBox3.Size = new System.Drawing.Size(180, 184); this.groupBox3.TabIndex = 8; this.groupBox3.TabStop = false; this.groupBox3.Text = "CPU Registers"; @@ -424,7 +947,7 @@ this._otherRegs.ShowCellToolTips = false; this._otherRegs.ShowEditingIcon = false; this._otherRegs.ShowRowErrors = false; - this._otherRegs.Size = new System.Drawing.Size(135, 319); + this._otherRegs.Size = new System.Drawing.Size(167, 154); this._otherRegs.TabIndex = 0; // // Reg @@ -457,14 +980,32 @@ this.groupBox4.Controls.Add(this._memoryData); this.groupBox4.Location = new System.Drawing.Point(612, 3); this.groupBox4.Name = "groupBox4"; - this.groupBox4.Size = new System.Drawing.Size(291, 317); + this.groupBox4.Size = new System.Drawing.Size(323, 365); this.groupBox4.TabIndex = 8; this.groupBox4.TabStop = false; this.groupBox4.Text = "System Memory"; // + // MemoryFindTextBox + // + this.MemoryFindTextBox.Location = new System.Drawing.Point(158, 341); + this.MemoryFindTextBox.Name = "MemoryFindTextBox"; + this.MemoryFindTextBox.Size = new System.Drawing.Size(48, 20); + this.MemoryFindTextBox.TabIndex = 17; + this.MemoryFindTextBox.TabStop = false; + this.MemoryFindTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnMemoryFindKeyDown); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(122, 344); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(30, 13); + this.label4.TabIndex = 16; + this.label4.Text = "Find:"; + // // MemoryJumpToAddress // - this.MemoryJumpToAddress.Location = new System.Drawing.Point(53, 294); + this.MemoryJumpToAddress.Location = new System.Drawing.Point(52, 341); this.MemoryJumpToAddress.Name = "MemoryJumpToAddress"; this.MemoryJumpToAddress.Size = new System.Drawing.Size(48, 20); this.MemoryJumpToAddress.TabIndex = 15; @@ -474,7 +1015,7 @@ // label3 // this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(4, 297); + this.label3.Location = new System.Drawing.Point(3, 344); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(47, 13); this.label3.TabIndex = 14; @@ -516,682 +1057,13 @@ this._memoryData.ShowCellToolTips = false; this._memoryData.ShowEditingIcon = false; this._memoryData.ShowRowErrors = false; - this._memoryData.Size = new System.Drawing.Size(279, 272); + this._memoryData.Size = new System.Drawing.Size(311, 316); this._memoryData.TabIndex = 0; this._memoryData.TabStop = false; this._memoryData.VirtualMode = true; this._memoryData.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.MemoryViewCellClick); this._memoryData.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.OnMemoryCellValueNeeded); // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(9, 628); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(85, 13); - this.label1.TabIndex = 9; - this.label1.Text = "Execution State:"; - // - // ExecutionStateLabel - // - this.ExecutionStateLabel.AutoSize = true; - this.ExecutionStateLabel.Location = new System.Drawing.Point(101, 628); - this.ExecutionStateLabel.Name = "ExecutionStateLabel"; - this.ExecutionStateLabel.Size = new System.Drawing.Size(33, 13); - this.ExecutionStateLabel.TabIndex = 10; - this.ExecutionStateLabel.Text = "unset"; - // - // ResetButton - // - this.ResetButton.Location = new System.Drawing.Point(538, 648); - this.ResetButton.Name = "ResetButton"; - this.ResetButton.Size = new System.Drawing.Size(57, 23); - this.ResetButton.TabIndex = 12; - this.ResetButton.TabStop = false; - this.ResetButton.Text = "Reset"; - this.ResetButton.UseVisualStyleBackColor = true; - this.ResetButton.Click += new System.EventHandler(this.ResetButton_Click); - // - // RunToNextTaskButton - // - this.RunToNextTaskButton.Location = new System.Drawing.Point(159, 647); - this.RunToNextTaskButton.Name = "RunToNextTaskButton"; - this.RunToNextTaskButton.Size = new System.Drawing.Size(51, 23); - this.RunToNextTaskButton.TabIndex = 13; - this.RunToNextTaskButton.TabStop = false; - this.RunToNextTaskButton.Text = "Run T"; - this.RunToNextTaskButton.UseVisualStyleBackColor = true; - this.RunToNextTaskButton.Click += new System.EventHandler(this.RunToNextTaskButton_Click); - // - // NovaStep - // - this.NovaStep.Location = new System.Drawing.Point(216, 647); - this.NovaStep.Name = "NovaStep"; - this.NovaStep.Size = new System.Drawing.Size(66, 23); - this.NovaStep.TabIndex = 14; - this.NovaStep.TabStop = false; - this.NovaStep.Text = "Nova Step"; - this.NovaStep.UseVisualStyleBackColor = true; - this.NovaStep.Click += new System.EventHandler(this.NovaStep_Click); - // - // groupBox6 - // - this.groupBox6.Controls.Add(this._reservedMemory); - this.groupBox6.Location = new System.Drawing.Point(1052, 3); - this.groupBox6.Name = "groupBox6"; - this.groupBox6.Size = new System.Drawing.Size(180, 667); - this.groupBox6.TabIndex = 3; - this.groupBox6.TabStop = false; - this.groupBox6.Text = "Reserved Memory"; - // - // _reservedMemory - // - this._reservedMemory.AllowUserToAddRows = false; - this._reservedMemory.AllowUserToDeleteRows = false; - this._reservedMemory.AllowUserToResizeColumns = false; - this._reservedMemory.AllowUserToResizeRows = false; - dataGridViewCellStyle34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this._reservedMemory.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle34; - this._reservedMemory.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this._reservedMemory.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewTextBoxColumn9, - this.dataGridViewTextBoxColumn10, - this.dataGridViewTextBoxColumn11}); - dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle35.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle35.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle35.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle35.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle35.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle35.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this._reservedMemory.DefaultCellStyle = dataGridViewCellStyle35; - this._reservedMemory.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this._reservedMemory.Location = new System.Drawing.Point(7, 19); - this._reservedMemory.MultiSelect = false; - this._reservedMemory.Name = "_reservedMemory"; - this._reservedMemory.ReadOnly = true; - this._reservedMemory.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; - this._reservedMemory.RowHeadersVisible = false; - this._reservedMemory.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - this._reservedMemory.RowTemplate.Height = 18; - this._reservedMemory.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; - this._reservedMemory.ShowCellErrors = false; - this._reservedMemory.ShowCellToolTips = false; - this._reservedMemory.ShowEditingIcon = false; - this._reservedMemory.ShowRowErrors = false; - this._reservedMemory.Size = new System.Drawing.Size(167, 642); - this._reservedMemory.TabIndex = 0; - this._reservedMemory.TabStop = false; - // - // dataGridViewTextBoxColumn9 - // - this.dataGridViewTextBoxColumn9.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.dataGridViewTextBoxColumn9.HeaderText = "Addr"; - this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; - this.dataGridViewTextBoxColumn9.ReadOnly = true; - this.dataGridViewTextBoxColumn9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn9.Width = 35; - // - // dataGridViewTextBoxColumn10 - // - this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.dataGridViewTextBoxColumn10.HeaderText = "Name"; - this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; - this.dataGridViewTextBoxColumn10.ReadOnly = true; - this.dataGridViewTextBoxColumn10.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn10.Width = 41; - // - // dataGridViewTextBoxColumn11 - // - this.dataGridViewTextBoxColumn11.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - this.dataGridViewTextBoxColumn11.HeaderText = "Value"; - this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; - this.dataGridViewTextBoxColumn11.ReadOnly = true; - this.dataGridViewTextBoxColumn11.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // Ram0Page - // - this.Ram0Page.Controls.Add(this._ram0SourceViewer); - this.Ram0Page.Location = new System.Drawing.Point(4, 22); - this.Ram0Page.Name = "Ram0Page"; - this.Ram0Page.Padding = new System.Windows.Forms.Padding(3); - this.Ram0Page.Size = new System.Drawing.Size(582, 554); - this.Ram0Page.TabIndex = 2; - this.Ram0Page.Text = "RAM0"; - this.Ram0Page.UseVisualStyleBackColor = true; - // - // _ram0SourceViewer - // - this._ram0SourceViewer.AllowUserToAddRows = false; - this._ram0SourceViewer.AllowUserToDeleteRows = false; - this._ram0SourceViewer.AllowUserToResizeColumns = false; - this._ram0SourceViewer.AllowUserToResizeRows = false; - dataGridViewCellStyle11.BackColor = System.Drawing.Color.Silver; - this._ram0SourceViewer.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11; - this._ram0SourceViewer.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; - this._ram0SourceViewer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this._ram0SourceViewer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewCheckBoxColumn2, - this.dataGridViewTextBoxColumn7, - this.dataGridViewTextBoxColumn6, - this.dataGridViewTextBoxColumn8}); - this._ram0SourceViewer.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this._ram0SourceViewer.Location = new System.Drawing.Point(0, 0); - this._ram0SourceViewer.Name = "_ram0SourceViewer"; - this._ram0SourceViewer.ReadOnly = true; - this._ram0SourceViewer.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; - dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle15.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this._ram0SourceViewer.RowHeadersDefaultCellStyle = dataGridViewCellStyle15; - this._ram0SourceViewer.RowHeadersVisible = false; - this._ram0SourceViewer.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - this._ram0SourceViewer.RowTemplate.Height = 18; - this._ram0SourceViewer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this._ram0SourceViewer.ShowCellErrors = false; - this._ram0SourceViewer.ShowEditingIcon = false; - this._ram0SourceViewer.ShowRowErrors = false; - this._ram0SourceViewer.Size = new System.Drawing.Size(582, 554); - this._ram0SourceViewer.TabIndex = 2; - this._ram0SourceViewer.TabStop = false; - this._ram0SourceViewer.Tag = "RAM0"; - this._ram0SourceViewer.VirtualMode = true; - this._ram0SourceViewer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Ram0SourceViewCellClick); - this._ram0SourceViewer.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.OnMicrocodeSourceValueNeeded); - // - // dataGridViewTextBoxColumn8 - // - this.dataGridViewTextBoxColumn8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - dataGridViewCellStyle14.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle14; - this.dataGridViewTextBoxColumn8.HeaderText = "Disassembly"; - this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; - this.dataGridViewTextBoxColumn8.ReadOnly = true; - this.dataGridViewTextBoxColumn8.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // dataGridViewTextBoxColumn6 - // - this.dataGridViewTextBoxColumn6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; - dataGridViewCellStyle13.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle13; - this.dataGridViewTextBoxColumn6.HeaderText = "Word"; - this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; - this.dataGridViewTextBoxColumn6.ReadOnly = true; - this.dataGridViewTextBoxColumn6.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn6.Width = 5; - // - // dataGridViewTextBoxColumn7 - // - this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; - dataGridViewCellStyle12.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle12; - this.dataGridViewTextBoxColumn7.HeaderText = "Addr"; - this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; - this.dataGridViewTextBoxColumn7.ReadOnly = true; - this.dataGridViewTextBoxColumn7.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn7.Width = 5; - // - // dataGridViewCheckBoxColumn2 - // - this.dataGridViewCheckBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.dataGridViewCheckBoxColumn2.FalseValue = "false"; - this.dataGridViewCheckBoxColumn2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.dataGridViewCheckBoxColumn2.HeaderText = "B"; - this.dataGridViewCheckBoxColumn2.IndeterminateValue = "null"; - this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2"; - this.dataGridViewCheckBoxColumn2.ReadOnly = true; - this.dataGridViewCheckBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewCheckBoxColumn2.TrueValue = "true"; - this.dataGridViewCheckBoxColumn2.Width = 20; - // - // Rom1Page - // - this.Rom1Page.Controls.Add(this._rom1SourceViewer); - this.Rom1Page.Location = new System.Drawing.Point(4, 22); - this.Rom1Page.Name = "Rom1Page"; - this.Rom1Page.Padding = new System.Windows.Forms.Padding(3); - this.Rom1Page.Size = new System.Drawing.Size(582, 554); - this.Rom1Page.TabIndex = 1; - this.Rom1Page.Text = "ROM1"; - this.Rom1Page.UseVisualStyleBackColor = true; - // - // _rom1SourceViewer - // - this._rom1SourceViewer.AllowUserToAddRows = false; - this._rom1SourceViewer.AllowUserToDeleteRows = false; - this._rom1SourceViewer.AllowUserToResizeColumns = false; - this._rom1SourceViewer.AllowUserToResizeRows = false; - dataGridViewCellStyle6.BackColor = System.Drawing.Color.Silver; - this._rom1SourceViewer.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6; - this._rom1SourceViewer.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; - this._rom1SourceViewer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this._rom1SourceViewer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewCheckBoxColumn1, - this.dataGridViewTextBoxColumn4, - this.dataGridViewTextBoxColumn3, - this.dataGridViewTextBoxColumn5}); - this._rom1SourceViewer.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this._rom1SourceViewer.Location = new System.Drawing.Point(0, 0); - this._rom1SourceViewer.Name = "_rom1SourceViewer"; - this._rom1SourceViewer.ReadOnly = true; - this._rom1SourceViewer.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; - dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle10.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this._rom1SourceViewer.RowHeadersDefaultCellStyle = dataGridViewCellStyle10; - this._rom1SourceViewer.RowHeadersVisible = false; - this._rom1SourceViewer.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - this._rom1SourceViewer.RowTemplate.Height = 18; - this._rom1SourceViewer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this._rom1SourceViewer.ShowCellErrors = false; - this._rom1SourceViewer.ShowEditingIcon = false; - this._rom1SourceViewer.ShowRowErrors = false; - this._rom1SourceViewer.Size = new System.Drawing.Size(582, 554); - this._rom1SourceViewer.TabIndex = 2; - this._rom1SourceViewer.TabStop = false; - this._rom1SourceViewer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Rom1SourceViewCellClick); - // - // dataGridViewTextBoxColumn5 - // - this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - dataGridViewCellStyle9.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle9; - this.dataGridViewTextBoxColumn5.HeaderText = "Source Code"; - this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; - this.dataGridViewTextBoxColumn5.ReadOnly = true; - this.dataGridViewTextBoxColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // dataGridViewTextBoxColumn3 - // - this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; - dataGridViewCellStyle8.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle8; - this.dataGridViewTextBoxColumn3.HeaderText = "Addr"; - this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; - this.dataGridViewTextBoxColumn3.ReadOnly = true; - this.dataGridViewTextBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn3.Width = 5; - // - // dataGridViewTextBoxColumn4 - // - this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; - dataGridViewCellStyle7.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle7; - this.dataGridViewTextBoxColumn4.HeaderText = "T"; - this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; - this.dataGridViewTextBoxColumn4.ReadOnly = true; - this.dataGridViewTextBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn4.Width = 5; - // - // dataGridViewCheckBoxColumn1 - // - this.dataGridViewCheckBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.dataGridViewCheckBoxColumn1.FalseValue = "false"; - this.dataGridViewCheckBoxColumn1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.dataGridViewCheckBoxColumn1.HeaderText = "B"; - this.dataGridViewCheckBoxColumn1.IndeterminateValue = "null"; - this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1"; - this.dataGridViewCheckBoxColumn1.ReadOnly = true; - this.dataGridViewCheckBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewCheckBoxColumn1.TrueValue = "true"; - this.dataGridViewCheckBoxColumn1.Width = 20; - // - // Rom0Page - // - this.Rom0Page.Controls.Add(this._rom0SourceViewer); - this.Rom0Page.Location = new System.Drawing.Point(4, 22); - this.Rom0Page.Name = "Rom0Page"; - this.Rom0Page.Padding = new System.Windows.Forms.Padding(3); - this.Rom0Page.Size = new System.Drawing.Size(582, 554); - this.Rom0Page.TabIndex = 0; - this.Rom0Page.Text = "ROM0"; - this.Rom0Page.UseVisualStyleBackColor = true; - // - // _rom0SourceViewer - // - this._rom0SourceViewer.AllowUserToAddRows = false; - this._rom0SourceViewer.AllowUserToDeleteRows = false; - this._rom0SourceViewer.AllowUserToResizeColumns = false; - this._rom0SourceViewer.AllowUserToResizeRows = false; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.Silver; - this._rom0SourceViewer.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; - this._rom0SourceViewer.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; - this._rom0SourceViewer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this._rom0SourceViewer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.Breakpoint, - this.T, - this.Addr, - this.Source}); - this._rom0SourceViewer.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this._rom0SourceViewer.Location = new System.Drawing.Point(0, 0); - this._rom0SourceViewer.Name = "_rom0SourceViewer"; - this._rom0SourceViewer.ReadOnly = true; - this._rom0SourceViewer.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; - dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle5.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this._rom0SourceViewer.RowHeadersDefaultCellStyle = dataGridViewCellStyle5; - this._rom0SourceViewer.RowHeadersVisible = false; - this._rom0SourceViewer.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - this._rom0SourceViewer.RowTemplate.Height = 18; - this._rom0SourceViewer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this._rom0SourceViewer.ShowCellErrors = false; - this._rom0SourceViewer.ShowEditingIcon = false; - this._rom0SourceViewer.ShowRowErrors = false; - this._rom0SourceViewer.Size = new System.Drawing.Size(582, 554); - this._rom0SourceViewer.TabIndex = 1; - this._rom0SourceViewer.TabStop = false; - this._rom0SourceViewer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Rom0SourceViewCellClick); - // - // Source - // - this.Source.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - dataGridViewCellStyle4.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Source.DefaultCellStyle = dataGridViewCellStyle4; - this.Source.HeaderText = "Source Code"; - this.Source.Name = "Source"; - this.Source.ReadOnly = true; - this.Source.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.Source.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // Addr - // - this.Addr.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; - dataGridViewCellStyle3.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Addr.DefaultCellStyle = dataGridViewCellStyle3; - this.Addr.HeaderText = "Addr"; - this.Addr.Name = "Addr"; - this.Addr.ReadOnly = true; - this.Addr.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.Addr.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.Addr.Width = 5; - // - // T - // - this.T.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; - dataGridViewCellStyle2.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.T.DefaultCellStyle = dataGridViewCellStyle2; - this.T.HeaderText = "T"; - this.T.Name = "T"; - this.T.ReadOnly = true; - this.T.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.T.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.T.Width = 5; - // - // Breakpoint - // - this.Breakpoint.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.Breakpoint.FalseValue = "false"; - this.Breakpoint.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.Breakpoint.HeaderText = "B"; - this.Breakpoint.IndeterminateValue = "null"; - this.Breakpoint.Name = "Breakpoint"; - this.Breakpoint.ReadOnly = true; - this.Breakpoint.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.Breakpoint.TrueValue = "true"; - this.Breakpoint.Width = 20; - // - // SourceTabs - // - this.SourceTabs.Controls.Add(this.Rom0Page); - this.SourceTabs.Controls.Add(this.Rom1Page); - this.SourceTabs.Controls.Add(this.Ram0Page); - this.SourceTabs.Controls.Add(this.Ram1Page); - this.SourceTabs.Controls.Add(this.Ram2Page); - this.SourceTabs.Location = new System.Drawing.Point(6, 19); - this.SourceTabs.Name = "SourceTabs"; - this.SourceTabs.SelectedIndex = 0; - this.SourceTabs.Size = new System.Drawing.Size(590, 580); - this.SourceTabs.TabIndex = 14; - this.SourceTabs.SelectedIndexChanged += new System.EventHandler(this.OnTabChanged); - // - // Ram1Page - // - this.Ram1Page.Controls.Add(this._ram1SourceViewer); - this.Ram1Page.Location = new System.Drawing.Point(4, 22); - this.Ram1Page.Name = "Ram1Page"; - this.Ram1Page.Padding = new System.Windows.Forms.Padding(3); - this.Ram1Page.Size = new System.Drawing.Size(582, 554); - this.Ram1Page.TabIndex = 3; - this.Ram1Page.Text = "RAM1"; - this.Ram1Page.UseVisualStyleBackColor = true; - // - // Ram2Page - // - this.Ram2Page.Controls.Add(this._ram2SourceViewer); - this.Ram2Page.Location = new System.Drawing.Point(4, 22); - this.Ram2Page.Name = "Ram2Page"; - this.Ram2Page.Padding = new System.Windows.Forms.Padding(3); - this.Ram2Page.Size = new System.Drawing.Size(582, 554); - this.Ram2Page.TabIndex = 4; - this.Ram2Page.Text = "RAM2"; - this.Ram2Page.UseVisualStyleBackColor = true; - // - // _ram1SourceViewer - // - this._ram1SourceViewer.AllowUserToAddRows = false; - this._ram1SourceViewer.AllowUserToDeleteRows = false; - this._ram1SourceViewer.AllowUserToResizeColumns = false; - this._ram1SourceViewer.AllowUserToResizeRows = false; - dataGridViewCellStyle16.BackColor = System.Drawing.Color.Silver; - this._ram1SourceViewer.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16; - this._ram1SourceViewer.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; - this._ram1SourceViewer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this._ram1SourceViewer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewCheckBoxColumn3, - this.dataGridViewTextBoxColumn1, - this.dataGridViewTextBoxColumn2, - this.dataGridViewTextBoxColumn12}); - this._ram1SourceViewer.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this._ram1SourceViewer.Location = new System.Drawing.Point(0, 0); - this._ram1SourceViewer.Name = "_ram1SourceViewer"; - this._ram1SourceViewer.ReadOnly = true; - this._ram1SourceViewer.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; - dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle20.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this._ram1SourceViewer.RowHeadersDefaultCellStyle = dataGridViewCellStyle20; - this._ram1SourceViewer.RowHeadersVisible = false; - this._ram1SourceViewer.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - this._ram1SourceViewer.RowTemplate.Height = 18; - this._ram1SourceViewer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this._ram1SourceViewer.ShowCellErrors = false; - this._ram1SourceViewer.ShowEditingIcon = false; - this._ram1SourceViewer.ShowRowErrors = false; - this._ram1SourceViewer.Size = new System.Drawing.Size(582, 554); - this._ram1SourceViewer.TabIndex = 3; - this._ram1SourceViewer.TabStop = false; - this._ram1SourceViewer.Tag = "RAM1"; - this._ram1SourceViewer.VirtualMode = true; - this._ram1SourceViewer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Ram1SourceViewCellClick); - this._ram1SourceViewer.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.OnMicrocodeSourceValueNeeded); - // - // dataGridViewCheckBoxColumn3 - // - this.dataGridViewCheckBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.dataGridViewCheckBoxColumn3.FalseValue = "false"; - this.dataGridViewCheckBoxColumn3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.dataGridViewCheckBoxColumn3.HeaderText = "B"; - this.dataGridViewCheckBoxColumn3.IndeterminateValue = "null"; - this.dataGridViewCheckBoxColumn3.Name = "dataGridViewCheckBoxColumn3"; - this.dataGridViewCheckBoxColumn3.ReadOnly = true; - this.dataGridViewCheckBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewCheckBoxColumn3.TrueValue = "true"; - this.dataGridViewCheckBoxColumn3.Width = 20; - // - // dataGridViewTextBoxColumn1 - // - this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; - dataGridViewCellStyle17.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle17; - this.dataGridViewTextBoxColumn1.HeaderText = "Addr"; - this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; - this.dataGridViewTextBoxColumn1.ReadOnly = true; - this.dataGridViewTextBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn1.Width = 5; - // - // dataGridViewTextBoxColumn2 - // - this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; - dataGridViewCellStyle18.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle18; - this.dataGridViewTextBoxColumn2.HeaderText = "Word"; - this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; - this.dataGridViewTextBoxColumn2.ReadOnly = true; - this.dataGridViewTextBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn2.Width = 5; - // - // dataGridViewTextBoxColumn12 - // - this.dataGridViewTextBoxColumn12.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - dataGridViewCellStyle19.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle19; - this.dataGridViewTextBoxColumn12.HeaderText = "Disassembly"; - this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; - this.dataGridViewTextBoxColumn12.ReadOnly = true; - this.dataGridViewTextBoxColumn12.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // _ram2SourceViewer - // - this._ram2SourceViewer.AllowUserToAddRows = false; - this._ram2SourceViewer.AllowUserToDeleteRows = false; - this._ram2SourceViewer.AllowUserToResizeColumns = false; - this._ram2SourceViewer.AllowUserToResizeRows = false; - dataGridViewCellStyle21.BackColor = System.Drawing.Color.Silver; - this._ram2SourceViewer.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21; - this._ram2SourceViewer.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; - this._ram2SourceViewer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this._ram2SourceViewer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewCheckBoxColumn4, - this.dataGridViewTextBoxColumn13, - this.dataGridViewTextBoxColumn14, - this.dataGridViewTextBoxColumn15}); - this._ram2SourceViewer.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this._ram2SourceViewer.Location = new System.Drawing.Point(0, 0); - this._ram2SourceViewer.Name = "_ram2SourceViewer"; - this._ram2SourceViewer.ReadOnly = true; - this._ram2SourceViewer.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; - dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle25.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle25.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle25.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle25.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle25.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this._ram2SourceViewer.RowHeadersDefaultCellStyle = dataGridViewCellStyle25; - this._ram2SourceViewer.RowHeadersVisible = false; - this._ram2SourceViewer.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - this._ram2SourceViewer.RowTemplate.Height = 18; - this._ram2SourceViewer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this._ram2SourceViewer.ShowCellErrors = false; - this._ram2SourceViewer.ShowEditingIcon = false; - this._ram2SourceViewer.ShowRowErrors = false; - this._ram2SourceViewer.Size = new System.Drawing.Size(582, 554); - this._ram2SourceViewer.TabIndex = 3; - this._ram2SourceViewer.TabStop = false; - this._ram2SourceViewer.Tag = "RAM2"; - this._ram2SourceViewer.VirtualMode = true; - this._ram2SourceViewer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Ram2SourceViewCellClick); - this._ram2SourceViewer.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.OnMicrocodeSourceValueNeeded); - // - // dataGridViewCheckBoxColumn4 - // - this.dataGridViewCheckBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.dataGridViewCheckBoxColumn4.FalseValue = "false"; - this.dataGridViewCheckBoxColumn4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.dataGridViewCheckBoxColumn4.HeaderText = "B"; - this.dataGridViewCheckBoxColumn4.IndeterminateValue = "null"; - this.dataGridViewCheckBoxColumn4.Name = "dataGridViewCheckBoxColumn4"; - this.dataGridViewCheckBoxColumn4.ReadOnly = true; - this.dataGridViewCheckBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewCheckBoxColumn4.TrueValue = "true"; - this.dataGridViewCheckBoxColumn4.Width = 20; - // - // dataGridViewTextBoxColumn13 - // - this.dataGridViewTextBoxColumn13.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; - dataGridViewCellStyle22.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle22; - this.dataGridViewTextBoxColumn13.HeaderText = "Addr"; - this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; - this.dataGridViewTextBoxColumn13.ReadOnly = true; - this.dataGridViewTextBoxColumn13.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn13.Width = 5; - // - // dataGridViewTextBoxColumn14 - // - this.dataGridViewTextBoxColumn14.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; - dataGridViewCellStyle23.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle23; - this.dataGridViewTextBoxColumn14.HeaderText = "Word"; - this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; - this.dataGridViewTextBoxColumn14.ReadOnly = true; - this.dataGridViewTextBoxColumn14.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn14.Width = 5; - // - // dataGridViewTextBoxColumn15 - // - this.dataGridViewTextBoxColumn15.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - dataGridViewCellStyle24.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle24; - this.dataGridViewTextBoxColumn15.HeaderText = "Disassembly"; - this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; - this.dataGridViewTextBoxColumn15.ReadOnly = true; - this.dataGridViewTextBoxColumn15.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn15.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // MemoryFindTextBox - // - this.MemoryFindTextBox.Location = new System.Drawing.Point(159, 294); - this.MemoryFindTextBox.Name = "MemoryFindTextBox"; - this.MemoryFindTextBox.Size = new System.Drawing.Size(48, 20); - this.MemoryFindTextBox.TabIndex = 17; - this.MemoryFindTextBox.TabStop = false; - this.MemoryFindTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnMemoryFindKeyDown); - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(123, 297); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(30, 13); - this.label4.TabIndex = 16; - this.label4.Text = "Find:"; - // // Bkpt // this.Bkpt.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; @@ -1235,11 +1107,139 @@ this.Disassembly.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.Disassembly.ToolTipText = "Disassembly"; // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(6, 678); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(85, 13); + this.label1.TabIndex = 9; + this.label1.Text = "Execution State:"; + // + // ExecutionStateLabel + // + this.ExecutionStateLabel.AutoSize = true; + this.ExecutionStateLabel.Location = new System.Drawing.Point(98, 678); + this.ExecutionStateLabel.Name = "ExecutionStateLabel"; + this.ExecutionStateLabel.Size = new System.Drawing.Size(33, 13); + this.ExecutionStateLabel.TabIndex = 10; + this.ExecutionStateLabel.Text = "unset"; + // + // ResetButton + // + this.ResetButton.Location = new System.Drawing.Point(538, 695); + this.ResetButton.Name = "ResetButton"; + this.ResetButton.Size = new System.Drawing.Size(57, 23); + this.ResetButton.TabIndex = 12; + this.ResetButton.TabStop = false; + this.ResetButton.Text = "Reset"; + this.ResetButton.UseVisualStyleBackColor = true; + this.ResetButton.Click += new System.EventHandler(this.ResetButton_Click); + // + // RunToNextTaskButton + // + this.RunToNextTaskButton.Location = new System.Drawing.Point(159, 694); + this.RunToNextTaskButton.Name = "RunToNextTaskButton"; + this.RunToNextTaskButton.Size = new System.Drawing.Size(51, 23); + this.RunToNextTaskButton.TabIndex = 13; + this.RunToNextTaskButton.TabStop = false; + this.RunToNextTaskButton.Text = "Run T"; + this.RunToNextTaskButton.UseVisualStyleBackColor = true; + this.RunToNextTaskButton.Click += new System.EventHandler(this.RunToNextTaskButton_Click); + // + // NovaStep + // + this.NovaStep.Location = new System.Drawing.Point(216, 694); + this.NovaStep.Name = "NovaStep"; + this.NovaStep.Size = new System.Drawing.Size(66, 23); + this.NovaStep.TabIndex = 14; + this.NovaStep.TabStop = false; + this.NovaStep.Text = "Nova Step"; + this.NovaStep.UseVisualStyleBackColor = true; + this.NovaStep.Click += new System.EventHandler(this.NovaStep_Click); + // + // groupBox6 + // + this.groupBox6.Controls.Add(this._reservedMemory); + this.groupBox6.Location = new System.Drawing.Point(755, 558); + this.groupBox6.Name = "groupBox6"; + this.groupBox6.Size = new System.Drawing.Size(180, 160); + this.groupBox6.TabIndex = 3; + this.groupBox6.TabStop = false; + this.groupBox6.Text = "Reserved Memory"; + // + // _reservedMemory + // + this._reservedMemory.AllowUserToAddRows = false; + this._reservedMemory.AllowUserToDeleteRows = false; + this._reservedMemory.AllowUserToResizeColumns = false; + this._reservedMemory.AllowUserToResizeRows = false; + dataGridViewCellStyle34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this._reservedMemory.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle34; + this._reservedMemory.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this._reservedMemory.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewTextBoxColumn9, + this.dataGridViewTextBoxColumn10, + this.dataGridViewTextBoxColumn11}); + dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle35.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle35.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle35.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle35.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle35.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle35.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this._reservedMemory.DefaultCellStyle = dataGridViewCellStyle35; + this._reservedMemory.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; + this._reservedMemory.Location = new System.Drawing.Point(7, 19); + this._reservedMemory.MultiSelect = false; + this._reservedMemory.Name = "_reservedMemory"; + this._reservedMemory.ReadOnly = true; + this._reservedMemory.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; + this._reservedMemory.RowHeadersVisible = false; + this._reservedMemory.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; + this._reservedMemory.RowTemplate.Height = 18; + this._reservedMemory.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; + this._reservedMemory.ShowCellErrors = false; + this._reservedMemory.ShowCellToolTips = false; + this._reservedMemory.ShowEditingIcon = false; + this._reservedMemory.ShowRowErrors = false; + this._reservedMemory.Size = new System.Drawing.Size(167, 135); + this._reservedMemory.TabIndex = 0; + this._reservedMemory.TabStop = false; + // + // dataGridViewTextBoxColumn9 + // + this.dataGridViewTextBoxColumn9.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.dataGridViewTextBoxColumn9.HeaderText = "Addr"; + this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; + this.dataGridViewTextBoxColumn9.ReadOnly = true; + this.dataGridViewTextBoxColumn9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn9.Width = 35; + // + // dataGridViewTextBoxColumn10 + // + this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.dataGridViewTextBoxColumn10.HeaderText = "Name"; + this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; + this.dataGridViewTextBoxColumn10.ReadOnly = true; + this.dataGridViewTextBoxColumn10.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn10.Width = 41; + // + // dataGridViewTextBoxColumn11 + // + this.dataGridViewTextBoxColumn11.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.dataGridViewTextBoxColumn11.HeaderText = "Value"; + this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; + this.dataGridViewTextBoxColumn11.ReadOnly = true; + this.dataGridViewTextBoxColumn11.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // // Debugger // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1235, 673); + this.ClientSize = new System.Drawing.Size(1081, 729); this.Controls.Add(this.groupBox6); this.Controls.Add(this.NovaStep); this.Controls.Add(this.RunToNextTaskButton); @@ -1266,6 +1266,17 @@ this.Load += new System.EventHandler(this.Debugger_Load); this.Microcode.ResumeLayout(false); this.Microcode.PerformLayout(); + this.SourceTabs.ResumeLayout(false); + this.Rom0Page.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this._rom0SourceViewer)).EndInit(); + this.Rom1Page.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this._rom1SourceViewer)).EndInit(); + this.Ram0Page.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this._ram0SourceViewer)).EndInit(); + this.Ram1Page.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this._ram1SourceViewer)).EndInit(); + this.Ram2Page.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this._ram2SourceViewer)).EndInit(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this._registerData)).EndInit(); this.groupBox2.ResumeLayout(false); @@ -1277,17 +1288,6 @@ ((System.ComponentModel.ISupportInitialize)(this._memoryData)).EndInit(); this.groupBox6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this._reservedMemory)).EndInit(); - this.Ram0Page.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this._ram0SourceViewer)).EndInit(); - this.Rom1Page.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this._rom1SourceViewer)).EndInit(); - this.Rom0Page.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this._rom0SourceViewer)).EndInit(); - this.SourceTabs.ResumeLayout(false); - this.Ram1Page.ResumeLayout(false); - this.Ram2Page.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this._ram1SourceViewer)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this._ram2SourceViewer)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); diff --git a/Contralto/readme.txt b/Contralto/readme.txt index d27f0d5..21d2456 100644 --- a/Contralto/readme.txt +++ b/Contralto/readme.txt @@ -11,7 +11,7 @@ pioneering graphical workstations developed at Xerox PARC in 1973. ------------------- ContrAlto currently emulates the following Alto hardware: - - Alto IIxm CPU + - Alto I and Alto II XM CPU - Microcode RAM (in 1K RAM, 1K RAM/2K ROM, or 3K RAM configurations) - 256KW of main memory (in 64KW banks) - Two Diablo Model 31 or 44 drives @@ -23,7 +23,7 @@ ContrAlto currently emulates the following Alto hardware: -------------- At this time, ContrAlto does not support more exotic hardware such as Trident -disks, printers using the utility port, the Orbit printer interface, or the +disks, printers or audio using the utility port, the Orbit printer interface, or the keyset input device. @@ -103,7 +103,7 @@ a mousewheel click maps to a click of the Alto's middle mouse button. If you have a trackpad or other pointing device, using the middle mouse button may be more complicated. See what configuration options your operating system -and/or drivers provides you for mapping mouse buttons. +and/or drivers provide you for mapping mouse buttons. 3.1.2 Keyboard @@ -117,9 +117,9 @@ Alto Key PC Key -------- ---------- LF Down Arrow BS Backspace -Blank-Bottom F3 -Blank-Middle F2 Blank-Top F1 +Blank-Middle F2 +Blank-Bottom F3 <- (arrow) Left Arrow DEL Del LOCK F4 @@ -182,7 +182,7 @@ get you started: http://bitsavers.org/pdf/xerox/alto/Alto_Users_Handbook_Sep79.pdf - "Alto Subsystems" documents many of the common Alto programs and tools - ("Subsystems" in Alto parlance) in detail. + ("subsystems" in Alto parlance) in detail. http://bitsavers.org/pdf/xerox/alto/AltoSubsystems_Oct79.pdf - "Alto Operating System Reference Manual" is useful if you are going to do @@ -204,10 +204,8 @@ get you started: http://bitsavers.org/pdf/xerox/alto/AltoHWRef.part2.pdf - "A Field Guide to Alto-Land" is a casual perspective on Alto use (and - the culture that grew around it) at Xerox. + the culture that grew around it) at Xerox PARC. http://xeroxalto.computerhistory.org/_cd8_/altodocs/.fieldguide.press!2.pdf - - 4.0 Configuration @@ -280,7 +278,8 @@ simulated Alto display. The "Throttle Framerate" checkbox will force ContrAlto to run at an even 60 fields/second (matching the speed of the original Alto). Use this if things are running too fast (for example, games that require reflexes.) Uncheck this -if you want things to run as fast as possible (for example, compiling code.) +if you want things to run as fast as possible (for example, compiling code or +running Smalltalk.) The "Interlaced Display" checkbox attempts to simulate the Alto's original interlaced display. Depending on your monitor and the speed of your computer @@ -359,8 +358,8 @@ Reset: Resets the Alto system. ------------------------- The pane in the upper left of the debugger window shows the microcode listings -for ROM0, ROM1, and RAM1. The listings for ROM0 and ROM1 are derived from the -original source code listings. The listing for RAM1 is automatically +for ROM0, ROM1, and RAM0-RAM2. The listings for ROM0 and ROM1 are derived from the +original source code listings. The listing for the RAM banks is automatically disassembled from the contents of control RAM (and is generally more annoying to read.) @@ -370,7 +369,7 @@ Refresh, Display Word, Cursor, Display Horizontal, Display Vertical, Parity, and Disk Word). The source code for each task is highlighted in a different color to make task-specific code easy to differentiate. -ROM1 contains the listing for the Mesa microcode ROMs. +ROM1 contains the listing for the Mesa 5.0 microcode ROMs. 5.3 Memory Pane @@ -408,7 +407,9 @@ CPU Registers: Shows the CPU L, M and T registers as well as ALU and memory registers. General Registers: - Shows the contents of the 32 R and 32 S registers (in octal). + Shows the contents of the 32 R and 32 S registers (in octal). + (The extra 7 sets of R and S registers on 3K CRAM machines are not yet + displayed.) Reserved Memory: Shows the contents of most "well known" memory locations. See the @@ -421,9 +422,7 @@ Reserved Memory: At the moment, the following issues are known and being worked on. If you find an issue not listed here, see section 7.0 to report a new bug. -- Multiple drives do not function properly, there are still issues in the drive - selection logic. - +- BravoX does not run, trapping into SWAT with "DSt" as a diagnostic. 7.0 Reporting Bugs @@ -435,6 +434,7 @@ with "ContrAlto Bug". When you send a report, please be as specific and detailed as possible: - What issue are you seeing? +- What Alto software are you running? - What are the exact steps needed to reproduce the issue? The more detailed the bug report, the more possible it is for me to track down