mirror of
https://github.com/fadden/6502bench.git
synced 2024-07-08 14:28:55 +00:00
Put some stuff in a "Navigate" menu
Created a Navigate menu, and put the menu items for Find and Go To in it. Added menu items for nav-forward and nav-backward, which until now were only available as toolbar buttons.
This commit is contained in:
parent
b6e571afc2
commit
3cc6f32c6f
@ -327,14 +327,14 @@ especially handy for undocumented instructions.</p>
|
|||||||
on your mouse, or by left-clicking and dragging the scroll bar. You
|
on your mouse, or by left-clicking and dragging the scroll bar. You
|
||||||
can also use PgUp/PgDn and the arrow keys.</p>
|
can also use PgUp/PgDn and the arrow keys.</p>
|
||||||
|
|
||||||
<p>Use Edit > Find to search for text. This performs a case-insensitive
|
<p>Use Navigate > Find to search for text. This performs a case-insensitive
|
||||||
text search on the label, opcode, operand, and comment fields.
|
text search on the label, opcode, operand, and comment fields.
|
||||||
Use Edit > Find Next to find the next match, and
|
Use Navigate > Find Next to find the next match, and
|
||||||
Edit > Find Previous to find the previous match. Note "next" is
|
Navigate > Find Previous to find the previous match. Note "next" is
|
||||||
always downward, and "previous" is always upward, regardless of the
|
always downward, and "previous" is always upward, regardless of the
|
||||||
direction of the initial search chosen in the Find dialog.</p>
|
direction of the initial search chosen in the Find dialog.</p>
|
||||||
|
|
||||||
<p>Use Edit > Go To to jump to an offset, address, or label. Remember
|
<p>Use Navigate > Go To to jump to an offset, address, or label. Remember
|
||||||
that offsets and addresses are always hexadecimal, and offsets start
|
that offsets and addresses are always hexadecimal, and offsets start
|
||||||
with a '+'. If you have a label that is also a valid hexadecimal
|
with a '+'. If you have a label that is also a valid hexadecimal
|
||||||
address, like "FEED", the label takes precedence. To jump to the address
|
address, like "FEED", the label takes precedence. To jump to the address
|
||||||
@ -343,7 +343,8 @@ write "$FEED" instead.</p>
|
|||||||
<p>When you jump around, by double-clicking on an opcode or an entry
|
<p>When you jump around, by double-clicking on an opcode or an entry
|
||||||
in one of the side windows, the currently-selected line is added to
|
in one of the side windows, the currently-selected line is added to
|
||||||
a navigation stack. You can use the arrows on the toolbar to navigate
|
a navigation stack. You can use the arrows on the toolbar to navigate
|
||||||
forward or backward. (You can use Alt+Left/Right Arrow, or
|
forward or backward, or Navigate > Nav Forward and
|
||||||
|
Navigate > Nav Backward. (You can use Alt+Left/Right Arrow, or
|
||||||
Ctrl+- / Ctrl+Shift+-, as keyboard shortcuts.)</p>
|
Ctrl+- / Ctrl+Shift+-, as keyboard shortcuts.)</p>
|
||||||
|
|
||||||
|
|
||||||
|
@ -106,12 +106,12 @@ row of buttons. Make sure "Auto" and "Addr" are selected. You should see
|
|||||||
three labels in the window (L1002, L1014, L1017). Double-click on L1014. The
|
three labels in the window (L1002, L1014, L1017). Double-click on L1014. The
|
||||||
selection jumps to the appropriate line.</p>
|
selection jumps to the appropriate line.</p>
|
||||||
|
|
||||||
<p>Select Edit > Find. Type "hello", and hit Enter. The selection will
|
<p>Select Navigate > Find. Type "hello", and hit Enter. The selection will
|
||||||
move to address $100E, which is a string that says "hello!". You can use
|
move to address $100E, which is a string that says "hello!". You can use
|
||||||
Edit > Find Next to try to find the next occurrence (there isn't one). You
|
Navigate > Find Next to try to find the next occurrence (there isn't one). You
|
||||||
can search for any text that appears in the rightmost columns (label, opcode,
|
can search for any text that appears in the rightmost columns (label, opcode,
|
||||||
operand, comment).</p>
|
operand, comment).</p>
|
||||||
<p>Select Edit > Go To. You can enter a label, address, or file offset.
|
<p>Select Navigate > Go To. You can enter a label, address, or file offset.
|
||||||
Enter "100b" to set the selection to $100B.</p>
|
Enter "100b" to set the selection to $100B.</p>
|
||||||
|
|
||||||
<p>Near the top-left of the SourceGen window is a set of toolbar icons.
|
<p>Near the top-left of the SourceGen window is a set of toolbar icons.
|
||||||
@ -174,7 +174,7 @@ to $2000, then jumping to $2000. It appears to be relocating the next
|
|||||||
part of the code before
|
part of the code before
|
||||||
executing it. We want to let the disassembler know what's going on, so
|
executing it. We want to let the disassembler know what's going on, so
|
||||||
select the line at address $1017 and then
|
select the line at address $1017 and then
|
||||||
Edit > Set Address. (Or double-click the "1017" in the Addr column.)
|
Actions > Set Address. (Or double-click the "1017" in the Addr column.)
|
||||||
In the Set Address dialog, type "2000", and hit Enter.)</p>
|
In the Set Address dialog, type "2000", and hit Enter.)</p>
|
||||||
|
|
||||||
<p>Note the way the code list has changed. When you changed the address,
|
<p>Note the way the code list has changed. When you changed the address,
|
||||||
@ -363,7 +363,7 @@ that looks for strings and .FILL regions, so now each uncategorized byte is
|
|||||||
on its own line.</p>
|
on its own line.</p>
|
||||||
<p>You could select the first two lines and use Actions > Edit Operand
|
<p>You could select the first two lines and use Actions > Edit Operand
|
||||||
to format them as a 16-bit little-endian hex value, but there's a shortcut:
|
to format them as a 16-bit little-endian hex value, but there's a shortcut:
|
||||||
select only the first line of code, then Edit > Format As Word (Ctrl+W). It
|
select only the first line of code, then Actions > Format As Word (Ctrl+W). It
|
||||||
automatically grabbed the following byte and combined them. Since we believe
|
automatically grabbed the following byte and combined them. Since we believe
|
||||||
$2000 is the load address for everything that follows, click on the line
|
$2000 is the load address for everything that follows, click on the line
|
||||||
with address $1002, select Actions > Set Address, and enter "2000". With
|
with address $1002, select Actions > Set Address, and enter "2000". With
|
||||||
|
@ -321,12 +321,7 @@ limitations under the License.
|
|||||||
<MenuItem Command="{StaticResource RedoCmd}"/>
|
<MenuItem Command="{StaticResource RedoCmd}"/>
|
||||||
<Separator/>
|
<Separator/>
|
||||||
<MenuItem Command="Copy"/>
|
<MenuItem Command="Copy"/>
|
||||||
<Separator/>
|
|
||||||
<MenuItem Command="{StaticResource SelectAllCmd}"/>
|
<MenuItem Command="{StaticResource SelectAllCmd}"/>
|
||||||
<MenuItem Command="Find"/>
|
|
||||||
<MenuItem Command="{StaticResource FindNextCmd}"/>
|
|
||||||
<MenuItem Command="{StaticResource FindPreviousCmd}"/>
|
|
||||||
<MenuItem Command="{StaticResource GotoCmd}"/>
|
|
||||||
<Separator/>
|
<Separator/>
|
||||||
<MenuItem Command="{StaticResource EditHeaderCommentCmd}"/>
|
<MenuItem Command="{StaticResource EditHeaderCommentCmd}"/>
|
||||||
<MenuItem Command="Properties" Header="Project Properties..."/>
|
<MenuItem Command="Properties" Header="Project Properties..."/>
|
||||||
@ -336,6 +331,15 @@ limitations under the License.
|
|||||||
<Separator/>
|
<Separator/>
|
||||||
<MenuItem Command="{StaticResource EditAppSettingsCmd}"/>
|
<MenuItem Command="{StaticResource EditAppSettingsCmd}"/>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
<MenuItem Header="_Navigate">
|
||||||
|
<MenuItem Command="{StaticResource NavigateForwardCmd}"/>
|
||||||
|
<MenuItem Command="{StaticResource NavigateBackwardCmd}"/>
|
||||||
|
<MenuItem Command="{StaticResource GotoCmd}"/>
|
||||||
|
<Separator/>
|
||||||
|
<MenuItem Command="Find"/>
|
||||||
|
<MenuItem Command="{StaticResource FindNextCmd}"/>
|
||||||
|
<MenuItem Command="{StaticResource FindPreviousCmd}"/>
|
||||||
|
</MenuItem>
|
||||||
<MenuItem Name="actionsMenu" Header="_Actions">
|
<MenuItem Name="actionsMenu" Header="_Actions">
|
||||||
<MenuItem Command="{StaticResource EditAddressCmd}"/>
|
<MenuItem Command="{StaticResource EditAddressCmd}"/>
|
||||||
<MenuItem Command="{StaticResource EditStatusFlagsCmd}"/>
|
<MenuItem Command="{StaticResource EditStatusFlagsCmd}"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user