# Status The restarted board (docs/restart.md), milestone by milestone, with each gate's numbers. Runs: `PYPY_GC_NURSERY=1M nice .venv-pypy-pin4/bin/python`, PyPy 3.11.15, since 2026-11-23 megadrive-python efd80fc, m68000-python 4454d54 (earlier sections name the pins they ran on: 5c6d1b7 and c827cca in session 1). ## Milestone 1: gate array, memories, sub CPU (2026-11-19) Unit tests: 18 pass (`tests/test_gate_array.py`, every expectation from the hardware manual). mcd-verificator v1.02 as the BIOS (its readme's option 1), `--ram-cart`, no disc, 1,500 frames (TEST ROM: its author ran it on a CDX and a Mega-CD 2): | Row | This board | Archived board (target) | GPGX (OBSERVED) | | --- | --- | --- | --- | | RAM CART | OK ("not present") | OK | OK | | COLOR CALC | OK | OK | OK | | VAR TESTS | OK | OK | OK | | IRQ TEST | 127, ERROR 06 | OK | OK | | REG X000 | OK | OK | OK | | REG X002 | OK | OK | OK | | REG 2006 | ERROR 02, then OK (see below) | ERROR 02 | OK | | REG X00C | OK | OK | OK | | REG 8030 | OK | OK | OK | | CDC REGS | ERROR 09 (no CDC yet) | OK | OK | | PROG RAM | OK | OK | OK | | WORD RAM | ERROR 20 | OK | OK | | WRAM PMOD | OK | OK | OK | | CDC INIT | never finishes (no CDC yet) | OK | OK | 10 of 13 milestone-1 rows OK. Open: IRQ TEST 06, WORD RAM 20 (MAME fails WORD RAM with the same 20), REG 2006 02 (BlastEm fails it with the same 02). Without a RAM cartridge in the slot RAM CART reads ERROR 01 (the empty slot reads the board's open bus). ## Milestone 4: CDC, CDD, disc (2026-11-19, in progress) Unit tests: 22 pass (4 more: the LC8951's IFSTAT, KRIKzz's 5-bit register address, a host transfer's byte count, the drive's spin-up and one-shot report). mcd-verificator as BIOS with Sonic CD (USA) in the drive, 4,500 frames: the milestone-1 rows as above, and | Row | This board | Archived board | GPGX (OBSERVED) | BlastEm (OBSERVED) | | --- | --- | --- | --- | --- | | CDC REGS | ERROR 0B, then OK (see below) | OK | OK | OK | | CDC INIT | OK | OK | OK | OK | | CDC FLAGS | ERROR 22 | OK | OK | 25, ERROR 40 | | CDC DMA2 | ERROR 04 | OK | OK | OK | | CDC DMA3 | ERROR 04 | OK | OK | OK | | CDC DMA1 | OK | OK | OK | OK | Hardware note (forum t=3166, prose): Mike Pavone reports a Wondermega M1, a Sega CD 2 and a LaserActive fail CDC REGS with 01, and the first two CDC FLAGS with 25, ERROR 40: the CDC rows' expectations hold for KRIKzz's CDX and Mega-CD 2, not every model. Drive-log replay (`scripts/replay_cdd_log.py`, KRIKzz's hardware logs, Sonic CD (USA)): 2,503 of 11,256 exchanges identical (22 %). Most logs begin mid-session, which a replay from power-on cannot match; the boot log is 327 of 1,700. Your own BIOS (Sega CD Model 2, US v2.00W, `runs/bios/bios_CD_U.bin`), no disc, 600 frames: the BIOS's title screen ("(c) 1993 SEGA Ver. 2.00", the Earth and Moon). Your own BIOS (US v2.00W) with Sonic CD (USA), from power-on: the BIOS's "CHECKING DISC" (frame 600), "PLEASE WAIT" with its rotating SEGA CD logo drawn by the graphics unit (frames 900-2000), and Sonic CD's own licence screen ("SEGA ... PRODUCED BY OR UNDER LICENSE FROM SEGA ENTERPRISES, LTD.") at frame 2100. Three drive rules were needed and are FITTED to that boot (cdd.py): the first exchange after HOCK reads "00.000000.0F" (as KRIKzz's bios-start log's first line), the drive spins up while the host clock is off, and data blocks reach the decoder while the drive loops paused. ## Later in session 1: two rows settled by the test ROM - **REG 2006 OK**: the level-4 vector's high word at $000070 reads $FFFF, not the boot ROM's word (the row fails with 02 the other way). The manual's p.58 wording does not say what $70 holds; ares reads $FFFF (OBSERVED). The archived board failed this row as a stated choice; this board passes it. - **CDC REGS OK**: DBCH bits 7-4 read 0. The LC8951 manual's Table 7 prints DTEI there; read as active-low DTEI the row fails with 0B. - Tried and reverted: PCM DMA with the word's bytes swapped (ares's order) turns CDC DMA1 from OK to ERROR 05, so CDC DMA1 is the PCM transfer and the high byte goes first. mcd-verificator as BIOS, Sonic CD in the drive, now: 13 of 18 rows OK (RAM CART "not present", COLOR CALC, VAR TESTS, REG X000, X002, 2006, X00C, 8030, CDC REGS, PROG RAM, WRAM PMOD, CDC INIT, CDC DMA1); open: IRQ TEST 06, WORD RAM 20, CDC FLAGS 22, CDC DMA2 04, CDC DMA3 04 (the PRG-RAM and word-RAM transfers). Sonic CD (USA) from power-on with your own BIOS and an erased backup RAM, 4,200 frames: the game's "Internal RAM is not initialized. Use the SEGA-CD control panel to format the RAM." screen at frame 2400 (MAME reaches the same screen with its own BIOS, mame-oracle.md); Start does not leave it. Playing on needs a backup RAM formatted by your own BIOS's control panel (`--backup-ram FILE`). **Confirmed at the end of session 1** (one full run, mcd-verificator as BIOS, `--ram-cart`, Sonic CD in the drive; the rows finish at frame 1,180): 13 of 18 OK; IRQ TEST 127 ERROR 06, WORD RAM ERROR 20, CDC FLAGS ERROR 22, CDC DMA2 ERROR 04, CDC DMA3 ERROR 04. Unit tests: 24 pass. ## Session 2 (2026-11-19, wave 2 continued) Gates before -> after: unit tests 24 -> 29; mcd-verificator as BIOS (Sonic CD in the drive, `--ram-cart`) 13 -> 16 of 18; drive-log replay 2,503 of 11,256 -> unchanged. Final numbers are on the new pin (megadrive-python b84d978, `.venv-pypy-pin2`); the old pin (5c6d1b7, `.venv-pypy`) gave the same rows at every step it was run. | Row | Session 1 | Now | What settled it | | --- | --- | --- | --- | | IRQ TEST | 127 ERROR 06 | OK | IFL2 reaches the sub CPU 14 sub clocks after the write (FITTED, passes 9-19) | | WORD RAM | ERROR 20 | OK | the sub CPU hangs on main-owned 2M word RAM (p.24) and resumes when given it (error 21) | | CDC FLAGS | ERROR 22 | ERROR 34 | 22: EDT/DTEI when the last word is latched (p.26); 26: DTTRG leaves DTEI set (LC8951 §11.3); 30: SYIEN inserts a block sync every 1/75 s with no data (LC8951 CTRL1) | | CDC DMA2 | ERROR 04 | OK | 04: odd byte counts move whole words; 12: PCM DMA moves bytes | | CDC DMA3 | ERROR 04 | ERROR 62 | DMA periods from the MiSTer captures; 28: the other CPU's host register shows the latched word; 44: word-RAM DMA waits while the main CPU owns 2M RAM; 48: PRG-RAM DMA waits while SBRQ (p.6-7); write protect does not stop the DMA (56 otherwise); 60: a write to $A12008 takes a word | How the failing steps were found (closed box): the register and mailbox traffic between the two CPUs was logged, and the frame on which the error text is drawn was matched to the last traffic before it. The test drives the sub CPU through a mailbox in the communication registers (command 1/2 byte read/write, 3/4 word read/write at the address in $A12014-$A12016); IRQ TEST counts 128 level-2 interrupts after a command that clears the counter; WORD RAM has the sub CPU write $080000 with the RAM the main CPU's, expects it to hang, then gives it the RAM and expects the write to finish. The open steps are described in docs/build-status.md. **Mode 1** (your BIOS US v2.00W, mcd-verificator as the cartridge, Sonic CD in the drive, 2,400 frames): CD found at $400000; 15 of 18 OK, the same three CDC rows open. REG 2006 needed the HINT override at $400070-$400073 (TEST ROM). **Sonic CD (USA) into its first zone** on your own BIOS: `scripts/format_backup_ram.py` has the BIOS format the backup RAM through its documented `_BURAM` entry (BRMINIT, BRMFORMAT; BIOS manual ch.7, entry address from megadev, MIT); then, from power-on with that file: title screen by frame 2,700, Start at 4,300 (a press at 3,630 fell in the fade-in), NEW GAME with Start at 4,830, the "Palmtree Panic Zone" card at about 5,300, Sonic in zone 1 with the timer running at 5,450-5,750. Rechecked on the final code and the new pin (b84d978): the title now runs on into the game's attract film (drawn by the graphics unit) before NEW GAME, so the presses moved; with Start at 4,830, 5,500 and 6,200, Sonic is in Palmtree Panic zone 1 with the timer running at 6,900-7,500. Recipe (presses re-derived on 2026-11-25 for the drive rules of decision B1, section "Drive rules kept" below; they were 4830,5500,6200 until then): python scripts/format_backup_ram.py --bios $SEGACD_BIOS runs/sonic2/brm.bin python -m segacd_python --bios $SEGACD_BIOS --disc SONIC.cue --backup-ram runs/sonic2/brm.bin \ --frames 7500 --press start --press-at 4834,5504,6204 --png runs/sonic2/s.png --png-every 300 ## Save states (2026-11-21) `pytest -m slow tests/test_save_state.py` (megadrive-python 6303613, m68000-python 4454d54, `.venv-pypy-pin3`): mcd-verificator saved after frame 450 continues identically through frame 600, every value of the machine compared after every frame, loaded in the same process and in a fresh one, with Sonic CD in the drive (`SEGACD_DISC`) and with none. Seeded faults: 3 of 4 caught (the fourth, in-flight IFL2 requests lost, is equivalent at this save point; docs/worklog.md). The run-ahead report of affd58d was a misread `--frames` after `--load-state` (it counts frames after the saved one). ## Session 3 (2026-11-23): repin, save states on state version 2, referee, sound, drive Pins: megadrive-python 3e2325f -> **efd80fc** (its main: save states, state version 2, and a drawing switch that gates only the pixels). Commits: bb14e1e (repin and states), 3566959 (picture referee), 8c24211 (PCM re-sourced), ade0f08 (seek times), 454caf6 (fader, sound referee); the numbers below were measured on 454caf6's code unless a row says otherwise. | Gate | Before (3e2325f; 6303613) | After (efd80fc, final code) | | --- | --- | --- | | unit tests | 29 | 36 (6 save-state, 1 fader) | | mcd-verificator as BIOS, `--ram-cart`, Sonic CD, 1,600 frames | 16 of 18 (FLAGS 34, DMA3 62), both pins | 16 of 18, the same two (ade0f08 and 454caf6); the 33 PNGs (every 50 frames) byte-identical between 3e2325f and efd80fc, and between drawing every frame and drawing only those (bb14e1e) | | save states, `-m slow`, Sonic CD in the drive | passed (pickles) | passed on 454caf6 (whole-state digest right after the load and after each of frames 451-600, same process and fresh process; 3 h 18 min under a load of 90-135); also passed on bb14e1e (6 min) | | save states, `-m slow`, drive empty | passed (pickles, 2026-11-21) | passed on 454caf6 (1 h 46 min under load) | | drive-log replay | 2,503 of 11,256 | 2,630 of 11,256 | | seek times against the logs (mean miss, 32 moves) | 19.4 exchanges | 7.3 exchanges | | Sonic CD recipe (Start at 4,830, 5,500, 6,200) | zone 1, timer running at 6,900-7,500 | the same presses: zone 1, timer running at 6,900-7,500 (0'01"01 to 0'11"01), only the written frames drawn | **Save states** (docs/save-states.md): megadrive-python's format with the CD in it, refused up front for another BIOS, disc, cartridge, machine, wiring or state version. Seeded faults (each attribute dropped from the state everywhere, or the sub CPU's capture not restored; saved after frame 450 with Sonic CD in the drive, loaded into a fresh console, judged right after the load and for 30 frames; before ade0f08): **8 of 12 caught** (`sub_clock`, `ready_in`, `since_block`, `address`, `given_to_sub`, `lba`, `dbc`, the sub CPU); the other 4 (`dma_latch`, `timer_count`, `sub_hung`, `env`) hold a fresh console's values at that point (the whole-state comparison right after the load saw no difference): equivalent mutants, not counted. **Referee** (`scripts/referee.py`, Genesis Plus GX 49c5847 as a closed box): your BIOS (US v2.00W) and Sonic CD (USA) from power-on, board frames 300-3600 every 300, each matched within 150 referee frames by its colour partition. Before ade0f08: 10 of 10 frames to 3,000 agree at 0 differing pixels, the board 34 frames ahead of the referee from the title screen on. On the final drive model: **11 of 12 agree**, the board now 35 frames behind from the title on (-25 at frame 1,200, -8 at 3,600); frame 3,300, a black transition into the attract film, differs by one line (320 pixels: the board has a coloured line the referee's nearby frames do not; open). OBSERVED: an agreement between two emulators, not a hardware result; the offset says the two drives' timings differ, not which is right (the drive's judge is KRIKzz's logs). **Sound**: the same run with `--wav` (the board's mix without FM), `scripts/compare_audio.py` against Genesis Plus GX's: the title screen's CD-DA (board seconds 30-58): offset -0.133 s, envelope correlation 0.950, waveform correlation median 0.971 over 23 sounding seconds, all above 0.9, no drift; the BIOS's intro (seconds 1-14, carried by the CD side: the board's level without FM is within 10 % of the referee's): envelope 0.967, waveform median 0.928, 91 % of seconds above 0.9. The referee has a short sound at seconds 16-20 the board without FM lacks (FM, presumably: not run with `--fm`; open). OBSERVED; the mix's levels stay labelled assumptions (no recording of a Sega CD exists, validation.md). The PCM's rules now cite Sega's PCM Sound Source manual (8c24211; no behaviour change); the CD-DA fader follows p.31's formula (gain FD09-FD02 / 256; it was linear in all eleven bits). **Drive timing**: seek and play times fitted to KRIKzz's logs (ade0f08; validation.md). The seek's visible statuses are recorded as the next step (build-status.md). **Drawing switch**: the command line and the referee draw only the frames they write. Measured (CPU time, three alternating runs each, best kept, the machine at a load of about 130 throughout, so a guide only): Sonic CD's title screen loaded from a save state, 200 frames, 41.3 s drawn against 36.6 s undrawn (-11 %; undrawn won all three pairs); mcd-verificator's text screens, 300 frames, 12.2 s against 11.8 s (-3 %). Kept: it changes nothing software sees (megadrive-python's state version 2, and the byte-identical verificator frames above), and it pays where the picture is busy. ## Session 4 (2026-11-24): the drive's visible seek, CDC FLAGS, CDC DMA3 Commits 322c662 (the seek's structure and the paused loop), d25eb49 (the decoder interrupt as the LC8951's pulse), 9f16fe2 ($FF8008 writes); pins unchanged (megadrive-python efd80fc, `.venv-pypy-pin4`). Numbers on 9f16fe2's code unless a row says otherwise. | Gate | Before (454caf6) | After (9f16fe2) | | --- | --- | --- | | unit tests | 36 | 38 (the seek; the decoder interrupt's pulse) | | mcd-verificator as BIOS, `--ram-cart`, Sonic CD, 1,600 frames | 16 of 18 (FLAGS 34, DMA3 62) | **17 of 18**: CDC DMA3 OK; CDC FLAGS "25. ERROR: 40" (the LC8951 units' result, below); 16 of 18 (34, 62) with the drive's step 3 alone, before the CDC changes | | drive-log replay | 2,630 of 11,256 (3,468 with `--as-shown`, 2740185) | 3,004 of 11,256 (3,704 with `--as-shown`) | | seek times against the logs (mean miss, 32 moves) | 7.3 | 7.2 (7.16) | | save states, `-m slow`, Sonic CD in the drive / drive empty | passed / passed | passed / passed (2 h 48 min and 2 h 54 min, run side by side under a load of about 100) | | Sonic CD recipe (Start at 4,830, 5,500, 6,200) | zone 1, timer running at 6,900-7,500 | the same presses: Palmtree Panic zone 1, timer running at 6,900-7,500 (0'00"95 to 0'10"95; it was 0'01"01 to 0'11"01) | | picture referee, Sonic CD boot, frames 300-3600:300 | 11 of 12 agree; board 35 frames behind from the title | **12 of 12** agree at 0 differing pixels (frame 3,300 now too); the board **50 frames behind** Genesis Plus GX at frames 1,800-3,000 (the title), 26 at 1,200, 11 at 3,300, 31 at 3,600, level at 300-900 and 1,500 | **The seek** (`cdd.py`; FITTED to KRIKzz's logs, each step measured, worklog.md has the table of kept and dropped steps): from rest, 12 busy exchanges with the flags nibble 1; jumps, a reported position then one or two busy exchanges (two in 101 of the logs' 177 gaps, one in 63); a landing 14 sectors short (the logs: 9 to 19) and a play-in, one position an exchange; the new state shown 3 sectors before the target (33 of 33 cases ending on a report 0). The arrival time is still the session-3 fit, so the jumps fill what the start and the play-in leave. The paused loop: the 8 sectors up to 3 before the target, the jump back showing busy once or twice alternately, 9 exchanges a loop (KRIKzz's "seek pos 250, loop range 240-247" agrees). Not kept: report 0 after a seek, true in seek.txt (and in KRIKzz's notes for a seek from rest) but it lowers the replay while the arrival times miss (the same seek took 32 and 53 exchanges in two logs; the model says 47). Whether blocks reach the decoder during the play-in is unknown (not modelled: they reach it from the arrival on, HYPOTHESIS). **CDC FLAGS** (`cdc.py`, LC8951 design manual §12.6 p.63 and appendix E p.108, DOC): the decoder interrupt is a pulse (about 2,750 us with no WRRQ/PRQ/QRQ, 1,800 or 1,500 in the decoding modes, cut short by reading STAT3 or DECEN off) on an INT pin that is a level. Step 34 passes (an unacknowledged DTEI holds the pin, so later blocks bring no INT5). The row now shows "25. ERROR: 40": its next step starts a host transfer about 1,400 sub clocks after a block's INT5 without reading STAT3, so DTEI arrives while the pulse holds the pin and makes no edge. Mike Pavone (forum t=3166, prose of hardware tests) reports the same "test 40 with a value of 25" on a Wondermega M1 and a Sega CD 2 (LC89515), and his LaserActive PAC has an LC8951; KRIKzz's CDX, which passes, has an LC8913. TEST ROM, two kinds of unit: the board follows the LC8951's manual and fails where the LC8951 units fail. A CDX row would need the LC8913's interrupt timing, which no permitted source gives. **Referee offset**: the board fell 15 frames further behind Genesis Plus GX at the title (35 -> 50) with the seek's structure and the decoder pulse together (one run on 9f16fe2; the two were not run apart). OBSERVED: two emulators' drives differ by about 0.25 s over the boot, which says nothing on its own about which is nearer the hardware; the drive's judge stays KRIKzz's logs, and the 50 is the number to watch when report 5's latency (build-status.md) is built. **CDC DMA3** (`gatearray.py`): a write to $FF8008 by the sub CPU takes a word, as session 2 found for $A12008 (TEST ROM: the row writes it 588 times in a 1,176-word DD=3 transfer and reads on through its mailbox; mechanism HYPOTHESIS). ## Domains and channels (2026-11-25) [domains.md](domains.md) names the board's domains (main, sub, drive), the channels between them, their sync points, the memory map's kinds and writers, and the order of record, as the charter asks. Two channels were made explicit with no behaviour change: the CDC's DMA reaches the memories through `MegaCD.cdc_dma_*`, and the gate array reaches the drive's command and status nibbles through `CDD.status_word`/`command_word`/`write_command`. `tests/test_domains.py` checks the boundaries. Pins unchanged (megadrive-python efd80fc, `.venv-pypy-pin4`); before is 9e0b2b9, after this commit, both run side by side under a load of about 90: | Gate | Before | After | | --- | --- | --- | | unit tests | 38 | 43 (5 in `test_domains.py`) | | mcd-verificator as BIOS, `--ram-cart`, Sonic CD, 1,600 frames | 17 of 18 (CDC FLAGS "25. ERROR: 40") | the same; all 33 PNGs, the WAV and the text byte-identical | | Sonic CD recipe to 7,500 frames (Start at 4,830, 5,500, 6,200) | zone 1, timer 0'00"95 to 0'10"95 | the same; all 26 PNGs (every 300 frames and the last), the WAV and the backup RAM byte-identical | | picture referee, frames 300-3600:300, default options (the board's built-in formatted backup RAM, window 60) | 4 of 12 | 4 of 12; the 12 board PNGs byte-identical (the 8 misses go with the options: with the run below's backup RAM and window all 12 agree; why, not looked at) | | picture referee, `--backup-ram runs/sonic2/brm.bin --window 150` (after only) | 12 of 12 (session 4) | **12 of 12** at 0 differing pixels, 50 frames behind at 1,800-3,000: as session 4 | ## Drive rules kept, recipe re-derived (2026-11-25, decisions B1 and B2) Aubrey approved decision B1 as recommended (emulator-lineage docs/proposals/2026-11-decisions.md): keep session 4's two reverted drive rules and re-derive the recipe's presses, since the drive logs are hardware measurements and the recipe is a smoke detector. Branch `drive-rules`: 820a703 commits the rules as the patch held them (`cdd.py`: report 5 asked in state 9 is answered after 2 busy exchanges; stop shows state 0 with the flags nibble 1; both FITTED to KRIKzz's logs). Pins unchanged (megadrive-python efd80fc, `.venv-pypy-pin4`); before is 4205303. | Gate | Before (4205303) | After (drive rules, new presses) | | --- | --- | --- | | unit tests | 43 | 43 | | drive-log replay, from power-on / `--as-shown` | 3,004 / 3,704 of 11,256 | **3,054 / 4,076**; stop.txt 215 of 215, stop-play.txt 164 of 164 | | mcd-verificator as BIOS, `--ram-cart`, Sonic CD, 1,600 frames | 17 of 18 (CDC FLAGS "25. ERROR: 40") | 17 of 18, the same row | | Sonic CD recipe to 7,500 frames | Start at 4,830, 5,500, 6,200: zone 1, timer 0'00"95 to 0'10"95 | Start at **4,834, 5,504, 6,204**: Palmtree Panic zone 1 from frame 6,900, timer 0'00"88 at 6,900 to 0'10"88 at 7,500 (card at about 6,700-6,800); the old presses leave Sonic on the card at 7,500 | | picture referee, `--backup-ram` (formatted) `--window 150`, frames 300-3600:300 | 12 of 12; the board 50 frames behind at the title | **12 of 12** at 0 differing pixels; **53 frames behind** at 1,800-3,000 (the title), 28 at 1,200, 11 at 3,300, 31 at 3,600, level (within 1) at 300-900 and 1,500 | | save states, `-m slow` | passed on 9f16fe2 | not rerun (hours of a whole board; the rules add one field, `pending_delay`, which the `__dict__` state carries) | **Why the presses moved** (OBSERVED, this board only): with the new rules the attract film plays at a slightly different phase, and the film reads Start only at some moments. From a state saved at frame 4,800 (just before the first press), a 6-frame press starting at each frame 4,826-4,844 ends the film except when it starts at 4,830, 4,831 or 4,838 (and at 4,815, 4,845, 4,860, 4,875, 4,890, 4,905 of those tried further out): the old first press, 4,830, was one of the misses, so the film ran on and the presses after it came one screen late. 4,834 is the middle of the 4,832-4,837 run of good frames; the other two keep the old spacing (+670 to PRESS START on the title, +700 to NEW GAME). The search ran from save states, one process at `nice`; the recipe then ran once from power-on, and its frames 6,900 and 7,500 and its backup RAM are byte-identical to the run from the state. A press frame with a margin of 2-3 frames either side will move again when the boot's timing moves; the verdict (zone 1, timer running) is what the gate checks, not the frames. **Referee lag 50 -> 53**: as the trial of 2026-11-24 measured. OBSERVED: two emulators' drives differ; the drive's judge stays KRIKzz's logs, which these rules match better. **Save states taken mid-seek before 322c662** (decision B2, approved as recommended): such states load, because megadrive-python's loader applies a state onto a freshly built console and the drive's `seek_*` and `loop_*` fields (and now `pending_delay`) keep their power-on values; but a drive saved while seeking arrives at once, and one saved paused loops at sector 0 until its next seek. This is accepted for now: the repository is local, no player holds such a state, and a version bump today would go through megadrive-python's shared state version, the wrong place. Proper versioning comes with megadrive-python's device-state socket (decision B3, being built on a megadrive-python branch, `device-state`): the Sega CD's own state then gets its own version and refuses older ones. ## What remains See docs/build-status.md for the exact next steps. In short: the drive's arrival times and the other visible behaviours found in the logs (report 5 while playing or paused, stop's 13 busy exchanges, resume, report 0 after a seek; replay 3,054 of 11,256, 27 %); CDC FLAGS 40 (an LC8913 row, no source); milestone 2 (wait states, refresh, the MAME lockstep) not started; a socket for a device's state in megadrive-python (sockets.md §12); more discs through the referee; the RAM cartridge's memory (no permitted source for its layout: documented default, provisional); the compatibility sweep (7); CD + 32X (8) in progress (Night Trap reaches its title film, frame 3,000, with sega32x-python 5c66906 in the slot, 2026-11-19; save states refuse a 32X).