NBG color calculation ratio set

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


void
Scroll function

slColRateNbg0,1,2,3

NBG color calculation ratio set

Format

void slColRateNbg0(rate)
void slColRateNbg1(rate)
void slColRateNbg2(rate)
void slColRateNbg3(rate)
Uint16 rate ;

Parameter

rate Color calculation rate

Function

Set the color calculation ratio to be used for color calculation for each 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

slColRateNbg0,1,2,3


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