aboutsummaryrefslogtreecommitdiff
path: root/whichbas.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-03-26 03:06:02 -0400
committerB. Watson <urchlay@slackware.uk>2025-03-26 03:06:02 -0400
commit6ecf69df08f7a4d45a9cf3a0dc11c539bec1167e (patch)
treed3b9846d8f919b567fc6aaa3651f00bc6ed1462e /whichbas.rst
parent67b67eebb77512ffac50e8650cfc9f30913869fd (diff)
downloadbw-atari8-tools-6ecf69df08f7a4d45a9cf3a0dc11c539bec1167e.tar.gz
whichbas: update man page.
Diffstat (limited to 'whichbas.rst')
-rw-r--r--whichbas.rst20
1 files changed, 14 insertions, 6 deletions
diff --git a/whichbas.rst b/whichbas.rst
index 17e992e..10669e7 100644
--- a/whichbas.rst
+++ b/whichbas.rst
@@ -14,9 +14,11 @@ 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.
*input-file*\s must be actual files. **whichbas** can't read from
standard input, because it seeks in the input file.
@@ -98,8 +100,11 @@ 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**.
+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
@@ -194,7 +199,10 @@ With the **-s** option, the exit status is:
OSS BASIC/A+ detected.
**15**
- OSS Integer BASIC detected.
+ OSS Integer BASIC (cartridge version) detected.
+
+**16**
+ OSS Integer BASIC (disk version) detected.
**64**
None of the above; not BASIC.