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
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.
TELLchooses which turtles receive the following commands,ASKgives a list of instructions to particular turtles,EACHhas every active turtle run a list in turn, andWHOreports the current one. Each turtle has its own colour (SETC) and speed:SETSPtakes 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 withGETSHandPUTSH.SETSHgives 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.OVERandTOUCHINGreport collisions between turtles and pens or between two turtles, andCONDtests 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).WRAPandWINDOWset what happens at the screen edge, andSS,FSandTS(CTRL-S, CTRL-F and CTRL-T) switch between split, full graphics and full text screens. - Sound.
TOOT voice frequency volume durationplays 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.SETENVadds 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,.EXAMINEand.CALLfor 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.
TO SPIRAL :SIZE
IF :SIZE > 100 [STOP]
FD :SIZE RT 91
SPIRAL :SIZE + 2
END
TELL [0 1 2 3] ST
SETSP 30
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
- Picture: Atari Logo packaging, holding the two manuals that came with the cartridge. — Box scan from AtariMania (Atari Logo) (© Atari, Inc. — used for identification/commentary)
- Antic Vol. 2 No. 12 (March 1984) — Logo's Lineage: The Canadian connection, Ian Chadwick — AtariMagazines.com (Kevin Savetz), 1984
- Antic Vol. 2 No. 8 (November 1983) — Sweet Toots, Ken Harms — AtariMagazines.com (Kevin Savetz), 1983
- Antic Vol. 3 No. 6 (October 1984) — Solving Puzzles With Logo, Erric Solomon with Charles Jackson — AtariMagazines.com (Kevin Savetz), 1984
- Antic index — Logo/Pilot column — AtariMagazines.com (Kevin Savetz)
- AtariMania — Atari Logo — AtariMania
- comp.sys.atari.8bit FAQ (Michael Current) — Atari Logo kit KX7097 contents — Michael Current (comp.sys.atari.8bit FAQ)
