aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-03-26 03:21:30 -0400
committerB. Watson <urchlay@slackware.uk>2025-03-26 03:21:30 -0400
commit5c791b4155162f74413b9e49464d24f830c68c6c (patch)
tree561e74ca7319103eb6e699e0d41e3802d6a0cb0b
parentb96776596e9763e7fb4be1abb0c3ca4717334fb1 (diff)
downloadbw-atari8-tools-5c791b4155162f74413b9e49464d24f830c68c6c.tar.gz
abas2html: update for separate integer disk/cart versions.
-rwxr-xr-xabas2html8
-rw-r--r--abas2html.16
-rw-r--r--abas2html.rst4
3 files changed, 15 insertions, 3 deletions
diff --git a/abas2html b/abas2html
index e2f82ee..9e30874 100755
--- a/abas2html
+++ b/abas2html
@@ -29,6 +29,8 @@ Usage: $SELF -a<aha-options> -b<basver> -m input.bas <output.html>
-bt Turbo BASIC XL
-bxl OSS BASIC XL
-bxe OSS BASIC XE
+ -bic OSS Integer BASIC (cartridge version)
+ -bid OSS Integer BASIC (disk version)
-m monochrome: disable color syntax highlighting.
if output filename is missing, it defaults to the input filename, with
the extension changed to .html (e.g. FOO.BAS => FOO.html).
@@ -78,13 +80,15 @@ if [ "$BASVER" = "" ]; then
6|12) BASVER="xe" ;;
11) BASVER="m" ;;
14) BASVER="a+" ;;
+ 15) BASVER="ic" ;;
+ 16) BASVER="id" ;;
*) die "can't detect BASIC dialect; use -b<xx> option" ;;
esac
fi
case "$BASVER" in
- m) LISTER=listamsb ; BASVER="" ;;
- a|t|xl|xe|a+) LISTER=listbas ; BASVER="-b$BASVER" ;;
+ m) LISTER=listamsb ; BASVER="" ;;
+ a|t|xl|xe|a+|id|ic) LISTER=listbas ; BASVER="-b$BASVER" ;;
*) die "$BASVER not a valid BASIC dialect" ;;
esac
diff --git a/abas2html.1 b/abas2html.1
index 65deaaf..004bdf7 100644
--- a/abas2html.1
+++ b/abas2html.1
@@ -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 "ABAS2HTML" 1 "2025-03-18" "0.2.2" "Urchlay's Atari 8-bit Tools"
+.TH "ABAS2HTML" 1 "2025-03-26" "0.2.2" "Urchlay's Atari 8-bit Tools"
.SH NAME
abas2html \- Create HTML from tokenized Atari BASIC
.SH SYNOPSIS
@@ -86,6 +86,10 @@ Set BASIC dialect. Default is autodetection. Valid dialects:
\fB\-bxl\fP OSS BASIC XL
.sp
\fB\-bxe\fP OSS BASIC XE
+.sp
+\fB\-bic\fP OSS Integer BASIC (cartridge version)
+.sp
+\fB\-bid\fP OSS Integer BASIC (disk version)
.TP
.B \-m
Monochrome: disable color syntax highlighting.
diff --git a/abas2html.rst b/abas2html.rst
index 7085756..e0c4c6d 100644
--- a/abas2html.rst
+++ b/abas2html.rst
@@ -59,6 +59,10 @@ OPTIONS
**-bxe** OSS BASIC XE
+ **-bic** OSS Integer BASIC (cartridge version)
+
+ **-bid** OSS Integer BASIC (disk version)
+
-m Monochrome: disable color syntax highlighting.
ENVIRONMENT