Title Function specifications |
Function Set automatic color change |
Function Name SCL_SetAutoColChg |
No 34 |
-
format void SCL_SetAutoColChg (Uint32 surface, Uint32 interval, Uint32 index,
Uint32 numOfCol, Uint32 numOfTbl, Uint32 changeTbl [])
Input surface: Screen type
S SCL_SPR, SCL_NBG0, SCL_NBG1, SCL_NBG2, SCL_NBG3,
S SCL_RBG0, SCL_RBG1
interval: Interval
Specify in 1/60 second increments
index: The beginning of the palette number to be changed
numOfCol: Number of colors
numOfTbl: Number of tables
: changeTbl []: Conversion table
Output None
Function value None
Function A part of the palette is gradually changed toward the specified color for each palette.
The maximum number of palettes is 256 colors. 2048 colors and 1024 colors are not supported.
Title Function specifications |
Function Get color RAM address offset |
Function Name SCL_GetColRamOffset |
No 35 |
-
format Uint32 = SCL_GetColRamOffset (Uint32 surface)
Input surface: Screen type
S SCL_SPR, SCL_NBG0, SCL_NBG1, SCL_NBG2, SCL_NBG3,
S SCL_RBG0, SCL_RBG1
Output None
Function value Offset address from VDP2 VRAM
Function Gets the color RAM address offset.
Title Function specifications |
Function Set priority |
Function Name SCL_SetPriority |
No 36 |
-
format void SCL_SetPriorty (Uint32 surface, Uint8 priority)
Input surfaces: Screen type
S SCL_SP0 | SCL_SP1 ... SCL_SP7 | SCL_NBG0 | SCL_NBG1 |
S SCL_NBG2 | SCL_NBG3 | SCL_RBG0 | SCL_RBG1 | SCL_EXBG
: : Multiple simultaneous specification is possible by using OR operation
priority: priority number
Output None
Function value None
Function Set priority.