Jump to content

Commodore Datasette

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 84.0.203.9 (talk) at 05:36, 16 September 2010 (→‎Well known fast loader software). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Datassette 1530, new shape
One of the few clones
Original shape
Datassette 1531

The Commodore 1530 (C2N) Datassette (a portmanteau of data and cassette), was Commodore's dedicated computer tape recorder.

It provided access to an inexpensive storage medium for Commodore's 8-bit home/personal computers, notably the PET, VIC-20, and C64. A physically similar model Commodore 1531 was made for the Commodore 16 and Plus/4 series computers.

Description and history

The Datassette contained built-in analog to digital converters and audio filters to convert the computer's digital information into analog sound and vice versa (much like a modem does over a telephone line). Connection to the computer was done via a proprietary edge connector (Commodore 1530) or mini-DIN connector (Commodore 1531). The absence of recordable audio signals on this interface made the Datassette and its few clones the only cassette recorders usable with CBM's machines, until aftermarket converters made the use of ordinary recorders possible.

The inexpensive and widely available audio cassettes made the Datassette a good choice for the budget-aware home computer mass market. In most parts of Europe, the Datassette was the medium of choice for several years after its launch, although floppy disk drives were generally available. In the United States, however, disk drives quickly became standard, despite the Commodore 1541 floppy drive costing roughly 5 times as much as a Datasette.

The Datassette loading process.

The Datassette was very slow (transferring data at around 50 bytes per second) but as cassette storage went, one of the more reliable offerings among 8-bit micro vendors.[citation needed] However, even the 1541 was significantly faster and more reliable. Some years after the Datasette's launch, however, special turbo tape software appeared, providing much faster tape operation (loading and saving). Such software was integrated into most commercial prerecorded applications (mostly games), as well as being available separately for loading and saving the users' homemade programs and data. These programs were only widely used in Europe, as the US market had long since moved onto disks.

Datassettes could typically store about 100 kByte per 30 minute side.[1] The use of turbo tape and other fast loaders increased this number to roughly 1000 kByte.

Interface

The datasette have only one connection cable with an 2,54 mm spaced PCB edge connector at the computer end. All input/output signals to the datasette are all digital and so all digital to analog and vice versa is handled within the unit. Power is also included in this cable. The pinout is ground, +5V, motor, read, write, key-sense. The sense signal monitors the play, rewind, fastforward buttons. Unregulated 6.36 V DC[2] is used to power the cassette motor.[3]

Physical coding

The resulting waveform from storing data
The resulting waveform from storing data

To record physical data, the zero-crossing from positive to negative voltage of the analog signal is measured. The resulting time between these positive to negative crossings is then compared to a threshold to determine whether the time since the last crossing is short (0) or long (1).[4] Note the lower amplitude for the shorter periods.

A circuit in the tape unit transforms the analog signal into a logical one or zero which is then transmitted to the computer via the tape connector. Inside the computer the first Complex Interface Adapter (6526) in the C64 senses when the signal goes from one to zero. This event is called trigger and causes an interrupt request. This event can be handled by a handler code, or simply discovered by testing bit 4 of location $DC0D. The points that trigger this event are indicated by the black circles in the figure.[4]

Inside the tape device the read head signal is fed into an operational amplifier (1) whose output signal is DC-filtered. Op-amp (2) amplifies and feeds an RC-filter. Op-amp (3) amplifies the signal again followed by another DC-filter. Op-amp (4) amplifies the signal into clipping the sine formed signal. The positive and negative rails for all op-amps are wired to +5V DC and GND. The clipped signal therefore fits into the TTL electrical level window of the schmitt trigger step that in turn feeds the digital cassette port.[5]

On the PAL version of the C64, the time granularity is 1.014 µs (for NTSC 0.978 µs). For a 300 bit/s data rate this means 3284 * 1.014 µs per data bit.

Once the bits can be decoded it's fed into a shift register and compared to a special bit sequence continuously. This bit sequence can also be seen as a byte. A bit sequence match means the stream is byte synchronized. The first byte to compare with is called lead-in byte. If matched, it's compared to the sync byte as well.[4]

An example: Turbo Tape 64 has a lead-in byte $02 (binary 00000010), sync byte $09 (binary 00001001) and a following sync sequence of $08, $07, $06, $05, $03, $02, $01.[4]

Main models

Used with the PET, VIC-20, C64/128

There are at least four main models of the 1530/C2N Datassette:

  • The built-in Datassette in the original PET 2001: black cassette lid, five white keys, no tape counter, no SAVE LED
  • Black body original shape model, black cassette lid, five black keys, no tape counter, no SAVE LED
  • White body original shape model, black cassette lid, five black keys, with tape counter, no SAVE LED
  • White body new shape model, silver cassette lid, six black keys, with tape counter and a red SAVE LED

The first two external models were made as PET peripherals, and styled after the PET 2001 built-in tape drive. The latter two were styled and marketed for the VIC-20 and C64. All 1530s were compatible with all those computers, as well as the C128.

In addition to this, some models came with a small hole above the keys, to allow access to the adjustment screw of the tape head azimuth position. A small screwdriver could thus easily be used to affect the adjustment without disassembling the Datassette's chassis.

Confusingly, the Datassette at various times was sold both as the C2N DATASETTE UNIT Model 1530 and as the 1530 DATASSETTE UNIT Model C2N. Note the difference in spelling (one versus two s 'es) used on the original product packaging[citation needed].

Used with the C16/116 and Plus/4

Similar in physical appearance but incompatible in connector format with the 1530/C2N models is the Commodore 1531, made for the Commodore 16 and Plus/4 series computers.

  • Black/Charcoal body new shape model, silver cassette lid, six light gray keys, with tape counter and a red SAVE LED

Through the use of an adaptor, it could be used with a C64/128.

Well known fast loader software

  • Turbo Tape 64
Written in 1983 by Stephan Senz on the commodore 64 home computer. Later the software were also released for the C16, C116 and the Plus/4. In 1987 Andreas Arens wrote an extended version Turbo Plus, which added some commands in Basic, corrected some bugs in the operating system and a scroll command for program code listing.
  • V4 Turbo Tape
  • Turbo Tape 61K
  • Flashload
  • SuperTape D2
  • MultiTape I
  • Hypratape 64
  • ABC-Turbo V2.0
  • The Final Cartridge II and The Final Cartridge III has a fast loader function.

Possible limits of the media

Using the same helical scan technique that VHS video tapes use with an areal bit density of 17.8 Gbit/m²[6] and the area of an C-60 tape would result in 11.6 Gbit of storage (1387 MByte) and 395 kByte/s transfers. Using a dynamic of 78 dB, maximum frequency of 20 kHz and tape length of 60 minutes. The capacity becomes 55.6 MByte and transfer speed of 15.8 kByte/s.

See also

References

  1. ^ "Basic Commodore information".
  2. ^ "250469 rev.A right". 100610 zimmers.net
  3. ^ "250469 rev.A left". 100610 zimmers.net
  4. ^ a b c d "How Commodore tapes work". 091205 wav-prg.sourceforge.net
  5. ^ Datasette service manual model C2N/1530/1531, preliminary, Oct. 1984 PN-314002-02
  6. ^ "Novel Magnetoelectronic Materials and Devices, 2003" (PDF). 100615 web.phys.tue.nl