← Technology, Science & Infrastructure ▣ Distilled locally

A KIM-1 tape conversion program for modern computers #OpenSource

By Anne Barela
November 20, 2026  ·  Adafruit ↗

A KIM-1 tape conversion program for modern computers #OpenSource

Hans Otten has published a Free Pascal port of KIMTAPE 0.5, Ed Smeda’s DOS utility for converting KIM-1 and SYM-1 cassette tape audio into program files and back. The Free Pascal source means it builds on Windows, Linux and macOS, and the command line matches the original with some additions.

The interesting part is a new decoder for KIM-1 and HYPERTAPE tapes. The original counted zero crossings, which fails on old cassettes with distorted waveforms or phase shift. The new one works like the phase locked loop in the KIM-1: a 1700-4200 Hz band-pass filter and an FM discriminator measure the tone frequency whatever the waveform shape. Tone frequencies and bit period are measured from the recording, so a recorder running fast or slow and all four speeds are handled without switches.

Bits are given a confidence value. A bad hex character is repaired by flipping its least certain bits, and repairs are reported with their time in the recording, with the checksum showing whether the result is right. For tapes recorded on a player with a misaligned head, the decoder tries up to three steps of high tone boost and keeps the cleanest result. Several recordings of the same tape can be combined character by character.

See more on GitHub.

Originally published by Adafruit ↗ · rebuilt here from its own full-text RSS feed · all rights remain with the publisher, please read and support them there.