trap doc updated

double spaces after . removed
This commit is contained in:
thrust26 2017-12-02 11:34:58 +01:00
parent 8abc49af1f
commit 1341f07a36
2 changed files with 303 additions and 301 deletions

View File

@ -603,8 +603,8 @@ or memory.</p>
<p>Traps can also combined with a condition ("trapif"). If an access
to a memory address is caught, the condition is evaluated additionally.
Only if the condition is true too, the emulations stops.
</p>
Only if the condition is true too, the emulations stops. For details
about conditions see <b>Conditional Breaks</b> described above.</p>
<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
@ -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.
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,
use "trapread(if)" or "trapwrite(if)". To remove a trap, you just attempt
to set it again: the commands actually toggle the trap on &amp; off. You
can also get rid of all traps at once with the "cleartraps" command.</p>
use "trapread(if)" or "trapwrite(if)".
<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>
@ -658,6 +659,7 @@ clearsavestateifs - Clear all savestate points
delbreakif - Delete conditional breakif &lt;xx&gt;
delfunction - Delete function with label xx
delsavestateif - Delete conditional savestate point &lt;xx&gt;
deltrap - Delete trap &lt;xx&gt;
delwatch - Delete watch &lt;xx&gt;
disasm - Disassemble address xx [yy lines] (default=PC)
dump - Dump data at address &lt;xx&gt; [to yy] [0..7, dumps to file]