Source Listing of LJK's Letter Perfect 6.0 Word Processor Surfaces

Letter Perfect floppy disk in a white sleeve with the gold LJK Inc. logo

On 27 July 2024 the AtariAge member tep392 started a thread in the Atari 8-bit programming forum about a document first posted in the software preservation thread: the source code of LJK's Letter Perfect, version 6.0. Letter Perfect, programmed by Ken Leonhardi at LJK, is often described as the first word processor released for Atari computers. It went through six versions on disk and cartridge and was still used by some owners well into the late 1980s.

What was released

The document is a scan of a printed assembler listing: dot-matrix output on fan-fold paper, complete with pencil notes. It is offered as a searchable "PDF with text". It is especially interesting because it includes the code for the two 80-column editions of Letter Perfect, which supported the Bit-3 and Austin Franklin 80-column cards for the Atari 800. Those cards were never common, and the software that drove them is rarely documented.

The ACE-80 connection

Soon after, Claus Buchholz joined the thread. In 1985 he wrote ACE-80, a right-slot cartridge for the Atari 800 that generates an 80-column display in software. He posted his old BASIC program, LPPATCH.BAS from the ACE-80 utilities disk, which patches four sectors of a Letter Perfect 6.0 boot disk so that it uses ACE-80 instead of a hardware card. He then produced a fresh, commented disassembly of those patches. It shows that the patches overwrite Letter Perfect's Bit-3 display routines with calls into ACE-80's own entry points (initialise screen, print character, clear line, scroll). They also turn the cursor on and off through a display list interrupt (NMIEN), keep a key-debounce timer running in the vertical blank, and protect ACE-80's warm-start. With the source listing available, anyone can now compare the patched code with LJK's original routines line by line.

Making it searchable

The automatic OCR text was close to useless, as OCR usually is on dot-matrix printouts. Forum member ivop tried ocrad, gocr and Tesseract and explained why each struggles: broken dot patterns, S/5 and 1/l confusion, pencil marks and the tractor-feed holes. He then produced a much better text version using gocr's shape-database approach and posted the output with a step-by-step method so others can reproduce or improve it. It still needs proofreading (EQu for EQU, swapped Y/V), but it is a usable starting point for a typed-in, buildable source.

Why it matters

Commercial Atari productivity software from the early 1980s rarely survives as source code. This listing documents how one of the platform's first word processors worked, including its own disk routines that avoided loading DOS, as well as its 80-column drivers. It also gives 80-column projects such as ACE-80 a reference to build on.

Where to find it

Search the AtariAge Atari 8-bit programming forum for "LJK Letter Perfect Ver 6.0 Source Code". The thread links the PDF and has ivop's OCR text and method, plus Claus Buchholz's ACE-80 patch program and disassembly.

Credits