DMA: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(Redirected page to PPU registers#OAMDMA)
 
(turn this into a disambiguation page)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[PPU registers#OAMDMA]]
RP2A03 has two forms of '''[[wikipedia:Direct memory access|DMA]]''':
* [[PPU registers#OAMDMA|OAM DMA]] - used for filling [[PPU OAM]] with data from CPU memory.
* [[APU_DMC#Memory reader|DMC DMA]] - used by the [[APU DMC]] channel to load the next byte of the sample. Takes priority over OAM DMA.
 
These operate by pulling the RDY pin of the 6502 CPU core low (which causes it to repeat read cycles indefinitely), and then disconnecting the 6502 from the address bus.

Revision as of 08:32, 2 July 2022

RP2A03 has two forms of DMA:

  • OAM DMA - used for filling PPU OAM with data from CPU memory.
  • DMC DMA - used by the APU DMC channel to load the next byte of the sample. Takes priority over OAM DMA.

These operate by pulling the RDY pin of the 6502 CPU core low (which causes it to repeat read cycles indefinitely), and then disconnecting the 6502 from the address bus.