aboutsummaryrefslogtreecommitdiff
path: root/listbas.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-03-26 23:21:34 -0400
committerB. Watson <urchlay@slackware.uk>2025-03-26 23:21:34 -0400
commitfb8a212f8c35b8c8164d5818776352b0d172600d (patch)
tree9d24f830d0455a9697c789c2be25924e432ce96f /listbas.rst
parentf79bc1357a38fec87dea0b5a6f94e948a83da073 (diff)
downloadbw-atari8-tools-fb8a212f8c35b8c8164d5818776352b0d172600d.tar.gz
listbas: tweak man page.
Diffstat (limited to 'listbas.rst')
-rw-r--r--listbas.rst14
1 files changed, 6 insertions, 8 deletions
diff --git a/listbas.rst b/listbas.rst
index 6a377b2..d15792b 100644
--- a/listbas.rst
+++ b/listbas.rst
@@ -170,7 +170,10 @@ 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.
+reliably autodetected. The disk and cartridge versions of Integer
+BASIC use different tokens; this is also autodetected pretty
+reliably. If the code doesn't make sense, try **-bic** or **-bid**
+to override the autodetection.
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
@@ -319,7 +322,7 @@ Comparison to chkbas
- **listbas** does color syntax highlighting.
-- **listbas** supports OSS BASIC/A+ in addition to Turbo and BXL/BXE.
+- **listbas** supports OSS BASIC/A+ and Integer BASIC in addition to Turbo and BXL/BXE.
- **listbas** indents BASIC/A+, Turbo, BXL, and BXE code, just like the
actual BASICs do.
@@ -387,12 +390,7 @@ options to **listbas**.
HTML Output
-----------
-I thought about adding an HTML output option, but there's no need: if you want
-a colorful listing of an Atari BASIC program, install **aha**\(1) from
-https://github.com/theZiz/aha (or your distro's package repo) and run
-something like::
-
- listbas PROGRAM.BAS | aha > program.html
+See **abas2html**\(1).
ENVIRONMENT
===========