format void SCL_SetCycleTable (Uint16 * tp)
Input tp: Cycle pattern table
Output None
Function value None
Function Sets the cycle pattern table.
Remarks If the cycle pattern table is not set correctly, the normal scroll screen will be displayed.
Not . VDP2 User's Manual Chapter 3 RAM “3.4 VRAM access during display period
It is necessary to understand " Access method ".
Example 1 Image: NBG0 256 colors (with 1/2 reduced display)
: VRAM A: NBG0 character pattern data is placed
: VRAM B: NBG0 pattern name table is placed
Uint16 cycle [] = {/ * Cycle pattern table * /
0x4444, 0xffff, / * VRAM A (A0) * /
: 0xffff, 0xffff, / * VRAM A1 unused * /
0x00ff, 0xffff, / * VRAM B (B0) * /
: 0xffff, 0xffff, / * VRAM B1 not used * /
}
sample sample ()
{
SCL_SetCycleTable (& cycle);
}