324 lines
11 KiB
C#
324 lines
11 KiB
C#
namespace Desktop
|
|
{
|
|
partial class DebuggerForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
lblAF = new Label();
|
|
lblBC = new Label();
|
|
lblDE = new Label();
|
|
lblHL = new Label();
|
|
lblPC = new Label();
|
|
lblSP = new Label();
|
|
lblFlags = new Label();
|
|
lblTStates = new Label();
|
|
txtMemoryStart = new TextBox();
|
|
btnStep = new Button();
|
|
btnRun = new Button();
|
|
btnRefreshMemory = new Button();
|
|
txtMemoryView = new RichTextBox();
|
|
lstDisassembly = new ListBox();
|
|
lstStack = new ListBox();
|
|
btnExit = new Button();
|
|
saveFileDialog1 = new SaveFileDialog();
|
|
label1 = new Label();
|
|
txtBreakpoint = new TextBox();
|
|
label2 = new Label();
|
|
lblIX = new Label();
|
|
lblIY = new Label();
|
|
SuspendLayout();
|
|
//
|
|
// lblAF
|
|
//
|
|
lblAF.AutoSize = true;
|
|
lblAF.Location = new Point(12, 9);
|
|
lblAF.Margin = new Padding(2, 0, 2, 0);
|
|
lblAF.Name = "lblAF";
|
|
lblAF.Size = new Size(33, 25);
|
|
lblAF.TabIndex = 0;
|
|
lblAF.Text = "AF";
|
|
//
|
|
// lblBC
|
|
//
|
|
lblBC.AutoSize = true;
|
|
lblBC.Location = new Point(11, 60);
|
|
lblBC.Margin = new Padding(2, 0, 2, 0);
|
|
lblBC.Name = "lblBC";
|
|
lblBC.Size = new Size(33, 25);
|
|
lblBC.TabIndex = 1;
|
|
lblBC.Text = "BC";
|
|
//
|
|
// lblDE
|
|
//
|
|
lblDE.AutoSize = true;
|
|
lblDE.Location = new Point(12, 125);
|
|
lblDE.Margin = new Padding(2, 0, 2, 0);
|
|
lblDE.Name = "lblDE";
|
|
lblDE.Size = new Size(34, 25);
|
|
lblDE.TabIndex = 2;
|
|
lblDE.Text = "DE";
|
|
//
|
|
// lblHL
|
|
//
|
|
lblHL.AutoSize = true;
|
|
lblHL.Location = new Point(12, 188);
|
|
lblHL.Margin = new Padding(2, 0, 2, 0);
|
|
lblHL.Name = "lblHL";
|
|
lblHL.Size = new Size(33, 25);
|
|
lblHL.TabIndex = 3;
|
|
lblHL.Text = "HL";
|
|
//
|
|
// lblPC
|
|
//
|
|
lblPC.AutoSize = true;
|
|
lblPC.Location = new Point(11, 250);
|
|
lblPC.Margin = new Padding(2, 0, 2, 0);
|
|
lblPC.Name = "lblPC";
|
|
lblPC.Size = new Size(33, 25);
|
|
lblPC.TabIndex = 4;
|
|
lblPC.Text = "PC";
|
|
//
|
|
// lblSP
|
|
//
|
|
lblSP.AutoSize = true;
|
|
lblSP.Location = new Point(11, 315);
|
|
lblSP.Margin = new Padding(2, 0, 2, 0);
|
|
lblSP.Name = "lblSP";
|
|
lblSP.Size = new Size(32, 25);
|
|
lblSP.TabIndex = 6;
|
|
lblSP.Text = "SP";
|
|
//
|
|
// lblFlags
|
|
//
|
|
lblFlags.AutoSize = true;
|
|
lblFlags.Location = new Point(110, 65);
|
|
lblFlags.Margin = new Padding(2, 0, 2, 0);
|
|
lblFlags.Name = "lblFlags";
|
|
lblFlags.Size = new Size(53, 25);
|
|
lblFlags.TabIndex = 7;
|
|
lblFlags.Text = "Flags";
|
|
//
|
|
// lblTStates
|
|
//
|
|
lblTStates.AutoSize = true;
|
|
lblTStates.Location = new Point(110, 9);
|
|
lblTStates.Margin = new Padding(2, 0, 2, 0);
|
|
lblTStates.Name = "lblTStates";
|
|
lblTStates.Size = new Size(75, 25);
|
|
lblTStates.TabIndex = 8;
|
|
lblTStates.Text = "T-States";
|
|
//
|
|
// txtMemoryStart
|
|
//
|
|
txtMemoryStart.Location = new Point(375, 26);
|
|
txtMemoryStart.Margin = new Padding(2);
|
|
txtMemoryStart.Name = "txtMemoryStart";
|
|
txtMemoryStart.Size = new Size(150, 31);
|
|
txtMemoryStart.TabIndex = 9;
|
|
txtMemoryStart.Text = "Memory Start";
|
|
txtMemoryStart.TextAlign = HorizontalAlignment.Center;
|
|
txtMemoryStart.TextChanged += btnRefreshMemory_Click;
|
|
//
|
|
// btnStep
|
|
//
|
|
btnStep.Location = new Point(8, 523);
|
|
btnStep.Margin = new Padding(2);
|
|
btnStep.Name = "btnStep";
|
|
btnStep.Size = new Size(112, 34);
|
|
btnStep.TabIndex = 12;
|
|
btnStep.Text = "Step";
|
|
btnStep.UseVisualStyleBackColor = true;
|
|
btnStep.Click += btnStep_Click;
|
|
//
|
|
// btnRun
|
|
//
|
|
btnRun.Location = new Point(149, 523);
|
|
btnRun.Margin = new Padding(2);
|
|
btnRun.Name = "btnRun";
|
|
btnRun.Size = new Size(112, 34);
|
|
btnRun.TabIndex = 13;
|
|
btnRun.Text = "Run";
|
|
btnRun.UseVisualStyleBackColor = true;
|
|
btnRun.Click += btnRun_Click;
|
|
//
|
|
// btnRefreshMemory
|
|
//
|
|
btnRefreshMemory.Location = new Point(531, 26);
|
|
btnRefreshMemory.Margin = new Padding(2);
|
|
btnRefreshMemory.Name = "btnRefreshMemory";
|
|
btnRefreshMemory.Size = new Size(112, 34);
|
|
btnRefreshMemory.TabIndex = 14;
|
|
btnRefreshMemory.Text = "Refresh Memory";
|
|
btnRefreshMemory.UseVisualStyleBackColor = true;
|
|
btnRefreshMemory.Click += btnRefreshMemory_Click;
|
|
//
|
|
// txtMemoryView
|
|
//
|
|
txtMemoryView.Location = new Point(110, 100);
|
|
txtMemoryView.Margin = new Padding(2);
|
|
txtMemoryView.Name = "txtMemoryView";
|
|
txtMemoryView.Size = new Size(519, 243);
|
|
txtMemoryView.TabIndex = 15;
|
|
txtMemoryView.Text = "Memory View Window";
|
|
//
|
|
// lstDisassembly
|
|
//
|
|
lstDisassembly.FormattingEnabled = true;
|
|
lstDisassembly.ItemHeight = 25;
|
|
lstDisassembly.Location = new Point(654, 14);
|
|
lstDisassembly.Margin = new Padding(2);
|
|
lstDisassembly.Name = "lstDisassembly";
|
|
lstDisassembly.Size = new Size(314, 329);
|
|
lstDisassembly.TabIndex = 16;
|
|
//
|
|
// lstStack
|
|
//
|
|
lstStack.FormattingEnabled = true;
|
|
lstStack.ItemHeight = 25;
|
|
lstStack.Location = new Point(974, 14);
|
|
lstStack.Margin = new Padding(2);
|
|
lstStack.Name = "lstStack";
|
|
lstStack.Size = new Size(162, 329);
|
|
lstStack.TabIndex = 17;
|
|
//
|
|
// btnExit
|
|
//
|
|
btnExit.Location = new Point(1019, 520);
|
|
btnExit.Margin = new Padding(2);
|
|
btnExit.Name = "btnExit";
|
|
btnExit.Size = new Size(112, 34);
|
|
btnExit.TabIndex = 18;
|
|
btnExit.Text = "Full Exit";
|
|
btnExit.UseVisualStyleBackColor = true;
|
|
btnExit.Click += btnExit_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(361, 360);
|
|
label1.Margin = new Padding(4, 0, 4, 0);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(97, 25);
|
|
label1.TabIndex = 19;
|
|
label1.Text = "Breakpoint";
|
|
//
|
|
// txtBreakpoint
|
|
//
|
|
txtBreakpoint.Location = new Point(470, 351);
|
|
txtBreakpoint.Margin = new Padding(4, 4, 4, 4);
|
|
txtBreakpoint.Name = "txtBreakpoint";
|
|
txtBreakpoint.Size = new Size(155, 31);
|
|
txtBreakpoint.TabIndex = 20;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(291, 26);
|
|
label2.Margin = new Padding(4, 0, 4, 0);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(77, 25);
|
|
label2.TabIndex = 21;
|
|
label2.Text = "Address";
|
|
//
|
|
// lblIX
|
|
//
|
|
lblIX.AutoSize = true;
|
|
lblIX.Location = new Point(11, 373);
|
|
lblIX.Name = "lblIX";
|
|
lblIX.Size = new Size(28, 25);
|
|
lblIX.TabIndex = 22;
|
|
lblIX.Text = "IX";
|
|
//
|
|
// lblIY
|
|
//
|
|
lblIY.AutoSize = true;
|
|
lblIY.Location = new Point(12, 430);
|
|
lblIY.Name = "lblIY";
|
|
lblIY.Size = new Size(27, 25);
|
|
lblIY.TabIndex = 23;
|
|
lblIY.Text = "IY";
|
|
//
|
|
// DebuggerForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1160, 568);
|
|
Controls.Add(lblIY);
|
|
Controls.Add(lblIX);
|
|
Controls.Add(label2);
|
|
Controls.Add(txtBreakpoint);
|
|
Controls.Add(label1);
|
|
Controls.Add(btnExit);
|
|
Controls.Add(lstStack);
|
|
Controls.Add(lstDisassembly);
|
|
Controls.Add(txtMemoryView);
|
|
Controls.Add(btnRefreshMemory);
|
|
Controls.Add(btnRun);
|
|
Controls.Add(btnStep);
|
|
Controls.Add(txtMemoryStart);
|
|
Controls.Add(lblTStates);
|
|
Controls.Add(lblFlags);
|
|
Controls.Add(lblSP);
|
|
Controls.Add(lblPC);
|
|
Controls.Add(lblHL);
|
|
Controls.Add(lblDE);
|
|
Controls.Add(lblBC);
|
|
Controls.Add(lblAF);
|
|
Margin = new Padding(2);
|
|
Name = "DebuggerForm";
|
|
Text = "Debugger";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label lblAF;
|
|
private Label lblBC;
|
|
private Label lblDE;
|
|
private Label lblHL;
|
|
private Label lblPC;
|
|
private Label lblSP;
|
|
private Label lblFlags;
|
|
private Label lblTStates;
|
|
private TextBox txtMemoryStart;
|
|
private Button btnStep;
|
|
private Button btnRun;
|
|
private Button btnRefreshMemory;
|
|
private RichTextBox txtMemoryView;
|
|
private ListBox lstStack;
|
|
private Button btnExit;
|
|
public ListBox lstDisassembly;
|
|
private SaveFileDialog saveFileDialog1;
|
|
private Label label1;
|
|
private TextBox txtBreakpoint;
|
|
private Label label2;
|
|
private Label lblIX;
|
|
private Label lblIY;
|
|
//private TextBox textBox4;
|
|
}
|
|
} |