Tag: snes

4 posts tagged with "snes".

Running Ahead of the Sound Chip

The SNES core was losing four million cycles a frame waiting for a sound chip on another board to answer a one-byte question. Teaching the H7 to predict the answer and execute speculatively lifted dense Super Mario World from 35 to 49-52 fps. Then the fastest exact build ever measured painted garbage on the top of the screen while every checksum said it was perfect.

The Receiver Was Innocent

I spent days optimising the HDMI coprocessor because every symptom said it was holding the SNES back. The optimisations worked, the frame rate climbed, and then the measurements turned around and convicted a different part entirely: the wire. This is the story of proving a bottleneck before building its replacement.

When 97% Is the Most Valuable Number

I soldered two bodge wires, taught the HDMI coprocessor to talk back, and made it run the SNES sound chip with real Super Mario World music. It reached 97% of realtime. That number is worth more than a pass.

Every Millisecond Now Has a Name

The from-scratch SNES core matched the reference emulator to the cycle across a 750-frame run of Super Mario World. Then the hardware priced five optimisations: two worked, two did nothing, and a profiler said the real problem is memory, not arithmetic.