update debugger doc

This commit is contained in:
thrust26 2020-02-03 20:42:20 +01:00
parent 2f144349fb
commit 4d090749d3
6 changed files with 12 additions and 8 deletions

View File

@ -601,8 +601,9 @@ command that takes arguments.</p>
<p>A breakpoint is a "hotspot" in your program that causes the emulator <p>A breakpoint is a "hotspot" in your program that causes the emulator
to stop emulating and jump into the debugger. You can set as many to stop emulating and jump into the debugger. You can set as many
breakpoints as you like. The command is "break xx" where xx is any breakpoints as you like. The command is "break xx yy" where xx is any
expression. If you've created a symbol file, you can use labels.</p> expression and yy a bank number. Both arguments are optional. If you have
created a symbol file, you can use labels for the expression.</p>
<p>Example: you've got a label called "kernel". To break there, <p>Example: you've got a label called "kernel". To break there,
the command is "break kernel". After you've set the breakpoint, the command is "break kernel". After you've set the breakpoint,
@ -906,8 +907,9 @@ Type "help 'cmd'" to see extended information about the given command.</p>
<pre> <pre>
a - Set Accumulator to &lt;value&gt; a - Set Accumulator to &lt;value&gt;
base - Set default number base to &lt;base&gt; (bin, dec, hex) base - Set default number base to &lt;base&gt; (bin, dec, hex)
break - Set/clear breakpoint at &lt;address&gt; break - Set/clear breakpoint at &lt;address&gt; and &lt;bank&gt;
breakif - Set/clear breakpoint on &lt;condition&gt; breakif - Set/clear breakpoint on &lt;condition&gt;
breaklabel - Set/clear breakpoint on &lt;address&gt; (no mirrors, all banks)
c - Carry Flag: set (0 or 1), or toggle (no arg) c - Carry Flag: set (0 or 1), or toggle (no arg)
cheat - Use a cheat code (see manual for cheat types) cheat - Use a cheat code (see manual for cheat types)
clearbreaks - Clear all breakpoints clearbreaks - Clear all breakpoints
@ -1126,15 +1128,17 @@ as illustrated:</p>
<p><img src="graphics/debugger_tiainfo.png"></p> <p><img src="graphics/debugger_tiainfo.png"></p>
<p>The indicators are as follows (note that all these are read-only):</p> <p>The indicators are as follows (note that all these are read-only):</p>
<ul> <ul>
<li><b>Frame Count</b>: The current frame number, since this ROM was loaded or reset.</li> <li><b>Frame Count</b>: The number of frames since this ROM was loaded or reset.</li>
<li><b>Frame Cycle</b>: The number of CPU cycles that have been executed this frame, since <li><b>Frame Cycle</b>: The number of CPU cycles that have been executed this frame since
VSYNC was cleared at scanline 0.</li> VSYNC was cleared at scanline 0.</li>
<li><b>Total</b>: The total number of CPU cycles since this ROM was loaded or reset.</li>
<li><b>Delta</b>: The number of CPU cycles that have been executed since the last debugger
interrupt.</li>
<li><b>Scanline</b>: The scanline that's currently being drawn, and the count from the <li><b>Scanline</b>: The scanline that's currently being drawn, and the count from the
previous frame. Scanline 0 is the one on which VSYNC is cleared (after being set for 3 scanlines, as per the Stella previous frame. Scanline 0 is the one on which VSYNC is cleared (after being set for
Programmer's Guide)</li> 3 scanlines, as per the Stella Programmer's Guide).</li>
<li><b>Scan Cycle</b>: The number of CPU cycles that have been executed since the beginning <li><b>Scan Cycle</b>: The number of CPU cycles that have been executed since the beginning
of the current scanline.</li> of the current scanline.</li>
<li><b>VSYNC &amp; VBLANK</b>: Self explanatory.</li>
<li><b>Pixel Pos</b>: The current number of visible color clocks that have been displayed on <li><b>Pixel Pos</b>: The current number of visible color clocks that have been displayed on
the current scanline, starting from the beginning of the Horizontal Blank period. the current scanline, starting from the beginning of the Horizontal Blank period.
During HBLANK, this value will be negative (representing the number of clocks During HBLANK, this value will be negative (representing the number of clocks

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.