कोशिश गोल्ड - मुक्त
Reviving Frogger's Retro Audio with a Programmable Sound Generator - Using an AY-3-8910 Chip and a Z80 Emulator on a Raspberry Pi
Circuit Cellar
|February 2025
The Frogger arcade video game is considered one of the best of all time. Chris shares his journey to bring the nostalgic sounds of Frogger back to life using the classic AY-3-8910 sound chip and a modern Raspberry Pi setup with coding insights and a fix to the original game's music glitch.
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.)
यह कहानी Circuit Cellar के February 2025 संस्करण से ली गई है।
हजारों चुनिंदा प्रीमियम कहानियों और 10,000 से अधिक पत्रिकाओं और समाचार पत्रों तक पहुंचने के लिए मैगज़्टर गोल्ड की सदस्यता लें।
क्या आप पहले से ही ग्राहक हैं? साइन इन करें
Circuit Cellar से और कहानियाँ
Circuit Cellar
A GPS-Disciplined Frequency Counter using the PSoC 5LP
In this month's column, Brian tasks one of his mixed-signal favorite MCUs, the Infineon PSoC 5LP, to build a frequency/ period counter using a GPS satellite module to discipline the project's time base.
16 mins
November 2025
Circuit Cellar
Designing Analog Electronics
Part 1: Error and Uncertainty
23 mins
November 2025
Circuit Cellar
Samtec Launches 800-Position AcceleRate HP High-Performance Array Connectors
Samtec, Inc., a global leader in high-performance interconnect solutions and a service leader in the industry, announces the expansion of its AcceleRate HP product line with the release of 800-position APM6 and APF6 high-performance array connectors available in a low-profile 5mm stack height.
1 min
November 2025
Circuit Cellar
CIA for SBCs (and More)
Securing Embedded Systems from Evolving Threats
14 mins
November 2025
Circuit Cellar
The Future of Embedded Systems and AI: AI in Embedded Systems
Cybersecurity Challenges and Opportunities in a Smarter World
4 mins
November 2025
Circuit Cellar
An ESP32 Dashboard
Monitoring How a Popular Microcontroller Uses Resources
11 mins
November 2025
Circuit Cellar
Vishay Intertechnology Power Metal Strip Resistor Delivers Power to 5 W in Compact 1206 Case Size
Vishay Intertechnology, Inc. introduced a new surfacemount Power Metal Strip current sense resistor that combines a high power rating up to 5W, TCR down to ± 75ppm/°C, and extremely low resistance values down to 0.3mΩ in the compact 1206 case size.
2 mins
November 2025
Circuit Cellar
ROHM Develops New Smart Switches Optimized for Zonal Controllers
ROHM Semiconductor announced the release of six new high-side smart switches (IPDs: Intelligent Power Devices) featuring highly accurate current sensing and low ON resistances ranging from 9mΩ to 180mΩ.
1 min
November 2025
Circuit Cellar
Bourns Expands Semi-Shielded Power Inductor Portfolio with New Series Featuring Higher Maximum Inductance Values
Bourns, Inc., a leading manufacturer and supplier of electronic components for power, protection, and sensing solutions, announced the expansion of its semi-shielded power inductors.
1 min
November 2025
Circuit Cellar
STMicroelectronics' New Automotive Linear Voltage Regulator Preserves Battery Energy in Challenging Conditions
The TL99VR03 300mA low-dropout (LDO) regulator provides resilient and efficient power, with a wide input-voltage range and very low quiescent current consumption, only 3.5µA at no load. The IC has an enable pin for turning the regulator off, which reduces the idle current to 800nA, and integrates soft-start circuitry to limit current during power-up and fault recovery.
1 min
November 2025
Listen
Translate
Change font size
