Last week, the Raspberry Pi foundation released the first official Raspberry Pi-branded keyboard and mouse. As a keyboard, it’s probably pretty great; it’s clad in a raspberry and white color scheme, the meta key is the Pi logo, there are function keys. Sure, the Ctrl and Caps Lock keys are in their usual, modern, incorrect positions (each day we stray further from God’s light) but there’s also a built-in USB hub. Everything balances out, I guess.
The Pi keyboard started shipping this week, and it took two days for someone to put a Pi zero inside. Here’s how you do it, and here’s how you turn a Pi keyboard into a home computer, like a speccy or C64.
The parts required for this build include the official Pi keyboard, a Pi Zero W, an Adafruit Powerboost, which is basically the circuitry inside a USB power bank, and a LiPo battery. The project starts by disassembling the keyboard with a spudger, screwdriver, or other small wedge-type tool, disconnecting the keyboard’s ribbon cables, and carefully shaving down the injection molded webbing that adds strength to the keyboard’s enclosure. The project is wrapped up by drilling holes for a power LED, a button to turn the Pi on and off, and the holes for the USB and HDMI ports.
One shortcoming of this build is the use of a male-to-male USB cable to connect the keyboard half of the circuitry to the Pi. This can be worked around by simply soldering a few pieces of magnet wire from the USB port on the Pi to the USB input on the USB hub. But hey, doing it this way gives the Official Pi keyboard a convenient carrying handle, and when one of the ports breaks you’ll be able to do it the right way the second time. Great work.
George Mallory, a famous English mountaineer, once suggested that it was of no use to climb mountains. Instead, he posited, the only reason to climb a mountain is because it is there. Likewise, when you become an expert in nurse call systems like those found in hospitals, you may find that you do things with them that are of similar use. Making a Turing-complete nurse call system is something you do because you can.
[Erik] has been working on this particular call system, known as Netrix, and used Wireshark to sniff out all of its protocols. With this information he realized that it would be possible to use the system’s routing features to perform all of the tasks that any Turing complete system can do: conditional branching and memory access. He set up a virtual machine and set about implementing all of these tasks using the nurse call system’s features.
The setup for this project is impressive, and belies an extensive knowledge of this one proprietary system but also of computer science in general. It’s interesting to see how something can be formed into a working computer system from parts that otherwise might not be used that way. Even things that aren’t electronic can be used as Turing-complete computers.
[tom7] started off with the instruction set for the Intel 8086 processor. Of the instructions available, he wanted to use only instructions which are also readable in a text file. This limits him dramatically in what this file will be able to execute, but also sets up the puzzle. He walks through each of the hurdles he found by only using instructions that also code to text, including limited memory space, no obvious way of exiting the program once it was complete, not being able to jump backward in the program (i.e. looping), and a flurry of other issues that come up once the instruction set is limited in this way.
The result is a sort of C compiler which might not be the most efficient way of executing programs, but it sure is the most effective way of showing off [tom7]’s PhD in computer science. As a bonus, the file can also play an antiquated type of sound file due to one of the available instructions being a call for the processor to interact with I/O. If you want to learn a little bit more about compilers, you can check out a primer we have for investigating some of their features.
By now we’ve all seen ways to manufacture your own PCBs. There are board shops who will do small orders for one-off projects, or you can try something like the toner transfer method if you want to get really adventurous. One thing we haven’t seen is a circuit board that’s stitched together, but that’s exactly what a group of people at a Vienna arts exhibition have done.
The circuit is stitched together on a sheet of fabric using traditional gold embroidery methods for the threads, which function as the circuit’s wires. The relays are made out of magnetic beads, and the entire circuit functions as a fully programmable, although relatively rudimentary, computer. Logic operations are possible, and a functional schematic of the circuit is also provided. Visitors to the expo can program the circuit and see it in operation in real-time.
While this circuit gives new meaning to the term “wearables”, it wasn’t intended to be worn although we can’t see why something like this couldn’t be made into a functional piece of clothing. The main goal was to explore some historic techniques of this type of embroidery, and explore the relationship we have with the technology that’s all around us. To that end, there have been plenty of other pieces of functional technology used as art recently as well, but of course this isn’t the first textile computing element to grace these pages.
We all have fond memories of a toy from our younger days. Most of which are still easy enough to get your hands on thanks to eBay or modern reproductions, but what if your childhood fancies weren’t quite as mainstream? What if some of your fondest memories involved playing with 1960’s educational games which are now so rare that they command hundreds of dollars on the second-hand market?
That’s the situation [Mike Gardi] found himself in recently. Seeing that the educational games which helped put him on a long and rewarding career in software development are now nearly unobtainable, he decided to try his hand at recreating them on his 3D printer. With his keen eye for detail and personal love of these incredible toys, he’s preserved them in digital form for future generations to enjoy.
His replica of “The Amazing Dr. Nim” needed to get scaled-down a bit in order to fit on your average desktop 3D printer bed, but otherwise is a faithful reproduction of the original injection molded plastic computer. The biggest difference is that his smaller version uses 10 mm (3/8 inch) steel ball bearings instead of marbles to actuate the three flip-flops and play the ancient game of Nim.
[Mike] has also created a replica of “Think-a-Dot”, another game which makes use of mechanical flip-flops to change the color of eight dots on the front panel. By dropping marbles in the three holes along the top of the game, the player is able to change the color of the dots to create various patterns. The aim of the game is to find the fewest number of marbles required to recreate specific patterns as detailed in the manual.
Speaking of which, [Mike] has included scans of the manuals for both games, and says he personally took them to a local shop to have them professionally printed and bound as they would have been when the games were originally sold. As such, the experience of owning one of these classic “computer” games has now been fully digitized and is ready to be called into corporeal form on demand.
The best computer ever made is nearly thirty years old. The Macintosh SE/30 was the highest-spec original all-in-one Macs, and it had the power of a workstation. It had expansion slots, and you could hang a color monitor off the back. It ran Unix. As such, it’s become the prize of any vintage computer collector, and [Kris] recently completed a restomod on our beige king. It’s a restored Macintosh SE/30, because yes, we need to see more of these.
The restoration began with the case, which over the last thirty years had turned into an orange bromiated mess. This was fixed with RestOBrite, or Retr0Brite, or whatever we’re calling it now. This was just Oxyclean and an off-the-shelf bottle of 3% hydrogen peroxide, left out in the sun for a little bit.
Of course the capacitors had spilled their magic blue smoke over the last three decades, so a few replacements were in order. This is well-trodden territory, but [Kris] also had to replace the SCSI controller chip. Three of the pads for this chip had lifted, but this too is something that can be fixed.
With the restoration work complete, [Kris] turned his attention to doing something with this computer. The spinny hard drive was replaced with a SCSI2SD, currently the best solution to putting SCSI disks into old computers. There are a few more additions, including a Micron Xceed color video adapter, a video card that allows the SE/30 to drive two monitors (internal included) in color.
The current plans are to attach a modem to this SE/30, have it ring into a Raspberry Pi, and surf the web over a very slow connection. There is another option, though: You can get a WiFi adapter for the SE/30, and there’s a System 7 extension to make it work. Yes, we’re living in the future, in the past. It’s awesome.
Not only is the Super Nintendo an all-around great platform, both during its prime in the 90s and now during the nostalgia craze, but its relative simplicity compared to modern systems makes it a lot more accessible from a computer science point-of-view. That means that we can get some in-depth discussion on how the Super Nintendo actually does what it does, and understand most of it, like this video from [Retro Game Mechanics Explained] which goes into an incredible amount of detail on the mechanics of the SNES’s memory system.
Two of the interesting memory systems the SNES uses are called DMA and HDMA. DMA stands for direct memory access, and is a way for the Super Nintendo to access memory independently of the CPU. The advantages to this are that it’s incredibly fast compared to more typical methods of accessing memory. This isn’t particulalry unique, but the HDMA system is. It allows the SNES to do all kinds of interesting tricks with its video output display like changing color gradients and doing all kinds of masking effects.
If you’re interested in the inner workings of classic consoles like the SNES, this video gets way down in the weeds in the system itself. It’s interesting to see how programmers were able to squeeze more capability from these limited (by modern standards) systems by manipulating memory like the DMA and HDMA systems do. [Retro Game Mechanics Explained] is a great resource for exploring in-depth aspects of lots of classic games, like how speedrunners can execute arbitrary code in old Mario games.