diff options
| -rw-r--r-- | listamsb.1 | 10 | ||||
| -rw-r--r-- | listamsb.c | 2 | ||||
| -rw-r--r-- | listamsb.rst | 8 | 
3 files changed, 12 insertions, 8 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-03-03" "0.2.1" "Urchlay's Atari 8-bit Tools" +.TH "LISTAMSB" 1 "2025-03-04" "0.2.1" "Urchlay's Atari 8-bit Tools"  .SH NAME  listamsb \- List the source of a tokenized Atari Microsoft BASIC program  .SH SYNOPSIS @@ -195,10 +195,12 @@ This happens when ATASCII codes 0 to 31 (\fI$1f\fP) appear in the program.  AMSB can create files like this, but at runtime, it\(aqs a syntax error.  More likely, it means this is an Atari BASIC file.  .IP \(bu 2 -actual program size doesn\(aqt match program size in header +program size doesn\(aqt match size in header  .sp -Might mean this isn\(aqt an AMSB file. If you\(aqre sure it is, part of the file -might have been overwritten with \fI$00\fP bytes. +Might mean this isn\(aqt an AMSB file. If you\(aqre sure it is, it might +be truncated, or part of the file might have been overwritten +with \fI$00\fP bytes. It could also mean the length in the header has +somehow gotten corrupted.  .IP \(bu 2  trailing garbage at end of file  .sp @@ -147,7 +147,7 @@ void finish(int rv) {  		if(proglen == progsize) {  			verbose(1, "file size matches proglen");  		} else { -			warn("actual program size %d doesn't match program size %d in header,", +			warn("program size %d doesn't match size %d in header,",  					progsize, proglen);  			fputs("          ", stderr);  			if(proglen > progsize) { diff --git a/listamsb.rst b/listamsb.rst index 4cdf8cc..91fa4e9 100644 --- a/listamsb.rst +++ b/listamsb.rst @@ -171,10 +171,12 @@ continues processing.    AMSB can create files like this, but at runtime, it's a syntax error.    More likely, it means this is an Atari BASIC file. -- actual program size doesn't match program size in header +- program size doesn't match size in header -  Might mean this isn't an AMSB file. If you're sure it is, part of the file -  might have been overwritten with *$00* bytes. +  Might mean this isn't an AMSB file. If you're sure it is, it might +  be truncated, or part of the file might have been overwritten +  with *$00* bytes. It could also mean the length in the header has +  somehow gotten corrupted.  - trailing garbage at end of file | 
