BIOS color attributes (original) (raw)
A 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. The name comes from the fact that these colors are used in BIOS interrupts, specifically INT 10h, the video interrupt. When writing text to the screen, a BIOS color attribute is used to designate the color to write the text in. For example, to print a white character with a black background, a color attribute of 0Fhex would be used. The high four bits are set to 0000bin, representing the background color, black. The low 4 bits, 1111bin, represent the foreground color, white. 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 col
Property | Value |
---|---|
dbo:abstract | A 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. The name comes from the fact that these colors are used in BIOS interrupts, specifically INT 10h, the video interrupt. When writing text to the screen, a BIOS color attribute is used to designate the color to write the text in. For example, to print a white character with a black background, a color attribute of 0Fhex would be used. The high four bits are set to 0000bin, representing the background color, black. The low 4 bits, 1111bin, represent the foreground color, white. 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 interrupt 10hex, function 1003hex. By default, when using the BIOS interrupt, the highest bit controls the brightness of colors, and not blinking, but this behavior may differ in other implementations of BIOS colors. This 16 colour palette is often used in console programs (e.g. cmd in Windows) and sometimes for chat in games (e.g. Minecraft). (en) |
dbo:wikiPageID | 23174860 (xsd:integer) |
dbo:wikiPageLength | 3664 (xsd:nonNegativeInteger) |
dbo:wikiPageRevisionID | 1052698762 (xsd:integer) |
dbo:wikiPageWikiLink | dbr:ANSI_escape_code dbr:Color_Graphics_Adapter dbr:8-bit dbc:Color_codes dbr:Hexadecimal dbc:BIOS dbr:Binary_number dbr:INT_10h dbr:BIOS_interrupt_call dbr:Web_colors |
dbp:wikiPageUsesTemplate | dbt:Cn dbt:Reflist dbt:Context |
dct:subject | dbc:Color_codes dbc:BIOS |
gold:hypernym | dbr:Value |
rdf:type | dbo:Company yago:WikicatColorCodes yago:Abstraction100002137 yago:Code106353934 yago:CodingSystem106353757 yago:ColorCode106355078 yago:Communication100033020 yago:Writing106359877 yago:WrittenCommunication106349220 |
rdfs:comment | A 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. The name comes from the fact that these colors are used in BIOS interrupts, specifically INT 10h, the video interrupt. When writing text to the screen, a BIOS color attribute is used to designate the color to write the text in. For example, to print a white character with a black background, a color attribute of 0Fhex would be used. The high four bits are set to 0000bin, representing the background color, black. The low 4 bits, 1111bin, represent the foreground color, white. 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 col (en) |
rdfs:label | BIOS color attributes (en) |
owl:sameAs | freebase:BIOS color attributes yago-res:BIOS color attributes wikidata:BIOS color attributes https://global.dbpedia.org/id/4Unx3 |
prov:wasDerivedFrom | wikipedia-en:BIOS_color_attributes?oldid=1052698762&ns=0 |
foaf:isPrimaryTopicOf | wikipedia-en:BIOS_color_attributes |
is dbo:wikiPageRedirects of | dbr:BIOS_Color_Attributes |
is dbo:wikiPageWikiLink of | dbr:BIOS_Color_Attributes dbr:INT_10H |
is foaf:primaryTopic of | wikipedia-en:BIOS_color_attributes |