S I N C L A I R   B A S I C

[ Introduction | History | Interpreters | Extended BASIC | License | Manuals | Source | Downloads ]

Sinclair BASIC is copyright ©1980-81 Nine Tiles Networks Ltd.
Sinclair Extended BASIC is copyright ©1982-1987 Amstrad PLC.
Site content copyright ©2002, ©2004 Andrew Owen.


S I N C L A I R   B A S I C   M A N U A L S

The original Basic manual and a new updated version covering SE Basic are being prepared.
They will be available here for download in Adobe PDF format as soon as they are completed.

Sinclair Extended BASIC 0.94B Summary

This version is not intended to work with the 128 Editor.
Some features of previous versions are no longer present.

* Six new commands:


   DELETE n1,n2             Block delete - n1 = first, n2 = last
   EDIT n                   Edit line n
   RENUM                    not finished
   SET n1,n2                Set hardware - n1 = device, n2 = parameter
   SOUND n1,n2[;n3,n4...]   For AY sound - n1 = register, n2 = data
   ON ERR                   not started

* Almost all the bugs are fixed.

* The machine resets much faster.

* 128-style copyright message.

* New 6x8 font for use in 32, 42, 64 and 85 column modes.

* The FREE MEMORY routine is relocated.

* The NMI button calls a default Break routine or you can assign your own routine by poking the address into NMIADD.

* Keywords are now ANSI compatible.

* Simplified the keyboard. All the symbols are now available via symbol-shift and the normal key for that symbol. The copyright character is on the 'I' key which does not normally have a symbol.

* Added a tokenizer and removed 'K', 'E' and 'G' modes. Some keywords must be typed in full but most can be abbreviated. Commands and functions can be entered in upper, lower, or mixed case.



   B.      BORDER      G.      GO SUB       P.      PLOT
   BE.     BEEP        GOT.    GO TO        PA.     PAUSE
   BR.     BRIGHT                           PAP.    PAPER
                       IN.     INPUT        PE.     PEEK
   C.      COPY        INKE.   INKEY$       PO.     POKE
   CH.     CHR$        INV.    INVERSE      POI.    POINT
   CI.     CIRCLE                           PR.     PRINT
   CL.     CLEAR       L.      LET
   CLO.    CLOSE #     LI.     LIST         R.      REM
   CON.    CONTINUE    LL.     LLIST        RA.	    RANDOMIZE
                       LO.     LOAD         REN.    RENUM
   D.      DELETE      LP.     LPRINT       RES.    RESTORE
   DA.     DATA                             RET.    RETURN
   DEF.    DEF FN      M.      MERGE
   DR.     DRAW        MO.     MOVE         S.      SOUND
                                            SA.     SAVE
   E.      EDIT        N.      NEXT         SC.     SCREEN$
   ER.     ERASE                            ST.     STOP
                       O.      ON ERR
   F.      FOR         OP.     OPEN #       TH.     THEN
   FL.     FLASH       OV.     OVER
   FORM.   FORMAT                           V.      VERIFY

* Hid EXTEND mode. Normally has no function but can still be used to get in-line control codes and macros.

* Added macros to certain number keys with EXTEND+SYMBOL SHIFT

* Replaced the letter cursors with block colour cursors.

* Changed the error cursor to behave like the 128. If you enter a line with incorrect syntax, the machine beeps, the cursor goes red and jumps to where it thinks the error is.

* Extended the valid line range to 1-16383.

* Cursors can move up and down as well as left and right in an edit line.

* Since the 'STOP' token is removed from the keyboard, pressing cursor down during an INPUT A or INPUT A$ command will produce the token. It will still Break into the program as normal during an INPUT LINE A$ command.

* Changed the error messages and the way they are output. Whereas before you might have got the error:

  R Tape loading error, 10:1

Now you would get:

  R Loading error, 10:1

* Inverted the cursor so it shows up in 512x192 mode on Timex machines.

* Enhanced some of the commands and functions. The NEW, LIST, LLIST and SCREEN$ commands will be revisited in a future release.

[Mail] [Index]