GSU coprocessor boot diagnostic with SRAM tests and FMULT validation
| Emulator | Status |
|---|---|
| Mesen2 | ✅ Recommended — detects the GSU correctly and runs SuperFX cleanly |
| bsnes | ✅ Cycle-accurate; useful as a second reference |
| luna | ✅ Detects and runs the GSU natively (used by the test harness) |
| snes9x | ❌ Does not detect GSU despite correct header — example shows "GSU: NOT DETECTED" |
Then open superfx_hello.sfc in luna (or any SNES emulator).
| Value | Meaning |
|---|---|
| GSU VERSION: $04 | GSU-2 detected (GSU-1=$03, MC1=$01) |
| R0 RESULT: $CAFE | GSU executed code correctly |
| SRAM[0,1]: $42 $55 | STB byte writes to SRAM work |
| STW[2,3]: $BEEF | STW word write to SRAM works |
| 2*2=$4000 1.5*3=$4800 | FMULT 4.12 fixed-point validated |
| Module | Purpose |
|---|---|
| console | System initialization |
| sprite | OAM setup (required by consoleInit) |
| dma | DMA transfers |
| background | BG configuration |
| text | Diagnostic text display |
| superfx | GSU detection and communication |