BASIC Programming explained

BASIC Programming
Developer:Atari, Inc.
Publisher:Atari, Inc.
Designer:Warren Robinett[1]
Released:1979
Platforms:Atari 2600

BASIC Programming is an Atari Video Computer System (later called the Atari 2600) cartridge that teaches simple computer programming using a dialect of BASIC. Written by Warren Robinett and released by Atari, Inc. in 1979, this BASIC interpreter is one of a few non-game cartridges for the console. The Atari VCS's RAM size of 128 bytes restricts the possibilities for writing programs.

Details

The BASIC Programming display is divided into six regions:

Input is given through two Atari keypad controllers, which came with special overlays to show how to type the different commands and letters.[2] Programs are restricted to 64 characters in size and normally 9 lines of code, limiting the programs that can be written (users can disable all windows except Program and keep selecting "New Line" until 11 lines of code are present).

Language features

VCS BASIC supports the following keywords:[3]

Unlike most BASIC implementations of the time:

Special variable names:

The language supports 26 unsigned integer variables A to Z. VCS BASIC supports integers from 0 to 99. Math operations wrap, so 99+1 becomes 0, 99+2 becomes 1, etc.

Sample code

The following example of a Pong game is provided.

See also

Notes and References

  1. https://dadgum.com/halcyon/BOOK/ROBINETT.HTM Interview:Warren Robinett
  2. https://atariage.com/controller_page.html?ControllerID=4&SystemID=2600 Controllers - Atari Keypad
  3. Book: BASIC Programming: Atari Game Program Instructions. 1979. Atari, Inc.. Sunnyvale, CA.