Int 10H [MCGA] [VGA] Function 10H (16) Subfunction 17H (23) Get block of color registers

Allows the red, green, and blue components associated with each of a set of color registers to be read in one operation.

Call with:

AH = 10H

AL = 17H

BX = first color register

CX = number of color registers

ES:DX = segment:offset of buffer to receive color list

Returns:

ES:DX = segment:offset of buffer and buffer contains color list

Note:

The color list returned in the caller's buffer consists of a series of 3-byte entries corresponding to the color registers. Each 3-byte entry contains the register's red, green, and blue components in that order.