Alchemy
Loading...
Searching...
No Matches

scroll_initialize_hblank_dma.h File Reference

Go to the source code of this file.

Functions

void DisplayScroll_InitializeHBlankDma (s32 mode, s32 freqX, s32 stepX, s32 ampX, s32 freqY, s32 stepY, s32 ampY)
 Starts the ripple: its work (heap block 34) holds the mode and, for x and y, the wave's frequency, its step each frame and its amplitude; two scene callbacks build each frame's table of line offsets and sends it by DMA in the horizontal blank.

Function Documentation

◆ DisplayScroll_InitializeHBlankDma()

void DisplayScroll_InitializeHBlankDma ( s32 mode,
s32 freqX,
s32 stepX,
s32 ampX,
s32 freqY,
s32 stepY,
s32 ampY )

Starts the ripple: its work (heap block 34) holds the mode and, for x and y, the wave's frequency, its step each frame and its amplitude; two scene callbacks build each frame's table of line offsets and sends it by DMA in the horizontal blank.

Definition at line 21 of file scroll_initialize_hblank_dma.h.

Referenced by DisplayScroll_InitializeHBlankDma(), and Ripple_Start().