minor debugger doc updates

This commit is contained in:
thrust26 2020-12-30 18:16:14 +01:00
parent 73a09d3b78
commit 2bc7ed7a71
2 changed files with 15 additions and 8 deletions

View File

@ -3239,19 +3239,21 @@
<tr> <tr>
<td><pre>-dis.resolve &lt;1|0&gt;</pre></td> <td><pre>-dis.resolve &lt;1|0&gt;</pre></td>
<td>Try to differentiate between code vs. data sections in the <td>Try to differentiate between tentative code vs. data sections in the
disassembler. See the <b>Debugger - <a href="debugger.html#DisassemblySettings">ROM Disassembly Settings</b></a> for more information.</td> disassembler via static code analysis. See the <b>Debugger -
<a href="debugger.html#DisassemblySettings">ROM Disassembly Settings</b></a> for more information.</td>
</tr> </tr>
<tr> <tr>
<td><pre>-dis.gfxformat &lt;2|16&gt;</pre></td> <td><pre>-dis.gfxformat &lt;2|16&gt;</pre></td>
<td>Set the base to use for displaying GFX sections in the disassembler. <td>Switch between displaying/editing GFX and PGFX sections in either
binary or hexidecimal in the disassembler.
</td> </td>
</tr> </tr>
<tr> <tr>
<td><pre>-dis.showaddr &lt;1|0&gt;</pre></td> <td><pre>-dis.showaddr &lt;1|0&gt;</pre></td>
<td>Show/hide opcode addresses in the disassembler.</td> <td>Show/hide program counter addresses as labels in the disassembler.</td>
</tr> </tr>
<tr> <tr>

View File

@ -58,19 +58,24 @@ RomListSettings::RomListSettings(GuiObject* boss, const GUI::Font& font)
// Settings for Distella // Settings for Distella
xpos += 4; ypos += buttonHeight + 8; xpos += 4; ypos += buttonHeight + 8;
myShowTentative = new CheckboxWidget(this, font, xpos, ypos, myShowTentative = new CheckboxWidget(this, font, xpos, ypos,
"Show tentative code", RomListWidget::kTentativeCodeCmd); "Show tentative code", RomListWidget::kTentativeCodeCmd);
myShowTentative->setToolTip("Check to differentiate between tentative code\n"
"vs. data sections via static code analysis.");
wid.push_back(myShowTentative); wid.push_back(myShowTentative);
ypos += buttonHeight + 4; ypos += buttonHeight + 4;
myShowAddresses = new CheckboxWidget(this, font, xpos, ypos, myShowAddresses = new CheckboxWidget(this, font, xpos, ypos,
"Show PC addresses", RomListWidget::kPCAddressesCmd); "Show PC addresses", RomListWidget::kPCAddressesCmd);
myShowAddresses->setToolTip("Check to show program counter addresses as labels.");
wid.push_back(myShowAddresses); wid.push_back(myShowAddresses);
ypos += buttonHeight + 4; ypos += buttonHeight + 4;
myShowGFXBinary = new CheckboxWidget(this, font, xpos, ypos, myShowGFXBinary = new CheckboxWidget(this, font, xpos, ypos,
"Show GFX as binary", RomListWidget::kGfxAsBinaryCmd); "Show GFX as binary", RomListWidget::kGfxAsBinaryCmd);
myShowGFXBinary->setToolTip("Check to allow editing GFX sections in binary format.");
wid.push_back(myShowGFXBinary); wid.push_back(myShowGFXBinary);
ypos += buttonHeight + 4; ypos += buttonHeight + 4;
myUseRelocation = new CheckboxWidget(this, font, xpos, ypos, myUseRelocation = new CheckboxWidget(this, font, xpos, ypos,
"Use address relocation", RomListWidget::kAddrRelocationCmd); "Use address relocation", RomListWidget::kAddrRelocationCmd);
myUseRelocation->setToolTip("Check to relocate calls out of address range.");
wid.push_back(myUseRelocation); wid.push_back(myUseRelocation);
// Set real dimensions // Set real dimensions