[
 {
  "path": "reference/src/picodrive",
  "url": "https://github.com/irixxxx/picodrive",
  "rev": "1008a98e494901321c1ecad4221892f682aecb89",
  "date": "2026-10-21T17:19:48Z",
  "sparse": ["/pico/32x/", "/pico/pico_int.h", "/pico/memory.c", "/pico/pico_cmn.c", "/cpu/sh2/sh2.c", "/cpu/sh2/sh2.h", "/COPYING", "/README.md"],
  "license": "PicoDrive licence (non-commercial; COPYING)",
  "tier": "emulator-derived",
  "note": "PicoDrive, irixxxx's tree (the active one; notaz/picodrive was last pushed 2025-04-03 at 26ecb2b). pico/32x/: memory map, system registers (many marked 'verified'), VDP, PWM, the no-BIOS boot (32x.c p32x_reset_sh2s, memory.c msh2_code/ssh2_code). notaz writes testpico, so several values here are hardware-checked."
 },
 {
  "path": "reference/src/ares",
  "url": "https://github.com/ares-emulator/ares",
  "rev": "9408cb43d4948fc3ea6e152a307a34348df3fe04",
  "date": "2026-10-06T14:03:27Z",
  "sparse": ["/ares/md/m32x/", "/ares/md/md.hpp", "/ares/md/bus/", "/ares/md/cartridge/", "/ares/md/system/", "/ares/md/vdp/", "/LICENSE", "/README.md"],
  "license": "ISC",
  "tier": "emulator-derived",
  "note": "ares (Near's 32X, 2021, since maintained): bus-external.cpp (68000 side), bus-internal.cpp (SH-2 side), io-*.cpp (system registers), vdp.cpp, pwm.cpp, sh7604.cpp. Near reported passing Sega's Mars Test (161 tests) in spritesmind t=3218."
 },
 {
  "path": "reference/src/jgenesis",
  "url": "https://github.com/jsgroth/jgenesis",
  "rev": "d41e2d975771c78ee2efe80f8ec5768b87e3f7eb",
  "date": "2026-10-20T19:31:19Z",
  "sparse": ["/backend/s32x-core/", "!/backend/s32x-core/src/*.bin", "/cpu/sh2-emu/README.md", "/LICENSE", "/README.md"],
  "license": "MIT",
  "tier": "emulator-derived",
  "note": "jgenesis s32x-core (Rust). Its tree embeds Sega's three boot ROMs (src/m68k_vectors.bin, sh2_master_boot_rom.bin, sh2_slave_boot_rom.bin; SHA-1s identical to Sega's): the '!' pattern leaves them out. bootrom.rs cites testpico for the 68000 HINT vector reading 0."
 },
 {
  "path": "reference/src/mame",
  "url": "https://github.com/mamedev/mame",
  "rev": "f379cd060ac3b2bd567ebbd0957aed059d6895ff",
  "date": "2026-01-29T15:02:37Z",
  "sparse": ["/src/mame/shared/mega32x.cpp", "/src/mame/shared/mega32x.h", "/src/mame/sega/mdconsole.cpp", "/src/mame/sega/mdconsole.h", "/src/devices/cpu/sh/sh7604.cpp", "/src/devices/cpu/sh/sh7604.h", "/hash/32x.xml", "/COPYING"],
  "license": "BSD-3-Clause / GPL-2.0 (MAME)",
  "tier": "emulator-derived",
  "note": "MAME 0.285 (the version installed at /usr/games/mame and pinned by megadrive-python): mega32x.cpp is MAME's 32X ('sparse': many registers stubbed, its own comments list what is missing); hash/32x.xml is the 32X software list."
 },
 {
  "path": "reference/src/blastem",
  "url": "https://github.com/libretro/blastem",
  "rev": "ab743653ed110eeb7b1fe64d00cc5f9279c2bfec",
  "date": "2026-10-10T19:07:22Z",
  "sparse": ["/32x.c", "/32x.h", "/32x_video.c", "/32x_video.h", "/sh7095.c", "/sh7095.h", "/sh2.cpu", "/genesis.c", "/genesis.h", "/COPYING", "/README"],
  "license": "GPL-3.0",
  "tier": "emulator-derived",
  "note": "BlastEm (Mike Pavone, MoD) with its 32X, via the libretro mirror (synced with upstream hg). MoD's MD measurements are hardware-captured; nothing ties his 32X code to measurements yet. sh2.cpu is the SH-2 instruction set in BlastEm's CPU DSL; sh7095.c holds the on-chip modules and the cache. Run here from megadrive-python's full build at 542164d, whose 32X and SH-2 files are identical to this rev."
 },
 {
  "path": "reference/src/S32X_MiSTer",
  "url": "https://github.com/MiSTer-devel/S32X_MiSTer",
  "rev": "3d4209c659512a8c0f43913b1fa54d3d550b2794",
  "date": "2026-10-10T14:43:26Z",
  "sparse": ["/rtl/32X/", "/rtl/32X_mem.sv", "/rtl/snd_mix.vhd", "/S32X.sv", "/README.md"],
  "license": "none stated (GPL in file headers where present)",
  "tier": "emulator-derived",
  "note": "srg320's FPGA 32X (2022-): an HDL re-implementation from documents and testing, not a die transcription; cycle-level where it was fitted to games. Its SH-2 (rtl/SH) is the core's business and is left out."
 },
 {
  "path": "reference/src/megadrive-notaz",
  "url": "https://github.com/notaz/megadrive",
  "rev": "30a578371c9f5a1f3e36d56038e4934c647a930d",
  "date": "2025-04-29T01:17:12Z",
  "sparse": ["/testpico/"],
  "license": "Unlicense (testpico/UNLICENSE)",
  "tier": "hardware-corrected",
  "note": "notaz's testpico: a self-checking 68000+SH-2 test program, 14 32X tests (init, echo, SH defaults, md bios, md rom, md fb, sh fb, irq cmd, irq vint, reg w, reset button, reset prep) and ~50 MD tests; written against his real hardware (PicoDrive's 'verified' values and jgenesis's citation). Source only: scripts/build_referees.py builds it."
 },
 {
  "path": "reference/src/32XDK",
  "url": "https://github.com/viciious/32XDK",
  "rev": "7e92989ac22b77c1dd9e566a9184c0615ebffffb",
  "date": "2026-08-29T17:45:22Z",
  "sparse": [],
  "license": "none stated",
  "tier": "specification / research",
  "note": "viciious's continuation of Chilly Willy's (Joseph Fenton's) 32X devkit: four Sega technical bulletins as PDFs (#9 68K interrupts and RV, #10 FRT initialisation, #14 VDP shift bit, #27 SH-2 interrupt problems) and markdown transcriptions of the 32X hardware manual and hardware information."
 },
 {
  "path": "reference/src/32XDK.wiki",
  "url": "https://github.com/viciious/32XDK.wiki.git",
  "rev": "ad611211d9a1e4c6d4aebec00f0db1a8d8d7111c",
  "date": "2026-10-21",
  "sparse": [],
  "license": "none stated",
  "tier": "research",
  "note": "32XDK wiki: Bugs-and-quirks (FRT bump on /IRL0, RV and cart access, framebuffer zero-byte writes, the overwrite image, undocumented DRAM mirror at $24040000), Video, SH2-on-the-32X, Bank-switching. Developer knowledge from hardware use, not measurements."
 },
 {
  "path": "reference/src/gens-rerecording",
  "url": "https://github.com/TASEmulators/gens-rerecording",
  "rev": "53601d3b2c601c367aacb6355fa1c0282174cf1e",
  "date": "2026-08-29T08:19:26Z",
  "sparse": ["/Gens-rr/src/Mem_M68K_32X.inc", "/Gens-rr/src/Mem_SH2.asm", "/Gens-rr/src/Mem_SH2.h", "/Gens-rr/src/SH2_IO.inc", "/Gens-rr/src/pwm.c", "/Gens-rr/src/pwm.h", "/Gens-rr/src/vdp_32X.asm", "/Gens-rr/src/vdp_32X.h", "/Gens-rr/src/gens_core/"],
  "license": "GPL-2.0",
  "tier": "emulator-derived",
  "note": "Gens 2.x 32X (Stef, 2002-2004) as kept by the TAS project: historically the reference other emulators copied; known inaccurate (spritesmind t=2732)."
 },
 {
  "path": "reference/src/32X240pTestSuite",
  "url": "https://github.com/Dasutin/32X240pTestSuite",
  "rev": "91f7d783dbfc9fc60545eaff50dd831b744e8d41",
  "date": "2026-09-26T00:22:09Z",
  "sparse": [],
  "license": "GPL-2.0",
  "tier": "hardware-corrected (visual)",
  "note": "source of the 32X 240p Test Suite (the pinned v1.0 ROM is older)."
 },
 {
  "path": "reference/src/marsdev",
  "url": "https://github.com/andwn/marsdev",
  "rev": "3318d3f39823154b24ce48bfa5d8fe6e3f6cde3f",
  "date": "2026-03-04T20:15:23Z",
  "sparse": [],
  "license": "MIT (scripts); toolchain components under their own licences",
  "tier": "tool",
  "note": "MD/32X cross toolchain recipes (m68k-elf, sh-elf); the prebuilt v1.0.0-rc1 bundle is in pinned_files.json (large)."
 },
 {
  "path": "reference/src/sjasm",
  "url": "https://github.com/samsaga2/sjasm",
  "rev": "d51f5504b24ea9273050ac5fa2896c8970da0b4b",
  "date": "2025-11-11T09:33:26Z",
  "sparse": ["/CMakeLists.txt", "/LICENSE", "/README.md", "/src/"],
  "license": "Sjoerd Mastijn's licence (LICENSE)",
  "tier": "tool",
  "note": "sjasm 0.42c (Sjoerd Mastijn), the version testpico's z80_test.s80 is written for; marsdev ships 0.39j, which rejects its macros."
 }
]
