Replying to @⁨ripcord@lemmy.world⁩

ZX Spectrum tape file format had a ‘checksum’ at the end of each block, which was just an XOR of all the bytes in the block, basically parity. Lead to a whole pile of R Tape loading error messages when your tapes were going a bit dodgy. CPU probably wasn’t fast enough to read the tape and do error correction at the same time.

Describing the data rate as ‘low’ kind of understates it. Averages 170 bytes per second. A ZX Spectrum 128K game that took up the entire memory could take nearly 13 minutes to load.

…wiki.zxnet.co.uk/…/Spectrum_tape_interface#Block…

Replying to @⁨ripcord@lemmy.world⁩

The most common tape formats did use a parity bit, and the data was doubled, so that it could attempt to correct it if an error occurred.

The signal was coded as pulse-width modulation, so the amplitude didn’t matter much as long as the zero crossings were timed within an acceptable threshold. I don’t know the exact width of these pulses, but it worked fine when copying a tape at double speed or more.

Replying to @⁨Noel_Skum@sh.itjust.works⁩

My friend had a VIC-20 but without the tape drive (which was optional). We would have to type a game (written in BASIC) into the computer before we could play it. My friend would try and leave the machine on as long as possible so we didn’t have to keep retyping it, but his mom always turned it off at night. For whatever it’s worth, that kind of shit really teaches you accuracy.

Replying to @⁨ripcord@lemmy.world⁩

Computer code was translated into audio. That audio was then broadcast over regular radio used for music and news. If you had a cassette recorder and a blank cassette, you could simply record the sound coming out of the speakers of a radio. You then put this recorded cassette into a cassette tape player connected by a wire to your computer so the computer would hear the cassette play. You run a special command on the computer so it starts listening, you press play on the tape and the computer will translate the recorded audio back to computer code. You could then run that program.

Replying to @⁨partial_accumen@lemmy.world⁩

If you’re familiar with the 56k modem connection song, that’s a similar principle. The telephone line is analog but digital content can be encoded in analog using a DAC, at which point it’s can be interpreted as an audio signal and played through a speaker.

The sound itself was just data (training patterns, not the actual data of interest, that gets transmitted after the “song”) being encoded at a faster and faster rate, and it would select the fastest speed it could transmit data at reliably along the line. The “song” would progress further the higher the speed it could communicate reliably with the other side, or it might go back and repeat a section because it could negotiate phase (and other parameters) as well as bitrate, which might improve the line reliability, but it still needed to see that test pattern come through cleanly before it would accept a rate.