词条 | BIOS color attributes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
释义 |
BIOS Color Attribute is an 8 bit value where the low 4 bits represent the character color and the high 4 bits represent the background color. For example, to print a white character 'A' with black background, the "BIOS Color Attribute" would be set to the hexadecimal value 0x0F. The highest bit of the color attribute, which is also the highest bit of the background color can take over two functions. It can either have no influence on the background color making text blink when set, effectively limiting the available background colors to only eight, or if intensive background colors are enabled the full 16 colors become available but blinking is no longer available. This behavior can be changed, i.e., using BIOS 80x86 interrupt 0x10, function 0x1003.[1] This 16 colour palette is often used in console programs (e.g. cmd in Windows) and sometimes for chat in games (e.g. Minecraft[2]). List of BIOS color attributes
By default, there are 16 colors for text and only 8 colors for background. There is a way to get all the 16 colors for background, which requires turning off the "blinking attribute". See also
References1. ^Int 10h/AX=1003 Ralf Brown's Interrupt List, online version {{DEFAULTSORT:Bios Color Attributes}}2. ^{{cite web |url=http://minecraft.gamepedia.com/index.php?title=Multiplayer&oldid=846419#Chat|title=Multiplayer |author= |date= 11 June 2015|website=Gamepedia |access-date= 23 July 2015}} 2 : BIOS|Color codes |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。