Return to previous page | Return to menu | Go to next page


void
Scroll function

slColRateRbg0

RBG color calculation ratio set

Format

void slColRateRbg0(rate)
Uint16 rate ;

Parameter

rate Color calculation rate

Function

Set the color calculation ratio to be used for the color calculation on the rotary scroll screen.

Return value

None

Remarks

The calculation ratio value specified for the parameter is 0x00 to 0x1f.
Each of these values ​​represents the calculation ratio. For example, if “rate = 0x0f” is assigned, the calculation ratio of TOP image and 2ND image is 16:16.
Refer to the table of (VDP2 User's Manual: P244) in “HARDWARE MANUAL vol.2” for the relationship between the substitution value and the calculation ratio.

Reference: Chapter 8 Scroll

slColRateRbg0


Return to previous page | Return to menu | Go to next page