Very carefully scheduling NMI and IRQ updates to achieve a virtual sound channel on an old NES, resulting in a sawtooth bassline with volume control. This steals about 13% of the CPU time. The biggest hack in the arrangement is the scheduling of OAM DMA to sneakily just barely fit between timed audio updates, since it pauses the CPU and would otherwise cause an audible glitch. Among other things, if NMI notices that it interrupted IRQ, it apologizes profusely and
exits immediately, which is a rather unusual workaround on 6502 systems.
I've open sourced the technique with a more detailed writeup [1] and I like to think the game I created with it is pretty fun, [2] but of course that's subjective. You can try it in your browser here. [3]
[1] https://github.com/zeta0134/z-saw
[2] https://zeta0134.itch.io/tactus
[3] https://rusticnes.reploid.cafe/wasm/?cartridge=tactus.nes