Atari Logo

Medium
Cartridge
Year
1983
Publisher
Atari, Inc. (also Atari Elektronik and Atari France)
Type
Language
Category
Logo interpreter with turtle graphics (16K cartridge)
Developer
Logo Computer Systems, Inc. (Brian Silverman)
Language
6502 machine language
Requirements
Any Atari 400/800/XL/XE; Atari Logo cartridge (RX8032); disk drive or cassette optional for saving procedures
Atari Logo box for all Atari home computers, showing a child at a monitor surrounded by turtle-graphics drawings; it contains two books, Introduction to Programming Through Turtle Graphics and the Reference Manual

Overview

Atari Logo brought Seymour Papert's educational language to the Atari 8-bit, and many people think it is the best of the early home-computer Logos. Logo Computer Systems, Inc. (LCSI) of Montreal wrote it for Atari. It fits a full Logo, including list processing, recursion and procedures, into a 16K cartridge, where LCSI's own Apple Logo needed 48K. Unlike most early Logos it also makes good use of the hardware it runs on. Its turtles are hardware-driven sprites that move on their own and can detect collisions, and its sound primitives play notes in the background while your program keeps running.

Features

The Atari Logo Quick Reference Guide groups the primitives into twelve families. The ones that stand out on the Atari are:

  • Four turtles. Turtles are numbered 0 to 3. TELL chooses which turtles receive the following commands, ASK gives a list of instructions to particular turtles, EACH has every active turtle run a list in turn, and WHO reports the current one. Each turtle has its own colour (SETC) and speed: SETSP takes a value from -199 to 199, and the turtle then keeps moving by itself.
  • Custom shapes. Shapes 0–15 can be redrawn in a built-in shape editor (EDSH). Shapes can also be read and written as lists of 16 numbers with GETSH and PUTSH. SETSH gives a turtle its shape.
  • Event "demons". WHEN condnumber [list] sets up a demon that runs the list whenever condition number 0–21 occurs, so a collision, for example, can trigger a response without your program having to keep checking for it. WHEN condnumber [] cancels it. OVER and TOUCHING report collisions between turtles and pens or between two turtles, and COND tests a condition directly.
  • Pens and screen. There are three pens, each with a colour chosen from the Atari's 128. The pen can draw, erase (PE) or reverse (PX). WRAP and WINDOW set what happens at the screen edge, and SS, FS and TS (CTRL-S, CTRL-F and CTRL-T) switch between split, full graphics and full text screens.
  • Sound. TOOT voice frequency volume duration plays a note on one of two voices for a set number of sixtieths of a second. In Antic (November 1983) Ken Harms explained that LCSI combined the POKEY's four channels into two, which gives finer frequency control. SETENV adds a decay envelope, so a single command makes a tone sound more like a piano.
  • Controllers and machine access. Primitives cover the joysticks (JOY, JOYB), paddles, KEYP, and low-level .DEPOSIT, .EXAMINE and .CALL for poking memory and calling machine code.

It is a real Logo underneath, with words and lists, local and global variables (MAKE), IF, REPEAT, RUN, recursion and OUTPUT. In Antic's October 1984 issue, Erric Solomon and Charles Jackson used it to solve probability puzzles with recursive procedures, with no turtle in sight.

The first part defines a recursive spiral. The last two lines show all four turtles and set them moving at once.

Behind the scenes

Ian Chadwick's "Logo's Lineage" (Antic, March 1984) tells the company story. Guy Montpetit, Seymour Papert and others from MIT founded LCSI, and its first product was Apple Logo. By mid-1983 LCSI had about fifteen contracts, including one for the Atari 400/800/1200XL. Chadwick credits Brian Silverman as the technical lead and says Atari Logo was the first product of Silverman's new, more compact implementation.

Atari shipped it in August 1983 as the Atari Logo kit (KX7097). The kit contained the RX8032 cartridge, a quick reference guide, a Reference Manual and the tutorial Introduction to Programming Through Turtle Graphics. European versions came from Atari Elektronik and Atari France. Antic ran a regular "Logo/PILOT" column from 1983 to 1985 with sound, graphics and puzzle projects.

Using it today

Attach the Atari Logo cartridge image in any emulator and boot. If you have a disk drive, put a DOS disk in drive 1 first, as the guide's start-up steps describe, so that you can save and load workspaces on disk. At the ? prompt you can type commands directly or define procedures with TO … END or in the full-screen editor (ESC finishes editing and returns to the top level). SYSTEM RESET restarts Logo and clears memory, so save your work first. Logo programs from Antic's columns usually came as .LGO files on the magazine disk.

Credits