diff --git a/SourceGen/DisasmProject.cs b/SourceGen/DisasmProject.cs
index 1092c748..f8e0b780 100644
--- a/SourceGen/DisasmProject.cs
+++ b/SourceGen/DisasmProject.cs
@@ -1592,7 +1592,7 @@ private void GenerateXrefs() {
}
}
- if (attr.IsDataStart) {
+ if (attr.IsDataStart || attr.IsInlineDataStart) {
// There shouldn't be data items inside of other data items.
offset += attr.Length;
diff --git a/SourceGen/DisplayList.cs b/SourceGen/DisplayList.cs
index d7aab7d7..985bf7f3 100644
--- a/SourceGen/DisplayList.cs
+++ b/SourceGen/DisplayList.cs
@@ -435,6 +435,7 @@ public static FormattedParts CreateNote(string comment, Color color) {
if (color != NoColor) {
parts.HasBackgroundColor = true;
parts.BackgroundBrush = new SolidColorBrush(color);
+ parts.BackgroundBrush.Freeze(); // export runs on non-UI thread
}
return parts;
}
diff --git a/SourceGen/Res/Strings.xaml b/SourceGen/Res/Strings.xaml
index 28b4498c..a75d4ce3 100644
--- a/SourceGen/Res/Strings.xaml
+++ b/SourceGen/Res/Strings.xaml
@@ -163,7 +163,7 @@ limitations under the License.
LDA #','
)
- cause an error.LDA #'{'
) cause an error.
STX $00,X
vs.
STX $0000,X
). This isn't a problem with project/platform
diff --git a/SourceGen/RuntimeData/Help/tutorials.html b/SourceGen/RuntimeData/Help/tutorials.html
index d67d3874..f3251f5f 100644
--- a/SourceGen/RuntimeData/Help/tutorials.html
+++ b/SourceGen/RuntimeData/Help/tutorials.html
@@ -36,7 +36,7 @@ Click "Start new project".
+Click the "Start new project" button.
The New Project window has three parts. The top-left window has a tree of known platforms, arranged by manufacturer. The top-right window @@ -460,7 +460,7 @@
There's now a ".var" statement (similar to a .equ) above line $203d, and the stores to $02/$03 have changed to "PTR1" and "PTR1+1".
-Double-click on the JSR on line $2045 to jump to L209A. This just +
Double-click on the JSR on line $2045 to jump to L20A7. This just loads a value from $3000 into the accumulator and returns, so not much to see here. Hit the back-arrow in the toolbar to jump back to the JSR.
The next bit of code masks the accumulator so it holds a value between @@ -497,7 +497,8 @@
ORA #$80
line.)
@@ -588,7 +589,8 @@ Start a new project. Select the Apple //e platform, click Select File
and navigate to the Examples directory. In A2-Amper-fdraw, select
-AMPERFDRAW#061d60
. Click "OK" to create the project.
AMPERFDRAW#061d60
(ignore the existing .dis65 file). Click
+"OK" to create the project.
Not a lot to see here -- just half a dozen lines of loads and stores. This particular program interfaces with Applesoft BASIC, so we can make it a bit more meaningful by loading an additional platform @@ -758,7 +760,7 @@
We happen to know (by playing the game and/or reading the fictitious drawing code) that the image is 8x8, so change the value in the height @@ -775,7 +777,8 @@
Repeat the process at line $1012: select the line, create a visualization -set, create a new bitmap, set the height to 8, click "OK" twice.
+set, create a new visualization. The height will default to 8 because +that's what you used last time. Click "OK" in both dialogs to close them.Repeat the process at line $101A, but this time the image is 40x40
rather than 8x8. Set the width to 5, and the height to 40. This makes
diff --git a/SourceGen/WpfGui/MainWindow.xaml b/SourceGen/WpfGui/MainWindow.xaml
index c7e32efe..96268f3d 100644
--- a/SourceGen/WpfGui/MainWindow.xaml
+++ b/SourceGen/WpfGui/MainWindow.xaml
@@ -113,7 +113,11 @@ limitations under the License.