A Proof Of Concept Flash Cart For The WonderSwan

Unless you’ve been to Japan or are fairly deep into the retro game collecting, you’ve probably never heard of the WonderSwan. It’s a handheld console, released after the Game Boy Color was beginning to show its age, and a bit before the introduction of the Game Boy Advance. It sold rather well in the only country it was released in, the game library is somewhat impressive, and there are quite a few homebrew games. Actually running these homebrew games is a challenge, though: each WonderSwan has a memory controller that maps the game ROM into the CPU’s memory. Without knowing how this controller chip works, the only way to run a homebrew cartridge is to turn on the machine with a real cart, go to the system menu, and swap the carts out. It turns out there’s a better solution, that includes programming CPLDs and looking at the output of a logic analyzer.

The first step towards [Godzil]’s efforts to create a Flash cart for the WonderSwan is to figure out the pinout of the cartridge connector – something that isn’t well documented for a system without a homebrew hardware scene. This was done in the usual way; with a lot of ribbon cable and patience This only provided an incomplete picture of how the WonderSwan interfaced with its carts, but after digging up an official development board, [Godzil] was able to make sense of all the signals.

After building a breakout board for the cartridge port, [Godzil] connected a DE0 Nano FPGA board and looked at all the signals. With just a little bit of VHDL, the memory controller could be reverse engineered and reimplemented. [Godzil] has his proof of concept working – video below – and the next part of his project will be to turn this into a proper Flash cart.

Continue reading “A Proof Of Concept Flash Cart For The WonderSwan”

Restoring A PDP-10 Console Panel

The PDP-10 was one of the first computers [Jörg] had gotten his hands on, and there are very, very few people that can deny the beauty of a panel full of buttons, LEDs, dials, and analog meters. When one of the front panels for a PDP-10 showed up on eBay, [Jörg] couldn’t resist; a purchase that would lead him towards repairing this classic console and making it functional again with a BeagleBone.

The console [Jörg] picked up is old enough to have voted for more than one Bush administration, and over the years a lot of grime has covered the beautiful acrylic panels. After washing the panel in a bathtub, [Jörg] found the dried panel actually looked worse, like an old, damaged oil painting. This was fixed by carefully scraping off the clear coat over two weeks; an important lesson in preserving these old machines. They’re literally falling apart, even the ones in museums.

With the front panel cleaned, [Jörg] turned his attention to the guts of this panel. The panel was wired up for LEDs, and each of the tiny flashlight bulbs in the pushbuttons were replaced. The panel was then connected to a BlinkenBone with a ton of wiring, and the SIMH simulator installed. That turns this console into a complete, working PDP-10, without sucking down kilowatts of power and heating up the room

This isn’t the first time we’ve seen [Jörg] with a BeagleBone and some old DEC equipment; earlier he connected the front panel of a PDP-11 variant to one of these adapters running the same software.

Mehdi wth his homemade taser

[Mehdi’s] Shocking Stun Gun Tutorial

[Mehdi Sadaghdar] never lets little things like fire, shocks, or singed fingers get in the way of his projects.  His latest is a tutorial on making a simple electroshock device. A stun weapon creates a very high voltage, and is used in law enforcement to temporarily disable a person. [Mehdi] stresses repeatedly to not use this on anyone. If you do, he won’t like you anymore. Of course, if you’ve seen any of his previous videos, you know he’ll shock himself and set something on fire before the project is complete.

To create his stunner, [Mehdi] used a car ignition to produce a high voltage. The igniton coil, which is a specialized transformer, allowed him to generate the >10000V output needed for the stunner. The coil has a 60:1 ratio and is powered by a 12V DC supply. Since a coil is a short at DC, the system only creates a high voltage pulse when power is disconnected. However, the pulse was too short to create a satisfying arc. [Mehdi] added a capacitor, creating an LC circuit that oscillates as the charge decays, creating a nicer spark. He then used an RC circuit and a relay to create a simple oscillating switch. For the finishing touch, he created a spark gap on the secondary of the transformer with two nails. In typical [Mehdi] fashion, he nearly fried his digital caliper in the process.

The end result is a nice spark that warms the cockles of [Mehdi’s] fibrillating heart. We commend him for being such a brave masochist in the name of science.  Check out his tutorial after the break!

Continue reading “[Mehdi’s] Shocking Stun Gun Tutorial”

A Complete C64 System, Emulated On An STM32

The Commodore 64 is the worlds bestselling computer, and we’re pretty sure most programmers and engineers above a certain age owe at least some of their career to this brown/beige keyboard that’s also a computer. These engineers are all grown up now, and it’s about time for a few remakes. [Jeri Ellisworth] owes her success to her version, there are innumerable pieces of the C64 circuit floating around for various microcontrollers, and now [Mathias] has emulated everything (except the SID, that’s still black magic) in a single ARM microcontroller.

On the project page, [Mathais] goes over the capabilities of his board. It uses the STM32F4, overclocked to 235 MHz. There’s a display controller for a 7″ 800×480 TFT, and 4GB of memory for a library of C64 games. Without the display, the entire project is just a bit bigger than a business card. With the display, it’s effectively a C64 tablet, keyboard not included.

This is a direct emulation of the C64, down to individual opcodes in the 6510 CPU of the original. Everything in the original system is emulated, from the VIC, CIAs and VIAs, serial ports, and even the CPU of the 1541 disk drive. The only thing not emulated is the SID chip. That cherished chip sits on a ZIF socket for the amazement of onlookers.

You can check out some images of the build here, or the video demo below.

Continue reading “A Complete C64 System, Emulated On An STM32”

I Love The Smell Of Rocket Candy In The Morning

[Grant Thompson aka “The King of Random”] has created a great tutorial on making sugar rocket motors. [Grant] is using a fuel based on potassium nitrate and sugar. Known as Rocket Candy or R-Candy in the amateur rocket community, various forms of this mixture have been used for decades. In fact, this is similar to one of the mixtures [Homer Hickam] and friends used to build rockets in his novel Rocket Boys.

[Grant] bought a cheap blender from the thrift store, which he used to grind his ingredients. You probably won’t want to use this blender for food after it’s been full of KNO3-based stump remover. The blender made quick work of grinding down the KNO3 to a fine powder. [Grant] then added in powdered sugar and carefully mixed the two by shaking, not by running the blender.

A 5″ length of schedule 40 PVC pipe made the rocket motor casing. The rocket motor’s end caps are made from ground clay cat litter. [Grant] rams the layers with a wooden dowel and hammer. First a top cap of clay, then the rocket fuel, then a bottom cap also of clay. With all the layers in place, he hand drilled a hole through the bottom cap and the entire fuel layer. Drilling all the way through turns the motor into a core burning rocket. The entire fuel cylinder burns away from the inside out, with more surface area than burning the end alone.

[Grant] tested his rocket motor at a remote location. We probably would have gone with an electric igniter rather than a fireworks style fuse, but the end result is the same. The rocket motor performed admirably, blasting up to over 2000 feet in altitude.

It goes without saying that working with solid rocket fuel isn’t something to be taken lightly. Something as simple as an air gap in the fuel could lead to a CATO, turning this rocket motor into a pipe bomb. We echo [Grant’s] suggestion to search for local amateur rocket clubs before trying this one at home.

Continue reading “I Love The Smell Of Rocket Candy In The Morning”

Hackaday Retro Edition: A 286 On The Internet

While not an issue now with our 64 bit (more accurately 48- or 52-bit) processors, there was a time when 32 bits of addressing space was impossibly large. For several decades, 4 Gigabytes of memory would be the absolute ceiling, and something only madmen or the protagonist of Pi would have to deal with. This convention began, at least for the Intel/PC world, with the 386. Earlier processors like the 8086 and the 286 were quite capable for their time, but doing anything modern with them, especially getting on the Internet, is a quixotic endeavor beyond comparison.

[Caulser] over on the Vintage Computer Forums has done just that. He recently acquired a Zenith Data Systems 286 system and loaded up what is quickly becoming the litmus test for old computers on the Internet: the Hackaday retro edition

When he first received the system, it was loaded up with a rather generous (for the time) 4MB of RAM. The 20MB hard drive was dead, but with a little fiddling about with the BIOS, [Caulser] was able to get the system working with an old Quantum IDE hard drive.

There’s no Windows or even Linux for this machine, so the system is just running MS DOS 5a, mTCP, Arachne, and the relevant drivers for the NIC (that has RJ45 and BNC connectors). After upgrading the RAM to 8MB, the box performs reasonably well without any pesky ads, and given the websites he visited, he’s not dealing with any overwrought Javascript or CSS, either.

Pics of the system below.


If you have an old computer sitting around, try to load our retro site with it. Take a few pictures, and we’ll put it up in one of our Retro Roundups

Continue reading “Hackaday Retro Edition: A 286 On The Internet”

Playing Doom (Poorly) On A VoCore

Last May brought the unastonishing news that companies were taking the Systems on Chip found in $20 wireless routers and making dev boards out of them. The first of these is the VoCore, an Indiegogo campaign for a 360MHz CPU with 8MB of Flash and 32MB or RAM packaged in a square inch PCB for the Internet of Things. Now that the Indiegogo rewards are heading out to workbenches the world over, it was only a matter of time before someone got Doom to run on one of them.

After fixing some design flaws in the first run of VoCores, [Pyrofer] did the usual things you would do with a tiny system running Linux – webcams for streaming video, USB sound cards to play internet radio, and the normal stuff OpenWrt does.

His curiosity satiated, [Pyrofer] turned to more esoteric builds. WIth a color LCD from Sparkfun, he got an NES emulator running. This is all through hardware SPI, mind you. Simple 2D graphics are cool enough, but the standard graphical test for all low powered computers is, of course, Doom.

The game runs, but just barely. Still, [Pyrofer] is happy with the VoCore and with a little more work with the SPI and bringing a framebuffer to his tiny system, he might have a neat portable Doom machine on his hands.