YM2149 in Rust, Part 1: Building a Cycle-Accurate Emulator
dev.to·5d·
Discuss: DEV
💾Retro Computing
Preview
Report Post

What made this 1980s sound chip special — and what it takes to emulate it faithfully


There’s a particular sound that defined a generation of computing. If you grew up with an Atari ST, ZX Spectrum, Amstrad CPC, or MSX, you know it immediately: bright, buzzy square waves layered into melodies that somehow felt more alive than they had any right to be. That sound came from a single chip — the Yamaha YM2149, or its near-identical sibling, the General Instrument AY-3-8910.

I spent the past year building ym2149-rs.org, a complete Rust ecosystem for emulating this chip and playing back the music created for it. What started as a weekend experiment turned into something much larger: a cycle-accurate emulator, seven song format replayers, a Bevy game engine…

Similar Posts

Loading similar posts...