gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > HDMA limit?

#65651 - Dwedit - Wed Jan 04, 2006 7:50 pm

Is there a limit to how many bytes may be transferred during hblank dma?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#65658 - poslundc - Wed Jan 04, 2006 9:04 pm

I'm not aware of any specific limitation (other than the number of copies must fit into the 14 bits of the DMA register), but HBlank only lasts 228 cycles so you won't have time to copy an awful lot before the scanline starts rendering.

Most conventional uses of HBlank DMA are only to copy in the range of 8 to 16 bytes.

Dan.