The Commodore 1530 (C2N) Datasette, later also Datassette (a portmanteau of data and cassette), is Commodore's dedicated magnetic-tape data storage device. Using compact cassettes as the storage medium, it provides inexpensive storage to Commodore's 8-bit computers, including the PET, VIC-20, and Commodore 64. A physically similar model, Commodore 1531, was made for the Commodore 16 and Plus/4 series computers.
Features
Earlier compact cassette-based formats were generally handled by expansion cards in machines like the Apple II or S-100 bus computers. These would convert the digital data to analog form using a variety of techniques, and then send the resulting audio to a standard cassette player using RCA jacks or 3.5mm phone jacks. In contrast, the Datasette sends digital data directly to the connector output. This produces a series of square waves on the cassette. The data is recorded using pulse-width modulation, using three different pulse lengths, short, medium, and long, which are timed by the system. On NTSC systems, the short pulse is about 176 μs, 256 μs for medium, and 336 μs for long. Due to the signals ultimately being derived from the system clock, on PAL systems the pulses are longer at 183, 266, and 349 μs, respectively. Each bit of the original data is written using Manchester code, which ensures there is a transition from 1 to 0 or 0 to 1 for every recorded bit. In the Datasette, data bits are recorded in pairs of signals. "0" is written by a 256 μs pulse and 256 μs pause followed by a 176 μs pulse and 176 μs pause, or medium-medium-short-short. A "1" reverses this, short-short-medium-medium. Both bits thus take up 864 μs. Additionally, a series of long-long-medium-medium transitions is used to mark the start of each byte, and a parity bit is added to the end. In total, a byte of data requires a 1184 sync + eight bits and a parity bit of 864, for a total of 8960 μs. This corresponds to a byte timing of about 111 Hz, or about 888 bits/second. When recorded to tape, the tape's natural hysteresis smooths out these sharp signals. The resulting signal, when listened to on an audio deck, sounds like a series of shifting tones, around 5,700 Hz for short and 3,900 for medium, alternating back and forth rapidly. On playback, the signal is not a sharp digital one, but a smoothed-out representation of the original. To address this, additional circuitry in the Datasette looks for the signal edges and sends a pure digital signal back to the host computer. This compensates for other effects as well, like tape stretch and slight differences in tape speed or computer speed (like NTSC vs. PAL). By timing the transitions from 0 to 1 or vice versa as they arrive, the computer can determine whether it is receiving a short or medium pulse first, and then re-create the original data 1 or 0. Programs are written twice to tape for error correction; if an error is detected when reading the first recording, the computer corrects it with data from the second. Using a digital format like this addresses problems commonly seen on those systems that use normal analog cassette decks for storage. Such decks include amplifier systems to boost or mute down the original signal to a level suitable for recording. These circuits can drift, requiring the user to change the volume setting on their deck to compensate. Different decks have different recording levels, and may require adjustment to be used. Also, depending on the type of connection, the signal may be split between two tracks, making it too quiet to be reliably reconstructed. In the Datasette, the data is directed directly to the tape on a selected channel with no adjustments needed. This sort of all-digital or near-digital recording is a feature of some other home computer cassette-based systems, like the Atari Program Recorder and the HITS system for S-100 computers. Because of its digital format the Datasette is more reliable than purely-analog data cassette systems. However, it is also very slow. Although bits are encoded at around 900 bps, gaps between the bytes, the block recording style and other effects greatly reduce the total throughout to about 50 bytes per second. This is not necessarily inherent to the underlying digital encoding scheme; the similar HITS system generally operated around twice that speed. This leaves the system with considerable potential improvements.
The Datasette connects to the computer via a proprietary edge connector (Commodore 1530) or mini-DIN connector (1531). The absence of recordable audio signals on this interface makes the Datasette and clones the only cassette recorders usable with Commodore computers, until aftermarket converters made the use of ordinary recorders possible. The original Datasette connector uses a 0.156-inch (4.0 mm)–spacing PCB edge connector at the computer end. All input/output signals to the Datasette are digital; digital-to-analog conversion, and vice versa, is handled within the unit. Power is also included in this cable. The pinout is ground, +5 V DC, motor, read, write, key-sense. The sense signal monitors the play, rewind, and fast-forward buttons but cannot differentiate between them. A mechanical interlock prevents any two of them from being pressed at the same time. The motor power is derived from the computer's unregulated 9 V DC supply via a transistor circuit. Datasettes can typically store about 100 kByte per 30 minute side.
… excerpt ends here. Continue reading the full article.





