Diskey

Year
1982
Publisher
Adventure International (Ultra Utility Series)
Type
Utility
Category
Disk sector editor and repair utility
Developer
Sparky Starks
Language
Atari BASIC with machine-language routines
Requirements
Atari 400/800/1200XL with 32K (some features need 40K), Atari disk drive (up to four); printer optional
Diskey manual cover: the word DISKEY drawn as a key above an illustration of a disk drive shaped like an open treasure chest, 'by Sparky Starks'

Overview

Diskey, short for Diskette Access And Repair Key, is a disk utility by Sparky Starks, published in 1982 by Adventure International in its "Ultra Utility Series" binder. The price was $49.95. It gives full access to an Atari disk below the level of DOS: you can read and change any sector, rebuild directories and file links, and rescue data from damaged disks.

Reviewers loved it. Antic's Dave Mentley counted 57 tools and wrote that "there really is nothing you could add to Diskey to improve it". In The Creative Atari it was described as packing "the most features I have yet seen in a disk utility", with "sparkling, well-written documentation by the software author himself", a manual whose tutorial value alone made the package worthwhile. The 61-page booklet is required reading: without it, Mentley warned, "you won't be able to do anything at all with this program."

What it does

The tools fall into eight groups: Read, Zap (modify and write), Informational, Search, Error Discovery, Copy, Repair and Support. Among them:

  • a sector display in hexadecimal and ASCII side by side, with sector-by-sector editing;
  • a disk map with detailed diagnostics, showing empty, bad, discontinuous and end-of-file sectors;
  • a search for a string of up to 20 bytes anywhere on the disk;
  • finding which part of a binary load file loads into a given memory address;
  • rebuilding the VTOC (the volume table of contents, DOS's map of free sectors), patching directory entries, tracing a file's sector chain, and copying a file with a dead directory entry using only its file number;
  • erasing a disk without reformatting, and creating disk files from cassette boot files;
  • a drive RPM check, verify on/off, and comparing and copying disks;
  • flagging "dead" sectors. The Creative Atari noted this was a first, while pointing out that Starks stopped short of explaining how to write bad sectors. His manual foreword equates software pirates with common thieves.

You can press X to abort most operations and P to dump the screen to the printer at any time.

Behind the scenes

Diskey is written mainly in BASIC, with machine-language routines for speed. Mentley thought it gave Diskey "an edge over other utilities". The repair functions suit the practical problems of the floppy era: weak sectors on old disks can be read repeatedly until a good copy is made, and a directory scrambled by many saves and deletions can be patched enough to rescue the good files.

Using it today

Diskey works on DOS 2-format single-density disks, the standard of 1982. Run it on an emulated 400/800 or XL with BASIC enabled, and always work on a copy of a disk image, never the only copy. For enhanced-density, double-density or SpartaDOS disks, later sector editors are a better choice, but Diskey's manual is still one of the clearest introductions to how Atari DOS 2 organises a disk.

Credits