Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:interrupts:int_10:int_10_10

Ceci est une ancienne révision du document !


INT 0x10 - 0x10 - Write/Read Palette Register (EGA/VGA)

Request/Call:

reg value descr
AH 0x10

Sub Function

AL Descr
00 set individual palette register
01 set border color (overscan register)
02 set all palette registers and border
03 toggle intensity/blinking (EGA)
07 read palette register (PS/2)
08 read border color (overscan register, PS/2)
09 read palette registers and border (PS/2)
10 set DAC color register
12 set block of DAC color registers
13 set attribute controller color select state
15 read DAC color register (PS/2)
17 read block of DAC color registers
18 update video DAC mask register
19 read video DAC mask register
1A read color page state
1B sum color values to shades of gray
AL var Character to display
BH var page number (00h to number of pages -1) see INT 10h, 00h
BL var attribute (see bellow)
CX var number of times to write character

Return

nothing

Notes & Comments

  • all characters are displayed, including CR, LF, and BS
  • replication count in CX may produce an unpredictable result in graphics modes if it is greater than the number of positions remaining in the current row

Back

back2root/ibm-pc-ms-dos/interrupts/int_10/int_10_10.1705700315.txt.gz · Dernière modification : 2024/01/19 22:38 de frater