Introduction
NES 2.0 is a backwards-compatible extension of the iNES header, created by kevtris for his FPGA console, the Kevtendo, and maintained by the NESdev community. The original header cannot describe many cartridges exactly: it has only 256 mapper numbers, no way to tell apart boards that share a mapper number, and no reliable field for RAM sizes or the console region. NES 2.0 uses the header’s spare bytes to record all of these, so an emulator does not have to guess them from a database.
Structure
Bytes 0 to 7 are laid out as in iNES: the magic 4E 45 53 1A, the ROM
sizes, and the flags with the low eight bits of the mapper number. Bits 0 and 1 of
byte 7 give the console type, such as a plain NES or a Vs. System arcade board, and
bits 2 and 3 are 10 in binary to mark the header as NES 2.0. The other
eight bytes become:
0magicNES\x1A, ROM sizes, flags 6 and 7, as in iNES8 bytes8mapper bits 8 to 11 and a submapper number1 byte9upper bits of the PRG ROM and CHR ROM sizes1 byte10work RAM and battery-backed RAM sizes, as shift counts1 byte11CHR RAM and battery-backed CHR RAM sizes, as shift counts1 byte12timing: NTSC, PAL, multiple regions or Dendy1 byte13Vs. System type, or extended console type1 byte14number of miscellaneous ROMs1 byte15default expansion device, such as the controller1 byte16trainer if flagged, then PRG ROM, CHR ROM and any miscellaneous ROMsvaries
A RAM size given as a shift count n means 64 bytes shifted left by n; 0 means none. Every byte, bit and code is on the header page, with the full lists of expansion devices and submappers on their own pages.
Telling it apart
The file starts with 4E 45 53 1A and bits 2 and 3 of byte 7 are
10 in binary (byte 7 AND 0C is 08).
Not described
The header, expansion devices, submappers and the mappers 256 to 767 are written. What remains:
Known, not yet covered
- Reference: the register layout of each mapper above 255: all 279 NES 2.0 numbers that have a wiki page (256 to 682) are summarised on the NES 2.0 mappers page (and 254 iNES mappers have a layout on the iNES mappers page); 39 of the NES 2.0 rows are labelled stubs or redirects, and several more copy only what a page gives (many pages describe a board in words without addresses). The mappers page links the NESdev Wiki page for each number, and every row was read from the wiki’s raw text on 2026-11-19. The console hardware (CPU memory map, PPU and APU registers, expansion audio, timing and regions) is written on its own pages under NES.
- Viewer: the explorer opens NES 2.0 files: every header byte decoded (12-bit mapper and submapper, ROM sizes including the exponent-multiplier form, RAM and NVRAM shift counts, timing, console, Vs. and extended console types, miscellaneous ROM count, expansion device), the trainer, the PRG banks, the CHR tiles, the vectors and the 2A03 disassembly. Partial: PRG banking is drawn for 213 mappers (iNES and NES 2.0 together; 320 more say why they are not drawn), a CHR banking view (window sizes, and for 225 mappers the register bits that select each window’s bank) for 328, an IRQ sentence for 533 (the MMC3 clones and the other cycle and scanline counters among the NES 2.0 mappers included), a register table for 430 mappers (iNES and NES 2.0 together; the table of each of the others is the register-layout row; round 9 added 75, round 10 another 191, round 12 another 30 and round 13 the iNES boards 143 and 165 (among them the NES 2.0 numbers 340, 401, 406, 410, 517, 523, 553 and 600, and the redirect pages 264, 301, 390, 536 and 537, which carry the table of the page they point to), each from the whole raw page, the NES 2.0 numbers without a table being those whose pages give no register address, such as 258, 259, 272 to 280, 284, 311, 313, 316 to 318, 325, 326, 329, 330, 343, 352, 355, 360, 374, 377, 405, 407, 408, 413, 418, 420, 421, 428, 431, 433, 440, 442, 459, 462, 463, 469, 472 to 474, 476, 479, 524, 527, 530 to 532, 546, 549, 555, 557 and 682; round 9 also rewrote the IRQ sentence of every MMC3 clone whose page gives no IRQ text so that it says what the page does state: the wiki category “Mappers with scanline IRQs” or the “as a normal MMC3” registers, and says for mapper 245 that the MMC3 PPU A12 input is grounded), submapper behaviour sentences and extra CHR or hardware statements (an outer register, a multiplexer, a sound chip) for the mappers whose page makes them, and a “Mapper behaviour” section for every mapper (a link to its register-layout row, and mirroring control, bus conflicts and WRAM sentences). Round 5 completed those sentences, the PRG layout or the reason for none and the CHR windows or the reason for none for the NES 2.0 mappers 256 to 330 (75 numbers) and round 6 did the same for the 204 NES 2.0 mappers from 331 to 682 that have a wiki page, reading each raw wikitext page in full; a sentence beginning “not described by the wiki” means the page has nothing on that item, and a stub page says so. Submappers are named for 18 mappers, and the miscellaneous ROMs are shown as one block (PlayChoice-10 split into its three ROMs). The IRQs are described, not run. Round 12 re-read the raw pages of most NES 2.0 numbers 256 to 602 against their rows and corrected or completed the rows of 257, 262, 268, 271, 283, 286, 287, 289, 293, 303, 307, 314, 336, 447, 513, 543, 561, 562 and 594 (omitted bit positions, a wrong bit range in 287, missing registers), gave mapper 256 its OneBus system registers ($4100-$411B and the forwarded MMC3 registers; the video registers below $4020 are in its entry text) and drew the extra banking modes of 6, 8, 17, 115, 163, 164, 176, 256 and 323 as separate rows. Not done: applying register values, and about thirty NES 2.0 pages with only a stub or a few lines remain summarised as stubs.
Unknown
- Reference: the mapper numbers above 463 and the gaps below it that have no wiki page (listed on the mappers page): nothing public says what they are.
Variants
- iNES ROM image – the original 16-byte header with an 8-bit mapper number
- NES 2.0 ROM image – the extended header: exact mapper, memory sizes and console timing
Links
Software
Reference
- NES 2.0 – NESdev Wiki’s description of the header