From 5c791b4155162f74413b9e49464d24f830c68c6c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 26 Mar 2025 03:21:30 -0400 Subject: abas2html: update for separate integer disk/cart versions. --- abas2html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'abas2html') diff --git a/abas2html b/abas2html index e2f82ee..9e30874 100755 --- a/abas2html +++ b/abas2html @@ -29,6 +29,8 @@ Usage: $SELF -a -b -m input.bas -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 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 -- cgit v1.2.3