Outils pour utilisateurs

Outils du site


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

Table des matières

INT 0x10 - 0x0b - Set Color Palette

Request/Call:

reg value descr
AH 0x0b
BH see (1) Palette Color ID
BL see (2) Color/Palette Value

(1) Palette Color ID

BH Descr
0 Set background and border color
1 Select the 4 color palette

(2) Color/palette value

Color Value when BH = 0

Palette Value when BH = 1

BH BL Descr
0 0 Current background color
1 green (2)
2 red (4)
3 brown (6)
1 0 Current background color
1 cyan (3)
2 magenta (5)
3 white (7)

Return:

Nothing

Notes & Comments

  • does not work for all EGA and VGA video modes
  • (BH=0) sets border color in text mode

Back

back2root/ibm-pc-ms-dos/interrupts/int_10/int_10_0b.txt · Dernière modification : 2024/08/11 03:04 de frater