aboutsummaryrefslogtreecommitdiff
path: root/listamsb.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-02-26 04:27:04 -0500
committerB. Watson <urchlay@slackware.uk>2025-02-26 04:27:04 -0500
commit7663d7e3f35daa07900557faa5a1e83fbbcdadb0 (patch)
tree6041da577c262182968af596394ae83adc354bfa /listamsb.rst
parentd0c008b68a7e2a12308a888e918d7467998260a9 (diff)
downloadbw-atari8-tools-7663d7e3f35daa07900557faa5a1e83fbbcdadb0.tar.gz
listamsb: sanity check end-of-line addresses.
Diffstat (limited to 'listamsb.rst')
-rw-r--r--listamsb.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/listamsb.rst b/listamsb.rst
index acf3718..37eb0ea 100644
--- a/listamsb.rst
+++ b/listamsb.rst
@@ -100,6 +100,22 @@ continues processing.
A tokenized AMSB file always ends with three null bytes (*$00*\).
This file doesn't. Probably the rest of the file is missing.
+- line *N*: EOL address *A* too (low|high)
+
+ Each line begins with the address of the next line. If the address
+ is below *$0700*, it's below the minimum value of *MEMLO*, which
+ is impossible. If it's above *$bc1f*, it would be in the display
+ list, screen memory, or OS ROM (also impossible). File is
+ corrupt, or not an AMSB file.
+
+- line *N*: EOL address *A* <= previous *B*
+
+ Corrupt file, or not an AMSB file.
+
+- line *N* EOL address doesn't match actual line length *L*
+
+ Same as above: corrupt, or not AMSB.
+
- line number out of order
Probably means the file is corrupted, or isn't really an AMSB file.