mirror of https://github.com/stella-emu/stella.git
Changed debugger shortcuts to Control-combos to match the old
Alt-comboes, as these are easier to remember than function keys. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3009 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
fe1713ee87
commit
42dec8321d
|
@ -19,8 +19,8 @@
|
|||
entered using a native layout.
|
||||
|
||||
* Related to the text input changes, the debugger Alt-combo shortcuts
|
||||
have been changed. These are now mapped to F4 - F8 (see documentation
|
||||
for more information).
|
||||
have been changed; they now use the same key but with Control instead
|
||||
of Alt (Control-F for frame advance, etc).
|
||||
|
||||
* Controllers are now detected dynamically by Stella. This means that
|
||||
you can plug/unplug joysticks/paddles/etc while Stella is running,
|
||||
|
|
|
@ -771,7 +771,7 @@ system would alternate between drawing frames (and hence produce
|
|||
flicker).</p>
|
||||
|
||||
<p>You can use the "Scan+1" button, the prompt "scan" command, or the
|
||||
F7 key to watch the TIA draw the frame one scanline at a time.</p>
|
||||
Control-L key to watch the TIA draw the frame one scanline at a time.</p>
|
||||
|
||||
<p>You can also right-click anywhere in this window to show a context menu,
|
||||
as illustrated:</p>
|
||||
|
@ -1163,17 +1163,18 @@ the RAM in the DPC scheme is not viewable by the 6507, so its addresses start fr
|
|||
<h2>Global Buttons</h2>
|
||||
|
||||
<p>There are also buttons on the right that always show up no matter which
|
||||
tab you're looking at. These are always active. The larger button to the left (labeled '<') performs the rewind operation, which will undo the previous Step/Trace/Scan/Frame
|
||||
advance. The rewind buffer is currently 100 levels deep. The others are Step, Trace,
|
||||
Scan+1, Frame+1 and Exit.</p>
|
||||
tab you're looking at. These are always active. The larger button to the left
|
||||
(labeled '<') performs the rewind operation, which will undo the previous
|
||||
Step/Trace/Scan/Frame advance. The rewind buffer is currently 100 levels deep.
|
||||
The others are Step, Trace, Scan+1, Frame+1 and Exit.</p>
|
||||
<p><img src="graphics/debugger_globalbuttons.png"></p>
|
||||
|
||||
<p>When you use these buttons, the prompt doesn't change. This means the
|
||||
status lines with the registers and disassembly will be "stale". You
|
||||
can update them just by re-running the relevant commands in the prompt.</p>
|
||||
|
||||
<p>You can also use the Rewind, Step, Trace, Scan+1, Frame+1 and Rewind buttons from
|
||||
anywhere in the GUI via the keyboard, with F4 to F8, respectively.</p>
|
||||
<p>You can also use the Step, Trace, Scan+1, Frame+1 and Rewind buttons from anywhere
|
||||
in the GUI via the keyboard, with Control-S, Control-T, Control-L, Control-F and Control-R.</p>
|
||||
|
||||
|
||||
<!-- ///////////////////////////////////////////////////////////////////////// -->
|
||||
|
|
|
@ -89,26 +89,30 @@ void DebuggerDialog::loadConfig()
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void DebuggerDialog::handleKeyDown(StellaKey key, StellaMod mod)
|
||||
{
|
||||
if(instance().eventHandler().kbdControl(mod))
|
||||
{
|
||||
switch(key)
|
||||
{
|
||||
case KBDK_F4:
|
||||
case KBDK_R:
|
||||
doRewind();
|
||||
break;
|
||||
case KBDK_F5:
|
||||
case KBDK_S:
|
||||
doStep();
|
||||
break;
|
||||
case KBDK_F6:
|
||||
case KBDK_T:
|
||||
doTrace();
|
||||
break;
|
||||
case KBDK_F7:
|
||||
case KBDK_L:
|
||||
doScanlineAdvance();
|
||||
break;
|
||||
case KBDK_F8:
|
||||
case KBDK_F:
|
||||
doAdvance();
|
||||
break;
|
||||
default:
|
||||
Dialog::handleKeyDown(key, mod);
|
||||
break;
|
||||
}
|
||||
}
|
||||
Dialog::handleKeyDown(key, mod);
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
Loading…
Reference in New Issue