Int 10H [MCGA] [VGA] Function 10H (16) Subfunction 10H (16) Set color register

Programs an individual color register with a red-green-blue (RGB) combination.

Call with:

AH = 10H

AL = 10H

BX = color register

CH = green value

CL = blue value

DH = red value

Returns:

Nothing

Note:

If gray-scale summing is enabled, the weighted gray-scale value is calculated as described under Int 10H Function 10H Subfunction 1BH and is stored into all three components of the color register. See also Int 10H Function 12H Subfunction 33H.