Repository navigation
Commit 8557044
docs(mappers): MMC1's module docs state the v2.8.2 write-filter rule
Copilot on #558: the `//!` preamble still said the port inhibits "a second
write on the CPU cycle immediately following an accepted write" and drops
"writes that fall on the cycle right after another accepted write". Both
halves went stale in dae2053, which made an ignored write count as the
last write too and made the bit-7 reset immune to the filter; the field
comment and the match arm were updated then, the crate docs were not.
The preamble now states the rule as implemented and as nesdev words it:
only the data bit of a write on the cycle after any serial-port write is
ignored, the reset is never ignored, and the read-modify-write instruction
is the case both games depend on (Bill & Ted on the dropped data write,
Shinsenden on the reset landing). It names the correction and its audit
row so a reader of the older behaviour knows why it changed.
Comment-only. cargo test -p rustynes-mappers m001 (23 passed), rustdoc
-D warnings on the crate and fmt are clean.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014qfTKi2M3swo7qnwvYCkDj1 parent 5b66686 commit 8557044
1 file changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
0 commit comments