mirror of https://github.com/stella-emu/stella.git
parent
8abc49af1f
commit
1341f07a36
|
@ -603,8 +603,8 @@ or memory.</p>
|
||||||
|
|
||||||
<p>Traps can also combined with a condition ("trapif"). If an access
|
<p>Traps can also combined with a condition ("trapif"). If an access
|
||||||
to a memory address is caught, the condition is evaluated additionally.
|
to a memory address is caught, the condition is evaluated additionally.
|
||||||
Only if the condition is true too, the emulations stops.
|
Only if the condition is true too, the emulations stops. For details
|
||||||
</p>
|
about conditions see <b>Conditional Breaks</b> described above.</p>
|
||||||
|
|
||||||
<p>An example: you are debugging a game, and you want to stop the
|
<p>An example: you are debugging a game, and you want to stop the
|
||||||
emulation and enter the debugger whenever RESP0 is strobed. You'd use
|
emulation and enter the debugger whenever RESP0 is strobed. You'd use
|
||||||
|
@ -625,11 +625,12 @@ so the best we can do is stop before the next instruction runs.</p>
|
||||||
<p>Traps come in two varieties: read access traps and write access traps.
|
<p>Traps come in two varieties: read access traps and write access traps.
|
||||||
It is possible to set both types of trap on the same address (that's
|
It is possible to set both types of trap on the same address (that's
|
||||||
what the plain "trap" command does). To set a read or write only trap,
|
what the plain "trap" command does). To set a read or write only trap,
|
||||||
use "trapread(if)" or "trapwrite(if)". To remove a trap, you just attempt
|
use "trapread(if)" or "trapwrite(if)".
|
||||||
to set it again: the commands actually toggle the trap on & off. You
|
|
||||||
can also get rid of all traps at once with the "cleartraps" command.</p>
|
|
||||||
|
|
||||||
<p>Use "listtraps" to see all enabled traps.</p>
|
<p>All traps appear in "listtraps", numbered starting from zero. You
|
||||||
|
can remove a trap with "deltrap number", where the number comes from
|
||||||
|
"listtraps" or by entering the identical trap again. You can get rid of
|
||||||
|
all traps at once with the "cleartraps" command.</p></p>
|
||||||
|
|
||||||
<h3>Prompt commands:</h3>
|
<h3>Prompt commands:</h3>
|
||||||
|
|
||||||
|
@ -658,6 +659,7 @@ clearsavestateifs - Clear all savestate points
|
||||||
delbreakif - Delete conditional breakif <xx>
|
delbreakif - Delete conditional breakif <xx>
|
||||||
delfunction - Delete function with label xx
|
delfunction - Delete function with label xx
|
||||||
delsavestateif - Delete conditional savestate point <xx>
|
delsavestateif - Delete conditional savestate point <xx>
|
||||||
|
deltrap - Delete trap <xx>
|
||||||
delwatch - Delete watch <xx>
|
delwatch - Delete watch <xx>
|
||||||
disasm - Disassemble address xx [yy lines] (default=PC)
|
disasm - Disassemble address xx [yy lines] (default=PC)
|
||||||
dump - Dump data at address <xx> [to yy] [0..7, dumps to file]
|
dump - Dump data at address <xx> [to yy] [0..7, dumps to file]
|
||||||
|
|
Loading…
Reference in New Issue