diff --git a/BizHawk.MultiClient/SNESTools/SNESGraphicsDebugger.Designer.cs b/BizHawk.MultiClient/SNESTools/SNESGraphicsDebugger.Designer.cs index b9bcf54201..585c11a399 100644 --- a/BizHawk.MultiClient/SNESTools/SNESGraphicsDebugger.Designer.cs +++ b/BizHawk.MultiClient/SNESTools/SNESGraphicsDebugger.Designer.cs @@ -28,1091 +28,1092 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SNESGraphicsDebugger)); - this.menuStrip1 = new System.Windows.Forms.MenuStrip(); - this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveScreenshotAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveScreenshotToClipboardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.autoloadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveWindowPositionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.panel1 = new System.Windows.Forms.Panel(); - this.groupBox3 = new System.Windows.Forms.GroupBox(); - this.checkScanlineControl = new System.Windows.Forms.CheckBox(); - this.label19 = new System.Windows.Forms.Label(); - this.nudScanline = new System.Windows.Forms.NumericUpDown(); - this.sliderScanline = new System.Windows.Forms.TrackBar(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.label25 = new System.Windows.Forms.Label(); - this.txtScreenCGWSEL_MathFixed = new System.Windows.Forms.TextBox(); - this.label2893719831 = new System.Windows.Forms.Label(); - this.txtScreenCGWSEL_ColorSubMask = new System.Windows.Forms.TextBox(); - this.label23 = new System.Windows.Forms.Label(); - this.txtScreenCGWSEL_ColorMask = new System.Windows.Forms.TextBox(); - this.label22 = new System.Windows.Forms.Label(); - this.label27 = new System.Windows.Forms.Label(); - this.checkScreenCGWSEL_DirectColor = new System.Windows.Forms.CheckBox(); - this.label2193813 = new System.Windows.Forms.Label(); - this.checkScreenInterlace = new System.Windows.Forms.CheckBox(); - this.label123812831 = new System.Windows.Forms.Label(); - this.checkScreenObjInterlace = new System.Windows.Forms.CheckBox(); - this.label198129381279841 = new System.Windows.Forms.Label(); - this.checkScreenOverscan = new System.Windows.Forms.CheckBox(); - this.label18391 = new System.Windows.Forms.Label(); - this.checkScreenHires = new System.Windows.Forms.CheckBox(); - this.label21 = new System.Windows.Forms.Label(); - this.checkScreenExtbg = new System.Windows.Forms.CheckBox(); - this.label20 = new System.Windows.Forms.Label(); - this.label16 = new System.Windows.Forms.Label(); - this.txtScreenBG4TSize = new System.Windows.Forms.TextBox(); - this.txtScreenBG3TSize = new System.Windows.Forms.TextBox(); - this.txtScreenBG2TSize = new System.Windows.Forms.TextBox(); - this.txtScreenBG1TSize = new System.Windows.Forms.TextBox(); - this.txtScreenBG4Bpp = new System.Windows.Forms.TextBox(); - this.label1 = new System.Windows.Forms.Label(); - this.txtScreenBG3Bpp = new System.Windows.Forms.TextBox(); - this.txtModeBits = new System.Windows.Forms.TextBox(); - this.txtScreenBG2Bpp = new System.Windows.Forms.TextBox(); - this.label8 = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.txtScreenBG1Bpp = new System.Windows.Forms.TextBox(); - this.label6 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.rbBG4 = new System.Windows.Forms.RadioButton(); - this.label18 = new System.Windows.Forms.Label(); - this.rbBG3 = new System.Windows.Forms.RadioButton(); - this.rbBG2 = new System.Windows.Forms.RadioButton(); - this.rbBG1 = new System.Windows.Forms.RadioButton(); - this.txtBG1TSizeDescr = new System.Windows.Forms.TextBox(); - this.comboBGProps = new System.Windows.Forms.ComboBox(); - this.label15 = new System.Windows.Forms.Label(); - this.txtBG1TSizeBits = new System.Windows.Forms.TextBox(); - this.label13 = new System.Windows.Forms.Label(); - this.txtBG1Colors = new System.Windows.Forms.TextBox(); - this.txtBG1Bpp = new System.Windows.Forms.TextBox(); - this.label12 = new System.Windows.Forms.Label(); - this.txtBG1TDAddrDescr = new System.Windows.Forms.TextBox(); - this.label11 = new System.Windows.Forms.Label(); - this.txtBG1SCAddrDescr = new System.Windows.Forms.TextBox(); - this.label9 = new System.Windows.Forms.Label(); - this.txtBG1TDAddrBits = new System.Windows.Forms.TextBox(); - this.label10 = new System.Windows.Forms.Label(); - this.txtBG1SizeInPixels = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); - this.txtBG1SCAddrBits = new System.Windows.Forms.TextBox(); - this.txtBG1SizeInTiles = new System.Windows.Forms.TextBox(); - this.label2 = new System.Windows.Forms.Label(); - this.txtBG1SizeBits = new System.Windows.Forms.TextBox(); - this.groupBox4 = new System.Windows.Forms.GroupBox(); - this.radioButton6 = new System.Windows.Forms.RadioButton(); - this.label17 = new System.Windows.Forms.Label(); - this.check2x = new System.Windows.Forms.CheckBox(); - this.radioButton15 = new System.Windows.Forms.RadioButton(); - this.radioButton14 = new System.Windows.Forms.RadioButton(); - this.label14 = new System.Windows.Forms.Label(); - this.comboDisplayType = new System.Windows.Forms.ComboBox(); - this.radioButton1 = new System.Windows.Forms.RadioButton(); - this.grpQuadrants = new System.Windows.Forms.GroupBox(); - this.rbQuad3 = new System.Windows.Forms.RadioButton(); - this.rbQuad2 = new System.Windows.Forms.RadioButton(); - this.rbQuadAll = new System.Windows.Forms.RadioButton(); - this.rbQuad1 = new System.Windows.Forms.RadioButton(); - this.rbQuad0 = new System.Windows.Forms.RadioButton(); - this.radioButton2 = new System.Windows.Forms.RadioButton(); - this.radioButton13 = new System.Windows.Forms.RadioButton(); - this.radioButton3 = new System.Windows.Forms.RadioButton(); - this.radioButton4 = new System.Windows.Forms.RadioButton(); - this.radioButton5 = new System.Windows.Forms.RadioButton(); - this.radioButton10 = new System.Windows.Forms.RadioButton(); - this.groupBox5 = new System.Windows.Forms.GroupBox(); - this.paletteViewer = new BizHawk.MultiClient.SNESGraphicsViewer(); - this.tabctrlDetails = new System.Windows.Forms.TabControl(); - this.tpPalette = new System.Windows.Forms.TabPage(); - this.txtPaletteDetailsIndexSpecific = new System.Windows.Forms.TextBox(); - this.txtPaletteDetailsIndexHexSpecific = new System.Windows.Forms.TextBox(); - this.txtPaletteDetailsAddress = new System.Windows.Forms.TextBox(); - this.txtPaletteDetailsIndex = new System.Windows.Forms.TextBox(); - this.txtPaletteDetailsIndexHex = new System.Windows.Forms.TextBox(); - this.txtDetailsPaletteColorRGB = new System.Windows.Forms.TextBox(); - this.txtDetailsPaletteColorHex = new System.Windows.Forms.TextBox(); - this.txtDetailsPaletteColor = new System.Windows.Forms.TextBox(); - this.lblDetailsOBJOrBG = new System.Windows.Forms.Label(); - this.pnDetailsPaletteColor = new System.Windows.Forms.Panel(); - this.lblDetailsPaletteAddress = new System.Windows.Forms.Label(); - this.tabPage2 = new System.Windows.Forms.TabPage(); - this.panel2 = new System.Windows.Forms.Panel(); - this.viewer = new BizHawk.MultiClient.SNESGraphicsViewer(); - this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.menuStrip1.SuspendLayout(); - this.tableLayoutPanel1.SuspendLayout(); - this.panel1.SuspendLayout(); - this.groupBox3.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudScanline)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.sliderScanline)).BeginInit(); - this.groupBox2.SuspendLayout(); - this.groupBox1.SuspendLayout(); - this.groupBox4.SuspendLayout(); - this.grpQuadrants.SuspendLayout(); - this.groupBox5.SuspendLayout(); - this.tabctrlDetails.SuspendLayout(); - this.tpPalette.SuspendLayout(); - this.panel2.SuspendLayout(); - this.SuspendLayout(); - // - // menuStrip1 - // - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SNESGraphicsDebugger)); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveScreenshotAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveScreenshotToClipboardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.autoloadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveWindowPositionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.panel1 = new System.Windows.Forms.Panel(); + this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.checkScanlineControl = new System.Windows.Forms.CheckBox(); + this.label19 = new System.Windows.Forms.Label(); + this.nudScanline = new System.Windows.Forms.NumericUpDown(); + this.sliderScanline = new System.Windows.Forms.TrackBar(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.label25 = new System.Windows.Forms.Label(); + this.txtScreenCGWSEL_MathFixed = new System.Windows.Forms.TextBox(); + this.label2893719831 = new System.Windows.Forms.Label(); + this.txtScreenCGWSEL_ColorSubMask = new System.Windows.Forms.TextBox(); + this.label23 = new System.Windows.Forms.Label(); + this.txtScreenCGWSEL_ColorMask = new System.Windows.Forms.TextBox(); + this.label22 = new System.Windows.Forms.Label(); + this.label27 = new System.Windows.Forms.Label(); + this.checkScreenCGWSEL_DirectColor = new System.Windows.Forms.CheckBox(); + this.label2193813 = new System.Windows.Forms.Label(); + this.checkScreenInterlace = new System.Windows.Forms.CheckBox(); + this.label123812831 = new System.Windows.Forms.Label(); + this.checkScreenObjInterlace = new System.Windows.Forms.CheckBox(); + this.label198129381279841 = new System.Windows.Forms.Label(); + this.checkScreenOverscan = new System.Windows.Forms.CheckBox(); + this.label18391 = new System.Windows.Forms.Label(); + this.checkScreenHires = new System.Windows.Forms.CheckBox(); + this.label21 = new System.Windows.Forms.Label(); + this.checkScreenExtbg = new System.Windows.Forms.CheckBox(); + this.label20 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.txtScreenBG4TSize = new System.Windows.Forms.TextBox(); + this.txtScreenBG3TSize = new System.Windows.Forms.TextBox(); + this.txtScreenBG2TSize = new System.Windows.Forms.TextBox(); + this.txtScreenBG1TSize = new System.Windows.Forms.TextBox(); + this.txtScreenBG4Bpp = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.txtScreenBG3Bpp = new System.Windows.Forms.TextBox(); + this.txtModeBits = new System.Windows.Forms.TextBox(); + this.txtScreenBG2Bpp = new System.Windows.Forms.TextBox(); + this.label8 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.txtScreenBG1Bpp = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.rbBG4 = new System.Windows.Forms.RadioButton(); + this.label18 = new System.Windows.Forms.Label(); + this.rbBG3 = new System.Windows.Forms.RadioButton(); + this.rbBG2 = new System.Windows.Forms.RadioButton(); + this.rbBG1 = new System.Windows.Forms.RadioButton(); + this.txtBG1TSizeDescr = new System.Windows.Forms.TextBox(); + this.comboBGProps = new System.Windows.Forms.ComboBox(); + this.label15 = new System.Windows.Forms.Label(); + this.txtBG1TSizeBits = new System.Windows.Forms.TextBox(); + this.label13 = new System.Windows.Forms.Label(); + this.txtBG1Colors = new System.Windows.Forms.TextBox(); + this.txtBG1Bpp = new System.Windows.Forms.TextBox(); + this.label12 = new System.Windows.Forms.Label(); + this.txtBG1TDAddrDescr = new System.Windows.Forms.TextBox(); + this.label11 = new System.Windows.Forms.Label(); + this.txtBG1SCAddrDescr = new System.Windows.Forms.TextBox(); + this.label9 = new System.Windows.Forms.Label(); + this.txtBG1TDAddrBits = new System.Windows.Forms.TextBox(); + this.label10 = new System.Windows.Forms.Label(); + this.txtBG1SizeInPixels = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.txtBG1SCAddrBits = new System.Windows.Forms.TextBox(); + this.txtBG1SizeInTiles = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.txtBG1SizeBits = new System.Windows.Forms.TextBox(); + this.groupBox4 = new System.Windows.Forms.GroupBox(); + this.radioButton6 = new System.Windows.Forms.RadioButton(); + this.label17 = new System.Windows.Forms.Label(); + this.check2x = new System.Windows.Forms.CheckBox(); + this.radioButton15 = new System.Windows.Forms.RadioButton(); + this.radioButton14 = new System.Windows.Forms.RadioButton(); + this.label14 = new System.Windows.Forms.Label(); + this.comboDisplayType = new System.Windows.Forms.ComboBox(); + this.radioButton1 = new System.Windows.Forms.RadioButton(); + this.grpQuadrants = new System.Windows.Forms.GroupBox(); + this.rbQuad3 = new System.Windows.Forms.RadioButton(); + this.rbQuad2 = new System.Windows.Forms.RadioButton(); + this.rbQuadAll = new System.Windows.Forms.RadioButton(); + this.rbQuad1 = new System.Windows.Forms.RadioButton(); + this.rbQuad0 = new System.Windows.Forms.RadioButton(); + this.radioButton2 = new System.Windows.Forms.RadioButton(); + this.radioButton13 = new System.Windows.Forms.RadioButton(); + this.radioButton3 = new System.Windows.Forms.RadioButton(); + this.radioButton4 = new System.Windows.Forms.RadioButton(); + this.radioButton5 = new System.Windows.Forms.RadioButton(); + this.radioButton10 = new System.Windows.Forms.RadioButton(); + this.groupBox5 = new System.Windows.Forms.GroupBox(); + this.tabctrlDetails = new System.Windows.Forms.TabControl(); + this.tpPalette = new System.Windows.Forms.TabPage(); + this.txtPaletteDetailsIndexSpecific = new System.Windows.Forms.TextBox(); + this.txtPaletteDetailsIndexHexSpecific = new System.Windows.Forms.TextBox(); + this.txtPaletteDetailsAddress = new System.Windows.Forms.TextBox(); + this.txtPaletteDetailsIndex = new System.Windows.Forms.TextBox(); + this.txtPaletteDetailsIndexHex = new System.Windows.Forms.TextBox(); + this.txtDetailsPaletteColorRGB = new System.Windows.Forms.TextBox(); + this.txtDetailsPaletteColorHex = new System.Windows.Forms.TextBox(); + this.txtDetailsPaletteColor = new System.Windows.Forms.TextBox(); + this.lblDetailsOBJOrBG = new System.Windows.Forms.Label(); + this.pnDetailsPaletteColor = new System.Windows.Forms.Panel(); + this.lblDetailsPaletteAddress = new System.Windows.Forms.Label(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.panel2 = new System.Windows.Forms.Panel(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.paletteViewer = new BizHawk.MultiClient.SNESGraphicsViewer(); + this.viewer = new BizHawk.MultiClient.SNESGraphicsViewer(); + this.menuStrip1.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + this.panel1.SuspendLayout(); + this.groupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudScanline)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.sliderScanline)).BeginInit(); + this.groupBox2.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.groupBox4.SuspendLayout(); + this.grpQuadrants.SuspendLayout(); + this.groupBox5.SuspendLayout(); + this.tabctrlDetails.SuspendLayout(); + this.tpPalette.SuspendLayout(); + this.panel2.SuspendLayout(); + this.SuspendLayout(); + // + // menuStrip1 + // + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.optionsToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); - this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(1086, 24); - this.menuStrip1.TabIndex = 33; - this.menuStrip1.Text = "menuStrip1"; - // - // fileToolStripMenuItem - // - this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(1086, 24); + this.menuStrip1.TabIndex = 33; + this.menuStrip1.Text = "menuStrip1"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.saveScreenshotAsToolStripMenuItem, this.saveScreenshotToClipboardToolStripMenuItem, this.toolStripSeparator1, this.exitToolStripMenuItem}); - this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20); - this.fileToolStripMenuItem.Text = "&File"; - // - // saveScreenshotAsToolStripMenuItem - // - this.saveScreenshotAsToolStripMenuItem.Enabled = false; - this.saveScreenshotAsToolStripMenuItem.Name = "saveScreenshotAsToolStripMenuItem"; - this.saveScreenshotAsToolStripMenuItem.Size = new System.Drawing.Size(255, 22); - this.saveScreenshotAsToolStripMenuItem.Text = "Save Screenshot &As..."; - // - // saveScreenshotToClipboardToolStripMenuItem - // - this.saveScreenshotToClipboardToolStripMenuItem.Enabled = false; - this.saveScreenshotToClipboardToolStripMenuItem.Name = "saveScreenshotToClipboardToolStripMenuItem"; - this.saveScreenshotToClipboardToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); - this.saveScreenshotToClipboardToolStripMenuItem.Size = new System.Drawing.Size(255, 22); - this.saveScreenshotToClipboardToolStripMenuItem.Text = "Save Screenshot to Clipboard"; - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(252, 6); - // - // exitToolStripMenuItem - // - this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.ShortcutKeyDisplayString = "Alt+F4"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(255, 22); - this.exitToolStripMenuItem.Text = "E&xit"; - this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); - // - // optionsToolStripMenuItem - // - this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20); + this.fileToolStripMenuItem.Text = "&File"; + // + // saveScreenshotAsToolStripMenuItem + // + this.saveScreenshotAsToolStripMenuItem.Enabled = false; + this.saveScreenshotAsToolStripMenuItem.Name = "saveScreenshotAsToolStripMenuItem"; + this.saveScreenshotAsToolStripMenuItem.Size = new System.Drawing.Size(255, 22); + this.saveScreenshotAsToolStripMenuItem.Text = "Save Screenshot &As..."; + // + // saveScreenshotToClipboardToolStripMenuItem + // + this.saveScreenshotToClipboardToolStripMenuItem.Enabled = false; + this.saveScreenshotToClipboardToolStripMenuItem.Name = "saveScreenshotToClipboardToolStripMenuItem"; + this.saveScreenshotToClipboardToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); + this.saveScreenshotToClipboardToolStripMenuItem.Size = new System.Drawing.Size(255, 22); + this.saveScreenshotToClipboardToolStripMenuItem.Text = "Save Screenshot to Clipboard"; + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(252, 6); + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.ShortcutKeyDisplayString = "Alt+F4"; + this.exitToolStripMenuItem.Size = new System.Drawing.Size(255, 22); + this.exitToolStripMenuItem.Text = "E&xit"; + this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); + // + // optionsToolStripMenuItem + // + this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.autoloadToolStripMenuItem, this.saveWindowPositionToolStripMenuItem}); - this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; - this.optionsToolStripMenuItem.Size = new System.Drawing.Size(56, 20); - this.optionsToolStripMenuItem.Text = "&Options"; - this.optionsToolStripMenuItem.DropDownOpened += new System.EventHandler(this.optionsToolStripMenuItem_DropDownOpened); - // - // autoloadToolStripMenuItem - // - this.autoloadToolStripMenuItem.Name = "autoloadToolStripMenuItem"; - this.autoloadToolStripMenuItem.Size = new System.Drawing.Size(179, 22); - this.autoloadToolStripMenuItem.Text = "Auto-load"; - this.autoloadToolStripMenuItem.Click += new System.EventHandler(this.autoloadToolStripMenuItem_Click); - // - // saveWindowPositionToolStripMenuItem - // - this.saveWindowPositionToolStripMenuItem.Name = "saveWindowPositionToolStripMenuItem"; - this.saveWindowPositionToolStripMenuItem.Size = new System.Drawing.Size(179, 22); - this.saveWindowPositionToolStripMenuItem.Text = "&Save Window Position"; - this.saveWindowPositionToolStripMenuItem.Click += new System.EventHandler(this.saveWindowPositionToolStripMenuItem_Click); - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.ColumnCount = 2; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 0); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 24); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 2; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1086, 673); - this.tableLayoutPanel1.TabIndex = 0; - // - // panel1 - // - this.panel1.AutoSize = true; - this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.panel1.Controls.Add(this.groupBox3); - this.panel1.Controls.Add(this.groupBox2); - this.panel1.Controls.Add(this.groupBox1); - this.panel1.Controls.Add(this.groupBox4); - this.panel1.Controls.Add(this.groupBox5); - this.panel1.Controls.Add(this.tabctrlDetails); - this.panel1.Location = new System.Drawing.Point(3, 3); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(558, 672); - this.panel1.TabIndex = 0; - // - // groupBox3 - // - this.groupBox3.Controls.Add(this.checkScanlineControl); - this.groupBox3.Controls.Add(this.label19); - this.groupBox3.Controls.Add(this.nudScanline); - this.groupBox3.Controls.Add(this.sliderScanline); - this.groupBox3.Location = new System.Drawing.Point(323, 0); - this.groupBox3.Name = "groupBox3"; - this.groupBox3.Size = new System.Drawing.Size(57, 191); - this.groupBox3.TabIndex = 46; - this.groupBox3.TabStop = false; - // - // checkScanlineControl - // - this.checkScanlineControl.AutoSize = true; - this.checkScanlineControl.Location = new System.Drawing.Point(3, 171); - this.checkScanlineControl.Name = "checkScanlineControl"; - this.checkScanlineControl.Size = new System.Drawing.Size(15, 14); - this.checkScanlineControl.TabIndex = 42; - this.toolTip1.SetToolTip(this.checkScanlineControl, resources.GetString("checkScanlineControl.ToolTip")); - this.checkScanlineControl.UseVisualStyleBackColor = true; - this.checkScanlineControl.CheckedChanged += new System.EventHandler(this.checkScanlineControl_CheckedChanged); - // - // label19 - // - this.label19.AutoSize = true; - this.label19.Location = new System.Drawing.Point(3, 7); - this.label19.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(48, 13); - this.label19.TabIndex = 41; - this.label19.Text = "Scanline"; - // - // nudScanline - // - this.nudScanline.Location = new System.Drawing.Point(5, 22); - this.nudScanline.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.nudScanline.Maximum = new decimal(new int[] { + this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; + this.optionsToolStripMenuItem.Size = new System.Drawing.Size(56, 20); + this.optionsToolStripMenuItem.Text = "&Options"; + this.optionsToolStripMenuItem.DropDownOpened += new System.EventHandler(this.optionsToolStripMenuItem_DropDownOpened); + // + // autoloadToolStripMenuItem + // + this.autoloadToolStripMenuItem.Name = "autoloadToolStripMenuItem"; + this.autoloadToolStripMenuItem.Size = new System.Drawing.Size(179, 22); + this.autoloadToolStripMenuItem.Text = "Auto-load"; + this.autoloadToolStripMenuItem.Click += new System.EventHandler(this.autoloadToolStripMenuItem_Click); + // + // saveWindowPositionToolStripMenuItem + // + this.saveWindowPositionToolStripMenuItem.Name = "saveWindowPositionToolStripMenuItem"; + this.saveWindowPositionToolStripMenuItem.Size = new System.Drawing.Size(179, 22); + this.saveWindowPositionToolStripMenuItem.Text = "&Save Window Position"; + this.saveWindowPositionToolStripMenuItem.Click += new System.EventHandler(this.saveWindowPositionToolStripMenuItem_Click); + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 0); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 24); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 2; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1086, 673); + this.tableLayoutPanel1.TabIndex = 0; + // + // panel1 + // + this.panel1.AutoSize = true; + this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.panel1.Controls.Add(this.groupBox3); + this.panel1.Controls.Add(this.groupBox2); + this.panel1.Controls.Add(this.groupBox1); + this.panel1.Controls.Add(this.groupBox4); + this.panel1.Controls.Add(this.groupBox5); + this.panel1.Controls.Add(this.tabctrlDetails); + this.panel1.Location = new System.Drawing.Point(3, 3); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(558, 672); + this.panel1.TabIndex = 0; + // + // groupBox3 + // + this.groupBox3.Controls.Add(this.checkScanlineControl); + this.groupBox3.Controls.Add(this.label19); + this.groupBox3.Controls.Add(this.nudScanline); + this.groupBox3.Controls.Add(this.sliderScanline); + this.groupBox3.Location = new System.Drawing.Point(323, 0); + this.groupBox3.Name = "groupBox3"; + this.groupBox3.Size = new System.Drawing.Size(57, 191); + this.groupBox3.TabIndex = 46; + this.groupBox3.TabStop = false; + // + // checkScanlineControl + // + this.checkScanlineControl.AutoSize = true; + this.checkScanlineControl.Location = new System.Drawing.Point(3, 171); + this.checkScanlineControl.Name = "checkScanlineControl"; + this.checkScanlineControl.Size = new System.Drawing.Size(15, 14); + this.checkScanlineControl.TabIndex = 42; + this.toolTip1.SetToolTip(this.checkScanlineControl, resources.GetString("checkScanlineControl.ToolTip")); + this.checkScanlineControl.UseVisualStyleBackColor = true; + this.checkScanlineControl.CheckedChanged += new System.EventHandler(this.checkScanlineControl_CheckedChanged); + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(3, 7); + this.label19.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(48, 13); + this.label19.TabIndex = 41; + this.label19.Text = "Scanline"; + // + // nudScanline + // + this.nudScanline.Location = new System.Drawing.Point(5, 22); + this.nudScanline.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.nudScanline.Maximum = new decimal(new int[] { 224, 0, 0, 0}); - this.nudScanline.Name = "nudScanline"; - this.nudScanline.Size = new System.Drawing.Size(46, 20); - this.nudScanline.TabIndex = 39; - this.nudScanline.ValueChanged += new System.EventHandler(this.nudScanline_ValueChanged); - // - // sliderScanline - // - this.sliderScanline.AutoSize = false; - this.sliderScanline.Location = new System.Drawing.Point(14, 41); - this.sliderScanline.Maximum = 224; - this.sliderScanline.Name = "sliderScanline"; - this.sliderScanline.Orientation = System.Windows.Forms.Orientation.Vertical; - this.sliderScanline.Size = new System.Drawing.Size(30, 144); - this.sliderScanline.TabIndex = 40; - this.sliderScanline.Text = "label14"; - this.sliderScanline.TickFrequency = 16; - this.sliderScanline.Value = 224; - this.sliderScanline.ValueChanged += new System.EventHandler(this.sliderScanline_ValueChanged); - // - // groupBox2 - // - this.groupBox2.Controls.Add(this.label25); - this.groupBox2.Controls.Add(this.txtScreenCGWSEL_MathFixed); - this.groupBox2.Controls.Add(this.label2893719831); - this.groupBox2.Controls.Add(this.txtScreenCGWSEL_ColorSubMask); - this.groupBox2.Controls.Add(this.label23); - this.groupBox2.Controls.Add(this.txtScreenCGWSEL_ColorMask); - this.groupBox2.Controls.Add(this.label22); - this.groupBox2.Controls.Add(this.label27); - this.groupBox2.Controls.Add(this.checkScreenCGWSEL_DirectColor); - this.groupBox2.Controls.Add(this.label2193813); - this.groupBox2.Controls.Add(this.checkScreenInterlace); - this.groupBox2.Controls.Add(this.label123812831); - this.groupBox2.Controls.Add(this.checkScreenObjInterlace); - this.groupBox2.Controls.Add(this.label198129381279841); - this.groupBox2.Controls.Add(this.checkScreenOverscan); - this.groupBox2.Controls.Add(this.label18391); - this.groupBox2.Controls.Add(this.checkScreenHires); - this.groupBox2.Controls.Add(this.label21); - this.groupBox2.Controls.Add(this.checkScreenExtbg); - this.groupBox2.Controls.Add(this.label20); - this.groupBox2.Controls.Add(this.label16); - this.groupBox2.Controls.Add(this.txtScreenBG4TSize); - this.groupBox2.Controls.Add(this.txtScreenBG3TSize); - this.groupBox2.Controls.Add(this.txtScreenBG2TSize); - this.groupBox2.Controls.Add(this.txtScreenBG1TSize); - this.groupBox2.Controls.Add(this.txtScreenBG4Bpp); - this.groupBox2.Controls.Add(this.label1); - this.groupBox2.Controls.Add(this.txtScreenBG3Bpp); - this.groupBox2.Controls.Add(this.txtModeBits); - this.groupBox2.Controls.Add(this.txtScreenBG2Bpp); - this.groupBox2.Controls.Add(this.label8); - this.groupBox2.Controls.Add(this.label7); - this.groupBox2.Controls.Add(this.txtScreenBG1Bpp); - this.groupBox2.Controls.Add(this.label6); - this.groupBox2.Controls.Add(this.label4); - this.groupBox2.Controls.Add(this.label5); - this.groupBox2.Location = new System.Drawing.Point(0, 0); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(229, 165); - this.groupBox2.TabIndex = 16; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "Screen"; - // - // label25 - // - this.label25.AutoSize = true; - this.label25.Location = new System.Drawing.Point(91, 125); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(61, 13); - this.label25.TabIndex = 44; - this.label25.Text = "Math/Fixed"; - // - // txtScreenCGWSEL_MathFixed - // - this.txtScreenCGWSEL_MathFixed.BackColor = System.Drawing.Color.LightGreen; - this.txtScreenCGWSEL_MathFixed.Location = new System.Drawing.Point(75, 123); - this.txtScreenCGWSEL_MathFixed.Multiline = true; - this.txtScreenCGWSEL_MathFixed.Name = "txtScreenCGWSEL_MathFixed"; - this.txtScreenCGWSEL_MathFixed.ReadOnly = true; - this.txtScreenCGWSEL_MathFixed.Size = new System.Drawing.Size(15, 17); - this.txtScreenCGWSEL_MathFixed.TabIndex = 43; - this.txtScreenCGWSEL_MathFixed.Text = "00"; - // - // label2893719831 - // - this.label2893719831.AutoSize = true; - this.label2893719831.Location = new System.Drawing.Point(91, 106); - this.label2893719831.Name = "label2893719831"; - this.label2893719831.Size = new System.Drawing.Size(76, 13); - this.label2893719831.TabIndex = 42; - this.label2893719831.Text = "ColorSubMask"; - // - // txtScreenCGWSEL_ColorSubMask - // - this.txtScreenCGWSEL_ColorSubMask.BackColor = System.Drawing.Color.LightGreen; - this.txtScreenCGWSEL_ColorSubMask.Location = new System.Drawing.Point(75, 104); - this.txtScreenCGWSEL_ColorSubMask.Multiline = true; - this.txtScreenCGWSEL_ColorSubMask.Name = "txtScreenCGWSEL_ColorSubMask"; - this.txtScreenCGWSEL_ColorSubMask.ReadOnly = true; - this.txtScreenCGWSEL_ColorSubMask.Size = new System.Drawing.Size(15, 17); - this.txtScreenCGWSEL_ColorSubMask.TabIndex = 41; - this.txtScreenCGWSEL_ColorSubMask.Text = "00"; - // - // label23 - // - this.label23.AutoSize = true; - this.label23.Location = new System.Drawing.Point(91, 88); - this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(57, 13); - this.label23.TabIndex = 40; - this.label23.Text = "ColorMask"; - // - // txtScreenCGWSEL_ColorMask - // - this.txtScreenCGWSEL_ColorMask.BackColor = System.Drawing.Color.LightGreen; - this.txtScreenCGWSEL_ColorMask.Location = new System.Drawing.Point(75, 86); - this.txtScreenCGWSEL_ColorMask.Multiline = true; - this.txtScreenCGWSEL_ColorMask.Name = "txtScreenCGWSEL_ColorMask"; - this.txtScreenCGWSEL_ColorMask.ReadOnly = true; - this.txtScreenCGWSEL_ColorMask.Size = new System.Drawing.Size(15, 17); - this.txtScreenCGWSEL_ColorMask.TabIndex = 39; - this.txtScreenCGWSEL_ColorMask.Text = "00"; - // - // label22 - // - this.label22.AutoSize = true; - this.label22.Location = new System.Drawing.Point(72, 73); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(53, 13); - this.label22.TabIndex = 32; - this.label22.Text = "CGWSEL"; - // - // label27 - // - this.label27.AutoSize = true; - this.label27.Location = new System.Drawing.Point(90, 142); - this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(59, 13); - this.label27.TabIndex = 31; - this.label27.Text = "DirectColor"; - // - // checkScreenCGWSEL_DirectColor - // - this.checkScreenCGWSEL_DirectColor.AutoSize = true; - this.checkScreenCGWSEL_DirectColor.Enabled = false; - this.checkScreenCGWSEL_DirectColor.Location = new System.Drawing.Point(76, 142); - this.checkScreenCGWSEL_DirectColor.Name = "checkScreenCGWSEL_DirectColor"; - this.checkScreenCGWSEL_DirectColor.Size = new System.Drawing.Size(15, 14); - this.checkScreenCGWSEL_DirectColor.TabIndex = 30; - this.checkScreenCGWSEL_DirectColor.UseVisualStyleBackColor = true; - // - // label2193813 - // - this.label2193813.AutoSize = true; - this.label2193813.Location = new System.Drawing.Point(25, 143); - this.label2193813.Name = "label2193813"; - this.label2193813.Size = new System.Drawing.Size(48, 13); - this.label2193813.TabIndex = 31; - this.label2193813.Text = "S.INTLC"; - // - // checkScreenInterlace - // - this.checkScreenInterlace.AutoSize = true; - this.checkScreenInterlace.Enabled = false; - this.checkScreenInterlace.Location = new System.Drawing.Point(11, 143); - this.checkScreenInterlace.Name = "checkScreenInterlace"; - this.checkScreenInterlace.Size = new System.Drawing.Size(15, 14); - this.checkScreenInterlace.TabIndex = 30; - this.checkScreenInterlace.UseVisualStyleBackColor = true; - // - // label123812831 - // - this.label123812831.AutoSize = true; - this.label123812831.Location = new System.Drawing.Point(25, 130); - this.label123812831.Name = "label123812831"; - this.label123812831.Size = new System.Drawing.Size(49, 13); - this.label123812831.TabIndex = 29; - this.label123812831.Text = "O.INTLC"; - // - // checkScreenObjInterlace - // - this.checkScreenObjInterlace.AutoSize = true; - this.checkScreenObjInterlace.Enabled = false; - this.checkScreenObjInterlace.Location = new System.Drawing.Point(11, 130); - this.checkScreenObjInterlace.Name = "checkScreenObjInterlace"; - this.checkScreenObjInterlace.Size = new System.Drawing.Size(15, 14); - this.checkScreenObjInterlace.TabIndex = 28; - this.checkScreenObjInterlace.UseVisualStyleBackColor = true; - // - // label198129381279841 - // - this.label198129381279841.AutoSize = true; - this.label198129381279841.Location = new System.Drawing.Point(25, 117); - this.label198129381279841.Name = "label198129381279841"; - this.label198129381279841.Size = new System.Drawing.Size(47, 13); - this.label198129381279841.TabIndex = 27; - this.label198129381279841.Text = "O.SCAN"; - // - // checkScreenOverscan - // - this.checkScreenOverscan.AutoSize = true; - this.checkScreenOverscan.Enabled = false; - this.checkScreenOverscan.Location = new System.Drawing.Point(11, 117); - this.checkScreenOverscan.Name = "checkScreenOverscan"; - this.checkScreenOverscan.Size = new System.Drawing.Size(15, 14); - this.checkScreenOverscan.TabIndex = 26; - this.checkScreenOverscan.UseVisualStyleBackColor = true; - // - // label18391 - // - this.label18391.AutoSize = true; - this.label18391.Location = new System.Drawing.Point(25, 103); - this.label18391.Name = "label18391"; - this.label18391.Size = new System.Drawing.Size(40, 13); - this.label18391.TabIndex = 25; - this.label18391.Text = "HIRES"; - // - // checkScreenHires - // - this.checkScreenHires.AutoSize = true; - this.checkScreenHires.Enabled = false; - this.checkScreenHires.Location = new System.Drawing.Point(11, 103); - this.checkScreenHires.Name = "checkScreenHires"; - this.checkScreenHires.Size = new System.Drawing.Size(15, 14); - this.checkScreenHires.TabIndex = 24; - this.checkScreenHires.UseVisualStyleBackColor = true; - // - // label21 - // - this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(25, 89); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(43, 13); - this.label21.TabIndex = 23; - this.label21.Text = "EXTBG"; - // - // checkScreenExtbg - // - this.checkScreenExtbg.AutoSize = true; - this.checkScreenExtbg.Enabled = false; - this.checkScreenExtbg.Location = new System.Drawing.Point(11, 89); - this.checkScreenExtbg.Name = "checkScreenExtbg"; - this.checkScreenExtbg.Size = new System.Drawing.Size(15, 14); - this.checkScreenExtbg.TabIndex = 22; - this.checkScreenExtbg.UseVisualStyleBackColor = true; - // - // label20 - // - this.label20.AutoSize = true; - this.label20.Location = new System.Drawing.Point(2, 73); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(42, 13); - this.label20.TabIndex = 21; - this.label20.Text = "SETINI"; - // - // label16 - // - this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(170, 53); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(34, 13); - this.label16.TabIndex = 20; - this.label16.Text = "TSize"; - // - // txtScreenBG4TSize - // - this.txtScreenBG4TSize.Location = new System.Drawing.Point(151, 51); - this.txtScreenBG4TSize.Multiline = true; - this.txtScreenBG4TSize.Name = "txtScreenBG4TSize"; - this.txtScreenBG4TSize.ReadOnly = true; - this.txtScreenBG4TSize.Size = new System.Drawing.Size(18, 17); - this.txtScreenBG4TSize.TabIndex = 19; - this.txtScreenBG4TSize.Text = "16"; - // - // txtScreenBG3TSize - // - this.txtScreenBG3TSize.Location = new System.Drawing.Point(126, 51); - this.txtScreenBG3TSize.Multiline = true; - this.txtScreenBG3TSize.Name = "txtScreenBG3TSize"; - this.txtScreenBG3TSize.ReadOnly = true; - this.txtScreenBG3TSize.Size = new System.Drawing.Size(18, 17); - this.txtScreenBG3TSize.TabIndex = 18; - this.txtScreenBG3TSize.Text = "16"; - // - // txtScreenBG2TSize - // - this.txtScreenBG2TSize.Location = new System.Drawing.Point(102, 51); - this.txtScreenBG2TSize.Multiline = true; - this.txtScreenBG2TSize.Name = "txtScreenBG2TSize"; - this.txtScreenBG2TSize.ReadOnly = true; - this.txtScreenBG2TSize.Size = new System.Drawing.Size(18, 17); - this.txtScreenBG2TSize.TabIndex = 17; - this.txtScreenBG2TSize.Text = "16"; - // - // txtScreenBG1TSize - // - this.txtScreenBG1TSize.Location = new System.Drawing.Point(78, 51); - this.txtScreenBG1TSize.Multiline = true; - this.txtScreenBG1TSize.Name = "txtScreenBG1TSize"; - this.txtScreenBG1TSize.ReadOnly = true; - this.txtScreenBG1TSize.Size = new System.Drawing.Size(18, 17); - this.txtScreenBG1TSize.TabIndex = 16; - this.txtScreenBG1TSize.Text = "16"; - // - // txtScreenBG4Bpp - // - this.txtScreenBG4Bpp.Location = new System.Drawing.Point(151, 28); - this.txtScreenBG4Bpp.Multiline = true; - this.txtScreenBG4Bpp.Name = "txtScreenBG4Bpp"; - this.txtScreenBG4Bpp.ReadOnly = true; - this.txtScreenBG4Bpp.Size = new System.Drawing.Size(18, 17); - this.txtScreenBG4Bpp.TabIndex = 15; - this.txtScreenBG4Bpp.Text = "8"; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(37, 30); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(34, 13); - this.label1.TabIndex = 0; - this.label1.Text = "Mode"; - // - // txtScreenBG3Bpp - // - this.txtScreenBG3Bpp.Location = new System.Drawing.Point(126, 28); - this.txtScreenBG3Bpp.Multiline = true; - this.txtScreenBG3Bpp.Name = "txtScreenBG3Bpp"; - this.txtScreenBG3Bpp.ReadOnly = true; - this.txtScreenBG3Bpp.Size = new System.Drawing.Size(18, 17); - this.txtScreenBG3Bpp.TabIndex = 14; - this.txtScreenBG3Bpp.Text = "8"; - // - // txtModeBits - // - this.txtModeBits.BackColor = System.Drawing.Color.LightGreen; - this.txtModeBits.Location = new System.Drawing.Point(6, 28); - this.txtModeBits.Multiline = true; - this.txtModeBits.Name = "txtModeBits"; - this.txtModeBits.ReadOnly = true; - this.txtModeBits.Size = new System.Drawing.Size(25, 17); - this.txtModeBits.TabIndex = 6; - this.txtModeBits.Text = "000"; - // - // txtScreenBG2Bpp - // - this.txtScreenBG2Bpp.Location = new System.Drawing.Point(102, 28); - this.txtScreenBG2Bpp.Multiline = true; - this.txtScreenBG2Bpp.Name = "txtScreenBG2Bpp"; - this.txtScreenBG2Bpp.ReadOnly = true; - this.txtScreenBG2Bpp.Size = new System.Drawing.Size(18, 17); - this.txtScreenBG2Bpp.TabIndex = 13; - this.txtScreenBG2Bpp.Text = "8"; - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(170, 29); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(25, 13); - this.label8.TabIndex = 7; - this.label8.Text = "bpp"; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(147, 12); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(28, 13); - this.label7.TabIndex = 12; - this.label7.Text = "BG4"; - // - // txtScreenBG1Bpp - // - this.txtScreenBG1Bpp.Location = new System.Drawing.Point(78, 28); - this.txtScreenBG1Bpp.Multiline = true; - this.txtScreenBG1Bpp.Name = "txtScreenBG1Bpp"; - this.txtScreenBG1Bpp.ReadOnly = true; - this.txtScreenBG1Bpp.Size = new System.Drawing.Size(18, 17); - this.txtScreenBG1Bpp.TabIndex = 8; - this.txtScreenBG1Bpp.Text = "8"; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(123, 12); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(28, 13); - this.label6.TabIndex = 11; - this.label6.Text = "BG3"; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(74, 12); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(28, 13); - this.label4.TabIndex = 9; - this.label4.Text = "BG1"; - // - // label5 - // - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(98, 12); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(28, 13); - this.label5.TabIndex = 10; - this.label5.Text = "BG2"; - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.rbBG4); - this.groupBox1.Controls.Add(this.label18); - this.groupBox1.Controls.Add(this.rbBG3); - this.groupBox1.Controls.Add(this.rbBG2); - this.groupBox1.Controls.Add(this.rbBG1); - this.groupBox1.Controls.Add(this.txtBG1TSizeDescr); - this.groupBox1.Controls.Add(this.comboBGProps); - this.groupBox1.Controls.Add(this.label15); - this.groupBox1.Controls.Add(this.txtBG1TSizeBits); - this.groupBox1.Controls.Add(this.label13); - this.groupBox1.Controls.Add(this.txtBG1Colors); - this.groupBox1.Controls.Add(this.txtBG1Bpp); - this.groupBox1.Controls.Add(this.label12); - this.groupBox1.Controls.Add(this.txtBG1TDAddrDescr); - this.groupBox1.Controls.Add(this.label11); - this.groupBox1.Controls.Add(this.txtBG1SCAddrDescr); - this.groupBox1.Controls.Add(this.label9); - this.groupBox1.Controls.Add(this.txtBG1TDAddrBits); - this.groupBox1.Controls.Add(this.label10); - this.groupBox1.Controls.Add(this.txtBG1SizeInPixels); - this.groupBox1.Controls.Add(this.label3); - this.groupBox1.Controls.Add(this.txtBG1SCAddrBits); - this.groupBox1.Controls.Add(this.txtBG1SizeInTiles); - this.groupBox1.Controls.Add(this.label2); - this.groupBox1.Controls.Add(this.txtBG1SizeBits); - this.groupBox1.Location = new System.Drawing.Point(0, 168); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(229, 245); - this.groupBox1.TabIndex = 3; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "BG"; - // - // rbBG4 - // - this.rbBG4.AutoSize = true; - this.rbBG4.Location = new System.Drawing.Point(175, 42); - this.rbBG4.Name = "rbBG4"; - this.rbBG4.Size = new System.Drawing.Size(46, 17); - this.rbBG4.TabIndex = 35; - this.rbBG4.TabStop = true; - this.rbBG4.Text = "BG4"; - this.rbBG4.UseVisualStyleBackColor = true; - this.rbBG4.CheckedChanged += new System.EventHandler(this.rbBGX_CheckedChanged); - // - // label18 - // - this.label18.AutoSize = true; - this.label18.Location = new System.Drawing.Point(161, 170); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(56, 26); - this.label18.TabIndex = 38; - this.label18.Text = "Todo: BG \r\npal info"; - // - // rbBG3 - // - this.rbBG3.AutoSize = true; - this.rbBG3.Location = new System.Drawing.Point(123, 42); - this.rbBG3.Name = "rbBG3"; - this.rbBG3.Size = new System.Drawing.Size(46, 17); - this.rbBG3.TabIndex = 34; - this.rbBG3.TabStop = true; - this.rbBG3.Text = "BG3"; - this.rbBG3.UseVisualStyleBackColor = true; - this.rbBG3.CheckedChanged += new System.EventHandler(this.rbBGX_CheckedChanged); - // - // rbBG2 - // - this.rbBG2.AutoSize = true; - this.rbBG2.Location = new System.Drawing.Point(175, 19); - this.rbBG2.Name = "rbBG2"; - this.rbBG2.Size = new System.Drawing.Size(46, 17); - this.rbBG2.TabIndex = 33; - this.rbBG2.TabStop = true; - this.rbBG2.Text = "BG2"; - this.rbBG2.UseVisualStyleBackColor = true; - this.rbBG2.CheckedChanged += new System.EventHandler(this.rbBGX_CheckedChanged); - // - // rbBG1 - // - this.rbBG1.AutoSize = true; - this.rbBG1.Location = new System.Drawing.Point(123, 19); - this.rbBG1.Name = "rbBG1"; - this.rbBG1.Size = new System.Drawing.Size(46, 17); - this.rbBG1.TabIndex = 32; - this.rbBG1.TabStop = true; - this.rbBG1.Text = "BG1"; - this.rbBG1.UseVisualStyleBackColor = true; - this.rbBG1.CheckedChanged += new System.EventHandler(this.rbBGX_CheckedChanged); - // - // txtBG1TSizeDescr - // - this.txtBG1TSizeDescr.Location = new System.Drawing.Point(83, 86); - this.txtBG1TSizeDescr.Multiline = true; - this.txtBG1TSizeDescr.Name = "txtBG1TSizeDescr"; - this.txtBG1TSizeDescr.ReadOnly = true; - this.txtBG1TSizeDescr.Size = new System.Drawing.Size(72, 18); - this.txtBG1TSizeDescr.TabIndex = 23; - this.txtBG1TSizeDescr.Text = "16x16"; - // - // comboBGProps - // - this.comboBGProps.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBGProps.FormattingEnabled = true; - this.comboBGProps.Items.AddRange(new object[] { + this.nudScanline.Name = "nudScanline"; + this.nudScanline.Size = new System.Drawing.Size(46, 20); + this.nudScanline.TabIndex = 39; + this.nudScanline.ValueChanged += new System.EventHandler(this.nudScanline_ValueChanged); + // + // sliderScanline + // + this.sliderScanline.AutoSize = false; + this.sliderScanline.Location = new System.Drawing.Point(14, 41); + this.sliderScanline.Maximum = 224; + this.sliderScanline.Name = "sliderScanline"; + this.sliderScanline.Orientation = System.Windows.Forms.Orientation.Vertical; + this.sliderScanline.Size = new System.Drawing.Size(30, 144); + this.sliderScanline.TabIndex = 40; + this.sliderScanline.Text = "label14"; + this.sliderScanline.TickFrequency = 16; + this.sliderScanline.Value = 224; + this.sliderScanline.ValueChanged += new System.EventHandler(this.sliderScanline_ValueChanged); + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.label25); + this.groupBox2.Controls.Add(this.txtScreenCGWSEL_MathFixed); + this.groupBox2.Controls.Add(this.label2893719831); + this.groupBox2.Controls.Add(this.txtScreenCGWSEL_ColorSubMask); + this.groupBox2.Controls.Add(this.label23); + this.groupBox2.Controls.Add(this.txtScreenCGWSEL_ColorMask); + this.groupBox2.Controls.Add(this.label22); + this.groupBox2.Controls.Add(this.label27); + this.groupBox2.Controls.Add(this.checkScreenCGWSEL_DirectColor); + this.groupBox2.Controls.Add(this.label2193813); + this.groupBox2.Controls.Add(this.checkScreenInterlace); + this.groupBox2.Controls.Add(this.label123812831); + this.groupBox2.Controls.Add(this.checkScreenObjInterlace); + this.groupBox2.Controls.Add(this.label198129381279841); + this.groupBox2.Controls.Add(this.checkScreenOverscan); + this.groupBox2.Controls.Add(this.label18391); + this.groupBox2.Controls.Add(this.checkScreenHires); + this.groupBox2.Controls.Add(this.label21); + this.groupBox2.Controls.Add(this.checkScreenExtbg); + this.groupBox2.Controls.Add(this.label20); + this.groupBox2.Controls.Add(this.label16); + this.groupBox2.Controls.Add(this.txtScreenBG4TSize); + this.groupBox2.Controls.Add(this.txtScreenBG3TSize); + this.groupBox2.Controls.Add(this.txtScreenBG2TSize); + this.groupBox2.Controls.Add(this.txtScreenBG1TSize); + this.groupBox2.Controls.Add(this.txtScreenBG4Bpp); + this.groupBox2.Controls.Add(this.label1); + this.groupBox2.Controls.Add(this.txtScreenBG3Bpp); + this.groupBox2.Controls.Add(this.txtModeBits); + this.groupBox2.Controls.Add(this.txtScreenBG2Bpp); + this.groupBox2.Controls.Add(this.label8); + this.groupBox2.Controls.Add(this.label7); + this.groupBox2.Controls.Add(this.txtScreenBG1Bpp); + this.groupBox2.Controls.Add(this.label6); + this.groupBox2.Controls.Add(this.label4); + this.groupBox2.Controls.Add(this.label5); + this.groupBox2.Location = new System.Drawing.Point(0, 0); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(229, 165); + this.groupBox2.TabIndex = 16; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "Screen"; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Location = new System.Drawing.Point(91, 125); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(61, 13); + this.label25.TabIndex = 44; + this.label25.Text = "Math/Fixed"; + // + // txtScreenCGWSEL_MathFixed + // + this.txtScreenCGWSEL_MathFixed.BackColor = System.Drawing.Color.LightGreen; + this.txtScreenCGWSEL_MathFixed.Location = new System.Drawing.Point(75, 123); + this.txtScreenCGWSEL_MathFixed.Multiline = true; + this.txtScreenCGWSEL_MathFixed.Name = "txtScreenCGWSEL_MathFixed"; + this.txtScreenCGWSEL_MathFixed.ReadOnly = true; + this.txtScreenCGWSEL_MathFixed.Size = new System.Drawing.Size(15, 17); + this.txtScreenCGWSEL_MathFixed.TabIndex = 43; + this.txtScreenCGWSEL_MathFixed.Text = "00"; + // + // label2893719831 + // + this.label2893719831.AutoSize = true; + this.label2893719831.Location = new System.Drawing.Point(91, 106); + this.label2893719831.Name = "label2893719831"; + this.label2893719831.Size = new System.Drawing.Size(76, 13); + this.label2893719831.TabIndex = 42; + this.label2893719831.Text = "ColorSubMask"; + // + // txtScreenCGWSEL_ColorSubMask + // + this.txtScreenCGWSEL_ColorSubMask.BackColor = System.Drawing.Color.LightGreen; + this.txtScreenCGWSEL_ColorSubMask.Location = new System.Drawing.Point(75, 104); + this.txtScreenCGWSEL_ColorSubMask.Multiline = true; + this.txtScreenCGWSEL_ColorSubMask.Name = "txtScreenCGWSEL_ColorSubMask"; + this.txtScreenCGWSEL_ColorSubMask.ReadOnly = true; + this.txtScreenCGWSEL_ColorSubMask.Size = new System.Drawing.Size(15, 17); + this.txtScreenCGWSEL_ColorSubMask.TabIndex = 41; + this.txtScreenCGWSEL_ColorSubMask.Text = "00"; + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Location = new System.Drawing.Point(91, 88); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(57, 13); + this.label23.TabIndex = 40; + this.label23.Text = "ColorMask"; + // + // txtScreenCGWSEL_ColorMask + // + this.txtScreenCGWSEL_ColorMask.BackColor = System.Drawing.Color.LightGreen; + this.txtScreenCGWSEL_ColorMask.Location = new System.Drawing.Point(75, 86); + this.txtScreenCGWSEL_ColorMask.Multiline = true; + this.txtScreenCGWSEL_ColorMask.Name = "txtScreenCGWSEL_ColorMask"; + this.txtScreenCGWSEL_ColorMask.ReadOnly = true; + this.txtScreenCGWSEL_ColorMask.Size = new System.Drawing.Size(15, 17); + this.txtScreenCGWSEL_ColorMask.TabIndex = 39; + this.txtScreenCGWSEL_ColorMask.Text = "00"; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(72, 73); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(53, 13); + this.label22.TabIndex = 32; + this.label22.Text = "CGWSEL"; + // + // label27 + // + this.label27.AutoSize = true; + this.label27.Location = new System.Drawing.Point(90, 142); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(59, 13); + this.label27.TabIndex = 31; + this.label27.Text = "DirectColor"; + // + // checkScreenCGWSEL_DirectColor + // + this.checkScreenCGWSEL_DirectColor.AutoSize = true; + this.checkScreenCGWSEL_DirectColor.Enabled = false; + this.checkScreenCGWSEL_DirectColor.Location = new System.Drawing.Point(76, 142); + this.checkScreenCGWSEL_DirectColor.Name = "checkScreenCGWSEL_DirectColor"; + this.checkScreenCGWSEL_DirectColor.Size = new System.Drawing.Size(15, 14); + this.checkScreenCGWSEL_DirectColor.TabIndex = 30; + this.checkScreenCGWSEL_DirectColor.UseVisualStyleBackColor = true; + // + // label2193813 + // + this.label2193813.AutoSize = true; + this.label2193813.Location = new System.Drawing.Point(25, 143); + this.label2193813.Name = "label2193813"; + this.label2193813.Size = new System.Drawing.Size(48, 13); + this.label2193813.TabIndex = 31; + this.label2193813.Text = "S.INTLC"; + // + // checkScreenInterlace + // + this.checkScreenInterlace.AutoSize = true; + this.checkScreenInterlace.Enabled = false; + this.checkScreenInterlace.Location = new System.Drawing.Point(11, 143); + this.checkScreenInterlace.Name = "checkScreenInterlace"; + this.checkScreenInterlace.Size = new System.Drawing.Size(15, 14); + this.checkScreenInterlace.TabIndex = 30; + this.checkScreenInterlace.UseVisualStyleBackColor = true; + // + // label123812831 + // + this.label123812831.AutoSize = true; + this.label123812831.Location = new System.Drawing.Point(25, 130); + this.label123812831.Name = "label123812831"; + this.label123812831.Size = new System.Drawing.Size(49, 13); + this.label123812831.TabIndex = 29; + this.label123812831.Text = "O.INTLC"; + // + // checkScreenObjInterlace + // + this.checkScreenObjInterlace.AutoSize = true; + this.checkScreenObjInterlace.Enabled = false; + this.checkScreenObjInterlace.Location = new System.Drawing.Point(11, 130); + this.checkScreenObjInterlace.Name = "checkScreenObjInterlace"; + this.checkScreenObjInterlace.Size = new System.Drawing.Size(15, 14); + this.checkScreenObjInterlace.TabIndex = 28; + this.checkScreenObjInterlace.UseVisualStyleBackColor = true; + // + // label198129381279841 + // + this.label198129381279841.AutoSize = true; + this.label198129381279841.Location = new System.Drawing.Point(25, 117); + this.label198129381279841.Name = "label198129381279841"; + this.label198129381279841.Size = new System.Drawing.Size(47, 13); + this.label198129381279841.TabIndex = 27; + this.label198129381279841.Text = "O.SCAN"; + // + // checkScreenOverscan + // + this.checkScreenOverscan.AutoSize = true; + this.checkScreenOverscan.Enabled = false; + this.checkScreenOverscan.Location = new System.Drawing.Point(11, 117); + this.checkScreenOverscan.Name = "checkScreenOverscan"; + this.checkScreenOverscan.Size = new System.Drawing.Size(15, 14); + this.checkScreenOverscan.TabIndex = 26; + this.checkScreenOverscan.UseVisualStyleBackColor = true; + // + // label18391 + // + this.label18391.AutoSize = true; + this.label18391.Location = new System.Drawing.Point(25, 103); + this.label18391.Name = "label18391"; + this.label18391.Size = new System.Drawing.Size(40, 13); + this.label18391.TabIndex = 25; + this.label18391.Text = "HIRES"; + // + // checkScreenHires + // + this.checkScreenHires.AutoSize = true; + this.checkScreenHires.Enabled = false; + this.checkScreenHires.Location = new System.Drawing.Point(11, 103); + this.checkScreenHires.Name = "checkScreenHires"; + this.checkScreenHires.Size = new System.Drawing.Size(15, 14); + this.checkScreenHires.TabIndex = 24; + this.checkScreenHires.UseVisualStyleBackColor = true; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(25, 89); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(43, 13); + this.label21.TabIndex = 23; + this.label21.Text = "EXTBG"; + // + // checkScreenExtbg + // + this.checkScreenExtbg.AutoSize = true; + this.checkScreenExtbg.Enabled = false; + this.checkScreenExtbg.Location = new System.Drawing.Point(11, 89); + this.checkScreenExtbg.Name = "checkScreenExtbg"; + this.checkScreenExtbg.Size = new System.Drawing.Size(15, 14); + this.checkScreenExtbg.TabIndex = 22; + this.checkScreenExtbg.UseVisualStyleBackColor = true; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Location = new System.Drawing.Point(2, 73); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(42, 13); + this.label20.TabIndex = 21; + this.label20.Text = "SETINI"; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(170, 53); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(34, 13); + this.label16.TabIndex = 20; + this.label16.Text = "TSize"; + // + // txtScreenBG4TSize + // + this.txtScreenBG4TSize.Location = new System.Drawing.Point(151, 51); + this.txtScreenBG4TSize.Multiline = true; + this.txtScreenBG4TSize.Name = "txtScreenBG4TSize"; + this.txtScreenBG4TSize.ReadOnly = true; + this.txtScreenBG4TSize.Size = new System.Drawing.Size(18, 17); + this.txtScreenBG4TSize.TabIndex = 19; + this.txtScreenBG4TSize.Text = "16"; + // + // txtScreenBG3TSize + // + this.txtScreenBG3TSize.Location = new System.Drawing.Point(126, 51); + this.txtScreenBG3TSize.Multiline = true; + this.txtScreenBG3TSize.Name = "txtScreenBG3TSize"; + this.txtScreenBG3TSize.ReadOnly = true; + this.txtScreenBG3TSize.Size = new System.Drawing.Size(18, 17); + this.txtScreenBG3TSize.TabIndex = 18; + this.txtScreenBG3TSize.Text = "16"; + // + // txtScreenBG2TSize + // + this.txtScreenBG2TSize.Location = new System.Drawing.Point(102, 51); + this.txtScreenBG2TSize.Multiline = true; + this.txtScreenBG2TSize.Name = "txtScreenBG2TSize"; + this.txtScreenBG2TSize.ReadOnly = true; + this.txtScreenBG2TSize.Size = new System.Drawing.Size(18, 17); + this.txtScreenBG2TSize.TabIndex = 17; + this.txtScreenBG2TSize.Text = "16"; + // + // txtScreenBG1TSize + // + this.txtScreenBG1TSize.Location = new System.Drawing.Point(78, 51); + this.txtScreenBG1TSize.Multiline = true; + this.txtScreenBG1TSize.Name = "txtScreenBG1TSize"; + this.txtScreenBG1TSize.ReadOnly = true; + this.txtScreenBG1TSize.Size = new System.Drawing.Size(18, 17); + this.txtScreenBG1TSize.TabIndex = 16; + this.txtScreenBG1TSize.Text = "16"; + // + // txtScreenBG4Bpp + // + this.txtScreenBG4Bpp.Location = new System.Drawing.Point(151, 28); + this.txtScreenBG4Bpp.Multiline = true; + this.txtScreenBG4Bpp.Name = "txtScreenBG4Bpp"; + this.txtScreenBG4Bpp.ReadOnly = true; + this.txtScreenBG4Bpp.Size = new System.Drawing.Size(18, 17); + this.txtScreenBG4Bpp.TabIndex = 15; + this.txtScreenBG4Bpp.Text = "8"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(37, 30); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(34, 13); + this.label1.TabIndex = 0; + this.label1.Text = "Mode"; + // + // txtScreenBG3Bpp + // + this.txtScreenBG3Bpp.Location = new System.Drawing.Point(126, 28); + this.txtScreenBG3Bpp.Multiline = true; + this.txtScreenBG3Bpp.Name = "txtScreenBG3Bpp"; + this.txtScreenBG3Bpp.ReadOnly = true; + this.txtScreenBG3Bpp.Size = new System.Drawing.Size(18, 17); + this.txtScreenBG3Bpp.TabIndex = 14; + this.txtScreenBG3Bpp.Text = "8"; + // + // txtModeBits + // + this.txtModeBits.BackColor = System.Drawing.Color.LightGreen; + this.txtModeBits.Location = new System.Drawing.Point(6, 28); + this.txtModeBits.Multiline = true; + this.txtModeBits.Name = "txtModeBits"; + this.txtModeBits.ReadOnly = true; + this.txtModeBits.Size = new System.Drawing.Size(25, 17); + this.txtModeBits.TabIndex = 6; + this.txtModeBits.Text = "000"; + // + // txtScreenBG2Bpp + // + this.txtScreenBG2Bpp.Location = new System.Drawing.Point(102, 28); + this.txtScreenBG2Bpp.Multiline = true; + this.txtScreenBG2Bpp.Name = "txtScreenBG2Bpp"; + this.txtScreenBG2Bpp.ReadOnly = true; + this.txtScreenBG2Bpp.Size = new System.Drawing.Size(18, 17); + this.txtScreenBG2Bpp.TabIndex = 13; + this.txtScreenBG2Bpp.Text = "8"; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(170, 29); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(25, 13); + this.label8.TabIndex = 7; + this.label8.Text = "bpp"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(147, 12); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(28, 13); + this.label7.TabIndex = 12; + this.label7.Text = "BG4"; + // + // txtScreenBG1Bpp + // + this.txtScreenBG1Bpp.Location = new System.Drawing.Point(78, 28); + this.txtScreenBG1Bpp.Multiline = true; + this.txtScreenBG1Bpp.Name = "txtScreenBG1Bpp"; + this.txtScreenBG1Bpp.ReadOnly = true; + this.txtScreenBG1Bpp.Size = new System.Drawing.Size(18, 17); + this.txtScreenBG1Bpp.TabIndex = 8; + this.txtScreenBG1Bpp.Text = "8"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(123, 12); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(28, 13); + this.label6.TabIndex = 11; + this.label6.Text = "BG3"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(74, 12); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(28, 13); + this.label4.TabIndex = 9; + this.label4.Text = "BG1"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(98, 12); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(28, 13); + this.label5.TabIndex = 10; + this.label5.Text = "BG2"; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.rbBG4); + this.groupBox1.Controls.Add(this.label18); + this.groupBox1.Controls.Add(this.rbBG3); + this.groupBox1.Controls.Add(this.rbBG2); + this.groupBox1.Controls.Add(this.rbBG1); + this.groupBox1.Controls.Add(this.txtBG1TSizeDescr); + this.groupBox1.Controls.Add(this.comboBGProps); + this.groupBox1.Controls.Add(this.label15); + this.groupBox1.Controls.Add(this.txtBG1TSizeBits); + this.groupBox1.Controls.Add(this.label13); + this.groupBox1.Controls.Add(this.txtBG1Colors); + this.groupBox1.Controls.Add(this.txtBG1Bpp); + this.groupBox1.Controls.Add(this.label12); + this.groupBox1.Controls.Add(this.txtBG1TDAddrDescr); + this.groupBox1.Controls.Add(this.label11); + this.groupBox1.Controls.Add(this.txtBG1SCAddrDescr); + this.groupBox1.Controls.Add(this.label9); + this.groupBox1.Controls.Add(this.txtBG1TDAddrBits); + this.groupBox1.Controls.Add(this.label10); + this.groupBox1.Controls.Add(this.txtBG1SizeInPixels); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.txtBG1SCAddrBits); + this.groupBox1.Controls.Add(this.txtBG1SizeInTiles); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Controls.Add(this.txtBG1SizeBits); + this.groupBox1.Location = new System.Drawing.Point(0, 168); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(229, 245); + this.groupBox1.TabIndex = 3; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "BG"; + // + // rbBG4 + // + this.rbBG4.AutoSize = true; + this.rbBG4.Location = new System.Drawing.Point(175, 42); + this.rbBG4.Name = "rbBG4"; + this.rbBG4.Size = new System.Drawing.Size(46, 17); + this.rbBG4.TabIndex = 35; + this.rbBG4.TabStop = true; + this.rbBG4.Text = "BG4"; + this.rbBG4.UseVisualStyleBackColor = true; + this.rbBG4.CheckedChanged += new System.EventHandler(this.rbBGX_CheckedChanged); + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(161, 170); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(56, 26); + this.label18.TabIndex = 38; + this.label18.Text = "Todo: BG \r\npal info"; + // + // rbBG3 + // + this.rbBG3.AutoSize = true; + this.rbBG3.Location = new System.Drawing.Point(123, 42); + this.rbBG3.Name = "rbBG3"; + this.rbBG3.Size = new System.Drawing.Size(46, 17); + this.rbBG3.TabIndex = 34; + this.rbBG3.TabStop = true; + this.rbBG3.Text = "BG3"; + this.rbBG3.UseVisualStyleBackColor = true; + this.rbBG3.CheckedChanged += new System.EventHandler(this.rbBGX_CheckedChanged); + // + // rbBG2 + // + this.rbBG2.AutoSize = true; + this.rbBG2.Location = new System.Drawing.Point(175, 19); + this.rbBG2.Name = "rbBG2"; + this.rbBG2.Size = new System.Drawing.Size(46, 17); + this.rbBG2.TabIndex = 33; + this.rbBG2.TabStop = true; + this.rbBG2.Text = "BG2"; + this.rbBG2.UseVisualStyleBackColor = true; + this.rbBG2.CheckedChanged += new System.EventHandler(this.rbBGX_CheckedChanged); + // + // rbBG1 + // + this.rbBG1.AutoSize = true; + this.rbBG1.Location = new System.Drawing.Point(123, 19); + this.rbBG1.Name = "rbBG1"; + this.rbBG1.Size = new System.Drawing.Size(46, 17); + this.rbBG1.TabIndex = 32; + this.rbBG1.TabStop = true; + this.rbBG1.Text = "BG1"; + this.rbBG1.UseVisualStyleBackColor = true; + this.rbBG1.CheckedChanged += new System.EventHandler(this.rbBGX_CheckedChanged); + // + // txtBG1TSizeDescr + // + this.txtBG1TSizeDescr.Location = new System.Drawing.Point(83, 86); + this.txtBG1TSizeDescr.Multiline = true; + this.txtBG1TSizeDescr.Name = "txtBG1TSizeDescr"; + this.txtBG1TSizeDescr.ReadOnly = true; + this.txtBG1TSizeDescr.Size = new System.Drawing.Size(72, 18); + this.txtBG1TSizeDescr.TabIndex = 23; + this.txtBG1TSizeDescr.Text = "16x16"; + // + // comboBGProps + // + this.comboBGProps.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBGProps.FormattingEnabled = true; + this.comboBGProps.Items.AddRange(new object[] { "BG1", "BG2", "BG3", "BG4"}); - this.comboBGProps.Location = new System.Drawing.Point(6, 19); - this.comboBGProps.Name = "comboBGProps"; - this.comboBGProps.Size = new System.Drawing.Size(108, 21); - this.comboBGProps.TabIndex = 32; - this.comboBGProps.SelectedIndexChanged += new System.EventHandler(this.comboBGProps_SelectedIndexChanged); - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(33, 89); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(34, 13); - this.label15.TabIndex = 22; - this.label15.Text = "TSize"; - // - // txtBG1TSizeBits - // - this.txtBG1TSizeBits.BackColor = System.Drawing.Color.LightGreen; - this.txtBG1TSizeBits.Location = new System.Drawing.Point(5, 85); - this.txtBG1TSizeBits.Multiline = true; - this.txtBG1TSizeBits.Name = "txtBG1TSizeBits"; - this.txtBG1TSizeBits.ReadOnly = true; - this.txtBG1TSizeBits.Size = new System.Drawing.Size(25, 17); - this.txtBG1TSizeBits.TabIndex = 21; - this.txtBG1TSizeBits.Text = "00"; - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(156, 66); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(36, 13); - this.label13.TabIndex = 20; - this.label13.Text = "Colors"; - // - // txtBG1Colors - // - this.txtBG1Colors.Location = new System.Drawing.Point(83, 64); - this.txtBG1Colors.Multiline = true; - this.txtBG1Colors.Name = "txtBG1Colors"; - this.txtBG1Colors.ReadOnly = true; - this.txtBG1Colors.Size = new System.Drawing.Size(72, 17); - this.txtBG1Colors.TabIndex = 19; - this.txtBG1Colors.Text = "00"; - // - // txtBG1Bpp - // - this.txtBG1Bpp.Location = new System.Drawing.Point(6, 62); - this.txtBG1Bpp.Multiline = true; - this.txtBG1Bpp.Name = "txtBG1Bpp"; - this.txtBG1Bpp.ReadOnly = true; - this.txtBG1Bpp.Size = new System.Drawing.Size(24, 17); - this.txtBG1Bpp.TabIndex = 18; - this.txtBG1Bpp.Text = "8"; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(33, 64); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(32, 13); - this.label12.TabIndex = 17; - this.label12.Text = "Bpp; "; - // - // txtBG1TDAddrDescr - // - this.txtBG1TDAddrDescr.Location = new System.Drawing.Point(84, 178); - this.txtBG1TDAddrDescr.Multiline = true; - this.txtBG1TDAddrDescr.Name = "txtBG1TDAddrDescr"; - this.txtBG1TDAddrDescr.ReadOnly = true; - this.txtBG1TDAddrDescr.Size = new System.Drawing.Size(71, 19); - this.txtBG1TDAddrDescr.TabIndex = 15; - this.txtBG1TDAddrDescr.Text = "1024z1024"; - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(34, 183); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(47, 13); - this.label11.TabIndex = 14; - this.label11.Text = "TD.Addr"; - // - // txtBG1SCAddrDescr - // - this.txtBG1SCAddrDescr.Location = new System.Drawing.Point(84, 157); - this.txtBG1SCAddrDescr.Multiline = true; - this.txtBG1SCAddrDescr.Name = "txtBG1SCAddrDescr"; - this.txtBG1SCAddrDescr.ReadOnly = true; - this.txtBG1SCAddrDescr.Size = new System.Drawing.Size(71, 19); - this.txtBG1SCAddrDescr.TabIndex = 12; - this.txtBG1SCAddrDescr.Text = "1024z1024"; - // - // label9 - // - this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(156, 135); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(34, 13); - this.label9.TabIndex = 9; - this.label9.Text = "Pixels"; - // - // txtBG1TDAddrBits - // - this.txtBG1TDAddrBits.BackColor = System.Drawing.Color.LightGreen; - this.txtBG1TDAddrBits.Location = new System.Drawing.Point(5, 180); - this.txtBG1TDAddrBits.Multiline = true; - this.txtBG1TDAddrBits.Name = "txtBG1TDAddrBits"; - this.txtBG1TDAddrBits.ReadOnly = true; - this.txtBG1TDAddrBits.Size = new System.Drawing.Size(25, 17); - this.txtBG1TDAddrBits.TabIndex = 13; - this.txtBG1TDAddrBits.Text = "00"; - // - // label10 - // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(34, 160); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(46, 13); - this.label10.TabIndex = 11; - this.label10.Text = "SC.Addr"; - // - // txtBG1SizeInPixels - // - this.txtBG1SizeInPixels.Location = new System.Drawing.Point(83, 132); - this.txtBG1SizeInPixels.Multiline = true; - this.txtBG1SizeInPixels.Name = "txtBG1SizeInPixels"; - this.txtBG1SizeInPixels.ReadOnly = true; - this.txtBG1SizeInPixels.Size = new System.Drawing.Size(72, 19); - this.txtBG1SizeInPixels.TabIndex = 8; - this.txtBG1SizeInPixels.Text = "1024x1024"; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(156, 113); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(32, 13); - this.label3.TabIndex = 7; - this.label3.Text = "Tiles;"; - // - // txtBG1SCAddrBits - // - this.txtBG1SCAddrBits.BackColor = System.Drawing.Color.LightGreen; - this.txtBG1SCAddrBits.Location = new System.Drawing.Point(5, 157); - this.txtBG1SCAddrBits.Multiline = true; - this.txtBG1SCAddrBits.Name = "txtBG1SCAddrBits"; - this.txtBG1SCAddrBits.ReadOnly = true; - this.txtBG1SCAddrBits.Size = new System.Drawing.Size(25, 17); - this.txtBG1SCAddrBits.TabIndex = 10; - this.txtBG1SCAddrBits.Text = "00"; - // - // txtBG1SizeInTiles - // - this.txtBG1SizeInTiles.Location = new System.Drawing.Point(84, 110); - this.txtBG1SizeInTiles.Multiline = true; - this.txtBG1SizeInTiles.Name = "txtBG1SizeInTiles"; - this.txtBG1SizeInTiles.ReadOnly = true; - this.txtBG1SizeInTiles.Size = new System.Drawing.Size(71, 17); - this.txtBG1SizeInTiles.TabIndex = 6; - this.txtBG1SizeInTiles.Text = "64x64"; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(34, 113); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(27, 13); - this.label2.TabIndex = 4; - this.label2.Text = "Size"; - // - // txtBG1SizeBits - // - this.txtBG1SizeBits.BackColor = System.Drawing.Color.LightGreen; - this.txtBG1SizeBits.Location = new System.Drawing.Point(5, 110); - this.txtBG1SizeBits.Multiline = true; - this.txtBG1SizeBits.Name = "txtBG1SizeBits"; - this.txtBG1SizeBits.ReadOnly = true; - this.txtBG1SizeBits.Size = new System.Drawing.Size(25, 17); - this.txtBG1SizeBits.TabIndex = 5; - this.txtBG1SizeBits.Text = "00"; - // - // groupBox4 - // - this.groupBox4.Controls.Add(this.radioButton6); - this.groupBox4.Controls.Add(this.label17); - this.groupBox4.Controls.Add(this.check2x); - this.groupBox4.Controls.Add(this.radioButton15); - this.groupBox4.Controls.Add(this.radioButton14); - this.groupBox4.Controls.Add(this.label14); - this.groupBox4.Controls.Add(this.comboDisplayType); - this.groupBox4.Controls.Add(this.radioButton1); - this.groupBox4.Controls.Add(this.grpQuadrants); - this.groupBox4.Controls.Add(this.radioButton2); - this.groupBox4.Controls.Add(this.radioButton13); - this.groupBox4.Controls.Add(this.radioButton3); - this.groupBox4.Controls.Add(this.radioButton4); - this.groupBox4.Controls.Add(this.radioButton5); - this.groupBox4.Controls.Add(this.radioButton10); - this.groupBox4.Location = new System.Drawing.Point(386, 0); - this.groupBox4.Name = "groupBox4"; - this.groupBox4.Size = new System.Drawing.Size(166, 191); - this.groupBox4.TabIndex = 35; - this.groupBox4.TabStop = false; - // - // radioButton6 - // - this.radioButton6.AutoSize = true; - this.radioButton6.Enabled = false; - this.radioButton6.Location = new System.Drawing.Point(56, 99); - this.radioButton6.Name = "radioButton6"; - this.radioButton6.Size = new System.Drawing.Size(73, 17); - this.radioButton6.TabIndex = 49; - this.radioButton6.TabStop = true; - this.radioButton6.Text = "Mode7Ext"; - this.radioButton6.UseVisualStyleBackColor = true; - // - // label17 - // - this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(84, 173); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(61, 13); - this.label17.TabIndex = 48; - this.label17.Text = "deprecated"; - // - // check2x - // - this.check2x.Appearance = System.Windows.Forms.Appearance.Button; - this.check2x.Location = new System.Drawing.Point(119, 8); - this.check2x.Name = "check2x"; - this.check2x.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.check2x.Size = new System.Drawing.Size(39, 21); - this.check2x.TabIndex = 45; - this.check2x.Text = "1024"; - this.toolTip1.SetToolTip(this.check2x, "Sets graphics viewport size to 1024 (unchecked is 512).\r\nContent will be scaled t" + + this.comboBGProps.Location = new System.Drawing.Point(6, 19); + this.comboBGProps.Name = "comboBGProps"; + this.comboBGProps.Size = new System.Drawing.Size(108, 21); + this.comboBGProps.TabIndex = 32; + this.comboBGProps.SelectedIndexChanged += new System.EventHandler(this.comboBGProps_SelectedIndexChanged); + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(33, 89); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(34, 13); + this.label15.TabIndex = 22; + this.label15.Text = "TSize"; + // + // txtBG1TSizeBits + // + this.txtBG1TSizeBits.BackColor = System.Drawing.Color.LightGreen; + this.txtBG1TSizeBits.Location = new System.Drawing.Point(5, 85); + this.txtBG1TSizeBits.Multiline = true; + this.txtBG1TSizeBits.Name = "txtBG1TSizeBits"; + this.txtBG1TSizeBits.ReadOnly = true; + this.txtBG1TSizeBits.Size = new System.Drawing.Size(25, 17); + this.txtBG1TSizeBits.TabIndex = 21; + this.txtBG1TSizeBits.Text = "00"; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(156, 66); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(36, 13); + this.label13.TabIndex = 20; + this.label13.Text = "Colors"; + // + // txtBG1Colors + // + this.txtBG1Colors.Location = new System.Drawing.Point(83, 64); + this.txtBG1Colors.Multiline = true; + this.txtBG1Colors.Name = "txtBG1Colors"; + this.txtBG1Colors.ReadOnly = true; + this.txtBG1Colors.Size = new System.Drawing.Size(72, 17); + this.txtBG1Colors.TabIndex = 19; + this.txtBG1Colors.Text = "00"; + // + // txtBG1Bpp + // + this.txtBG1Bpp.Location = new System.Drawing.Point(6, 62); + this.txtBG1Bpp.Multiline = true; + this.txtBG1Bpp.Name = "txtBG1Bpp"; + this.txtBG1Bpp.ReadOnly = true; + this.txtBG1Bpp.Size = new System.Drawing.Size(24, 17); + this.txtBG1Bpp.TabIndex = 18; + this.txtBG1Bpp.Text = "8"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(33, 64); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(32, 13); + this.label12.TabIndex = 17; + this.label12.Text = "Bpp; "; + // + // txtBG1TDAddrDescr + // + this.txtBG1TDAddrDescr.Location = new System.Drawing.Point(84, 178); + this.txtBG1TDAddrDescr.Multiline = true; + this.txtBG1TDAddrDescr.Name = "txtBG1TDAddrDescr"; + this.txtBG1TDAddrDescr.ReadOnly = true; + this.txtBG1TDAddrDescr.Size = new System.Drawing.Size(71, 19); + this.txtBG1TDAddrDescr.TabIndex = 15; + this.txtBG1TDAddrDescr.Text = "1024z1024"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(34, 183); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(47, 13); + this.label11.TabIndex = 14; + this.label11.Text = "TD.Addr"; + // + // txtBG1SCAddrDescr + // + this.txtBG1SCAddrDescr.Location = new System.Drawing.Point(84, 157); + this.txtBG1SCAddrDescr.Multiline = true; + this.txtBG1SCAddrDescr.Name = "txtBG1SCAddrDescr"; + this.txtBG1SCAddrDescr.ReadOnly = true; + this.txtBG1SCAddrDescr.Size = new System.Drawing.Size(71, 19); + this.txtBG1SCAddrDescr.TabIndex = 12; + this.txtBG1SCAddrDescr.Text = "1024z1024"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(156, 135); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(34, 13); + this.label9.TabIndex = 9; + this.label9.Text = "Pixels"; + // + // txtBG1TDAddrBits + // + this.txtBG1TDAddrBits.BackColor = System.Drawing.Color.LightGreen; + this.txtBG1TDAddrBits.Location = new System.Drawing.Point(5, 180); + this.txtBG1TDAddrBits.Multiline = true; + this.txtBG1TDAddrBits.Name = "txtBG1TDAddrBits"; + this.txtBG1TDAddrBits.ReadOnly = true; + this.txtBG1TDAddrBits.Size = new System.Drawing.Size(25, 17); + this.txtBG1TDAddrBits.TabIndex = 13; + this.txtBG1TDAddrBits.Text = "00"; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(34, 160); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(46, 13); + this.label10.TabIndex = 11; + this.label10.Text = "SC.Addr"; + // + // txtBG1SizeInPixels + // + this.txtBG1SizeInPixels.Location = new System.Drawing.Point(83, 132); + this.txtBG1SizeInPixels.Multiline = true; + this.txtBG1SizeInPixels.Name = "txtBG1SizeInPixels"; + this.txtBG1SizeInPixels.ReadOnly = true; + this.txtBG1SizeInPixels.Size = new System.Drawing.Size(72, 19); + this.txtBG1SizeInPixels.TabIndex = 8; + this.txtBG1SizeInPixels.Text = "1024x1024"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(156, 113); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(32, 13); + this.label3.TabIndex = 7; + this.label3.Text = "Tiles;"; + // + // txtBG1SCAddrBits + // + this.txtBG1SCAddrBits.BackColor = System.Drawing.Color.LightGreen; + this.txtBG1SCAddrBits.Location = new System.Drawing.Point(5, 157); + this.txtBG1SCAddrBits.Multiline = true; + this.txtBG1SCAddrBits.Name = "txtBG1SCAddrBits"; + this.txtBG1SCAddrBits.ReadOnly = true; + this.txtBG1SCAddrBits.Size = new System.Drawing.Size(25, 17); + this.txtBG1SCAddrBits.TabIndex = 10; + this.txtBG1SCAddrBits.Text = "00"; + // + // txtBG1SizeInTiles + // + this.txtBG1SizeInTiles.Location = new System.Drawing.Point(84, 110); + this.txtBG1SizeInTiles.Multiline = true; + this.txtBG1SizeInTiles.Name = "txtBG1SizeInTiles"; + this.txtBG1SizeInTiles.ReadOnly = true; + this.txtBG1SizeInTiles.Size = new System.Drawing.Size(71, 17); + this.txtBG1SizeInTiles.TabIndex = 6; + this.txtBG1SizeInTiles.Text = "64x64"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(34, 113); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(27, 13); + this.label2.TabIndex = 4; + this.label2.Text = "Size"; + // + // txtBG1SizeBits + // + this.txtBG1SizeBits.BackColor = System.Drawing.Color.LightGreen; + this.txtBG1SizeBits.Location = new System.Drawing.Point(5, 110); + this.txtBG1SizeBits.Multiline = true; + this.txtBG1SizeBits.Name = "txtBG1SizeBits"; + this.txtBG1SizeBits.ReadOnly = true; + this.txtBG1SizeBits.Size = new System.Drawing.Size(25, 17); + this.txtBG1SizeBits.TabIndex = 5; + this.txtBG1SizeBits.Text = "00"; + // + // groupBox4 + // + this.groupBox4.Controls.Add(this.radioButton6); + this.groupBox4.Controls.Add(this.label17); + this.groupBox4.Controls.Add(this.check2x); + this.groupBox4.Controls.Add(this.radioButton15); + this.groupBox4.Controls.Add(this.radioButton14); + this.groupBox4.Controls.Add(this.label14); + this.groupBox4.Controls.Add(this.comboDisplayType); + this.groupBox4.Controls.Add(this.radioButton1); + this.groupBox4.Controls.Add(this.grpQuadrants); + this.groupBox4.Controls.Add(this.radioButton2); + this.groupBox4.Controls.Add(this.radioButton13); + this.groupBox4.Controls.Add(this.radioButton3); + this.groupBox4.Controls.Add(this.radioButton4); + this.groupBox4.Controls.Add(this.radioButton5); + this.groupBox4.Controls.Add(this.radioButton10); + this.groupBox4.Location = new System.Drawing.Point(386, 0); + this.groupBox4.Name = "groupBox4"; + this.groupBox4.Size = new System.Drawing.Size(166, 191); + this.groupBox4.TabIndex = 35; + this.groupBox4.TabStop = false; + // + // radioButton6 + // + this.radioButton6.AutoSize = true; + this.radioButton6.Enabled = false; + this.radioButton6.Location = new System.Drawing.Point(56, 99); + this.radioButton6.Name = "radioButton6"; + this.radioButton6.Size = new System.Drawing.Size(73, 17); + this.radioButton6.TabIndex = 49; + this.radioButton6.TabStop = true; + this.radioButton6.Text = "Mode7Ext"; + this.radioButton6.UseVisualStyleBackColor = true; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(84, 173); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(61, 13); + this.label17.TabIndex = 48; + this.label17.Text = "deprecated"; + // + // check2x + // + this.check2x.Appearance = System.Windows.Forms.Appearance.Button; + this.check2x.Location = new System.Drawing.Point(119, 8); + this.check2x.Name = "check2x"; + this.check2x.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.check2x.Size = new System.Drawing.Size(39, 21); + this.check2x.TabIndex = 45; + this.check2x.Text = "1024"; + this.toolTip1.SetToolTip(this.check2x, "Sets graphics viewport size to 1024 (unchecked is 512).\r\nContent will be scaled t" + "o fill specified size"); - this.check2x.UseVisualStyleBackColor = true; - this.check2x.CheckedChanged += new System.EventHandler(this.check2x_CheckedChanged); - // - // radioButton15 - // - this.radioButton15.AutoSize = true; - this.radioButton15.Enabled = false; - this.radioButton15.Location = new System.Drawing.Point(56, 83); - this.radioButton15.Name = "radioButton15"; - this.radioButton15.Size = new System.Drawing.Size(58, 17); - this.radioButton15.TabIndex = 33; - this.radioButton15.TabStop = true; - this.radioButton15.Text = "Mode7"; - this.radioButton15.UseVisualStyleBackColor = true; - // - // radioButton14 - // - this.radioButton14.AutoSize = true; - this.radioButton14.Enabled = false; - this.radioButton14.Location = new System.Drawing.Point(6, 100); - this.radioButton14.Name = "radioButton14"; - this.radioButton14.Size = new System.Drawing.Size(45, 17); - this.radioButton14.TabIndex = 32; - this.radioButton14.TabStop = true; - this.radioButton14.Text = "OBJ"; - this.radioButton14.UseVisualStyleBackColor = true; - // - // label14 - // - this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(41, 127); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(46, 13); - this.label14.TabIndex = 47; - this.label14.Text = "disabled"; - // - // comboDisplayType - // - this.comboDisplayType.DropDownHeight = 200; - this.comboDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboDisplayType.FormattingEnabled = true; - this.comboDisplayType.IntegralHeight = false; - this.comboDisplayType.ItemHeight = 13; - this.comboDisplayType.Items.AddRange(new object[] { + this.check2x.UseVisualStyleBackColor = true; + this.check2x.CheckedChanged += new System.EventHandler(this.check2x_CheckedChanged); + // + // radioButton15 + // + this.radioButton15.AutoSize = true; + this.radioButton15.Enabled = false; + this.radioButton15.Location = new System.Drawing.Point(56, 83); + this.radioButton15.Name = "radioButton15"; + this.radioButton15.Size = new System.Drawing.Size(58, 17); + this.radioButton15.TabIndex = 33; + this.radioButton15.TabStop = true; + this.radioButton15.Text = "Mode7"; + this.radioButton15.UseVisualStyleBackColor = true; + // + // radioButton14 + // + this.radioButton14.AutoSize = true; + this.radioButton14.Enabled = false; + this.radioButton14.Location = new System.Drawing.Point(6, 100); + this.radioButton14.Name = "radioButton14"; + this.radioButton14.Size = new System.Drawing.Size(45, 17); + this.radioButton14.TabIndex = 32; + this.radioButton14.TabStop = true; + this.radioButton14.Text = "OBJ"; + this.radioButton14.UseVisualStyleBackColor = true; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(41, 127); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(46, 13); + this.label14.TabIndex = 47; + this.label14.Text = "disabled"; + // + // comboDisplayType + // + this.comboDisplayType.DisplayMember = "descr"; + this.comboDisplayType.DropDownHeight = 200; + this.comboDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboDisplayType.FormattingEnabled = true; + this.comboDisplayType.IntegralHeight = false; + this.comboDisplayType.ItemHeight = 13; + this.comboDisplayType.Items.AddRange(new object[] { "BG1", "BG2", "BG3", @@ -1124,397 +1125,398 @@ "Mode7 tiles", "Mode7Ext tiles", "Mode7 tiles (DC)"}); - this.comboDisplayType.Location = new System.Drawing.Point(6, 8); - this.comboDisplayType.Name = "comboDisplayType"; - this.comboDisplayType.Size = new System.Drawing.Size(107, 21); - this.comboDisplayType.TabIndex = 18; - this.comboDisplayType.SelectedIndexChanged += new System.EventHandler(this.comboDisplayType_SelectedIndexChanged); - // - // radioButton1 - // - this.radioButton1.AutoSize = true; - this.radioButton1.Enabled = false; - this.radioButton1.Location = new System.Drawing.Point(6, 35); - this.radioButton1.Name = "radioButton1"; - this.radioButton1.Size = new System.Drawing.Size(46, 17); - this.radioButton1.TabIndex = 19; - this.radioButton1.TabStop = true; - this.radioButton1.Text = "BG1"; - this.radioButton1.UseVisualStyleBackColor = true; - // - // grpQuadrants - // - this.grpQuadrants.Controls.Add(this.rbQuad3); - this.grpQuadrants.Controls.Add(this.rbQuad2); - this.grpQuadrants.Controls.Add(this.rbQuadAll); - this.grpQuadrants.Controls.Add(this.rbQuad1); - this.grpQuadrants.Controls.Add(this.rbQuad0); - this.grpQuadrants.Enabled = false; - this.grpQuadrants.Location = new System.Drawing.Point(88, 117); - this.grpQuadrants.Name = "grpQuadrants"; - this.grpQuadrants.Size = new System.Drawing.Size(44, 53); - this.grpQuadrants.TabIndex = 44; - this.grpQuadrants.TabStop = false; - // - // rbQuad3 - // - this.rbQuad3.AutoSize = true; - this.rbQuad3.Location = new System.Drawing.Point(26, 34); - this.rbQuad3.Name = "rbQuad3"; - this.rbQuad3.Size = new System.Drawing.Size(14, 13); - this.rbQuad3.TabIndex = 47; - this.rbQuad3.UseVisualStyleBackColor = true; - this.rbQuad3.CheckedChanged += new System.EventHandler(this.rbQuad_CheckedChanged); - // - // rbQuad2 - // - this.rbQuad2.AutoSize = true; - this.rbQuad2.Location = new System.Drawing.Point(4, 35); - this.rbQuad2.Name = "rbQuad2"; - this.rbQuad2.Size = new System.Drawing.Size(14, 13); - this.rbQuad2.TabIndex = 46; - this.rbQuad2.UseVisualStyleBackColor = true; - this.rbQuad2.CheckedChanged += new System.EventHandler(this.rbQuad_CheckedChanged); - // - // rbQuadAll - // - this.rbQuadAll.AutoSize = true; - this.rbQuadAll.Location = new System.Drawing.Point(15, 22); - this.rbQuadAll.Name = "rbQuadAll"; - this.rbQuadAll.Size = new System.Drawing.Size(14, 13); - this.rbQuadAll.TabIndex = 45; - this.rbQuadAll.UseVisualStyleBackColor = true; - this.rbQuadAll.CheckedChanged += new System.EventHandler(this.rbQuad_CheckedChanged); - // - // rbQuad1 - // - this.rbQuad1.AutoSize = true; - this.rbQuad1.Location = new System.Drawing.Point(26, 10); - this.rbQuad1.Name = "rbQuad1"; - this.rbQuad1.Size = new System.Drawing.Size(14, 13); - this.rbQuad1.TabIndex = 44; - this.rbQuad1.UseVisualStyleBackColor = true; - this.rbQuad1.CheckedChanged += new System.EventHandler(this.rbQuad_CheckedChanged); - // - // rbQuad0 - // - this.rbQuad0.AutoSize = true; - this.rbQuad0.Checked = true; - this.rbQuad0.Location = new System.Drawing.Point(5, 10); - this.rbQuad0.Name = "rbQuad0"; - this.rbQuad0.Size = new System.Drawing.Size(14, 13); - this.rbQuad0.TabIndex = 43; - this.rbQuad0.TabStop = true; - this.rbQuad0.UseVisualStyleBackColor = true; - this.rbQuad0.CheckedChanged += new System.EventHandler(this.rbQuad_CheckedChanged); - // - // radioButton2 - // - this.radioButton2.AutoSize = true; - this.radioButton2.Enabled = false; - this.radioButton2.Location = new System.Drawing.Point(6, 51); - this.radioButton2.Name = "radioButton2"; - this.radioButton2.Size = new System.Drawing.Size(46, 17); - this.radioButton2.TabIndex = 20; - this.radioButton2.TabStop = true; - this.radioButton2.Text = "BG2"; - this.radioButton2.UseVisualStyleBackColor = true; - // - // radioButton13 - // - this.radioButton13.AutoSize = true; - this.radioButton13.Enabled = false; - this.radioButton13.Location = new System.Drawing.Point(56, 67); - this.radioButton13.Name = "radioButton13"; - this.radioButton13.Size = new System.Drawing.Size(49, 17); - this.radioButton13.TabIndex = 31; - this.radioButton13.TabStop = true; - this.radioButton13.Text = "8bpp"; - this.radioButton13.UseVisualStyleBackColor = true; - // - // radioButton3 - // - this.radioButton3.AutoSize = true; - this.radioButton3.Enabled = false; - this.radioButton3.Location = new System.Drawing.Point(6, 67); - this.radioButton3.Name = "radioButton3"; - this.radioButton3.Size = new System.Drawing.Size(46, 17); - this.radioButton3.TabIndex = 21; - this.radioButton3.TabStop = true; - this.radioButton3.Text = "BG3"; - this.radioButton3.UseVisualStyleBackColor = true; - // - // radioButton4 - // - this.radioButton4.AutoSize = true; - this.radioButton4.Enabled = false; - this.radioButton4.Location = new System.Drawing.Point(6, 83); - this.radioButton4.Name = "radioButton4"; - this.radioButton4.Size = new System.Drawing.Size(46, 17); - this.radioButton4.TabIndex = 22; - this.radioButton4.TabStop = true; - this.radioButton4.Text = "BG4"; - this.radioButton4.UseVisualStyleBackColor = true; - // - // radioButton5 - // - this.radioButton5.AutoSize = true; - this.radioButton5.Enabled = false; - this.radioButton5.Location = new System.Drawing.Point(56, 35); - this.radioButton5.Name = "radioButton5"; - this.radioButton5.Size = new System.Drawing.Size(49, 17); - this.radioButton5.TabIndex = 23; - this.radioButton5.TabStop = true; - this.radioButton5.Text = "2bpp"; - this.radioButton5.UseVisualStyleBackColor = true; - // - // radioButton10 - // - this.radioButton10.AutoSize = true; - this.radioButton10.Enabled = false; - this.radioButton10.Location = new System.Drawing.Point(56, 51); - this.radioButton10.Name = "radioButton10"; - this.radioButton10.Size = new System.Drawing.Size(49, 17); - this.radioButton10.TabIndex = 28; - this.radioButton10.TabStop = true; - this.radioButton10.Text = "4bpp"; - this.radioButton10.UseVisualStyleBackColor = true; - // - // groupBox5 - // - this.groupBox5.Controls.Add(this.paletteViewer); - this.groupBox5.Location = new System.Drawing.Point(236, 342); - this.groupBox5.Name = "groupBox5"; - this.groupBox5.Size = new System.Drawing.Size(319, 327); - this.groupBox5.TabIndex = 36; - this.groupBox5.TabStop = false; - this.groupBox5.Text = "Palette"; - // - // paletteViewer - // - this.paletteViewer.BackColor = System.Drawing.Color.Transparent; - this.paletteViewer.Location = new System.Drawing.Point(6, 14); - this.paletteViewer.Name = "paletteViewer"; - this.paletteViewer.Size = new System.Drawing.Size(307, 307); - this.paletteViewer.TabIndex = 18; - this.paletteViewer.TabStop = false; - this.paletteViewer.MouseClick += new System.Windows.Forms.MouseEventHandler(this.paletteViewer_MouseClick); - this.paletteViewer.MouseDown += new System.Windows.Forms.MouseEventHandler(this.paletteViewer_MouseDown); - this.paletteViewer.MouseEnter += new System.EventHandler(this.paletteViewer_MouseEnter); - this.paletteViewer.MouseLeave += new System.EventHandler(this.paletteViewer_MouseLeave); - this.paletteViewer.MouseMove += new System.Windows.Forms.MouseEventHandler(this.paletteViewer_MouseMove); - // - // tabctrlDetails - // - this.tabctrlDetails.Controls.Add(this.tpPalette); - this.tabctrlDetails.Controls.Add(this.tabPage2); - this.tabctrlDetails.Location = new System.Drawing.Point(236, 193); - this.tabctrlDetails.Name = "tabctrlDetails"; - this.tabctrlDetails.SelectedIndex = 0; - this.tabctrlDetails.Size = new System.Drawing.Size(317, 147); - this.tabctrlDetails.TabIndex = 0; - // - // tpPalette - // - this.tpPalette.Controls.Add(this.txtPaletteDetailsIndexSpecific); - this.tpPalette.Controls.Add(this.txtPaletteDetailsIndexHexSpecific); - this.tpPalette.Controls.Add(this.txtPaletteDetailsAddress); - this.tpPalette.Controls.Add(this.txtPaletteDetailsIndex); - this.tpPalette.Controls.Add(this.txtPaletteDetailsIndexHex); - this.tpPalette.Controls.Add(this.txtDetailsPaletteColorRGB); - this.tpPalette.Controls.Add(this.txtDetailsPaletteColorHex); - this.tpPalette.Controls.Add(this.txtDetailsPaletteColor); - this.tpPalette.Controls.Add(this.lblDetailsOBJOrBG); - this.tpPalette.Controls.Add(this.pnDetailsPaletteColor); - this.tpPalette.Controls.Add(this.lblDetailsPaletteAddress); - this.tpPalette.Location = new System.Drawing.Point(4, 22); - this.tpPalette.Name = "tpPalette"; - this.tpPalette.Padding = new System.Windows.Forms.Padding(3); - this.tpPalette.Size = new System.Drawing.Size(309, 121); - this.tpPalette.TabIndex = 0; - this.tpPalette.Text = "Color"; - this.tpPalette.UseVisualStyleBackColor = true; - // - // txtPaletteDetailsIndexSpecific - // - this.txtPaletteDetailsIndexSpecific.Location = new System.Drawing.Point(200, 3); - this.txtPaletteDetailsIndexSpecific.Multiline = true; - this.txtPaletteDetailsIndexSpecific.Name = "txtPaletteDetailsIndexSpecific"; - this.txtPaletteDetailsIndexSpecific.ReadOnly = true; - this.txtPaletteDetailsIndexSpecific.Size = new System.Drawing.Size(31, 18); - this.txtPaletteDetailsIndexSpecific.TabIndex = 44; - this.txtPaletteDetailsIndexSpecific.Text = "127"; - // - // txtPaletteDetailsIndexHexSpecific - // - this.txtPaletteDetailsIndexHexSpecific.Location = new System.Drawing.Point(173, 3); - this.txtPaletteDetailsIndexHexSpecific.Multiline = true; - this.txtPaletteDetailsIndexHexSpecific.Name = "txtPaletteDetailsIndexHexSpecific"; - this.txtPaletteDetailsIndexHexSpecific.ReadOnly = true; - this.txtPaletteDetailsIndexHexSpecific.Size = new System.Drawing.Size(26, 18); - this.txtPaletteDetailsIndexHexSpecific.TabIndex = 43; - this.txtPaletteDetailsIndexHexSpecific.Text = "$7F"; - // - // txtPaletteDetailsAddress - // - this.txtPaletteDetailsAddress.Location = new System.Drawing.Point(41, 22); - this.txtPaletteDetailsAddress.Multiline = true; - this.txtPaletteDetailsAddress.Name = "txtPaletteDetailsAddress"; - this.txtPaletteDetailsAddress.ReadOnly = true; - this.txtPaletteDetailsAddress.Size = new System.Drawing.Size(58, 18); - this.txtPaletteDetailsAddress.TabIndex = 42; - this.txtPaletteDetailsAddress.Text = "$1FE"; - // - // txtPaletteDetailsIndex - // - this.txtPaletteDetailsIndex.Location = new System.Drawing.Point(68, 3); - this.txtPaletteDetailsIndex.Multiline = true; - this.txtPaletteDetailsIndex.Name = "txtPaletteDetailsIndex"; - this.txtPaletteDetailsIndex.ReadOnly = true; - this.txtPaletteDetailsIndex.Size = new System.Drawing.Size(31, 18); - this.txtPaletteDetailsIndex.TabIndex = 41; - this.txtPaletteDetailsIndex.Text = "127"; - // - // txtPaletteDetailsIndexHex - // - this.txtPaletteDetailsIndexHex.Location = new System.Drawing.Point(41, 3); - this.txtPaletteDetailsIndexHex.Multiline = true; - this.txtPaletteDetailsIndexHex.Name = "txtPaletteDetailsIndexHex"; - this.txtPaletteDetailsIndexHex.ReadOnly = true; - this.txtPaletteDetailsIndexHex.Size = new System.Drawing.Size(26, 18); - this.txtPaletteDetailsIndexHex.TabIndex = 39; - this.txtPaletteDetailsIndexHex.Text = "$7F"; - // - // txtDetailsPaletteColorRGB - // - this.txtDetailsPaletteColorRGB.Location = new System.Drawing.Point(3, 84); - this.txtDetailsPaletteColorRGB.Multiline = true; - this.txtDetailsPaletteColorRGB.Name = "txtDetailsPaletteColorRGB"; - this.txtDetailsPaletteColorRGB.ReadOnly = true; - this.txtDetailsPaletteColorRGB.Size = new System.Drawing.Size(96, 18); - this.txtDetailsPaletteColorRGB.TabIndex = 38; - this.txtDetailsPaletteColorRGB.Text = "(255, 255, 255)"; - // - // txtDetailsPaletteColorHex - // - this.txtDetailsPaletteColorHex.Location = new System.Drawing.Point(3, 63); - this.txtDetailsPaletteColorHex.Multiline = true; - this.txtDetailsPaletteColorHex.Name = "txtDetailsPaletteColorHex"; - this.txtDetailsPaletteColorHex.ReadOnly = true; - this.txtDetailsPaletteColorHex.Size = new System.Drawing.Size(96, 18); - this.txtDetailsPaletteColorHex.TabIndex = 37; - this.txtDetailsPaletteColorHex.Text = "#FFFFFF"; - // - // txtDetailsPaletteColor - // - this.txtDetailsPaletteColor.Location = new System.Drawing.Point(3, 42); - this.txtDetailsPaletteColor.Multiline = true; - this.txtDetailsPaletteColor.Name = "txtDetailsPaletteColor"; - this.txtDetailsPaletteColor.ReadOnly = true; - this.txtDetailsPaletteColor.Size = new System.Drawing.Size(96, 18); - this.txtDetailsPaletteColor.TabIndex = 36; - this.txtDetailsPaletteColor.Text = "$7FFF"; - // - // lblDetailsOBJOrBG - // - this.lblDetailsOBJOrBG.Location = new System.Drawing.Point(100, 5); - this.lblDetailsOBJOrBG.Name = "lblDetailsOBJOrBG"; - this.lblDetailsOBJOrBG.Size = new System.Drawing.Size(72, 13); - this.lblDetailsOBJOrBG.TabIndex = 40; - this.lblDetailsOBJOrBG.Text = "(OBJ Palette:)"; - this.lblDetailsOBJOrBG.TextAlign = System.Drawing.ContentAlignment.TopCenter; - // - // pnDetailsPaletteColor - // - this.pnDetailsPaletteColor.BackColor = System.Drawing.Color.Red; - this.pnDetailsPaletteColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.pnDetailsPaletteColor.Location = new System.Drawing.Point(3, 4); - this.pnDetailsPaletteColor.Name = "pnDetailsPaletteColor"; - this.pnDetailsPaletteColor.Size = new System.Drawing.Size(32, 32); - this.pnDetailsPaletteColor.TabIndex = 3; - this.pnDetailsPaletteColor.DoubleClick += new System.EventHandler(this.pnDetailsPaletteColor_DoubleClick); - // - // lblDetailsPaletteAddress - // - this.lblDetailsPaletteAddress.AutoSize = true; - this.lblDetailsPaletteAddress.Location = new System.Drawing.Point(102, 25); - this.lblDetailsPaletteAddress.Name = "lblDetailsPaletteAddress"; - this.lblDetailsPaletteAddress.Size = new System.Drawing.Size(90, 13); - this.lblDetailsPaletteAddress.TabIndex = 1; - this.lblDetailsPaletteAddress.Text = "CGRAM Address "; - // - // tabPage2 - // - this.tabPage2.Location = new System.Drawing.Point(4, 22); - this.tabPage2.Name = "tabPage2"; - this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(309, 121); - this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "tabPage2"; - this.tabPage2.UseVisualStyleBackColor = true; - // - // panel2 - // - this.panel2.AutoScroll = true; - this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.panel2.Controls.Add(this.viewer); - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(567, 3); - this.panel2.Name = "panel2"; - this.tableLayoutPanel1.SetRowSpan(this.panel2, 2); - this.panel2.Size = new System.Drawing.Size(516, 667); - this.panel2.TabIndex = 1; - // - // viewer - // - this.viewer.BackColor = System.Drawing.Color.Transparent; - this.viewer.Location = new System.Drawing.Point(0, 0); - this.viewer.Name = "viewer"; - this.viewer.Size = new System.Drawing.Size(512, 512); - this.viewer.TabIndex = 38; - this.viewer.TabStop = false; - // - // toolTip1 - // - this.toolTip1.AutoPopDelay = 5000; - this.toolTip1.InitialDelay = 250; - this.toolTip1.ReshowDelay = 100; - // - // SNESGraphicsDebugger - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1086, 697); - this.Controls.Add(this.tableLayoutPanel1); - this.Controls.Add(this.menuStrip1); - this.MainMenuStrip = this.menuStrip1; - this.Name = "SNESGraphicsDebugger"; - this.Text = "SNES Graphics Debugger"; - this.Load += new System.EventHandler(this.SNESGraphicsDebugger_Load); - this.menuStrip1.ResumeLayout(false); - this.menuStrip1.PerformLayout(); - this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel1.PerformLayout(); - this.panel1.ResumeLayout(false); - this.groupBox3.ResumeLayout(false); - this.groupBox3.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudScanline)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.sliderScanline)).EndInit(); - this.groupBox2.ResumeLayout(false); - this.groupBox2.PerformLayout(); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.groupBox4.ResumeLayout(false); - this.groupBox4.PerformLayout(); - this.grpQuadrants.ResumeLayout(false); - this.grpQuadrants.PerformLayout(); - this.groupBox5.ResumeLayout(false); - this.tabctrlDetails.ResumeLayout(false); - this.tpPalette.ResumeLayout(false); - this.tpPalette.PerformLayout(); - this.panel2.ResumeLayout(false); - this.ResumeLayout(false); - this.PerformLayout(); + this.comboDisplayType.Location = new System.Drawing.Point(6, 8); + this.comboDisplayType.Name = "comboDisplayType"; + this.comboDisplayType.Size = new System.Drawing.Size(107, 21); + this.comboDisplayType.TabIndex = 18; + this.comboDisplayType.ValueMember = "type"; + this.comboDisplayType.SelectedIndexChanged += new System.EventHandler(this.comboDisplayType_SelectedIndexChanged); + // + // radioButton1 + // + this.radioButton1.AutoSize = true; + this.radioButton1.Enabled = false; + this.radioButton1.Location = new System.Drawing.Point(6, 35); + this.radioButton1.Name = "radioButton1"; + this.radioButton1.Size = new System.Drawing.Size(46, 17); + this.radioButton1.TabIndex = 19; + this.radioButton1.TabStop = true; + this.radioButton1.Text = "BG1"; + this.radioButton1.UseVisualStyleBackColor = true; + // + // grpQuadrants + // + this.grpQuadrants.Controls.Add(this.rbQuad3); + this.grpQuadrants.Controls.Add(this.rbQuad2); + this.grpQuadrants.Controls.Add(this.rbQuadAll); + this.grpQuadrants.Controls.Add(this.rbQuad1); + this.grpQuadrants.Controls.Add(this.rbQuad0); + this.grpQuadrants.Enabled = false; + this.grpQuadrants.Location = new System.Drawing.Point(88, 117); + this.grpQuadrants.Name = "grpQuadrants"; + this.grpQuadrants.Size = new System.Drawing.Size(44, 53); + this.grpQuadrants.TabIndex = 44; + this.grpQuadrants.TabStop = false; + // + // rbQuad3 + // + this.rbQuad3.AutoSize = true; + this.rbQuad3.Location = new System.Drawing.Point(26, 34); + this.rbQuad3.Name = "rbQuad3"; + this.rbQuad3.Size = new System.Drawing.Size(14, 13); + this.rbQuad3.TabIndex = 47; + this.rbQuad3.UseVisualStyleBackColor = true; + this.rbQuad3.CheckedChanged += new System.EventHandler(this.rbQuad_CheckedChanged); + // + // rbQuad2 + // + this.rbQuad2.AutoSize = true; + this.rbQuad2.Location = new System.Drawing.Point(4, 35); + this.rbQuad2.Name = "rbQuad2"; + this.rbQuad2.Size = new System.Drawing.Size(14, 13); + this.rbQuad2.TabIndex = 46; + this.rbQuad2.UseVisualStyleBackColor = true; + this.rbQuad2.CheckedChanged += new System.EventHandler(this.rbQuad_CheckedChanged); + // + // rbQuadAll + // + this.rbQuadAll.AutoSize = true; + this.rbQuadAll.Location = new System.Drawing.Point(15, 22); + this.rbQuadAll.Name = "rbQuadAll"; + this.rbQuadAll.Size = new System.Drawing.Size(14, 13); + this.rbQuadAll.TabIndex = 45; + this.rbQuadAll.UseVisualStyleBackColor = true; + this.rbQuadAll.CheckedChanged += new System.EventHandler(this.rbQuad_CheckedChanged); + // + // rbQuad1 + // + this.rbQuad1.AutoSize = true; + this.rbQuad1.Location = new System.Drawing.Point(26, 10); + this.rbQuad1.Name = "rbQuad1"; + this.rbQuad1.Size = new System.Drawing.Size(14, 13); + this.rbQuad1.TabIndex = 44; + this.rbQuad1.UseVisualStyleBackColor = true; + this.rbQuad1.CheckedChanged += new System.EventHandler(this.rbQuad_CheckedChanged); + // + // rbQuad0 + // + this.rbQuad0.AutoSize = true; + this.rbQuad0.Checked = true; + this.rbQuad0.Location = new System.Drawing.Point(5, 10); + this.rbQuad0.Name = "rbQuad0"; + this.rbQuad0.Size = new System.Drawing.Size(14, 13); + this.rbQuad0.TabIndex = 43; + this.rbQuad0.TabStop = true; + this.rbQuad0.UseVisualStyleBackColor = true; + this.rbQuad0.CheckedChanged += new System.EventHandler(this.rbQuad_CheckedChanged); + // + // radioButton2 + // + this.radioButton2.AutoSize = true; + this.radioButton2.Enabled = false; + this.radioButton2.Location = new System.Drawing.Point(6, 51); + this.radioButton2.Name = "radioButton2"; + this.radioButton2.Size = new System.Drawing.Size(46, 17); + this.radioButton2.TabIndex = 20; + this.radioButton2.TabStop = true; + this.radioButton2.Text = "BG2"; + this.radioButton2.UseVisualStyleBackColor = true; + // + // radioButton13 + // + this.radioButton13.AutoSize = true; + this.radioButton13.Enabled = false; + this.radioButton13.Location = new System.Drawing.Point(56, 67); + this.radioButton13.Name = "radioButton13"; + this.radioButton13.Size = new System.Drawing.Size(49, 17); + this.radioButton13.TabIndex = 31; + this.radioButton13.TabStop = true; + this.radioButton13.Text = "8bpp"; + this.radioButton13.UseVisualStyleBackColor = true; + // + // radioButton3 + // + this.radioButton3.AutoSize = true; + this.radioButton3.Enabled = false; + this.radioButton3.Location = new System.Drawing.Point(6, 67); + this.radioButton3.Name = "radioButton3"; + this.radioButton3.Size = new System.Drawing.Size(46, 17); + this.radioButton3.TabIndex = 21; + this.radioButton3.TabStop = true; + this.radioButton3.Text = "BG3"; + this.radioButton3.UseVisualStyleBackColor = true; + // + // radioButton4 + // + this.radioButton4.AutoSize = true; + this.radioButton4.Enabled = false; + this.radioButton4.Location = new System.Drawing.Point(6, 83); + this.radioButton4.Name = "radioButton4"; + this.radioButton4.Size = new System.Drawing.Size(46, 17); + this.radioButton4.TabIndex = 22; + this.radioButton4.TabStop = true; + this.radioButton4.Text = "BG4"; + this.radioButton4.UseVisualStyleBackColor = true; + // + // radioButton5 + // + this.radioButton5.AutoSize = true; + this.radioButton5.Enabled = false; + this.radioButton5.Location = new System.Drawing.Point(56, 35); + this.radioButton5.Name = "radioButton5"; + this.radioButton5.Size = new System.Drawing.Size(49, 17); + this.radioButton5.TabIndex = 23; + this.radioButton5.TabStop = true; + this.radioButton5.Text = "2bpp"; + this.radioButton5.UseVisualStyleBackColor = true; + // + // radioButton10 + // + this.radioButton10.AutoSize = true; + this.radioButton10.Enabled = false; + this.radioButton10.Location = new System.Drawing.Point(56, 51); + this.radioButton10.Name = "radioButton10"; + this.radioButton10.Size = new System.Drawing.Size(49, 17); + this.radioButton10.TabIndex = 28; + this.radioButton10.TabStop = true; + this.radioButton10.Text = "4bpp"; + this.radioButton10.UseVisualStyleBackColor = true; + // + // groupBox5 + // + this.groupBox5.Controls.Add(this.paletteViewer); + this.groupBox5.Location = new System.Drawing.Point(236, 342); + this.groupBox5.Name = "groupBox5"; + this.groupBox5.Size = new System.Drawing.Size(319, 327); + this.groupBox5.TabIndex = 36; + this.groupBox5.TabStop = false; + this.groupBox5.Text = "Palette"; + // + // tabctrlDetails + // + this.tabctrlDetails.Controls.Add(this.tpPalette); + this.tabctrlDetails.Controls.Add(this.tabPage2); + this.tabctrlDetails.Location = new System.Drawing.Point(236, 193); + this.tabctrlDetails.Name = "tabctrlDetails"; + this.tabctrlDetails.SelectedIndex = 0; + this.tabctrlDetails.Size = new System.Drawing.Size(317, 147); + this.tabctrlDetails.TabIndex = 0; + // + // tpPalette + // + this.tpPalette.Controls.Add(this.txtPaletteDetailsIndexSpecific); + this.tpPalette.Controls.Add(this.txtPaletteDetailsIndexHexSpecific); + this.tpPalette.Controls.Add(this.txtPaletteDetailsAddress); + this.tpPalette.Controls.Add(this.txtPaletteDetailsIndex); + this.tpPalette.Controls.Add(this.txtPaletteDetailsIndexHex); + this.tpPalette.Controls.Add(this.txtDetailsPaletteColorRGB); + this.tpPalette.Controls.Add(this.txtDetailsPaletteColorHex); + this.tpPalette.Controls.Add(this.txtDetailsPaletteColor); + this.tpPalette.Controls.Add(this.lblDetailsOBJOrBG); + this.tpPalette.Controls.Add(this.pnDetailsPaletteColor); + this.tpPalette.Controls.Add(this.lblDetailsPaletteAddress); + this.tpPalette.Location = new System.Drawing.Point(4, 22); + this.tpPalette.Name = "tpPalette"; + this.tpPalette.Padding = new System.Windows.Forms.Padding(3); + this.tpPalette.Size = new System.Drawing.Size(309, 121); + this.tpPalette.TabIndex = 0; + this.tpPalette.Text = "Color"; + this.tpPalette.UseVisualStyleBackColor = true; + // + // txtPaletteDetailsIndexSpecific + // + this.txtPaletteDetailsIndexSpecific.Location = new System.Drawing.Point(200, 3); + this.txtPaletteDetailsIndexSpecific.Multiline = true; + this.txtPaletteDetailsIndexSpecific.Name = "txtPaletteDetailsIndexSpecific"; + this.txtPaletteDetailsIndexSpecific.ReadOnly = true; + this.txtPaletteDetailsIndexSpecific.Size = new System.Drawing.Size(31, 18); + this.txtPaletteDetailsIndexSpecific.TabIndex = 44; + this.txtPaletteDetailsIndexSpecific.Text = "127"; + // + // txtPaletteDetailsIndexHexSpecific + // + this.txtPaletteDetailsIndexHexSpecific.Location = new System.Drawing.Point(173, 3); + this.txtPaletteDetailsIndexHexSpecific.Multiline = true; + this.txtPaletteDetailsIndexHexSpecific.Name = "txtPaletteDetailsIndexHexSpecific"; + this.txtPaletteDetailsIndexHexSpecific.ReadOnly = true; + this.txtPaletteDetailsIndexHexSpecific.Size = new System.Drawing.Size(26, 18); + this.txtPaletteDetailsIndexHexSpecific.TabIndex = 43; + this.txtPaletteDetailsIndexHexSpecific.Text = "$7F"; + // + // txtPaletteDetailsAddress + // + this.txtPaletteDetailsAddress.Location = new System.Drawing.Point(41, 22); + this.txtPaletteDetailsAddress.Multiline = true; + this.txtPaletteDetailsAddress.Name = "txtPaletteDetailsAddress"; + this.txtPaletteDetailsAddress.ReadOnly = true; + this.txtPaletteDetailsAddress.Size = new System.Drawing.Size(58, 18); + this.txtPaletteDetailsAddress.TabIndex = 42; + this.txtPaletteDetailsAddress.Text = "$1FE"; + // + // txtPaletteDetailsIndex + // + this.txtPaletteDetailsIndex.Location = new System.Drawing.Point(68, 3); + this.txtPaletteDetailsIndex.Multiline = true; + this.txtPaletteDetailsIndex.Name = "txtPaletteDetailsIndex"; + this.txtPaletteDetailsIndex.ReadOnly = true; + this.txtPaletteDetailsIndex.Size = new System.Drawing.Size(31, 18); + this.txtPaletteDetailsIndex.TabIndex = 41; + this.txtPaletteDetailsIndex.Text = "127"; + // + // txtPaletteDetailsIndexHex + // + this.txtPaletteDetailsIndexHex.Location = new System.Drawing.Point(41, 3); + this.txtPaletteDetailsIndexHex.Multiline = true; + this.txtPaletteDetailsIndexHex.Name = "txtPaletteDetailsIndexHex"; + this.txtPaletteDetailsIndexHex.ReadOnly = true; + this.txtPaletteDetailsIndexHex.Size = new System.Drawing.Size(26, 18); + this.txtPaletteDetailsIndexHex.TabIndex = 39; + this.txtPaletteDetailsIndexHex.Text = "$7F"; + // + // txtDetailsPaletteColorRGB + // + this.txtDetailsPaletteColorRGB.Location = new System.Drawing.Point(3, 84); + this.txtDetailsPaletteColorRGB.Multiline = true; + this.txtDetailsPaletteColorRGB.Name = "txtDetailsPaletteColorRGB"; + this.txtDetailsPaletteColorRGB.ReadOnly = true; + this.txtDetailsPaletteColorRGB.Size = new System.Drawing.Size(96, 18); + this.txtDetailsPaletteColorRGB.TabIndex = 38; + this.txtDetailsPaletteColorRGB.Text = "(255, 255, 255)"; + // + // txtDetailsPaletteColorHex + // + this.txtDetailsPaletteColorHex.Location = new System.Drawing.Point(3, 63); + this.txtDetailsPaletteColorHex.Multiline = true; + this.txtDetailsPaletteColorHex.Name = "txtDetailsPaletteColorHex"; + this.txtDetailsPaletteColorHex.ReadOnly = true; + this.txtDetailsPaletteColorHex.Size = new System.Drawing.Size(96, 18); + this.txtDetailsPaletteColorHex.TabIndex = 37; + this.txtDetailsPaletteColorHex.Text = "#FFFFFF"; + // + // txtDetailsPaletteColor + // + this.txtDetailsPaletteColor.Location = new System.Drawing.Point(3, 42); + this.txtDetailsPaletteColor.Multiline = true; + this.txtDetailsPaletteColor.Name = "txtDetailsPaletteColor"; + this.txtDetailsPaletteColor.ReadOnly = true; + this.txtDetailsPaletteColor.Size = new System.Drawing.Size(96, 18); + this.txtDetailsPaletteColor.TabIndex = 36; + this.txtDetailsPaletteColor.Text = "$7FFF"; + // + // lblDetailsOBJOrBG + // + this.lblDetailsOBJOrBG.Location = new System.Drawing.Point(100, 5); + this.lblDetailsOBJOrBG.Name = "lblDetailsOBJOrBG"; + this.lblDetailsOBJOrBG.Size = new System.Drawing.Size(72, 13); + this.lblDetailsOBJOrBG.TabIndex = 40; + this.lblDetailsOBJOrBG.Text = "(OBJ Palette:)"; + this.lblDetailsOBJOrBG.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // pnDetailsPaletteColor + // + this.pnDetailsPaletteColor.BackColor = System.Drawing.Color.Red; + this.pnDetailsPaletteColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.pnDetailsPaletteColor.Location = new System.Drawing.Point(3, 4); + this.pnDetailsPaletteColor.Name = "pnDetailsPaletteColor"; + this.pnDetailsPaletteColor.Size = new System.Drawing.Size(32, 32); + this.pnDetailsPaletteColor.TabIndex = 3; + this.pnDetailsPaletteColor.DoubleClick += new System.EventHandler(this.pnDetailsPaletteColor_DoubleClick); + // + // lblDetailsPaletteAddress + // + this.lblDetailsPaletteAddress.AutoSize = true; + this.lblDetailsPaletteAddress.Location = new System.Drawing.Point(102, 25); + this.lblDetailsPaletteAddress.Name = "lblDetailsPaletteAddress"; + this.lblDetailsPaletteAddress.Size = new System.Drawing.Size(90, 13); + this.lblDetailsPaletteAddress.TabIndex = 1; + this.lblDetailsPaletteAddress.Text = "CGRAM Address "; + // + // tabPage2 + // + this.tabPage2.Location = new System.Drawing.Point(4, 22); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(309, 121); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "tabPage2"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // panel2 + // + this.panel2.AutoScroll = true; + this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.panel2.Controls.Add(this.viewer); + this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel2.Location = new System.Drawing.Point(567, 3); + this.panel2.Name = "panel2"; + this.tableLayoutPanel1.SetRowSpan(this.panel2, 2); + this.panel2.Size = new System.Drawing.Size(516, 667); + this.panel2.TabIndex = 1; + // + // toolTip1 + // + this.toolTip1.AutoPopDelay = 5000; + this.toolTip1.InitialDelay = 250; + this.toolTip1.ReshowDelay = 100; + // + // paletteViewer + // + this.paletteViewer.BackColor = System.Drawing.Color.Transparent; + this.paletteViewer.Location = new System.Drawing.Point(6, 14); + this.paletteViewer.Name = "paletteViewer"; + this.paletteViewer.Size = new System.Drawing.Size(307, 307); + this.paletteViewer.TabIndex = 18; + this.paletteViewer.TabStop = false; + this.paletteViewer.MouseClick += new System.Windows.Forms.MouseEventHandler(this.paletteViewer_MouseClick); + this.paletteViewer.MouseDown += new System.Windows.Forms.MouseEventHandler(this.paletteViewer_MouseDown); + this.paletteViewer.MouseEnter += new System.EventHandler(this.paletteViewer_MouseEnter); + this.paletteViewer.MouseLeave += new System.EventHandler(this.paletteViewer_MouseLeave); + this.paletteViewer.MouseMove += new System.Windows.Forms.MouseEventHandler(this.paletteViewer_MouseMove); + // + // viewer + // + this.viewer.BackColor = System.Drawing.Color.Transparent; + this.viewer.Location = new System.Drawing.Point(0, 0); + this.viewer.Name = "viewer"; + this.viewer.Size = new System.Drawing.Size(512, 512); + this.viewer.TabIndex = 38; + this.viewer.TabStop = false; + // + // SNESGraphicsDebugger + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1086, 697); + this.Controls.Add(this.tableLayoutPanel1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "SNESGraphicsDebugger"; + this.Text = "SNES Graphics Debugger"; + this.Load += new System.EventHandler(this.SNESGraphicsDebugger_Load); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); + this.panel1.ResumeLayout(false); + this.groupBox3.ResumeLayout(false); + this.groupBox3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudScanline)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.sliderScanline)).EndInit(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.groupBox4.ResumeLayout(false); + this.groupBox4.PerformLayout(); + this.grpQuadrants.ResumeLayout(false); + this.grpQuadrants.PerformLayout(); + this.groupBox5.ResumeLayout(false); + this.tabctrlDetails.ResumeLayout(false); + this.tpPalette.ResumeLayout(false); + this.tpPalette.PerformLayout(); + this.panel2.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); } diff --git a/BizHawk.MultiClient/SNESTools/SNESGraphicsDebugger.cs b/BizHawk.MultiClient/SNESTools/SNESGraphicsDebugger.cs index 2feed56419..a90db4af14 100644 --- a/BizHawk.MultiClient/SNESTools/SNESGraphicsDebugger.cs +++ b/BizHawk.MultiClient/SNESTools/SNESGraphicsDebugger.cs @@ -26,6 +26,22 @@ namespace BizHawk.MultiClient { InitializeComponent(); Closing += (o, e) => SaveConfigSettings(); + + var displayTypeItems = new List(); + displayTypeItems.Add(new DisplayTypeItem("BG1", eDisplayType.BG1)); + displayTypeItems.Add(new DisplayTypeItem("BG1", eDisplayType.BG1)); + displayTypeItems.Add(new DisplayTypeItem("BG2",eDisplayType.BG2)); + displayTypeItems.Add(new DisplayTypeItem("BG3",eDisplayType.BG3)); + displayTypeItems.Add(new DisplayTypeItem("BG4",eDisplayType.BG4)); + displayTypeItems.Add(new DisplayTypeItem("OBJ",eDisplayType.OBJ)); + displayTypeItems.Add(new DisplayTypeItem("2bpp tiles",eDisplayType.Tiles2bpp)); + displayTypeItems.Add(new DisplayTypeItem("4bpp tiles",eDisplayType.Tiles4bpp)); + displayTypeItems.Add(new DisplayTypeItem("8bpp tiles",eDisplayType.Tiles8bpp)); + displayTypeItems.Add(new DisplayTypeItem("Mode7 tiles",eDisplayType.TilesMode7)); + displayTypeItems.Add(new DisplayTypeItem("Mode7Ext tiles",eDisplayType.TilesMode7Ext)); + displayTypeItems.Add(new DisplayTypeItem("Mode7 tiles (DC)", eDisplayType.TilesMode7DC)); + + comboDisplayType.DataSource = displayTypeItems; comboDisplayType.SelectedIndex = 0; comboBGProps.SelectedIndex = 0; @@ -170,6 +186,8 @@ namespace BizHawk.MultiClient UpdateColorDetails(); } + eDisplayType CurrDisplaySelection { get { return (comboDisplayType.SelectedValue as eDisplayType?).Value; } } + //todo - something smarter to cycle through bitmaps without repeatedly trashing them (use the dispose callback on the viewer) void RenderView() { @@ -188,43 +206,43 @@ namespace BizHawk.MultiClient var gd = new SNESGraphicsDecoder(); gd.CacheTiles(); - string selection = comboDisplayType.SelectedItem as string; - if (selection == "2bpp tiles") + var selection = CurrDisplaySelection; + if (selection == eDisplayType.Tiles2bpp) { allocate(512, 512); gd.RenderTilesToScreen(pixelptr, 64, 64, stride / 4, 2, currPaletteSelection.start); } - if (selection == "4bpp tiles") + if (selection == eDisplayType.Tiles4bpp) { allocate(512, 512); gd.RenderTilesToScreen(pixelptr, 64, 32, stride / 4, 4, currPaletteSelection.start); } - if (selection == "8bpp tiles") + if (selection == eDisplayType.Tiles8bpp) { allocate(256, 256); gd.RenderTilesToScreen(pixelptr, 32, 32, stride / 4, 8, currPaletteSelection.start); } - if (selection == "Mode7 tiles") + if (selection == eDisplayType.TilesMode7) { //256 tiles allocate(128, 128); gd.RenderMode7TilesToScreen(pixelptr, stride / 4, false, false); } - if (selection == "Mode7Ext tiles") + if (selection == eDisplayType.TilesMode7Ext) { //256 tiles allocate(128, 128); gd.RenderMode7TilesToScreen(pixelptr, stride / 4, true, false); } - if (selection == "Mode7 tiles (DC)") + if (selection == eDisplayType.TilesMode7DC) { //256 tiles allocate(128, 128); gd.RenderMode7TilesToScreen(pixelptr, stride / 4, false, true); } - if (selection == "BG1" || selection == "BG2" || selection == "BG3" || selection == "BG4") + if (IsDisplayTypeBG(selection)) { - int bgnum = int.Parse(selection.Substring(2)); + int bgnum = (int)selection; var si = gd.ScanScreenInfo(); var bg = si.BG[bgnum]; @@ -274,6 +292,23 @@ namespace BizHawk.MultiClient } } + enum eDisplayType + { + BG1=1, BG2=2, BG3=3, BG4=4, OBJ, Tiles2bpp, Tiles4bpp, Tiles8bpp, TilesMode7, TilesMode7Ext, TilesMode7DC + } + static bool IsDisplayTypeBG(eDisplayType type) { return type == eDisplayType.BG1 || type == eDisplayType.BG2 || type == eDisplayType.BG3 || type == eDisplayType.BG4; } + static int DisplayTypeBGNum(eDisplayType type) { if(IsDisplayTypeBG(type)) return (int)type; else return -1; } + + class DisplayTypeItem + { + public eDisplayType type { get; set; } + public string descr { get; set; } + public DisplayTypeItem(string descr, eDisplayType type) + { + this.type = type; + this.descr = descr; + } + } private void comboDisplayType_SelectedIndexChanged(object sender, EventArgs e) { @@ -359,7 +394,7 @@ namespace BizHawk.MultiClient int[] lastPalette; int lastColorNum = 0; int selectedColorNum = 0; - PaletteSelection currPaletteSelection; + SNESGraphicsDecoder.PaletteSelection currPaletteSelection; Rectangle GetPaletteRegion(int start, int num) { @@ -367,12 +402,18 @@ namespace BizHawk.MultiClient ret.X = start % 16; ret.Y = start / 16; ret.Width = num; - ret.Height = num/16; + ret.Height = num / 16; if (ret.Height == 0) ret.Height = 1; if (ret.Width > 16) ret.Width = 16; return ret; } + Rectangle GetPaletteRegion(SNESGraphicsDecoder.PaletteSelection sel) + { + int start = sel.start, num = sel.size; + return GetPaletteRegion(start, num); + } + void DrawPaletteRegion(Graphics g, Color color, Rectangle region) { int cellTotalSize = (paletteCellSize + paletteCellSpacing); @@ -387,23 +428,18 @@ namespace BizHawk.MultiClient g.DrawRectangle(pen, rect); } - class PaletteSelection - { - public int start, size; - } - //if a tile set is being displayed, this will adapt the user's color selection into a palette to be used for rendering the tiles - PaletteSelection GetPaletteSelectionForTileDisplay(int colorSelection) + SNESGraphicsDecoder.PaletteSelection GetPaletteSelectionForTileDisplay(int colorSelection) { int bpp = 0; - string selection = comboDisplayType.SelectedItem as string; - if (selection == "2bpp tiles") bpp=2; - if (selection == "4bpp tiles") bpp=4; - if (selection == "8bpp tiles") bpp=8; - if (selection == "Mode7 tiles") bpp=8; - if (selection == "Mode7Ext tiles") bpp = 7; - - PaletteSelection ret = new PaletteSelection(); + var selection = CurrDisplaySelection; + if (selection == eDisplayType.Tiles2bpp) bpp=2; + if (selection == eDisplayType.Tiles4bpp) bpp = 4; + if (selection == eDisplayType.Tiles8bpp) bpp = 8; + if (selection == eDisplayType.TilesMode7) bpp = 8; + if (selection == eDisplayType.TilesMode7Ext) bpp = 7; + + SNESGraphicsDecoder.PaletteSelection ret = new SNESGraphicsDecoder.PaletteSelection(); if(bpp == 0) return ret; //mode7 ext is fixed to use the top 128 colors @@ -446,10 +482,18 @@ namespace BizHawk.MultiClient //first, draw the current selection var region = GetPaletteRegion(selectedColorNum, 1); DrawPaletteRegion(g, Color.Red, region); - var palSelection = GetPaletteSelectionForTileDisplay(selectedColorNum); - if (palSelection.size != 0) + //next, draw the rectangle that advises you which colors could possibly be used for a bg + if (IsDisplayTypeBG(CurrDisplaySelection)) { - region = GetPaletteRegion(palSelection.start, palSelection.size); + var si = gd.ScanScreenInfo(); + var ps = si.BG[DisplayTypeBGNum(CurrDisplaySelection)].PaletteSelection; + region = GetPaletteRegion(ps); + DrawPaletteRegion(g, Color.FromArgb(192, 128, 255, 255), region); + } + //finally, draw the palette the user has chosen, in case he's viewing tiles + if (currPaletteSelection.size != 0) + { + region = GetPaletteRegion(currPaletteSelection.start, currPaletteSelection.size); DrawPaletteRegion(g, Color.FromArgb(192,255,255,255), region); } }