INT 10 - VIDEO - GET/SET DAC REGISTERS (EGA, VGA/MCGA)            

Input

Output

AX

10h 10h     AX

BX

 Register Number     BX

CX

 New Green Val New Blue Val     CX

DX

 New Red Val       DX
ES:DI     ES:DI
Set individual DAC register

        All values are in the range 0 to 63.

Input

Output

AX

10h 12h     AX

BX

 Starting Register     BX

CX

Number of Registers     CX

 

        DX
ES:DX  Pointer to Table   ES:DI
Set block of DAC registers

        Table Layout:   BYTE  Red Value
                        BYTE  Green Value
                        BYTE  Blue Value

Input

Output

AX

10h 13h     AX

BX

Data Mode     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
Select video DAC color page (VGA only)  (not valid in mode 13h)
Mode Data
00h = Select Paging Mode 00h = Select 4 blocks of 64
01h = Select 16 blocks of 16
01h = Select Page Page Number

 

Input

Output

AX

10h 15h     AX

BX

  Register No     BX

CX

    Green Value Blue Value CX

DX

    Red Value   DX
ES:DI     ES:DI
Read individual DAC register

Input

Output

AX

10h 17h     AX

BX

 Starting Register     BX

CX

 Number of Registers     CX

 

        DX
ES:DX Pointer to Buffer   ES:DI
Read block of DAC registers

        Table Layout:   BYTE  Red Value
                        BYTE  Green Value
                        BYTE  Blue Value

Input

Output

AX

10h 18h     AX

BX

  PEL Value     BX

CX

        CX

DX

        DX
ES:DI     ES:DI
*UNDOCUMENTED* Write PEL mask

Input

Output

AX

10h 19h     AX

BX

      PEL Value BX

CX

        CX

DX

        DX
ES:DI     ES:DI
*UNDOCUMENTED* Read PEL mask

Input

Output

AX

10h 1Ah     AX

BX

    Current Page Paging Mode BX

CX

        CX

DX

        DX
ES:DI     ES:DI
Read video DAC color-page state (VGA only)

Paging Mode:    0 = Four pages of 64
                1 = Sixteen pages of 16

Input

Output

AX

10h 1Bh     AX

BX

 Starting Register     BX

CX

 Number of Registers     CX

DX

        DX
ES:DI     ES:DI
Perform gray-scale summing


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .