Copies one page of VRAM to other contiguous pages of VRAM.
Err CloneVRAMPages (Item ioreq,void *dest,void *src,uint32 numpages,uint32 mask)
This call is a convenience call for SPORT device transfers. It copies the specified src VRAM page to a number of VRAM pages, starting at the specified dest address and specified numPages number of pages. The mask argument controls which bits of the destination are modified by bits of the source.
This call uses the SPORT device to do the transfer. It doesn't return until the transfer is complete. That is, there is an implicit wait for the next VBlank to occur, as SPORT transfers take place only during vertical blank.
The call returns a non-negative value if successful or an error code (a negative value) if an error occurs.
The use of a mask value other than all 1s (0xFFFFFFFF) is discouraged. Future systems may not support this feature in a performance-conscious manner.
Convenience call implemented in graphics.lib V20.
graphics.h, graphics.lib
CopyVRAMPages
(), SetVRAMPages(), SetVRAMPagesDefer(), CopyVRAMPagesDefer(), CloneVRAMPagesDefer(), GetVRAMIOReq(), GetPageSize()