Esempio n. 1
0
 private void CommandLinesToolStripMenuItemClick(object sender, EventArgs e)
 {
     if (Debugger == null)
     {
         Debugger = new DebuggerForm();
         Debugger.Show();
     }
     else if (!Debugger.Visible)
     {
         Debugger = new DebuggerForm();
         Debugger.Show();
     }
     Debugger.WriteLine("LIST OF COMMAND LINES CURRENTLY AVAILABLE :", DebugStatus.Cool);
     Debugger.WriteLine("* -cm : show this list !!", DebugStatus.None);
     Debugger.WriteLine("* -ls x : load the state from slot number x (x = slot number from 0 to 9)",
                        DebugStatus.None);
     Debugger.WriteLine("* -ss x : select the state slot number x (x = slot number from 0 to 9)",
                        DebugStatus.None);
     Debugger.WriteLine("* -pal : select the PAL region", DebugStatus.None);
     Debugger.WriteLine("* -ntsc : select the NTSC region", DebugStatus.None);
     Debugger.WriteLine("* -st x : Enable / Disable no limiter (x=0 disable, x=1 enable)", DebugStatus.None);
     Debugger.WriteLine(
         "* -s x : switch the size (x=x1 use size X1 '256x240', x=x2 use size X2 '512x480', x=str use Stretch)",
         DebugStatus.None);
     Debugger.WriteLine("* -r <WavePath> : record the audio wave into <WavePath>", DebugStatus.None);
     Debugger.WriteLine("* -p <PaletteFilePath> : load the palette <PaletteFilePath> and use it",
                        DebugStatus.None);
     Debugger.WriteLine("* -w_size w h : resize the window (W=width, h=height)", DebugStatus.None);
     Debugger.WriteLine(
         "* -w_pos x y : move the window into a specific location (x=X coordinate, y=Y coordinate)",
         DebugStatus.None);
     Debugger.WriteLine("* -w_max : maximize the window", DebugStatus.None);
     Debugger.WriteLine("* -w_min : minimize the window", DebugStatus.None);
 }
Esempio n. 2
0
 private void SupportedMappersToolStripMenuItemClick(object sender, EventArgs e)
 {
     if (Debugger == null)
     {
         Debugger = new DebuggerForm();
         Debugger.Show();
     }
     else if (!Debugger.Visible)
     {
         Debugger = new DebuggerForm();
         Debugger.Show();
     }
     Debugger.WriteLine("SUPPORTED MAPPERS :", DebugStatus.Cool);
     foreach (var map in NesHeaderReader.SupportedMappersNo)
     {
         Debugger.WriteLine("M # " + map.ToString(CultureInfo.InvariantCulture) + " " + @"""" +
                            NesHeaderReader.GetMapperName(map) + @"""", DebugStatus.None);
     }
 }
Esempio n. 3
0
 public void ShowDialogs()
 {
     if (!_startActions)
         return;
     if (Program.Settings.ShowDebugger)
     {
         Debugger = new DebuggerForm();
         Debugger.Show();
     }
     if (Program.Settings.ShowBrowser)
     {
         var BRO = new BrowserForm(this);
         BRO.Show();
     }
 }
Esempio n. 4
0
 private void RunDebuggerToolStripMenuItemClick(object sender, EventArgs e)
 {
     if (Debugger == null)
     {
         Debugger = new DebuggerForm();
         Debugger.Show();
         return;
     }
     if (!Debugger.Visible)
     {
         Debugger = new DebuggerForm();
         Debugger.Show();
     }
 }