From 7fdf45989922e4e2644a71edc578587470742908 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Fri, 27 Jun 2025 15:11:28 -0700 Subject: [PATCH] Version 1.9.2-dev3 --- SourceGen/App.xaml.cs | 2 +- docs/sgmanual/editors.html | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/SourceGen/App.xaml.cs b/SourceGen/App.xaml.cs index 89a92f1..9fc949e 100644 --- a/SourceGen/App.xaml.cs +++ b/SourceGen/App.xaml.cs @@ -25,6 +25,6 @@ namespace SourceGen { /// SourceGen version number. /// public static readonly CommonUtil.Version ProgramVersion = - new CommonUtil.Version(1, 9, 2, CommonUtil.Version.PreRelType.Dev, 2); + new CommonUtil.Version(1, 9, 2, CommonUtil.Version.PreRelType.Dev, 3); } } diff --git a/docs/sgmanual/editors.html b/docs/sgmanual/editors.html index 37de725..c8ebe8a 100644 --- a/docs/sgmanual/editors.html +++ b/docs/sgmanual/editors.html @@ -348,14 +348,16 @@ label edit dialog for the line at address $1234.

project symbol editor will be opened instead. This works for project symbols and local variable table entries.

This also works for data items formatted as 16- or 24-bit addresses.

-

Note: the target address is taken from the operand even when a symbol is -provided. For example, sometimes jump tables will encode (address - 1) -for the benefit of a PHA/RTS combination, so the entry for FOO -will appear as FOO-1. The operand target is actually -FOO-1, so using this feature won't edit the FOO -label but instead try to add a new one at the previous address. The -feature does back up to the start of a line, however, so it won't try -to split an instruction or multi-byte data item.

+

Note: the target address is taken from the operand unless a symbol has +been explicitly set. For example, sometimes jump tables will encode +(address - 1) for the benefit of a PHA/RTS combination, so it's useful to +set the operand to the symbol FOO to make it appear as +FOO-1 in the output. +In any event, the feature will always back up to the start +of a line, so it won't try to split an instruction or multi-byte data item. +(If you actually want to split an auto-detected string, use +Ctrl+D to toggle auto-detection off and back on +before and after editing the label.)

Edit Comment