Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 10h Function 10h Subfunction 17h
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   10h     Function:   10h     Subfunction:   17h
 
  Title:       Get Block of Color Registers
 
  See also:    Set Block of Color Registers, Get Color Register
 
  Description:                                              [MCGA] [VGA]
 
     Allows the red, green, and blue components associated with each of
     a set of color registers to be read in one operation. 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.
 
     Input                                 Output
 
     AH = 10h                              ES:DX = segment:offset of buffer
     AL = 17h                              (Buffer contains color list)
     BX = First color register
     CX = Number of color registers
     ES:DX = segment:offset of buffer
             to receive color list
                                    -♦-