diff options
author | B. Watson <urchlay@slackware.uk> | 2025-03-24 15:31:38 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-03-24 15:31:38 -0400 |
commit | e1e42bb3c5db65e433e1800579d85b526a28118e (patch) | |
tree | cbed9d3406711eb1ca35c31a108b36c88c9eaf51 /whichbas.rst | |
parent | 9e70bd4086c2695722844cfaf7f0cccc09fb0c98 (diff) | |
download | bw-atari8-tools-e1e42bb3c5db65e433e1800579d85b526a28118e.tar.gz |
whichbas: add detection for OSS Integer BASIC.
Diffstat (limited to 'whichbas.rst')
-rw-r--r-- | whichbas.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/whichbas.rst b/whichbas.rst index 8a7e15e..17e992e 100644 --- a/whichbas.rst +++ b/whichbas.rst @@ -95,6 +95,12 @@ 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**. + 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 +193,9 @@ With the **-s** option, the exit status is: **14** OSS BASIC/A+ detected. +**15** + OSS Integer BASIC detected. + **64** None of the above; not BASIC. |