diff options
Diffstat (limited to 'whichbas.rst')
-rw-r--r-- | whichbas.rst | 20 |
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. |