# The game pak Sources: STS "Game Pak", "ROM Format" (DOC, tier 3); MLIST (MAME 0.285 software list, CC0); the census ([census.md](census.md)). - **ROM** at 07000000h, mirrored by its size (a power of two in every commercial cart). The last 544 bytes are fixed: the **header** at FFFFFDE0h (20-byte Shift JIS title, 5 reserved zero bytes, 2-byte maker code, 4-byte game code, 1-byte minor version) and the **exception vectors** at FFFFFE00h-FFFFFFFFh (16 bytes each; reset at FFFFFFF0h). - **RAM** at 06000000h: battery-backed SRAM in seven listed carts (3-D Tetris, Galactic Pinball, SD Gundam, Teleroboxer, Virtual Fishing, Wario Land, and the aftermarket Hyper Fighting), 8 KiB (`0x2000`) by MLIST with an 8-bit data width: **the cart's SRAM sits on the low byte of the 16-bit bus** (MLIST `width="8"`; the address step the CPU sees, every byte or every other byte, is U14). - **The ROM does not say whether SRAM exists**: the header has no field for it. The board takes the RAM size from a table keyed by SHA-1 (seeded from MLIST, CC0, with credit) or from the user. Aftermarket carts not in MLIST default to "no SRAM" unless listed. - **Expansion** at 04000000h and the **game pak interrupt** (FE20): no commercial use. - **Waits:** WCR's ROM1W/EXP1W (1 or 2). SRAM waits: U3. **Socket:** `GamePak` (read/write by address and size, an interrupt line, a `wait` answer), with `RomCart` (ROM + optional SRAM, battery contents in and out as bytes) as the only implementation needed by the census. Flash carts (FlashBoy, HyperFlash32, HyperBoy) are aftermarket hardware; their write protocols are out of scope until a user asks.