aboutsummaryrefslogtreecommitdiff
path: root/bas2aplus.rst
diff options
context:
space:
mode:
Diffstat (limited to 'bas2aplus.rst')
-rw-r--r--bas2aplus.rst29
1 files changed, 21 insertions, 8 deletions
diff --git a/bas2aplus.rst b/bas2aplus.rst
index 0eb44d6..18e70e7 100644
--- a/bas2aplus.rst
+++ b/bas2aplus.rst
@@ -2,9 +2,9 @@
bas2aplus
=========
-------------------------------------------------------------
-Convert Atari BASIC (and some BASIC XL) programs to BASIC/A+
-------------------------------------------------------------
+---------------------------------------------------------------
+Convert Atari BASIC (and some BASIC XL/XE) programs to BASIC/A+
+---------------------------------------------------------------
.. include:: manhdr.rst
@@ -16,11 +16,11 @@ bas2aplus *input-file* *output-file*
DESCRIPTION
===========
-**bas2aplus** reads an Atari BASIC or BASIC XL tokenized (SAVEd) program
+**bas2aplus** reads an Atari BASIC or BASIC XL/XE tokenized (SAVEd) program
and converts it to BASIC/A+.
All Atari BASIC programs can be successfully converted. Some BASIC
-XL operators have no equivalent in BASIC/A+, so programs using these
+XL/XE tokens have no equivalent in BASIC/A+, so programs using these
can't be converted (you will see messages on standard error, in that
case).
@@ -57,8 +57,8 @@ same developers. The token lists were rearranged so that it's
token-compatible with Atari BASIC, and includes all the extra
commands/functions/etc from BASIC/A+... with different token numbers.
-BASIC XL has keywords and operators that don't exist in BASIC/A+. These
-are:
+BASIC XL has keywords and operators that don't exist in BASIC/A+,
+which can't be translated by **bas2aplus**. These are:
**NUM**
Rarely found in a program (usually only used in direct mode).
@@ -91,9 +91,22 @@ doesn't support these, so they get converted to the equivalent decimal
constant. This is basically a cosmetic change; **A=$0600** assigns the
same value as **A=1536**.
+BASIC XE
+========
+
+BASIC XE is the last in the series of OSS BASIC interpreters. It adds
+a few keywords to BASIC XL, which also don't exist in A+. These are:
+
+**EXTEND**
+ This command is direct-mode only, so it will never appear in a SAVEd
+ program anyway.
+
+**HITCLR**, **INVERSE**, **NORMAL**, **BLOAD**, **BSAVE**
+ Not supported in either A+ or XL.
+
EXIT STATUS
===========
-0 for success, non-zero for failuse.
+0 for success, non-zero for failure.
.. include:: manftr.rst