Understanding SNES hardware is essential for effective game development.
| Document | Description |
|---|---|
| The PPU | Background modes, tiles, VRAM, palettes, sprite sizes |
| The APU | SPC700, S-DSP, audio RAM, BRR samples, echo |
| Memory Map | RAM, ROM, and register layout |
| Registers | Complete hardware register reference |
| OAM | Sprite attribute memory documentation |
| Component | Specification |
|---|---|
| CPU | 65816 @ 3.58 MHz (NTSC) / 3.55 MHz (PAL) |
| Work RAM | 128 KB |
| PPU | 64 KB VRAM, 544-byte OAM, 512-byte CGRAM: The PPU |
| APU | SPC700 + S-DSP with 64 KB of audio RAM: The APU |
The PPU draws the screen line by line. VBlank is the period when the PPU is not drawing (returning to top of screen). This is the only safe time to update VRAM, OAM, and CGRAM.
Everything on screen is built from 8x8 tiles: background layers arranged by a tilemap, and up to 128 movable sprites. The eight background modes trade layers against colours; Mode 1 is the usual choice. The mode table, the sprite sizes and the per-line limits are in The PPU.
The 65816 has a 24-bit address space divided into 256 "banks" of 64KB each:
ROM mapping modes affect how cartridge ROM appears in the address space:
| Mode | ROM Start | Max Size | Common Use |
|---|---|---|---|
| LoROM | $80:8000 | 4 MB | Most games |
| HiROM | $C0:0000 | 4 MB | Large games |
| ExHiROM | Varies | 8 MB | Very large games |
OpenSNES uses LoROM by default.