Vacuum & RetroBlitz
Hey Vacuum, ever tried reverse engineering the NES APU to build a real‑time synth? Got any bugs in the pulse wave generator that even the 8‑bit crowd can’t spot?
Yeah I’ve looked at the pulse channel code. The issue is in the duty cycle table—there’s an off‑by‑one error when the length counter hits zero. The waveform skips the first step of the cycle, so you end up with a slightly lower frequency than the spec says. Fixing that makes the synth line up with the original sound.