A $5 Graphics Card For Homebrew Computers

While not very popular, building a homebrew computer can be a fun and rewarding process. Most of the time, though, the video capabilities of these computers is as bare bones as it can get – running headless, connected to a terminal. While this is an accurate reproduction of the homebrew computers of the 1970s and 80s, there’s a lot to be said about a DIY computer with an HDMI-out port.

[spencer] built a Z-80-based homebrew computer a few years ago, and while connecting it to a terminal was sufficient, it was a build that could use a little more pizzazz. How did he manage to stuff a terminal in a tiny project box? With everyone’s favorite five dollar computer, the Raspberry Pi Zero.

The computer [spencer] built already had serial inputs, outputs, power, and ground rails – basically, a serial port. The Raspberry Pi also has TX and RX pins available on the 40-pin header, and with a stupidly simple board that [spencer] whipped up in KiCad, he could plug a Pi into the backplane of his homebrew computer. A few setup scripts, and a few seconds after turning this computer on [spencer] could mash a keyboard and wail away on some old school BASIC.

This isn’t a use case that is the sole domain of the Pi Zero. A Parallax Propeller chip makes for a great video terminal with inputs for PS/2 keyboards and mice. A largish AVR, with the requisite NTSC video library, also makes for a great video interface for a homebrew computer. The Pi Zero is only five dollars, though.


Raspberry_Pi_LogoSmall

The Raspberry Pi Zero contest is presented by Hackaday and Adafruit. Prizes include Raspberry Pi Zeros from Adafruit and gift cards to The Hackaday Store!
See All the Entries

Hacking The Leapfrog TV To Play Doom

In a few hours, millions of fresh-faced children will be tearing open presents like the Leap TV, a Wii for the pre-school crowd that has a number of educational games. And, once they get bored with them, what could be more educational than fighting your way through a horde of demons to save the earth? Yup, [mick] has hacked the Leap TV console to play Doom. After some poking around he discovered that the Leap TV is built around a quad-core nxp4330q arm7-A processor, with 1GB of RAM and 16GB of flash memory, while the controller links to the main console using Bluetooth LE. That’s more than enough to run Doom on (in fact… too much), so he whipped out his handy compiler and got Doom and SDL running with only a few minor code changes.

This isn’t [Mick]s first such hack: he previously hacked the V-Tech InnoTab, a cheap tablet for kids, which persuaded the manufacturers to release the full source code for the tablet. Will Leapfrog follow suit? That remains to be seen, but in the meantime, [Mick]s work gives us some insight into the internals of this device.

Continue reading “Hacking The Leapfrog TV To Play Doom”

Hacking The Digital And Social System

When you live in a totalitarian, controlled and “happy” society, and you want to be a hacker, you have to hack the social system first. Being just an engineer doesn’t cut it, you have to be a hypocrite, dissident and a smuggler at the same time. That’s the motto of my personal story, which starts in Yugoslavia, and ends in Serbia. No, I didn’t move, I’m still in Belgrade, only the political borders have changed.

Half a century ago, when I was in elementary school, I discovered the magical world of HAM radio. I became a member of two amateur radio clubs, passed all exams and got my licence and callsign, which was YU1OPC. I was delighted, but after five years, the party was over. What happened? Well, one day the police paid a visit to all registered owners of CB Band equipment and simply took that equipment away. No one knows why they did it, but it was probably off the books, as we never got any written confirmation, and no one ever saw their equipment again.

Continue reading “Hacking The Digital And Social System”

The Biohacking Movement And Open Source Insulin

In March of 2014, I knew my eight year old daughter was sick. Once borderline overweight, she was now skeletally thin and fading away from us. A pre-dawn ambulance ride to the hospital gave us the devastating news – our daughter had Type 1 diabetes, and would be dependent on insulin injections for the rest of her life.

This news hit me particularly hard. I’ve always been a preparedness-minded kind of guy, and I’ve worked to free myself and my family from as many of the systems of support as possible. As I sat in the dark of the Pediatric ICU watching my daughter slowly come back to us, I contemplated how tied to the medical system I had just become. She was going to need a constant supply of expensive insulin, doled out by a medical insurance system that doesn’t understand that a 90-day supply of life-saving medicine is a joke to a guy who stocks a year supply of toilet paper. Plus I had recently read an apocalyptic novel where a father watches his 12-year old diabetic daughter slip into a coma as the last of her now-unobtainable insulin went bad in an off-grid world. I swore to myself that I’d never let this happen, and set about trying to find ways to make my own insulin, just in case.

Continue reading “The Biohacking Movement And Open Source Insulin”

Discrete Transistor Computer Is Not Discreet

Every few years, we hear about someone building a computer from first principles. This doesn’t mean getting a 6502 or Z80, wiring it up, and running BASIC. I’m talking about builds from the ground up, starting with logic chips or even just transistors.

[James Newman]’s 16-bit CPU built from transistors is something he’s been working on for a little under a year now, and it’s shaping up to be one of the most impressive computer builds since the days of Cray and Control Data Corporation.

The 10,000 foot view of this computer is a machine with a 16-bit data bus, a 16-bit address bus, all built out of individual circuit boards containing single OR, AND, XOR gates, decoders, multiplexers, and registers.  These modules are laid out on 2×1.5 meter frames, each of them containing a schematic of the computer printed out with a plotter. The individual circuit modules sit right on top of this schematic, and if you have enough time on your hands, you can trace out every signal in this computer.

The architecture of the computer is more or less the same as any 16-bit processor. Three are four general purpose registers, a 16 bit program counter, a stack pointer, and a status register. [James] already has an assembler and simulator, and the instruction set is more or less what you would expect from a basic microprocessor, although this thing does have division and multiplication instructions.

The first three ‘frames’ of this computer, containing the general purpose registers, the state and status registers, and the ALU, are already complete. Those circuits are mounted on towering frames made of aluminum extrusion. [James] already has 32 bytes of memory wired up, with each individual bit having its own LED. This RAM display will be used for the Game of Life simulation once everything is working.

While this build may seem utterly impractical, it’s not too different from a few notable and historical computers. The fastest computer in the world from 1964 to ’69 was built from individual transistors, and had even wider busses and more registers. The CDC6600 was capable of running at around 10MHz, many times faster than the estimated maximum speed of [James]’ computer – 25kHz. Still, building a computer on this scale is an amazing accomplishment, and something we can’t wait to see running the Game of Life.

Thanks [aleksclark], [Michael], and [wulfman] for sending this in.

A Smaller, Homebrew Amstrad

Although they weren’t very popular in America, the Amstrad CPC 464 and CPC 6128 were extremely well-received in Europe. [Zaxon] loved his ‘464, and for a bit of a learning experience – and the fact that an Amstrad takes up an exceptional amount of desk space – decided to make a clone of his favorite computer (.pl, Google translatrix).

The clone began as a simple schematic of the original Amstrad CPC 464, but the parts used in the original required some modern equivalents. Still, most of the old chips remained in the clone; the original Hitachi HD46505 CRT controller remains, as do the original DRAM chips and the vintage Z80 CPU.

A few modern amenities were added, including an interface for a PS/2 keyboard and a disk that’s much improved over the original cassette drive or weird 3.5″ disks: a Disk On Module, or basically a CompactFlash card in a strange form factor that plugs straight into a motherboard’s IDE socket. They’re mostly seen when tearing apart old thin clients, but using them in retrocomputing project is a great idea.

Thanks [rasz_pl] for the tip. Video below.

Continue reading “A Smaller, Homebrew Amstrad”

3DS Homebrew Channel And Custom Firmware

Nintendo has always been very wary about allowing independent and homebrew developers making games for their consoles, and the 3DS is no exception. It’s locked down, and a few 3DS and console hackers have spent years searching for a method that will easily allow anyone to run unsigned code. That day is finally here. The exploit is called NINJHAX, and it allows anyone to install the Homebrew Channel, the repository for everything awesome in the world of 3DS homebrew development.

The latest exploit relies on a bit of code in a retail game – Cubic Ninja – to run unsigned code. This game includes a level editor that allows players to share different levels by QR codes and 3DS’ camera. By carefully crafting one of these QR codes, the 3DS gains the ability to run the Homebrew Channel

If this exploit sounds familiar, you’re right. The most common way to open up a Wii for homebrew development is Smash Stack, an exploit found in Super Smash Bros. Brawl. This exploit also works by modifying custom stages, and opened the door to a wealth of homebrew development for the Wii.

In the video below, [smea] shows off his exploit by starting Cubic Ninja, going to the QR code level editor, then loading up homebrew games. A copy of the game that enables this exploit, Cubic Ninja, is required for this exploit. Last week, you could buy Cubic Ninja for a few dollars on eBay and Amazon. Today, the price has settled around $50, with a few very dumb or very eager people paying up to $300. If you already have the game, you’ll only need to get the homebrew starter kit, generate a QR code, and start installing unsigned code. All the instructions are available on [smeal]’s site.

Continue reading “3DS Homebrew Channel And Custom Firmware”