Coleco ADAM SmartBASIC tokenized file

The Coleco ADAM was a home computer system of the mid-1980s. It was released when its manufacturer, Coleco (whose name stands for Connecticut Leather Company) had recently made a lot of money selling Cabbage Patch Kids dolls, which were a big craze for a while in the early '80s. Now they were looking to dominate the video game and home computer fields, with the Colecovision game console and a computer that was based on it. The ADAM could be purchased as a standalone computer, or as an expansion unit for an existing Colecovision console to turn it into a computer.

While it acquired a number of fans (some of whom kept supporting the Adam long after its demise; in fact, there are still ADAM conventions even now), its mass market never took off, in part due to some reliability issues in early machines. By 1985, the computer was discontinued and its manufacturer was heading for bankruptcy.

Some quirky aspects of the ADAM included the fact that its printer was an integral part of the computer, required for its operation (the power supply for the computer was contained in the printer), and the storage medium was a slightly-modified cassette which was treated similarly to a disk (using Coleco's EOS file system). (Disk drives were also available, using either the EOS file system or the CP/M file system.)

Reportedly, every time you saved a Coleco BASIC program, the size of each line containing a REM or DATA statement grew by one byte as an extra space was added after the keyword. To keep the program from growing uncontrollably and eventually exceeding memory space, the programmer had to keep manually deleting the extra spaces.

The Adam's BASIC was claimed to be compatible with Applesoft BASIC, which was a bit of an exaggeration; it was an imitation of Applesoft in many ways, but was not 100% compatible with it, especially programs using system-level PEEKs, POKEs, and CALLS (which are commonplace in both Applesoft and Adam BASIC), which were entirely different due to the different system architecture of the Adam vs. the Apple. The token storage also appears to be different.

Tokens
These token values were listed in a user group newsletter from 1986. It is not entirely clear exactly how these were used in the storage of a program.

Links and references

 * Adam manuals
 * Adam technical manual
 * Adam user group newsletters
 * The Cult of Coleco Adam