"more horsepower, when the base hardware isn't enough." Some SNES cartridges carry a coprocessor. These examples boot one, prove it runs, then put it to real work — the branch you reach for late in a project, not on day one.
Two chips here — SA-1 and Super FX. The third, the DSP-1, needs no boot (its firmware is on the chip) and has one worked example, in Mode 7: mode7/dsp1_ground, the floor and the objects on it.
| Example | Developer question | Chip |
|---|---|---|
| sa1_starfield | How do I offload real math to the SA-1? | SA-1 |
| superfx_3d | How do I render 3D with the SuperFX? | SuperFX |
| superfx_game_skeleton | How do I run a 60 fps game loop while the GSU renders? | SuperFX |
A real workload on each chip (sa1_starfield, superfx_3d), then a game loop the GSU renders under (superfx_game_skeleton). Saving on these cartridges uses the same sram calls as any other: the SA-1 tutorial and the advanced Super FX tutorial say where the battery-backed RAM is.
All three are validated natively by luna, which detects and runs the SA-1, the GSU and the DSP-1 in the headless test harness — no chip-ROM side channel needed. The DSP-1 leg additionally needs Sony's dsp1b.rom firmware installed into luna (copyrighted, not shipped); without it the test SKIPs rather than fails — see mode7/dsp1_ground, the DSP-1 example.
SA-1 Starfield (Murmuration) SuperFX 3D Cube Super FX Game Skeleton