QS FORTH

Medium
Disk
Year
1981
Publisher
Quality Software (Reseda, California)
Type
Language
Category
fig-FORTH implementation with editor, assembler and Atari I/O
Developer
James Albanese
Language
fig-FORTH / 6502 machine code
Requirements
Atari 800 with at least 24K of RAM and one disk drive; no cartridges
Cream marbled vinyl binder with 'QS FORTH' printed at the top and the Quality Software QS logo at the bottom right

Overview

QS FORTH was the first Atari implementation of fig-FORTH, the public-domain FORTH model published by the FORTH Interest Group. It was sold by Quality Software of Reseda, California (publisher of games such as Jeepers Creepers) for $79.95 on disk, with a padded vinyl manual binder, and the programming is credited to James Albanese. The manual describes it as fig-FORTH "expanded, but not significantly modified", with Atari additions: a screen editor, an I/O module for the printer, graphics and sound, a 6502 assembler, and a set of handy extra words.

Charles Brannon's review in COMPUTE! (June 1982) praised its "extensive and well-written" manual and its editor, while noting that it assumes you already know some FORTH. He recommended Leo Brodie's Starting FORTH as the place to learn. David and Sandy Small, writing in The Creative Atari, remembered QS FORTH and Pink Noise FORTH as the two Atari FORTHs on the market when they were thinking of switching. They found QS FORTH hard to follow, "even with its reasonably good instructions", and more a generic FORTH than an Atari-specific one. What won them over in the end was valFORTH, which had Atari-specific commands, together with Brodie's book.

Getting started

The master disk boots straight into FORTH and announces "QS FORTH 1.0". It is configured for a machine with 24K of user RAM. If you have more, you reconfigure it once:

26 LOAD
MEMSET
25 LOAD
MAKEBOOT

MEMSET resets the system pointers for the RAM you have and cold-starts, and MAKEBOOT writes a new FORTH kernel to the disk. To make a working disk, format a blank one with DOS, run 25 LOAD MAKEBOOT onto it, then load the editor (1 LOAD, LOAD-ED) and copy source screens across with DUPLICATE. The number of screens you can copy at once depends on memory: 20 with 24K, 68 with 48K.

Features

  • The editor is page-oriented: you type into a screen as in a word processor and flip forwards and backwards through screens with single keys. Brannon's one complaint was that QS FORTH screens hold sixteen 32-character lines, half the size of standard fig-FORTH screens. Outside the editor, the direct-mode line cannot be cursor-edited, and clearing the screen raised an error.
  • Utility words include a simple CASE structure, memory DUMP, a non-destructive stack print, 2DUP, and LOCATE, which lists the source screen a word was compiled from.
  • The I/O package covers printer, cassette, screen and keyboard with BASIC-like OPEN, PUT/GET and CLOSE, a printer toggle, and graphics words named after BASIC's GRAPHICS, SETCOLOR, PLOT and DRAWTO. SOUND drives the four voices and XSND silences them all.
  • The assembler supports labels, structured IF/ENDIF and BEGIN/UNTIL, and several statements per line. It lacks the usual 6502 FORTH assembler names (N, IP, W) and offers only one return macro, PUSHOA.
  • Disk I/O follows FORTH tradition: the disk is treated as raw screens, not DOS files. That gives more space and simpler I/O, but FORTH disks can't hold BASIC or binary files. New disks still had to be formatted by DOS II first. COPY and a sector copier duplicate screens or whole disks.

The manual's chapters run from a hands-on tutorial through the I/O, graphics, arithmetic, stack, vocabulary, compiler, disk, assembler and system-organisation words. They end with example programs, a full glossary and the assembler's source listing.

Using it today

The original disk is not known to have been preserved, though the manual has been scanned. If a copy turns up, it should run on an emulated 800 with OS-B, BASIC off and 48K, reconfigured with MEMSET as above. For practical FORTH work on the Atari, later systems such as valFORTH, APX fig-FORTH or ES-FORTH are easier to obtain. QS FORTH's place in history is as the pioneer: it was the first to marry the fig-FORTH model to the Atari's graphics and sound.

Credits