pub const EMULATION_EPOCH: u32 = 10;Expand description
v3.0.0 (ADR 0045) — which emulator behaviour a movie or a netplay peer
expects, beside the options and the board that HardwareOptions and
BoardDescription describe.
Two builds with identical options can still emulate a game differently
whenever an accuracy fix lands: v3.0.0’s T-MMC3-BG-A12, for instance,
moves the MMC3 IRQ for games with the background at $1000. Without a
record of which behaviour a recording assumes, a movie replays under the
new timing and a mixed-version netplay session desyncs, and neither says
why. .rnm format 5 records this number, and netplay protocol 6 sends it
in the handshake; a mismatch is refused, naming both epochs.
The bump rule. Increment it, in the same change, whenever a change makes the core produce a different framebuffer, audio sample or bus cycle from the same inputs than the last release did. Every such change already re-blesses a golden or moves a commercial snapshot, so that is the trigger to look for. Refactors, byte-identical performance work, frontend features and new mapper families (which have no earlier output to differ from) do not bump it. A release that moved goldens without raising it breaks the promise this constant exists to keep.
It was 1 at v3.0.0, the first release to carry it. Earlier builds have no epoch, and are refused by the movie format (5) and the protocol (6) instead.
| epoch | release | what moved |
|---|---|---|
| 1 | v3.0.0 | the MMC3 background-at-$1000 A12 rule (T-MMC3-BG-A12) |
| 2 | v3.0.1 | mapper 45 CHR-RAM unbanked (T-GA23C-CHRRAM; Famicom Yarou Vol.1) |
| 3 | v3.1.0 | a DMC load DMA refused by a write takes four cycles; sprite evaluation starts at OAMADDR as of dot 65 and keeps a misaligned OAMADDR when X is in range (AccuracyCoin re-sync to f5f41dc2) |
| 4 | v3.2.0 | mapper 290’s 32 KiB PRG mode maps both halves in order (Asder 20-in-1 boots); a 24C02 keeps its word address across a START (mapper 16, 157); VRC4’s IRQ mode bit reads 1 = cycle, 0 = scanline (mappers 21, 23, 25); VRC2 mirroring ignores bit 1, and 23 / 25 submapper 3 are built as VRC2; mapper 71 submapper 0 detects Fire Hawk’s $9000 single-screen register |
| 5 | v3.3.0 | a CHR-RAM write goes through the bank registers its read does (T-VRC4-CHRRAM-BANKING: mappers 19, 21-26, 34 NINA-001, 69, 75, 151); mapper 71’s bank select answers only at $C000-$FFFF, and Fire Hawk’s (submapper 1) mirroring register at $8000-$9FFF (T-MAPPER71-DECODE) |
| 6 | v3.5.0 | the MMC5 detects scanlines from the PPU’s reads (nesdev_wiki/MMC5.xhtml): a $5203 = N IRQ rises at line N dot 4, not line N - 1 dot 0, and nothing counts with rendering off (Uchuu Keibitai SDF’s playfield moves down one line; Castlevania III, Gemfire and L’Empereur audio) |
| 7 | v3.5.1 | the MMC5’s split-screen and extended-attribute CHR banks apply only to fetches made while the PPU renders (T-MMC5-LATCH-VBLANK): a $2007 CHR read in vertical blank, or with rendering off, reads the bank registers, not the last tile’s latched bank. No golden or snapshot moved and a probe found no affected access in three MMC5 games; raised anyway, by the maintainer’s call (2026-10-23), because the bus value changes for software that makes that read |
| 8 | v3.6.0 | NSF playback: a 60 Hz NSF’s play routine runs every frame again (the driver inhibits the APU frame IRQ and enables the NMI after the PPU’s warm-up, T-AUDIO-STEMS), and the driver moved from $5000 to $5100, clear of the MMC5 status port, so an MMC5 NSF plays. No golden or fingerprint covers an NSF, so nothing recorded moved; raised by the maintainer’s call (2026-10-24) because NSF audio and bus traffic change from the same inputs. The same epoch carries the noise-channel fix: the LFSR now shifts every table period in CPU cycles, as the NESdev page gives it, instead of every 2 x (N + 1); 112 commercial and test-ROM audio hashes moved, no frame or cycle count |
| 9 | v3.6.1 | the MMC5’s background-fetch window closes on the in-frame flag’s idle rule while rendering (a few dots into line 240) and at a vertical blank whose flag a $2002 read suppressed (T-MMC5-WINDOW-END), so a $2007 CHR access there reads the bank registers; and the MMC5 split’s first two tiles of a frame, fetched on the pre-render line, take row $5201 + 0 instead of ($5201 + 261) % 240 (+ 311 on PAL and Dendy). No golden, snapshot or fingerprint moved (4,048 tests, Uchuu Keibitai SDF included); raised by v3.5.1’s precedent, because a frame and a bus value change from the same inputs for software that splits the first two columns with $5201 set or reads CHR on line 240 |
| 10 | v3.6.2 | Rad Racer’s per-game coherent mid-line copy correction (coherent_midline_copy, ADR 0051), on by default for the game’s three dumps only: a delayed $2006 copy whose countdown ends inside a background fetch group is held to the end of that group, so no tile is fetched from two addresses. A deliberate departure from hardware; its 8-pixel dash in the sand on line 139, about one race frame in eleven, is gone, and the game’s default frames change. Recorded in movies (.rnm format 8, minimum 8) and the netplay digest; protocol 9 unchanged, since a v3.6.1 peer is refused on the epoch. The attribute-read rule this release first carried was withdrawn (ADR 0030, 2026-11-06), so no other game’s output moves |