Format:Sega 32X ROM header
| Platforms | Platform:Sega Mega Drive |
|---|---|
| Magic | "SEGA 32X" at 0x100 |
| Endianness | big |
| On this wiki | Facts · Code · Notes · Topics |
What the Sega 32X adds to a Mega Drive ROM header: the console field 'SEGA 32X', and at 0x3D4-0x3EC a block with the SH-2 initial data load source, destination and size, the master and slave SH-2 start addresses and VBR values, read by the 32X BIOS (HLE'd by PicoDrive); the 'MARS' text at the adapter register A130EC.
Overview
A 32X cartridge is a Format:Mega Drive ROM image (identified by 'SEGA 32X', see Fact:Mega Drive ROM image/identification/32X cartridge identification) with extra fields at 0x3D4-0x3EC that the 32X BIOS reads to start the two SH-2s. The values are big-endian (SH-2 and 68000 byte order).
Fields
See Fact:Sega 32X ROM header/struct/32X header fields at 0x3D4 (PicoDrive's BIOS-less start code). When no 32X BIOS is loaded, PicoDrive copies the initial data load block into SH-2 RAM, sets the VBRs and jumps to the start pointers itself.
Not read
Unverified: the 68000-side security/boot code at 0x3C0-0x3D3 and what the real 32X BIOS checks of it (recognition only is wanted here; PicoDrive skips it); the exact SH-2 memory map details beyond the add-ons used here.
Evidence and references
PicoDrive (non-commercial licence, facts only) pico/32x/32x.c and pico/32x/memory.c at 63fa85c41821b395f4d06cb9b751570c6b17a331.
Code & repositories
- https://github.com/irixxxx/picodrive @
63fa85c41821b395f4d06cb9b751570c6b17a331· license: LicenseRef-PicoDrive-NonCommercial (declared by the contributor; GitHub's detector did not recognize COPYING)
PicoDrive (non-commercial licence, facts only): pico/32x/32x.c start code, pico/32x/memory.c MARS register and BIOS stubs
Tested on: source read, not run · checked 2026-10-19; last activity 2026-10-19; Note: the latest release ships binaries; the wiki links only the source, never the binaries