diff options
-rw-r--r-- | listbas.1 | 9 | ||||
-rw-r--r-- | listbas.rst | 8 |
2 files changed, 16 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 "LISTBAS" 1 "2025-03-11" "0.2.2" "Urchlay's Atari 8-bit Tools" +.TH "LISTBAS" 1 "2025-03-25" "0.2.2" "Urchlay's Atari 8-bit Tools" .SH NAME listbas \- List the source of a tokenized Atari 8-bit BASIC program .SH SYNOPSIS @@ -60,6 +60,9 @@ Atari BASIC. .B \fB\-ba+\fP OSS BASIC/A+. .TP +.B \fB\-bi\fP +OSS Integer BASIC. +.TP .B \fB\-bt\fP Turbo BASIC XL. .TP @@ -187,6 +190,10 @@ and tried to \fBLOAD\fP an Atari BASIC program. I can\(aqt help but think this is a major reason BASIC/A+ didn\(aqt sell that well (fortunately, OSS realized their mistake and fixed it in BASIC XL). .sp +OSS Integer BASIC also uses incompatible tokens. However, it uses a +different signature (first byte of file is \fB$77\fP), so it will be +reliably autodetected. +.sp If you see lots of "bad token XX" messages, or if the code just doesn\(aqt make any sense, you\(aqre using the wrong BASIC option. \fBwhichbas\fP(1) can usually detect the BASIC a program was diff --git a/listbas.rst b/listbas.rst index 1aba12a..f58a696 100644 --- a/listbas.rst +++ b/listbas.rst @@ -43,6 +43,9 @@ BASIC options **-ba+** OSS BASIC/A+. + **-bi** + OSS Integer BASIC. + **-bt** Turbo BASIC XL. @@ -142,6 +145,7 @@ Other display options BASIC DIALECTS ============== + Note that Turbo, BASIC XL, and BASIC XE are all proper supersets of Atari BASIC, so you can view an Atari BASIC program with any of **-bt**, **-bxl**, or **-bxe**. Also, BASIC XE is a superset of BASIC XL @@ -158,6 +162,10 @@ and tried to **LOAD** an Atari BASIC program. I can't help but think this is a major reason BASIC/A+ didn't sell that well (fortunately, OSS realized their mistake and fixed it in BASIC XL). +OSS Integer BASIC also uses incompatible tokens. However, it uses a +different signature (first byte of file is **$77**), so it will be +reliably autodetected. + If you see lots of "bad token XX" messages, or if the code just doesn't make any sense, you're using the wrong BASIC option. **whichbas**\(1) can usually detect the BASIC a program was |