Implemented a load of Z80 OpCodes. Added SimpleIOBus.

This commit is contained in:
2026-04-09 14:35:38 +01:00
parent f14d2c4ccc
commit 340583d663
8 changed files with 292 additions and 38 deletions

View File

@@ -129,7 +129,7 @@
// txtMemoryStart
//
txtMemoryStart.Location = new Point(238, 10);
txtMemoryStart.Margin = new Padding(2, 2, 2, 2);
txtMemoryStart.Margin = new Padding(2);
txtMemoryStart.Name = "txtMemoryStart";
txtMemoryStart.Size = new Size(121, 27);
txtMemoryStart.TabIndex = 9;
@@ -140,7 +140,7 @@
// btnStep
//
btnStep.Location = new Point(9, 315);
btnStep.Margin = new Padding(2, 2, 2, 2);
btnStep.Margin = new Padding(2);
btnStep.Name = "btnStep";
btnStep.Size = new Size(90, 27);
btnStep.TabIndex = 12;
@@ -151,17 +151,18 @@
// btnRun
//
btnRun.Location = new Point(122, 315);
btnRun.Margin = new Padding(2, 2, 2, 2);
btnRun.Margin = new Padding(2);
btnRun.Name = "btnRun";
btnRun.Size = new Size(90, 27);
btnRun.TabIndex = 13;
btnRun.Text = "Run";
btnRun.UseVisualStyleBackColor = true;
btnRun.Click += btnRun_Click;
//
// btnRefreshMemory
//
btnRefreshMemory.Location = new Point(376, 7);
btnRefreshMemory.Margin = new Padding(2, 2, 2, 2);
btnRefreshMemory.Margin = new Padding(2);
btnRefreshMemory.Name = "btnRefreshMemory";
btnRefreshMemory.Size = new Size(90, 27);
btnRefreshMemory.TabIndex = 14;
@@ -172,7 +173,7 @@
// txtMemoryView
//
txtMemoryView.Location = new Point(88, 80);
txtMemoryView.Margin = new Padding(2, 2, 2, 2);
txtMemoryView.Margin = new Padding(2);
txtMemoryView.Name = "txtMemoryView";
txtMemoryView.Size = new Size(416, 195);
txtMemoryView.TabIndex = 15;
@@ -182,7 +183,7 @@
//
lstDisassembly.FormattingEnabled = true;
lstDisassembly.Location = new Point(533, 11);
lstDisassembly.Margin = new Padding(2, 2, 2, 2);
lstDisassembly.Margin = new Padding(2);
lstDisassembly.Name = "lstDisassembly";
lstDisassembly.Size = new Size(186, 264);
lstDisassembly.TabIndex = 16;
@@ -191,7 +192,7 @@
//
lstStack.FormattingEnabled = true;
lstStack.Location = new Point(723, 11);
lstStack.Margin = new Padding(2, 2, 2, 2);
lstStack.Margin = new Padding(2);
lstStack.Name = "lstStack";
lstStack.Size = new Size(186, 264);
lstStack.TabIndex = 17;
@@ -199,7 +200,7 @@
// btnExit
//
btnExit.Location = new Point(818, 313);
btnExit.Margin = new Padding(2, 2, 2, 2);
btnExit.Margin = new Padding(2);
btnExit.Name = "btnExit";
btnExit.Size = new Size(90, 27);
btnExit.TabIndex = 18;
@@ -228,9 +229,9 @@
Controls.Add(lblDE);
Controls.Add(lblBC);
Controls.Add(lblAF);
Margin = new Padding(2, 2, 2, 2);
Margin = new Padding(2);
Name = "DebuggerForm";
Text = "DebuggerForm";
Text = "Debugger";
ResumeLayout(false);
PerformLayout();
}
@@ -250,9 +251,9 @@
private Button btnRun;
private Button btnRefreshMemory;
private RichTextBox txtMemoryView;
private ListBox lstDisassembly;
private ListBox lstStack;
private Button btnExit;
public ListBox lstDisassembly;
//private TextBox textBox4;
}
}