Implemented a load more Z80 OpCodes. Added a breakpoint to the debugger

This commit is contained in:
2026-04-09 17:31:56 +01:00
parent f22da937b5
commit 0ef8b9f3eb
4 changed files with 154 additions and 16 deletions

View File

@@ -44,6 +44,10 @@
lstDisassembly = new ListBox();
lstStack = new ListBox();
btnExit = new Button();
saveFileDialog1 = new SaveFileDialog();
label1 = new Label();
txtBreakpoint = new TextBox();
label2 = new Label();
SuspendLayout();
//
// lblAF
@@ -128,7 +132,7 @@
//
// txtMemoryStart
//
txtMemoryStart.Location = new Point(238, 10);
txtMemoryStart.Location = new Point(300, 21);
txtMemoryStart.Margin = new Padding(2);
txtMemoryStart.Name = "txtMemoryStart";
txtMemoryStart.Size = new Size(121, 27);
@@ -161,7 +165,7 @@
//
// btnRefreshMemory
//
btnRefreshMemory.Location = new Point(376, 7);
btnRefreshMemory.Location = new Point(425, 21);
btnRefreshMemory.Margin = new Padding(2);
btnRefreshMemory.Name = "btnRefreshMemory";
btnRefreshMemory.Size = new Size(90, 27);
@@ -208,11 +212,39 @@
btnExit.UseVisualStyleBackColor = true;
btnExit.Click += btnExit_Click;
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(289, 288);
label1.Name = "label1";
label1.Size = new Size(81, 20);
label1.TabIndex = 19;
label1.Text = "Breakpoint";
//
// txtBreakpoint
//
txtBreakpoint.Location = new Point(376, 281);
txtBreakpoint.Name = "txtBreakpoint";
txtBreakpoint.Size = new Size(125, 27);
txtBreakpoint.TabIndex = 20;
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(233, 21);
label2.Name = "label2";
label2.Size = new Size(62, 20);
label2.TabIndex = 21;
label2.Text = "Address";
//
// DebuggerForm
//
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(928, 350);
Controls.Add(label2);
Controls.Add(txtBreakpoint);
Controls.Add(label1);
Controls.Add(btnExit);
Controls.Add(lstStack);
Controls.Add(lstDisassembly);
@@ -254,6 +286,10 @@
private ListBox lstStack;
private Button btnExit;
public ListBox lstDisassembly;
private SaveFileDialog saveFileDialog1;
private Label label1;
private TextBox txtBreakpoint;
private Label label2;
//private TextBox textBox4;
}
}