diff --git a/SourceGen/RuntimeData/Help/editors.html b/SourceGen/RuntimeData/Help/editors.html index e5df43c..c705caf 100644 --- a/SourceGen/RuntimeData/Help/editors.html +++ b/SourceGen/RuntimeData/Help/editors.html @@ -14,6 +14,91 @@
+Address regions +may be created, edited, resized, or removed. Which +operation is performed depends on the current selection. You can +specify the start and end points of a region by selecting the entire +region, or by selecting just the first and last lines.
+In all cases, you can specify the range's initial address
+as a hexadecimal value. You can prefix it with '$', but that's not
+required.
+24-bit addresses may be written with a bank separator, e.g. "12/3456"
+would resolve to address $123456.
+If you want to set the region to be non-addressable, enter
+"NA
".
You can also enter a pre-label +or specify that the operand should be formatted as a +relative address. + +
To delete a region, click the "Delete Region" button.
+ +If your selection starts with a code or data line, the editor +will allow to create a new address region. If a single line was +selected, the default behavior will be to create a region with a +floating end point. If multiple lines were selected, the default +behavior will be to create a region with a fixed end point.
+ +The address field will be initialized to the address of the +first selected line.
+ +You can create a child region that shares the same start offset +as an existing region by selecting the first code or data line +within that region. Note that regions with floating end points cannot +have the same start offset as another region.
+ +If you select only the address region start line, perhaps by +double-clicking the operand there, you will be able to edit the +current region's properties.
+ +If the region has a floating end point, you can choose to convert +it to a fixed end. The end doesn't move; it just gets fixed in place. +This is a quick way to "lock down" regions once you've established +their end points.
+ +If you select multiple lines, and the first line is an address +region start directive, you will be able to resize that region to +the selection. By definition, the updated region will have a fixed +end point.
+ +There is no affordance for moving the start offset of a region. You +must create a new region and then delete the old one.
+ +Regions may not "straddle" the start or end points of other regions.
+ +Double-clicking on the pseudo-opcode of a region start or end +declaration will move the selection to the other end, rather than +opening the editor.
+ +To see detailed information about an address region in the "Info" +window, select the region start or end directive. You can see the +current arrangement of address regions across your entire +project with Navigate > View Address Map.
+ + + +The state of the processor status flags are tracked for every +instruction. Each individual flag is recorded as zero, one, or +"indeterminate", meaning it could hold either value at the start of +that instruction. You can override the value of individual flags.
+The 65816 emulation bit, which is not part of the processor status +register, may also be set in the editor.
+The M, X, and E flags will not be editable unless your CPU configuration +is set to 65816.
+ +Sets or clears a label at the selected offset. The label must have the proper form, and not have the same @@ -34,7 +119,7 @@ be imported by other projects (see Working With Multiple Binaries).
-Operands can be formatted explicitly, or you can let the disassembler select the format for you. By default, immediate constants and addresses with no matching symbol are formatted as hex. Symbols @@ -131,7 +216,8 @@ and comment fields. If not, a new entry with a generic name and pre-filled value field will be created in the nearest table.
-This dialog offers a variety of choices, and can be used to apply a format to multiple lines. You must select all of the bytes you want to format. For example, to format two bytes as a 16-bit word, you must @@ -275,91 +361,6 @@ comment will have one fewer character per line in cc65 output.
not associated with a file offset. If you delete it, you can get it back by using Edit > Edit Header Comment. - -Address regions may be created, edited, resized, or removed. Which -operation is performed depends on the current selection. You can -specify the start and end points of a region by selecting the entire -region, or by selecting just the first and last lines.
-In all cases, you can specify the range's initial address
-as a hexadecimal value. You can prefix it with '$', but that's not
-required.
-24-bit addresses may be written with a bank separator, e.g. "12/3456"
-would resolve to address $123456.
-If you want to set the region to be non-addressable, enter
-"NA
".
You can also enter a pre-label -or specify that the operand should be formatted as a -relative address. - -
To delete a region, click the "Delete Region" button.
- -If your selection starts with a code or data line, the editor -will allow to create a new address region. If a single line was -selected, the default behavior will be to create a region with a -floating end point. If multiple lines were selected, the default -behavior will be to create a region with a fixed end point.
- -The address field will be initialized to the address of the -first selected line.
- -You can create a child region that shares the same start offset -as an existing region by selecting the first code or data line -within that region. Note that regions with floating end points cannot -have the same start offset as another region.
- -If you select only the address region start line, perhaps by -double-clicking the operand there, you will be able to edit the -current region's properties.
- -If the region has a floating end point, you can choose to convert -it to a fixed end. The end doesn't move; it just gets fixed in place. -This is a quick way to "lock down" regions once you've established -their end points.
- -If you select multiple lines, and the first line is an address -region start directive, you will be able to resize that region to -the selection. By definition, the updated region will have a fixed -end point.
- -There is no affordance for moving the start offset of a region. You -must create a new region and then delete the old one.
- -Regions may not "straddle" the start or end points of other regions.
- -Double-clicking on the pseudo-opcode of a region start or end -declaration will move the selection to the other end, rather than -opening the editor.
- -To see detailed information about an address region in the "Info" -window, select the region start or end directive. You can see the -current arrangement of address regions across your entire -project with Navigate > View Address Map.
- - - -The state of the processor status flags are tracked for every -instruction. Each individual flag is recorded as zero, one, or -"indeterminate", meaning it could hold either value at the start of -that instruction. You can override the value of individual flags.
-The 65816 emulation bit, which is not part of the processor status -register, may also be set in the editor.
-The M, X, and E flags will not be editable unless your CPU configuration -is set to 65816.
- -Sets the Data Bank Register (DBR) value for 65816 code. This is used diff --git a/SourceGen/RuntimeData/Help/index.html b/SourceGen/RuntimeData/Help/index.html index 627fd1e..5c1d9c3 100644 --- a/SourceGen/RuntimeData/Help/index.html +++ b/SourceGen/RuntimeData/Help/index.html @@ -83,22 +83,22 @@ and 65816 code. The official web site is
Consider the code in the first tutorial. It loads at $1000, copies
diff --git a/SourceGen/SGTestData/FunkyProjects/BadExt.cs b/SourceGen/SGTestData/FunkyProjects/BadExt.cs
new file mode 100644
index 0000000..0ad60fe
--- /dev/null
+++ b/SourceGen/SGTestData/FunkyProjects/BadExt.cs
@@ -0,0 +1,47 @@
+// Copyright 2021 faddenSoft. All Rights Reserved.
+// See the LICENSE.txt file for distribution terms (Apache 2.0).
+
+using System;
+//using System.Collections.Generic;
+using System.IO;
+
+using PluginCommon;
+
+namespace FunkyTest {
+ ///