diff options
Diffstat (limited to 'listbas.1')
-rw-r--r-- | listbas.1 | 22 |
1 files changed, 6 insertions, 16 deletions
@@ -198,7 +198,10 @@ 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. +reliably autodetected. The disk and cartridge versions of Integer +BASIC use different tokens; this is also autodetected pretty +reliably. If the code doesn\(aqt make sense, try \fB\-bic\fP or \fB\-bid\fP +to override the autodetection. .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 @@ -369,7 +372,7 @@ looks very similar to how it would appear on the Atari. .IP \(bu 2 \fBlistbas\fP does color syntax highlighting. .IP \(bu 2 -\fBlistbas\fP supports OSS BASIC/A+ in addition to Turbo and BXL/BXE. +\fBlistbas\fP supports OSS BASIC/A+ and Integer BASIC in addition to Turbo and BXL/BXE. .IP \(bu 2 \fBlistbas\fP indents BASIC/A+, Turbo, BXL, and BXE code, just like the actual BASICs do. @@ -437,20 +440,7 @@ otherwise work (display color and inverse) with the \fB\-m\fP or \fB\-d\fP options to \fBlistbas\fP\&. .SS HTML Output .sp -I thought about adding an HTML output option, but there\(aqs no need: if you want -a colorful listing of an Atari BASIC program, install \fBaha\fP(1) from -\fI\%https://github.com/theZiz/aha\fP (or your distro\(aqs package repo) and run -something like: -.INDENT 0.0 -.INDENT 3.5 -.sp -.nf -.ft C -listbas PROGRAM.BAS | aha > program.html -.ft P -.fi -.UNINDENT -.UNINDENT +See \fBabas2html\fP(1). .SH ENVIRONMENT .INDENT 0.0 .TP |