aboutsummaryrefslogtreecommitdiff
path: root/listbas.1
diff options
context:
space:
mode:
Diffstat (limited to 'listbas.1')
-rw-r--r--listbas.130
1 files changed, 27 insertions, 3 deletions
diff --git a/listbas.1 b/listbas.1
index ba293f2..f8e4219 100644
--- a/listbas.1
+++ b/listbas.1
@@ -27,12 +27,12 @@ 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 "2024-07-14" "0.2.1" "Urchlay's Atari 8-bit Tools"
+.TH "LISTBAS" 1 "2024-07-16" "0.2.1" "Urchlay's Atari 8-bit Tools"
.SH NAME
listbas \- List the source of a tokenized Atari 8-bit BASIC program
.SH SYNOPSIS
.sp
-listbas [\fB\-a\fP | \fB\-d\fP | \fB\-m\fP | \fB\-x\fP | \fB\-U\fP] [\fB\-b\fP] [\fB\-u\fP] [\fB\-i\fP] [\fB\-l\fP] [\fB\-n\fP | \fB\-C\fP] [\fB\-v\fP] [\fB\-c\fP \fIcolors\fP] \fBinput\-file\fP
+listbas [\fB\-a\fP | \fB\-d\fP | \fB\-m\fP | \fB\-x\fP | \fB\-U\fP] [\fB\-B\fP] [\fB\-u\fP] [\fB\-i\fP] [\fB\-l\fP] [\fB\-n\fP | \fB\-C\fP] [\fB\-v\fP] [\fB\-c\fP \fIcolors\fP] \fBinput\-file\fP
.SH DESCRIPTION
.sp
\fBlistbas\fP acts like the \fILIST\fP command in BASIC. It reads a
@@ -77,6 +77,30 @@ because you can\(aqt tell what the dots are supposed to represent.
.SS Other options
.INDENT 0.0
.TP
+.B \fB\-b\fP
+Set the BASIC the program was written in. Choices are:
+.INDENT 7.0
+.TP
+.B \fB\-ba\fP
+Program is Atari BASIC; this is the default.
+.TP
+.B \fB\-ba+\fP
+Program is OSS BASIC/A+.
+.TP
+.B \fB\-bt\fP
+Program is Turbo BASIC XL.
+.TP
+.B \fB\-bxl\fP
+Program is OSS BASIC XL.
+.TP
+.B \fB\-bxe\fP
+Program is OSS BASIC XE.
+.UNINDENT
+.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 written in.
+.TP
.B \fB\-i\fP
Include the immediate mode command (line 32768) in the output.
.TP
@@ -94,7 +118,7 @@ No color. Has no effect if \fB\-a\fP is in effect, since this
mode doesn\(aqt support color anyway. Disabling color does not
disable reverse video.
.TP
-.B \fB\-b\fP
+.B \fB\-B\fP
Use bold for color output. This may make it easier to read on
some terminals. Or, it may hurt your eyes...
.TP