Skip to content

docs(roadmap): add Phase 003 — Tom Harte ProcessorTests#4

Merged
richardcase merged 1 commit into
mainfrom
docs/roadmap-tom-harte
May 25, 2026
Merged

docs(roadmap): add Phase 003 — Tom Harte ProcessorTests#4
richardcase merged 1 commit into
mainfrom
docs/roadmap-tom-harte

Conversation

@richardcase
Copy link
Copy Markdown
Contributor

Summary

  • Insert new Phase 003 — CPU bus-cycle validation against SingleStepTests/ProcessorTests: ~1.51M JSON cases (151 documented opcodes × 10,000) verifying per-cycle bus reads/writes — closes the gap left by Klaus Dormann, which only checks final state.
  • Renumber downstream phases (Video 003→004, SDL host 004→005, Sound 005→006, Input 006→007, Storage 007→008) and fix all cross-refs inside the SDL host section + the ADR-0001 re-evaluation gate.
  • Scope decisions captured in-section: 151 documented opcodes only (105 illegals deferred); corpus fetched at test time via go:generate with a pinned upstream commit SHA; gitignored testdata/ dir; reuses existing mos6502.Trace / BusEvent infrastructure with zero new public API.

Test plan

  • Visual review of docs/roadmap.md — phase ordering, table, downstream cross-refs.
  • grep -nE 'Phase 00[0-9]' docs/roadmap.md returns 001–008, contiguous.
  • No code changes; no test impact. Next step is /speckit-specify 003-cpu-processor-tests once this lands.

🤖 Generated with Claude Code

Insert new Phase 003 — CPU bus-cycle validation against
SingleStepTests/ProcessorTests (~1.51M tests across 151 documented
NMOS opcodes). Closes the per-cycle bus-order gap left by the
Klaus Dormann functional ROM, which only checks final state.

Renumber downstream phases: Video 003→004, SDL host 004→005,
Sound 005→006, Input 006→007, Storage 007→008. Update cross-refs
inside the SDL host section and the ADR re-evaluation gate.

Scope decisions captured in the new section: 151 documented opcodes
only (105 illegals deferred); corpus fetched at test time via
go:generate with a pinned upstream commit SHA; gitignored testdata
dir.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@richardcase richardcase force-pushed the docs/roadmap-tom-harte branch from 56b443f to 340c3e8 Compare May 25, 2026 19:04
@richardcase richardcase merged commit 4ea1752 into main May 25, 2026
@richardcase richardcase deleted the docs/roadmap-tom-harte branch May 25, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant