INT 10H 1012H: Set a Block of DAC Color Register
Compatibility: VGA
Expects: AX 1012H
BX first DAC register to set (0-00ffH)
CX number of registers to set (0-00ffH)
ES:DX addr of a table of R,G,B values (it will be CX*3 bytes long)
──────────────────────────────────────────────────────────────────
Returns: (none)
──────────────────────────────────────────────────────────────────
Info: On VGAs, this sets the RGB values for a consecutive block of DAC
color registers. Starting with register number in BX, CX
registers are programmed with values from the table at ES:DX.
ES:DX is the address of a series of 3-byte RGB values, laid out as
Red,Green,Blue, Red,Green,Blue,... The table should be CX*3
bytes long.
See INT 10H 1010H (set one DAC color register) for related info.
Notes: Use INT 10H 1017H to obtain the current settings for a block of
DAC color registers.
See INT 10H 1013H for a reason why you might tend to work with
16- or 64-register blocks.
See Also: INT 10H 10H: EGA/VGA Palette Functions
INT 10H: Video Services
EGA/VGA Data Areas
VGA I/O Ports
-♦-