Romanian Cobra clone

Romania’s 1980s Illicit DIY Computer Movement

In Western countries in the early 1980s, there was plenty of choice if you wanted an affordable computer: Apple, Atari, TRS-80, Commodore and Sinclair to name a few. But in communist-ruled Romania, mainly you’d find clones of the British Sinclair ZX Spectrum, an 8-bit computer built around the Zilog Z80A, using a CRT TV as display and a BASIC interpreter as UI. The Cobra was one such Romanian Sinclair clone. However, most people couldn’t afford even that, which lead to hackers building their own versions of the Cobra.

Making these clones was highly illegal. But that didn’t stop students at the Politehnica University of Bucharest. They made them for themselves, family and friends, and even sold them at well under market price. To keep people from building radio transmitters, the Communist government kept electronics prices high. So instead, parts smuggled from factories could be paid for with a pack of cigarettes.

Look inside an old Apple II and you’ll see a sea of chips accomplishing what can be done with only a few today. The Cobra clones looked much the same, but with even more chips. Using whatever they could get their hands on, the students would make 30 chips do the job of an elusive $10 chip. No two computers were necessarily alike. Even the keyboards were hacked together, sometimes using keys designed for mainframe computers but with faults from the molding process. These were cleaned up and new letters put on. The results are awesome hacks which fit right in here on Hackaday.

Sadly though, it often takes harsh necessity to make a culture where these inspiring hacks thrive in the mainstream. Another such country which we’ve reported on this happening in is Cuba, which found the necessity first when the U.S. left Cuba in the 60s and again when the Soviet Union collapsed in the 90s, reducing the availability of many factory produced items needed for daily life, and creating a DIY society.

ESP8266 As A Tape Drive

1976 was the year the Apple I was released, one of several computers based on the MOS 6502 chip. MOS itself released the KIM-1 (Keyboard Input Monitor) initially to demonstrate the power of the chip. The single board computer had two connectors on it, one of which could be used for a tape recorder for long-term storage. When [Willem Aandewiel] went to the Apple Museum Nederland in 2016, he saw one and felt nostalgic for his youth. He was able to get a replica, the microKIM, and build it but he wanted to use new technology to interface with this old technology, so he decided to use an ESP8266 as a solid state tape recorder.

One of the reasons the KIM-1 was so popular when it was released was that there was lots of documentation available. [Willem] used this documentation to figure out how the KIM-1 saves data to the recording device. An ATTiny85 is used to decode the pulse stream that the KIM-1 sends when saving because the timing was too tight to both “listen” and decode the bits as well as convert and store them. For loading programs, the data can be sent digitally as 1’s and 0’s to the KIM-1. This means that the ATTiny is only used for decoding and doesn’t have to re-encode the data.  Because of this, saving is slow, but loading is very quick.

To complete the project, [Willem] added four buttons, one each for rewind, record, play and fast-forward, and a screen so you can see which program is currently selected and can go from one program to another. As a nice throwback touch, record and play have to be pressed at the same time when saving. For more 6502 projects, check out this 6502 based DIY computer, or this 6502 built from discrete parts.

Continue reading “ESP8266 As A Tape Drive”

Magnetic Tape Storage May Not Be Retro

Magnetic storage is quickly becoming an antiquated technology but IBM may have given it a few more years. Currently, magnetic storage is still manufactured as hard disk drives (HDDs) but you won’t find a tape drive in a modern consumer computer. That’s not likely to change but IBM is pushing the envelope to make a tape drive that will be smaller and more economical than other massive storage options. In many ways, they’re the antithesis of solid state drives (SSDs) because tape drives are slow to retrieve data but capable of holding a lot inexpensively.

Three advances are responsible for this surge in capacity. Firstly, the tape “grains,” where each bit is recorded, have been shrunk by sputtering metal to a film instead of painting it on. Secondly, better servo control allows the reading mechanisms to read those tiny grains with the necessary accuracy. Lastly, stronger computation is used to read the data by using error detection and correction because when your tape is traveling four meters per second, it takes a long time to go back and double-check something.

IBM’s tape drive won’t replace your hard drive but it could back it up daily, many times over.

Check this out if your wetware needs a memory boost or this if your breakfast needs a memory boost.

Xerox Alto CRTs Needed A Tiny Lightbulb To Function

In the real world, components don’t work like we imagine they do. Wires have resistance, resistors have inductance, and capacitors have resistance. However, some designers like to take advantage of those imperfections, something our old friend [Ken Shirriff] noted when he was restoring the CRT of a Xerox Alto.

[Ken] tried to connect a Xerox monitor to the Alto and — since it was almost as old as the Alto — he wasn’t surprised that it didn’t work. What did surprise him, though, is that when he turned the monitor off, a perfect picture appeared for just a split second as the unit powered off. What could that mean?

Keep in mind this is a CRT device. So a perfect picture means you have vertical and horizontal sweep all at the right frequency. It also means you have high voltage and drive on the electron guns. If you are too young to remember all that, [Ken] covers the details in his post.

He found that the CRT grid voltage wasn’t present during operation. The voltage derived from the high voltage supply but, mysteriously, the high voltage was fine. There was a small lightbulb in the grid voltage circuit. A 28V device about like a flashlight bulb. It measured open and that turned out to be due to a broken lead. Repairing the broken lead to the bulb put the monitor back in operation.

On paper, a light bulb lights up when you put current through it. In real life, it is a bit more complicated. An incandescent filament starts off as almost a dead short and draws a lot of current for a very brief time. As the current flows, the filament gets hot and the resistance goes up. That reduces the current draw. This effect — known as inrush current — is the scourge of designers trying to turn on light bulbs with transistors or other electronic switches.

However, the unknown Xerox power supply designer used that effect as a current limiter. The short 600V pulses would hardly notice the light bulb but if too much current or time elapsed, the resistance of the bulb would rise preventing too much current from flowing for too long. With the bulb open, the negative brightness grid provided an impassible barrier to the electrons. Apparently, the brightness grid lost power a bit earlier than the rest of the circuit and with it out of the way — or perhaps, partially out of the way — the picture was fine until the rest of the circuit also lost power.

We looked at [Ken’s] efforts on this machine earlier this year. Light bulbs, by the way, aren’t the only thing that changes resistance in response to some stimulus. You might enjoy the 1972 commercial from Xerox touting the Alto’s ability to do advanced tasks like e-mail and printing.

Continue reading “Xerox Alto CRTs Needed A Tiny Lightbulb To Function”

Encrypt Data On The Fly On A Pi With Cryptopuck

There was a time that encryption was almost a dirty word; a concept that really only applied to people with something to hide. If you said you wanted to encrypt your hard drive, it may as well have been an admission to a crime. But now more than ever it’s clear that encryption, whether it’s on our personal devices or on the web, is a basic necessity in a digital society. The age of Big Data is upon us, and unless you’re particularly fond of being a row in a database, you need to do everything you can to limit the amount of plaintext data you have.

Of course, it’s sometimes easier said than done. Not everyone has the time or desire to learn how the different cryptographic packages work, others may be working on systems that simply don’t have the capability. What do you do when you want to encrypt some files, but the traditional methods are out of reach?

Enter the latest project from [Dimitris Platis]: Cryptopuck. By combining the ever-versatile Raspberry Pi Zero, some clever Python programs, and a few odds and ends in a 3D printed case, he has created a completely self-contained encryption device that anyone can use. Stick a USB flash drive in, wait for the LED to stop blinking, and all your files are now securely encrypted and only accessible by those who have the private key. [Dimitris] envisions a device like this could be invaluable for reporters and photographers on the front lines, protesters, or really anyone who needs a discreet way of quickly securing data but may not have access to a computer.

The hardware side is really just the Pi, a switch, a single LED for notifications, and a battery. The real magic comes from the software, where [Dimitris] has leveraged PyCrypto to perform the AES-256 encryption, and a combination of pyinotify and udiskie to detect new mounted volumes and act on them. The various Python scripts that make up the Cryptopuck suite are all available on the project’s GitHub page, but [Dimitris] makes it very clear the software is to be considered a proof of concept, and has not undergone any sort of security audit.

For some background information on how the software used by the Cryptopuck works you may want to check out this excellent primer from a few years back; though if you’d like to read up on why encryption is so important, you don’t need to go nearly as far back in time.

Continue reading “Encrypt Data On The Fly On A Pi With Cryptopuck”

Terrible Cluster Of PIs

When we first saw [Ajlitt’s] Hackaday.io project Terrible Cluster we thought, perhaps, he meant terrible in the sense of the third definition:

3. exciting terror, awe, or great fear; dreadful; awful. (Dictionary.com)

After looking at the subtitle, though, we realized he just meant terrible. The subtitle, by the way, is: 5 Raspberry PI Zeros. One custom USB hub. Endless disappointment.

There are four Raspberry Pi Zero boards that actually compute and one Raspberry Pi Zero W serves as a head node and network router. The total cost is about $100 and half of that is in SD cards. There’s a custom USB backplane and even a 3D-printed case.

At first, using five tiny computers in a cluster might not seem like a big deal. Benchmarking shows the cluster (with a little coaxing) could reach 1.281 GFLOPS, with an average draw of 4.962W. That isn’t going to win any world records. However, the educational possibilities of building a $100 cluster that fits in the palm of your hand is interesting. Besides, it is simply a cute build.

We’ve seen much larger Pi clusters, of course. You might be better off with some desktop CPUs, but — honestly — not much better.

Addition On The Strangest Vacuum Tube

[Uniservo] made a video of a tube he’s been trying to acquire for a long time: a Rogers 6047 additron. Never heard of an additron? We hadn’t either. But it was a full binary adder in a single vacuum tube made in Canada around 1950. You can see the video below.

The unique tubes were made for the University of Toronto Electronic Computer (UTEC). A normal tube-based computer would require several tubes to perform an addition, but the additron was a single tube that used beam switching to perform the addition in a single package. [Uniservo] points out how the tube could have revolutionized tube computing, but before it could really appear in real designs, transistors — and later, integrated circuits — would take over.

Continue reading “Addition On The Strangest Vacuum Tube”