aboutsummaryrefslogtreecommitdiff
path: root/whichbas.rst
diff options
context:
space:
mode:
Diffstat (limited to 'whichbas.rst')
-rw-r--r--whichbas.rst25
1 files changed, 22 insertions, 3 deletions
diff --git a/whichbas.rst b/whichbas.rst
index 8a7e15e..f886c76 100644
--- a/whichbas.rst
+++ b/whichbas.rst
@@ -14,9 +14,13 @@ whichbas [-v] *input-file* [*input-file* ...]
DESCRIPTION
===========
-**whichbas** reads tokenized Atari 8-bit BASIC, Turbo BASIC,
-BASIC XL, BASIC XE, BASIC/A+, or Atari Microsoft BASIC programs and attempts to
-discover which BASIC is required to run each one.
+
+**whichbas** reads tokenized Atari 8-bit BASIC, Turbo BASIC, BASIC
+XL, BASIC XE, BASIC/A+, OSS Integer BASIC, or Atari Microsoft BASIC
+programs and attempts to discover which BASIC is required to run each
+one.
+
+Note: OSS Integer BASIC is *not* to be confused with Apple II Integer BASIC!
*input-file*\s must be actual files. **whichbas** can't read from
standard input, because it seeks in the input file.
@@ -95,6 +99,15 @@ but in A+ it's token **$1D**. Detection should be 100% reliable, but
since there aren't many BASIC/A+ programs in the wild, it hasn't been
thoroughly tested.
+OSS Integer BASIC is a product that was developed by OSS, but never
+released until recently. It's similar to BASIC XL and XE, but uses
+16-bit integers for all numeric operations, rather than 6-byte BCD
+floating point. Integer BASIC's SAVEd programs are recognized by the
+first two bytes, which are always **$77** **$00**. There are two known
+versions of Integer BASIC (disk and cartridge), which use different
+command tokens; **whichbas** detects which version by looking at the
+token SAVE or CSAVE command at the end of the file.
+
Various non-BASIC files are detected (including Mac/65 source,
ELF binaries, etc) as a convenience, but I wouldn't rely on
**whichbas**\'s non-BASIC file type detection if I were you.
@@ -187,6 +200,12 @@ With the **-s** option, the exit status is:
**14**
OSS BASIC/A+ detected.
+**15**
+ OSS Integer BASIC (cartridge version) detected.
+
+**16**
+ OSS Integer BASIC (disk version) detected.
+
**64**
None of the above; not BASIC.