We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Revision 1 CPU DMA crash: Difference between revisions

From SnesLab
Jump to: navigation, search
(inline citation for Ramsis)
(→‎References: bullet point -> numbering)
Line 16: Line 16:


=== References ===
=== References ===
* [https://archive.org/details/SNESDevManual/book1/page/n111 page 2-25-1 of Book I] of the official Super Nintendo development manual
# [https://archive.org/details/SNESDevManual/book1/page/n111 page 2-25-1 of Book I] of the official Super Nintendo development manual
 
# https://forums.nesdev.org/viewtopic.php?t=13280
=== External Links ===
* [2] https://forums.nesdev.org/viewtopic.php?t=13280


[[Category:SNES Hardware]]
[[Category:SNES Hardware]]

Revision as of 20:16, 13 July 2023

Little is known about why the CPU revision 1 DMA crash happens. In 2015, Ramsis wrote a test rom to trigger it. [2]

Trigger

Symptoms

  • Sometimes the 5A22 will crash
  • Sometimes the HDMA will not happen correctly

Workarounds

  • Use GPDMA only during vblank
  • Make sure HDMA starts in the middle of a GPDMA data transfer
  • Avoid HDMA
  • Adjust the time at which GPDMA begins
  • Decrease the number of bytes transferred during GPDMA

References

  1. page 2-25-1 of Book I of the official Super Nintendo development manual
  2. https://forums.nesdev.org/viewtopic.php?t=13280