Return to previous page | Return to menu | Go to next page
void
Scroll function
NBG color calculation ratio set
void slColRateNbg0(rate)
void slColRateNbg1(rate)
void slColRateNbg2(rate)
void slColRateNbg3(rate)
Uint16 rate ;
rate Color calculation rate
Set the color calculation ratio to be used for color calculation for each screen.
None
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
slColRateNbg0,1,2,3