Swapping The ROMs In Mini Arcade Cabinets

You’ve probably seen a few of these miniature arcade games online or in big box retailers: for $20 USD or so you get scaled-down version of a classic arcade cabinet, perfect for a desk toy or to throw up on a shelf as part of your gaming collection. Like any good Hackaday reader, you were probably curious about what makes them tick. Thanks to [wrongbaud], we don’t have to wonder anymore.

Over the course of several blog posts, [wrongbaud] walks readers through the hardware and software used in a few of these miniature games. For example, the Rampage cabinet is using a so-called “NES on a Chip” along with a SPI flash chip to hold the ROM, while Mortal Kombat is using a Genesis emulation solution and parallel flash. It wouldn’t be interesting if they didn’t throw you a few curves now and again, right?

But these are more than simple teardowns. Once [wrongbaud] gives an overview of the hardware, the next step is reading the respective flash storage and trying to make sense of the dumped data. These sort of games generally reuse the hardware among a number of titles, so by isolating where the game ROM is and replacing it, they can be made to play other games without hardware modification. Here, this capability is demonstrated by replacing the ROM data for Rampage with Yoshi’s Cookie. Naturally it’s one of those things that’s easier said than done, but it’s an interesting proof of concept.

The Mortal Kombat cabinet is a newer addition to the collection, so [wrongbaud] hasn’t progressed quite as far with that one. The parallel flash chip has been dumped with the help of an ESP32 and a MCP23017 I/O expander, and some Genesis ROM headers are identifiable in the data, but there’s still some sifting to be done before the firmware structure can be fully understood.

Even if you’re not in the market for a diminutive arcade experience, the information that [wrongbaud] has collected here is really phenomenal. From understanding protocols such as I2C and SPI to navigating firmware dumps with a hex editor, these posts are an invaluable resource for anyone looking to get started with reverse engineering.

Dub Siren Synth Does It The Old School Way

There’s little that can compare to the sheer obnoxious thrill of mashing the DJ siren when its your turn behind the decks. We’ve certainly been guilty of abusing the privilege at local house parties, and unsurprisingly have not been invited back. If we ever get another shot, though, we’d be glad to have [lonesoulsurfer]’s dub siren at the ready.

This is a build for the old-school purists. There’s no microcontrollers or digital hardware here. The synth relies on two 555 timer ICs as the oscillators and an LM741 op-amp. These parts harken right back to the dawn of the integrated circuit era, and still do a great job in this application. There’s also a cheap reverb/echo module added in to fatten up the sound. It’s all laced up in an old CB radio enclosure, with the classic woodgrain applique doing much to add to the aesthetic.

It’s a build that’s simple enough for the electronics beginner, and would make a great tactile, analog addition to any DJ’s rig. If you need some wubwubs to go with your woowoos, then consider building a Ball of Dub, too.

Continue reading “Dub Siren Synth Does It The Old School Way”

Hacking Transmitters, 1920s Style

The origin of the term “breadboard” comes from an amusing past when wooden bread boards were swiped from kitchens and used as a canvas for radio hobbyists to roll homemade capacitors, inductors, and switches. At a period when commercial electronic components were limited, anything within reach was fair game.

[Andy Flowers], call sign K0SM, recently recreated some early transmitters using the same resources and techniques from the 1920s for the Bruce Kelley 1929 QSO Party. The style of the transmitters are based on [Ralph Hartley]’s oscillator circuit built for Bell Telephone in 1915. Most of the components he uses are from the time period, and one of the tubes he uses is even one of four tubes from the first Transatlantic contact in 1923.

Apart from vacuum tubes (which could be purchased) and meters (which could be scrounged from automobiles) [Flowers] recreated his own ferrite plate and outlet condensers for tuning the antennas. The spiderweb coils may not be as common today, but can be found in older Crosley receivers and use less wire than comparable cylindrical coils.

A number of others features of the transmitters also evoke period nostalgia. The coupling to the antenna can be changed using movable glass rods, although without shielding there are quite a number of factors to account for. A vertical panel in the 1920s style also shows measurements from the filament, plate current, and antenna coupling.

While amature radio has become increasingly high-tech over the last few years, it’s always good to see dedicated individuals keeping the old ways alive; no matter what kind of technology they’re interested in.

Continue reading “Hacking Transmitters, 1920s Style”

A Python Serial Terminal To Get You Out Of A Jam

When fiddling around with old computers, you can occasionally find yourself in a sticky situation. What may be a simple task with today’s hardware and software can be nearly impossible given the limited resources available to machines with 20 or 30 years on the clock. That’s where [bison] recently found himself when he needed to configure a device over serial, but didn’t have any way of installing the appropriate terminal emulator on his Fujitsu Lifebook C34S.

His solution, since he had Python 2.6 installed on the Debian 6 machine, was to write his own minimal serial terminal emulator. He intended for the code to be as terse as possible so it could be quickly typed in, should anyone else ever find themselves in need of talking to a serial device on Linux but can’t get screen or minicom installed.

The code is very simple, and even if you never find yourself needing to fire up an impromptu terminal, it offers an interesting example of how straightforward serial communications really are. The code opens up the /dev/ttyS0 device for reading, and after appending the appropriate return character, pushes the user’s keyboard input into it. Keep looping around, and you’ve got yourself an interactive terminal.

With this program written, [bison] was able to connect the 266 MHz C34S to his Retro WiFi SI, a modem adapter that bridges the gap between a vintage computer and modern wireless network. Gadgets like these allow you to browse BBSes as the creator intended, and can be fashioned with nothing more exotic than an ESP8266 running some open source code.

Progressive Or Thrash? How Metal Detectors Discriminate

Metal detecting is a fun pastime, even when all you can find is a little bit of peace and a whole lot of pop tabs. [Huygens Optics] has a VLF-based metal detector that offers much more feedback than just a beep or no beep. This thing is fancy enough to discriminate between types of metal and report back a numerical ID value from a corresponding range of conductivity.

Most pop tabs rated an ID of 76 or 77, so [Huygens Optics] started ignoring these until the day he found a platinum wedding band without looking at the ID readout. Turns out, the ring registered in the throwaway range. Now thoroughly intrigued by the detector’s ID system, [Huygens Optics] set up a test rig with an oscilloscope to see for himself how the thing was telling different metals apart. His valuable and sweeping video walk-through is hiding after the break.

A Very Low-Frequency (VLF) detector uses two coils, one to emit and one to receive. They are overlapped just enough so that the reception coil can’t see the emission coil’s magnetic field. This frees up the reception coil’s magnetic field to be interrupted only by third-party metal, i.e. hidden treasures in the ground.

Once [Huygens Optics] determined which coil was which, he started passing metal objects near the reception coil to see what happened on the ‘scope. Depending on the material type and the size and shape of the object, the waveform it produced showed a shift in phase from the emission coil’s waveform. This is pretty much directly translated to the ID readout — the higher the phase shift value, the higher the ID value.

We’ve picked up DIY metal detectors of all sizes over the years, but this one is the ATtiny-ist.

Continue reading “Progressive Or Thrash? How Metal Detectors Discriminate”

Cardboard Computer Replica Is Cheap And Easy To Make

Replicating 1960s-era computer hardware can be a daunting task. Components can be hard to find, schematics thin on the ground, and software near-unobtainable. Of course, not every computer from the decade consisted of expensive high-end electronics – CARDIAC was built out of common cardboard, and making your own is a cinch!

CARDIAC stood for Cardboard Illustrative Aid To Computation. Consisting of a series of sliding cardboard parts, it acted as a basic guide to the principles of computation. Through the use of a pencil and the associated guidebook, students could run simple programs to learn how to program computers at the barebones level.

Finding the paper-based computational learning tool highly valuable in their youth, [megardi] wanted to bring it back for a new audience. Thankfully, there are plenty of resources on the web that made it easy to whip up art files to reprint the device. [megardi] then also wrote up the instructions on how to accurately reproduce a CARDIAC, with helpful tips on how to best put it together. For a quick test, any old paper will do, while using 110 g cardstock and a laminator makes a sturdier build that can be used with dry-erase markers.

CARDIAC remains an excellent tool for teaching the basics of Von Neumann architecture computing. We’ve discussed similar teaching tools before, too – from the days when “real” computers were too expensive to let students anywhere near them. How times change!

Time Sync Through Your VGA Connector

While it might be in its twilight years, the venerable VGA video connector conceals a versatile interface that  can still provide the experimenter with the opportunity for a variety of hacks. We’ve not seen anything quite like [flok]’s one, in which he uses the VGA interface to insert timing information from which an NTPd instance gets its reference.

If this seems counter-intuitive because a VGA interface is an analogue output rather than a digital input, then you are correct to smell a rat. And he comes clean in his first sentence, as he’s not using the VGA lines themselves but the I2C interface that is a feature of all but the most basic of VGA cards. This is the means by which a plug-and-play operating system can identify a monitor’s capabilities, but there’s little to stop it being used for other purposes. In this case an Arduino fed by a 1-pulse-per-second timing signal from a temperature compensated crystal oscillator provides the I2C peripheral which is polled by NTPd.

This project should be of interest to any tinkerer because of its invaluable information on identifying and using the I2C interface on a VGA socket. So if you’ve used your VGA card as an SDR you might find it interesting, but hurry or you could have missed the boat entirely.

VGA plug image: Swift.Hg [CC BY-SA 3.0]