Ci-dessous, les différences entre deux révisions de la page.
back2root:ibm-pc-ms-dos:interrupts:int_10:int_10_0b [2024/08/11 02:53] – créée frater | back2root:ibm-pc-ms-dos:interrupts:int_10:int_10_0b [2024/08/11 03:04] (Version actuelle) – frater | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== INT 0x_ - 0x_ - Descr ====== | + | ====== INT 0x10 - 0x0b - Set Color Palette |
- | + | ||
- | <WRAP round info > | + | |
- | Undocumented | + | |
- | </ | + | |
===== Request/ | ===== Request/ | ||
Ligne 9: | Ligne 5: | ||
{{tablelayout? | {{tablelayout? | ||
^ reg ^ value ^ descr ^ | ^ reg ^ value ^ descr ^ | ||
- | | AH | + | | AH |
- | | | + | | |
- | | | | + | | |
- | ===== Return: ===== | + | **(1) Palette Color ID** |
- | {{tablelayout? | + | ^ |
- | ^ | + | | |
- | | | + | | |
- | | | | | + | |
- | | | + | |
- | ==== Values code: ==== | + | **(2) Color/ |
- | | | + | |
- | | | + | 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 | ||
+ | | | ||
+ | | | ||
+ | | | 3 | white (7) | | ||
+ | |||
+ | ===== Return: ===== | ||
+ | |||
+ | Nothing | ||
===== Notes & Comments ===== | ===== Notes & Comments ===== | ||
<WRAP round box> | <WRAP round box> | ||
- | + | * does not work for all EGA and VGA video modes | |
- | Notes | + | * (BH=0) sets border color in text mode |
</ | </ | ||
[[start|Back]] | [[start|Back]] | ||