[
  {
    "path": "reference/src/mcd-verificator",
    "url": "https://github.com/krikzz/mega-ed-pub",
    "rev": "8b72838f8b449e34e519b53d9e9b8fd2021a6044",
    "licence": "GPL-3.0 (the repository's LICENSE): a test program, run only. Since 2026-11-25 (decisions L2, L5) its source (mcd-verificator/src/) is not fetched: only the prebuilt .bin, the readme, cd-log/ (hardware recordings) and notes/ (prose)",
    "tier": "hardware-corrected test program; cd-log hardware-captured",
    "why": "KRIKzz's mcd-verificator: a self-checking Sega CD test (main and sub CPU; CDC, CDD, PCM, gate-array and standard tests; prebuilt mcd-verificator.bin, run as a mode-1 cartridge) whose expectations are 'fully based on real hardware researches' (readme; NTSC only; CDX and Mega-CD 2 per forum t=3166), plus cd-log/, 'cdd communication logs from real hardware', and notes/. Deleted at the repository's HEAD by 1bef4cf (2026-05-10, 'Migration to edlink'); pinned at its parent. Genesis Plus GX cites it eight times. src/sub_bios.bin is KRIKzz's own code.",
    "sparse_patterns": [
      "/LICENSE",
      "/README.md",
      "/mcd-verificator/mcd-verificator.bin",
      "/mcd-verificator/readme.txt",
      "/mcd-verificator/cd-log/",
      "/mcd-verificator/notes/"
    ]
  },
  {
    "path": "reference/src/MegaCD_MiSTer",
    "url": "https://github.com/MiSTer-devel/MegaCD_MiSTer",
    "rev": "a3a3da81d04b22533def34f26eb9d748be9d2d0c",
    "sparse_patterns": [
      "/docs/mcd logs/",
      "/README.MD"
    ],
    "licence": "GPL-3.0 repository: only the hardware captures are fetched; the HDL (rtl/MCD) is not, since 2026-11-24 (Aubrey)",
    "tier": "hardware-captured (docs/mcd logs)",
    "why": "docs/mcd logs: 37 Quartus SignalTap captures (10.3 MB) of a real Mega-CD's sub-68000 bus and its word-RAM and PRG-RAM DRAM pins (S68K_*, WR_RAS/CAS/OE/WE, PR_*): CDC DMA to PCM/PRG/word RAM, sub reads, refresh, interrupt 1-3 acknowledges, register writes, graphics-unit vs 68000 word-RAM access; one dated 2019-11-03. Instrument inferred from the screenshots; console and capturer not stated (srg320's core). Also srg320's FPGA core (rtl/MCD), an implementation, not evidence."
  },
  {
    "path": "reference/src/ares",
    "url": "https://github.com/ares-emulator/ares",
    "rev": "9408cb43d4948fc3ea6e152a307a34348df3fe04",
    "sparse": [
      "ares/md/mcd"
    ],
    "licence": "ISC",
    "tier": "emulator-derived",
    "why": "ares (Near's last emulator): ares/md/mcd -- external and internal bus, CDC and its transfers, CDD and its DAC, the graphics unit, PCM, timer, interrupts."
  },
  {
    "path": "reference/src/clownmdemu-mcd-boot",
    "url": "https://github.com/Clownacy/clownmdemu-mcd-boot",
    "rev": "ebdf03cda77383bda3d1c9e4d69f89a1d19d7233",
    "licence": "0BSD",
    "tier": "none (a program, not an oracle)",
    "why": "Clownacy's free replacement Mega CD boot ROM (main and sub programs), source of clownmdemu's mega-cd-boot-rom.c: a redistributable BIOS stand-in, not a model of Sega's BIOS."
  },
  {
    "path": "reference/src/mame",
    "url": "https://github.com/mamedev/mame",
    "rev": "f379cd060ac3b2bd567ebbd0957aed059d6895ff",
    "sparse_patterns": [
      "/src/mame/sega/megacd.*",
      "/src/mame/sega/mdconsole.cpp",
      "/src/mame/shared/megacdcd.*",
      "/src/devices/sound/rf5c68.*",
      "/src/lib/util/cdrom.*",
      "/src/lib/util/chd.*",
      "/src/lib/util/chdcodec.cpp",
      "/hash/megacd.xml"
    ],
    "licence": "BSD-3-Clause (these files)",
    "tier": "emulator-derived",
    "why": "MAME's segacd: the gate array and sub CPU (sega/megacd.cpp), the LC89510 and CDD (shared/megacdcd.cpp), RF5C68/RF5C164 (sound/rf5c68.cpp), the BIOS list (sega/mdconsole.cpp), CHD and CD-ROM code, the megacd software list. Sparse coverage of timing; pinned at the source of the 0.285 binary (/usr/games/mame), which is the detector; HEAD was 1ee501d on 2026-10-21."
  },
  {
    "path": "reference/src/libchdr",
    "url": "https://github.com/rtissera/libchdr",
    "rev": "47d794151b2b64f6aba60304e6480f4f5a2bc24b",
    "licence": "BSD-3-Clause",
    "tier": "specification (format, by implementation)",
    "why": "The standalone CHD reader GPGX, BlastEm and PicoDrive use: the CD track layout and codecs a CHD reader must handle."
  },
  {
    "path": "reference/src/clowncd",
    "url": "https://github.com/Clownacy/clowncd",
    "rev": "6ac52d0f3e8c55e591de6c445c034b0f12e95033",
    "licence": "0BSD",
    "tier": "emulator-derived",
    "why": "A portable CD image reader (BIN/CUE, CHD, ISO with FLAC/MP3/OGG/WAV): how a Mega CD emulator handles audio tracks."
  },
  {
    "path": "reference/src/240pTestSuite",
    "url": "https://github.com/ArtemioUrbina/240pTestSuite",
    "rev": "89adfdd66853746fa9db9105104314ac58021791",
    "sparse_patterns": [
      "/240psuite/Genesis/240p/segacdfiles/",
      "/240psuite/Genesis/240p/outscd/",
      "!*.bin",
      "!*.iso",
      "!*.BIN",
      "!*.ISO"
    ],
    "licence": "GPL-2.0",
    "tier": "hardware-corrected (visual)",
    "why": "The 240p Test Suite's Sega CD build: PCM tests (SIN*.PCM, SWEEP.PCM), CD-DA tracks, cue. Visual and aural, not self-checking. Sega's security blocks (*.bin) and built images are left out of the checkout."
  },
  {
    "path": "reference/src/sega-cd-asic-demo",
    "url": "https://github.com/DevsArchive/sega-cd-asic-demo",
    "rev": "6a65f485922fdee0ca27ab435e0139435bbdf939",
    "sparse_patterns": [
      "/*",
      "!*.bin"
    ],
    "licence": "Unlicense",
    "tier": "research",
    "why": "A graphics (stamp) unit demo with a clear register description; not self-checking. Sega's sec_us.bin is left out."
  },
  {
    "path": "reference/src/md-mode1-mcd-asic-test",
    "url": "https://github.com/jvisser/md-mode1-mcd-asic-test",
    "rev": "c2f3a38bb16678adfeaab789b6b2dda3a393e8b4",
    "licence": "CC0-1.0",
    "tier": "research (hardware-run, numbers in README)",
    "why": "A mode-1 graphics-unit throughput test, run by its author on a Mega EverDrive PRO and a real Mega CD; measures speed, no pass/fail."
  },
  {
    "path": "reference/src/megacdTest",
    "url": "https://github.com/fabiodl/megacdTest",
    "rev": "e89c10170877083640083f40021bcd256ee52471",
    "licence": "none stated",
    "tier": "research",
    "why": "A small mode-1 test (word RAM and backup RAM fill/check, bank swap, 2M mode, interrupt wait) with pass/fail; no hardware results stated."
  },
  {
    "path": "reference/src/SegaCDMode1PCM",
    "url": "https://github.com/viciious/SegaCDMode1PCM",
    "rev": "54863cd4a25eee69b69691643c433df69ca18cae",
    "licence": "MIT",
    "tier": "research",
    "why": "A mode-1 PCM driver/demo (Chilly Willy lineage)."
  },
  {
    "path": "reference/src/megadev",
    "url": "https://github.com/drojaazu/megadev",
    "rev": "7a7246c14b845ad2f1bd3c7d73afb04cf67d83ef",
    "sparse": [
      "docs",
      "lib"
    ],
    "licence": "MIT",
    "tier": "research",
    "why": "A Mega CD development framework: register and BIOS headers and docs, a cross-check of names."
  },
  {
    "path": "reference/src/msu-md",
    "url": "https://github.com/krikzz/msu-md",
    "rev": "70a882d4e858c110cc359b6d2438f4891f8e1cc1",
    "licence": "MIT",
    "tier": "research",
    "why": "KRIKzz's mode-1 CD driver (CDD play and seek through the BIOS from a cartridge)."
  }
]
