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

From SnesLab
Revision as of 20:16, 13 July 2023 by Xetheria (talk | contribs) (→‎References: bullet point -> numbering)
Jump to: navigation, search

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