◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Interrupt: 10h Function: 10h Subfunction: 1Bh Title: Set Gray-Scale Values See also: Enable/Disable Gray-Scale Summing Description: [MCGA] [VGA] Transforms the red, green, and blue values of one or more color registers into the gray-scale equivalents. For each color register, the weighted sum of its red, green, and blue values is calculated (30% red + 59% green + 11% blue) and written back into all three components of the color register. The original red, green, and blue values are lost. Input Output AH = 10h None AL = 1Bh BX = First color register CX = Number of color registers -♦-