Int 10H [VGA] Function 10H (16) Subfunction 09H Get palette and border

Gets the contents of all palette registers and the border color (overscan) in one operation.

Call with:

AH = 10H

AL = 09H

ES:DX = segment:offset of 17-byte buffer

Returns:

ES:DX = segment:offset of buffer

and buffer contains palette values in bytes 00H—0FH and border color in byte 10H.