Format:Saturn IP.BIN boot header
| Platforms | Platform:Sega Saturn |
|---|---|
| Magic | "SEGA SEGASATURN " at offset 0 of the first data sector |
| Endianness | big |
| On this wiki | Facts · Code · Notes · Topics |
Sega Saturn disc boot area (IP.BIN, the first sectors of the data track): a header starting with "SEGA SEGASATURN " with maker, product number, version, release date, device, area and peripheral codes, title, then IP size, SH-2 master and slave stack addresses and the address and size of the first-read program.
Header
All fields ASCII, space padded, at the start of IP.BIN (the system area of the first data track; the ISO9660 system id is also SEGA SEGASATURN):
| Offset | Size | Field |
|---|---|---|
| 0x00 | 16 | hardware id: SEGA SEGASATURN for a bootable disc (SEGASATURN DATA for data discs)
|
| 0x10 | 16 | maker id, e.g. SEGA ENTERPRISES or SEGA TP KAISHA-A
|
| 0x20 | 10 | product number (T-99901G style)
|
| 0x2A | 6 | version (V1.000)
|
| 0x30 | 8 | release date YYYYMMDD
|
| 0x38 | 8 | device info (CD-1/1)
|
| 0x40 | 10 | area symbols (J, T, U, E)
|
| 0x4A | 6 | padding |
| 0x50 | 16 | compatible peripherals (letters) |
| 0x60 | 112 | game title |
| 0xD0 | 16 | reserved |
| 0xE0 | 4 | IP size |
| 0xE4 | 4 | master SH-2 stack address |
| 0xE8 | 4 | reserved |
| 0xEC | 4 | slave SH-2 stack address |
| 0xF0 | 4 | 1st read address (where the first program is loaded) |
| 0xF4 | 4 | 1st read size |
| 0xF8 | 8 | reserved |
After the header come the region security code blobs for J, T, U and E areas and the SH-2 initialisation code that jumps to the first-read address. The security blobs are Sega's code and are not reproduced here.
Area symbols (libyaul)
J Japan, T Taiwan/Philippines/Korea (Asia NTSC), U USA/Canada/Brazil (NTSC), E Europe and PAL regions. Backup RAM info letters: O odd bytes, E even bytes, W words. Device info letters: R ROM, S SRAM, D DRAM, F FRAM cartridge.
Evidence and references
libyaul (MIT) libyaul/ip/ip.h and ip.sx. Offsets above are computed from the struct and the assembly in ip.sx. See Platform:Sega Saturn.
Code & repositories
- https://github.com/yaul-org/libyaul @
6012f79f237773378c8014e70d8998ad95a38d98· license: MIT
Sega Saturn SDK (MIT): IP.BIN header definitions (libyaul/ip/ip.h) and boot assembly (ip.sx)
Tested on: source read, not run: source read, not run · checked 2026-10-18; last activity 2025-10-23 - https://github.com/libretro/beetle-saturn-libretro @
faef2779a7568c1734addc4fe63cc76e9fa2566b· license: GPL-2.0-only (declared by the contributor for the files used; GitHub reports GPL-2.0 for the repository)
Beetle Saturn (Mednafen Saturn core, GPL-2.0): disc.c disc recognition and region, mednafen/ss/smpc.h area codes
Tested on: source read, not run · checked 2026-10-19; last activity 2026-10-12