feat(dma): retain per-channel transfer data
Retain independent known data across DMA blocks. Duplicate mapped halfword sources and select the destination lane for blocked sources below work RAM. Keep cold history diagnostic, commit only successful units, and preserve separate CPU/BIOS history rules. Add 13 original regressions and pinned source research. CPU resume ownership, general DMA open bus, and IWRAM DMA lane effects remain explicit limits. Validated on Darwin arm64: 930 workspace and 861 core/demo tests in debug and release, 39 Python tests, native ROM windows, ten window smoke modes, fmt, clippy, and rustdoc. Public ARM/Thumb/memory/BIOS reports match the previous results exactly.
This commit is contained in:
parent
8b0f1a5ead
commit
e72c643640
12 changed files with 465 additions and 24 deletions
|
|
@ -383,8 +383,8 @@ impl Io {
|
|||
self.dma.next()
|
||||
}
|
||||
|
||||
pub(crate) fn complete_dma_unit(&mut self, channel: usize) {
|
||||
self.pending |= self.dma.complete_unit(channel);
|
||||
pub(crate) fn complete_dma_unit(&mut self, channel: usize, data_latch: u32) {
|
||||
self.pending |= self.dma.complete_unit(channel, data_latch);
|
||||
self.wake_if_requested();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue