
I have become that guy—the old man at the office who bores the young engineers with tales of how things used to be. DigiKey? The Internet? Back in my day (the early 1980s), we rode our bikes to RadioShack and browsed racks of electronic components by hand—resistors, capacitors, breadboards, LEDs—you name it. I remember the Forrest Mims engineering notebooks on a shelf as I walked in. These were our definitive guides to electronics, op amps, and logic gates. You can still read them on the Web today. Next to the bookshelf was the wall of chips—analog and digital ICs in cardboard packaging, with transparent plastic bubbles so you could see the parts before you bought them. And don't forget to use your battery-of-the-month-club card to get a free battery when you check out.
It was on that wall of chips that I first met my old friend, the AY-3-8910 programmable sound generator. It's a 40-pin DIP chip, packed with features: three voices, a noise generator, and a complex envelope control. Over the years, it has been with me on many projects, including an LED movie project I wrote about in Circuit Cellar #239, June 2010 [1].
Here I am with another retro project featuring the sound chip. In this article, I'll show you how I used Python to talk to my AY-3-8910 from a Raspberry Pi. That isn't revolutionary; you'll find many hardware and software examples on the Internet. But my project has a cool twist.
I'll show you how I ran the original binary code from the Frogger arcade machine in a Z80 emulator on my Pi. For readers who weren't around in the 1980s, Frogger is an action game, the objective of which is to get several little frogs home safely—by keeping them from drowning in a river, or becoming road kill, or the lunch of a snake or alligator. (You can still buy “refurbished” original Frogger games on Amazon, and can even play it as a board game, on PS1, and online.)
This story is from the {{IssueName}} edition of {{MagazineName}}.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber ? Sign In
This story is from the {{IssueName}} edition of {{MagazineName}}.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber? Sign In

HSYCO Unveils New BACnet Server Driver for Enhanced Building Automation
HSYCO, a leading provider of integrated building management solutions, is excited to announce the release of its new BACnet Server driver.

Longsys Launches 7.2mm Subsize eMMC, Breaking the Physical Space Constraints of AI Wearables
In the design of wearable devices, every millimeter matters.

The Future of Voice-Enabled AI Industry Advancements in MEMS Microphones for Voice AI
Acoustic Activity Detection and High Acoustic Overload Point Transform Voice Interaction Advancements in MEMS microphones are enhancing voiceenabled AI technologies across various consumer electronics.

Exploring the RP2350 Security
Raspberry Pi's Novel \"Security through Transparency\" Approach

Learn Lisp Programming Using MCUS
Part 3—Forward Kinematics in µLisp

Pison and STMicroelectronics Announce Timex as Neural Sensor Partner, Ushering a New Era of Neurocognitive Wearables
Pison, the trailblazer in AI-powered neural sensors for neurocognitive health, wellness, and gesture control, announced it has begun licensing its innovative neural sensor to leading smartwatch and wearable brands.

Datasheet: DSPs and DSCs
Smarter Algorithms and Beyond

An Air Quality Monitor with a Blues Satellite Link Module
Brian had no sooner finished the review of Blues' LoRa Notecard when the new Starnote module was introduced. This module allows an IoT device to link to a geosynchronous satellite, for situations in which neither WiFi nor Cellular data links are operational. This article describes a project using the Starnote module.

Create an AI-Driven Smart Home Security System
Part 1- Setup and First Steps of the Raspberry Pi AI Kit

Wearable Devices Announces Availability of its Mudra Link Neural Gesture-Control Wristband
Wearable Devices, Ltd., announced the general availability of its Mudra Link, the first neural wristband for Android, macOS, and Windows devices.