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

Continue Flag

From SnesLab
Revision as of 05:51, 27 July 2023 by Xetheria (talk | contribs) (clarify that we are not necessarily talking about scanline 0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Continue Flag tells the HDMA controller whether or not to continue transferring data after the first transfer unit in an HDMA table entry has been transferred. It is bit 7 of NTRLx, and like the rest of that register, is loaded from the current HDMA table entry.[4]

When set, the HDMA controller sends a single transfer unit to the destination every scanline, during hblank.

When clear, the HDMA controller sends a transfer unit to the destination just once, for the first scanline of that entry in the HDMA table, and then does not transfer anything else at least until reaching the Nth next scanline, where N was the initial value of the HDMA Scanline Counter, the bottom 7 bits of NTRLx.

References

  1. page 2-28-13 of Book I of the official Super Nintendo development manual
  2. the bit cells labeled "C" in the diagrams are the continue flag: Appendix B-2 of Book I, lbid
  3. https://wiki.superfamicom.org/grog's-guide-to-dma-and-hdma-on-the-snes
  4. https://problemkaputt.de/fullsnes.htm#snesdmaandhdmachannel07registers