diff options
author | B. Watson <urchlay@slackware.uk> | 2025-02-26 04:27:04 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-02-26 04:27:04 -0500 |
commit | 7663d7e3f35daa07900557faa5a1e83fbbcdadb0 (patch) | |
tree | 6041da577c262182968af596394ae83adc354bfa /listamsb.1 | |
parent | d0c008b68a7e2a12308a888e918d7467998260a9 (diff) | |
download | bw-atari8-tools-7663d7e3f35daa07900557faa5a1e83fbbcdadb0.tar.gz |
listamsb: sanity check end-of-line addresses.
Diffstat (limited to 'listamsb.1')
-rw-r--r-- | listamsb.1 | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "LISTAMSB" 1 "2025-02-25" "0.2.1" "Urchlay's Atari 8-bit Tools" +.TH "LISTAMSB" 1 "2025-02-26" "0.2.1" "Urchlay's Atari 8-bit Tools" .SH NAME listamsb \- List the source of a tokenized Atari Microsoft BASIC program .SH SYNOPSIS @@ -116,6 +116,22 @@ unexpected EOF, file truncated? A tokenized AMSB file always ends with three null bytes (\fI$00\fP). This file doesn\(aqt. Probably the rest of the file is missing. .IP \(bu 2 +line \fIN\fP: EOL address \fIA\fP too (low|high) +.sp +Each line begins with the address of the next line. If the address +is below \fI$0700\fP, it\(aqs below the minimum value of \fIMEMLO\fP, which +is impossible. If it\(aqs above \fI$bc1f\fP, it would be in the display +list, screen memory, or OS ROM (also impossible). File is +corrupt, or not an AMSB file. +.IP \(bu 2 +line \fIN\fP: EOL address \fIA\fP <= previous \fIB\fP +.sp +Corrupt file, or not an AMSB file. +.IP \(bu 2 +line \fIN\fP EOL address doesn\(aqt match actual line length \fIL\fP +.sp +Same as above: corrupt, or not AMSB. +.IP \(bu 2 line number out of order .sp Probably means the file is corrupted, or isn\(aqt really an AMSB file. |