diff --git a/docs/sgtutorial/digging-deeper.html b/docs/sgtutorial/digging-deeper.html index 49e922d..47e532a 100644 --- a/docs/sgtutorial/digging-deeper.html +++ b/docs/sgtutorial/digging-deeper.html @@ -128,9 +128,15 @@
Click on the first line of code at address $1000, and select Actions > Remove Analyzer Tags (Ctrl+H Ctrl+R). - This removes the "code entry point" tag. - Unfortunately the $20 is still auto-detected as being part of a string - directive.
+ This removes the "code start point" tag. + Then, click on the.addrs
line above it, and select
+ Actions > Create / Edit Address Region. Down
+ at the bottom, click Delete Region. This
+ removes the default address region, replacing it with one that
+ says "NA
", meaning that the code is non-addressable.
+ This is correct for the first two bytes, which will be
+ read by the system loader but not actually loaded into memory.
+ We still need to create a new address region at offset +000002.
@@ -139,8 +145,10 @@
The string is making it hard to manipulate the next few bytes, - so let's fix that by selecting Edit > Toggle Data Scan +
Unfortunately the $20 is still auto-detected as being part
+ of a string directive, which is making it hard to manipulate
+ the next few bytes.
+ Let's fix that by selecting Edit > Toggle Data Scan
(Ctrl+D). This turns off the feature that
automatically generates string and .FILL
directives,
so now each uncategorized byte is on its own line.
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: select the first - line with data (address $1000), then Actions > Format As Word + line with data (offset +000000), then + Actions > Format As Word (Ctrl+W). It automatically grabbed the following byte and combined them.
Since we currently believe $2000 is the load address for everything - that follows, click on the line with address $1002, select + that follows, click on the line with offset +000002, select Actions > Create/Edit Address Region, and enter "2000" for the address. Click OK. With that line still selected, use diff --git a/docs/sgtutorial/images/t2-1000-edit1.png b/docs/sgtutorial/images/t2-1000-edit1.png index a549138..72cbaaf 100644 Binary files a/docs/sgtutorial/images/t2-1000-edit1.png and b/docs/sgtutorial/images/t2-1000-edit1.png differ diff --git a/docs/sgtutorial/images/t2-1000-edit2.png b/docs/sgtutorial/images/t2-1000-edit2.png index fcbd196..e3575c7 100644 Binary files a/docs/sgtutorial/images/t2-1000-edit2.png and b/docs/sgtutorial/images/t2-1000-edit2.png differ diff --git a/docs/sgtutorial/images/t2-1000-fmt-word.png b/docs/sgtutorial/images/t2-1000-fmt-word.png index 40655a8..0190de1 100644 Binary files a/docs/sgtutorial/images/t2-1000-fmt-word.png and b/docs/sgtutorial/images/t2-1000-fmt-word.png differ diff --git a/docs/sgtutorial/images/t2-1000-ready.png b/docs/sgtutorial/images/t2-1000-ready.png index f3ebcc4..120e729 100644 Binary files a/docs/sgtutorial/images/t2-1000-ready.png and b/docs/sgtutorial/images/t2-1000-ready.png differ diff --git a/docs/sgtutorial/images/t2-1000-setcode.png b/docs/sgtutorial/images/t2-1000-setcode.png index cadafe4..0e0a722 100644 Binary files a/docs/sgtutorial/images/t2-1000-setcode.png and b/docs/sgtutorial/images/t2-1000-setcode.png differ