Outils pour utilisateurs

Outils du site


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

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

back2root:ibm-pc-ms-dos:interrupts:int_10:int_10_0b [2024/08/11 02:53] – créée fraterback2root: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  +
-</WRAP>+
  
 ===== Request/Call: ===== ===== Request/Call: =====
Ligne 9: Ligne 5:
 {{tablelayout?rowsHeaderSource=Auto&colwidth=""}} {{tablelayout?rowsHeaderSource=Auto&colwidth=""}}
 ^  reg  ^  value  ^  descr  ^ ^  reg  ^  value  ^  descr  ^
-|  AH   |  0x_   |         | +|  AH   |  0x0b   |         | 
-|  AL   |  0x_    | +|  BH   |  see (1)  | Palette Color ID 
-|       |  0x_   |   |+|  BL   |  see (2)  | Color/Palette Value  |
  
-===== Return: =====+**(1) Palette Color ID**
  
-{{tablelayout?rowsHeaderSource=Auto&colwidth=""}} +^  BH  Descr  ^ 
-^  reg    descr  ^ + 0  Set background and border color  | 
-    |  | +  Select the 4 color palette  
-|     |  | +
-|      |+
  
-==== Values code: ==== +**(2) Color/palette value** 
-|  00h    | + 
-|  01h  +Color Value  when BH 
-|  02h   |+ 
 +Palette Value when BH 
 + 
 +^  BH  ^  BL  ^ Descr  ^ 
 +  0   0  | Current background color  | 
 +|      |  1  | green (2) | 
 +|      |  2  | red (4) | 
 +|      |  3  | brown (6) | 
 +|   1  |  0  | Current background color  |  
 +|      |   cyan (3)  |  
 +|      |   magenta (5)   
 +|      |  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 
 </WRAP> </WRAP>
    
 [[start|Back]] [[start|Back]]
  
back2root/ibm-pc-ms-dos/interrupts/int_10/int_10_0b.1723337621.txt.gz · Dernière modification : 2024/08/11 02:53 de frater