# Documents | Document | What it holds | | --- | --- | | [restart.md](restart.md) | Why this repository restarted, the rules every document and line of code follows, what was carried over, the scrub record | | [manual-registers.md](manual-registers.md) | The machine's register reference, read from Sega's hardware manual's page images | | [sockets.md](sockets.md) | What the CD needs from each of megadrive-python's sockets, and where the design is wrong or missing something | | [validation.md](validation.md) | Every oracle with its tier and pin; what the referees did here (closed-box runs); the milestone record | | [mame-oracle.md](mame-oracle.md) | MAME 0.285's Sega CD as a detector: the recipe, traces, and its failures | | [handoff-brief.md](handoff-brief.md) | The build brief: prerequisites, milestones with acceptance tests, open decisions | The Phase 0 documents `start-here.md` (the machine), `timing.md` (clock domains and the scheduler) and `undocumented-behavior.md` (quirks and open items) were not carried over: they described other emulators' code paths. They are to be rewritten from permitted sources during the rebuild; until then [manual-registers.md](manual-registers.md) is the machine's reference. ## Findings made while gathering (2026-10-21, scrubbed 2026-11-19) - **The sockets design says the CD interrupts the main 68000 at level 2; no permitted source does.** Level 2 goes from the main CPU *to the sub CPU* (IFL2, manual p.56); MAME's BSD-3 driver delivers every CD interrupt to the sub CPU ([sockets.md](sockets.md) §5). - **Port accesses need their clock**: the two CPUs' handshakes are polls of shared registers, so the sub side must be caught up at the access (§2, §4). - **The slot's range moves.** In mode 2 the cartridge area is `$400000-$7FFFFF` (manual p.5), so a RAM cartridge (no `/CART`) sits there; "no cartridge" must be a state of its own (§1). - **Word-RAM DMA is one word late** (manual p.61, "output with a one cycle delay"); what the first destination word receives is open (§9). - **What the reset button does to the CD hardware is open**: the manual separates power-on from other resets (p.27) but never names the button (§8). - **m68000-python cannot model a withheld `/DTACK`**, which a sub-CPU access to word RAM it does not own produces ("the CPU becomes hang up", manual p.24) (§11). - **mcd-verificator was deleted from its repository's HEAD** (2026-05-10); pinned at the parent commit. Its source is GPL-3.0 and is run only, never read. Its CDD logs are the only hardware captures of the drive protocol found. - **There is no die-derived model of any Sega CD chip**, and no hardware capture of seek time or of the audio mix. - Under mcd-verificator as BIOS (closed-box runs): **Genesis Plus GX passes every row, BlastEm fails three, MAME 0.285 fails ten and stops at CDC INIT** ([validation.md](validation.md)).