aboutsummaryrefslogtreecommitdiff
path: root/abas2html
diff options
context:
space:
mode:
Diffstat (limited to 'abas2html')
-rwxr-xr-xabas2html8
1 files changed, 6 insertions, 2 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