https://wikiti.brandonw.net/index.php?title=84PCSE:RAM:A036&feed=atom&action=history84PCSE:RAM:A036 - Revision history2024-03-29T01:46:06ZRevision history for this page on the wikiMediaWiki 1.23.5https://wikiti.brandonw.net/index.php?title=84PCSE:RAM:A036&diff=10189&oldid=prevFloppusMaximus: penBGColor2013-10-20T04:51:43Z<p>penBGColor</p>
<p><b>New page</b></p><div>[[Category:84PCSE:RAM:By Address|A036 - penBGColor]] [[Category:84PCSE:RAM:By Name|penBGColor]]<br />
== Synopsis ==<br />
'''Unofficial Name:''' penBGColor<br />
<br />
'''Memory Address:''' A036h<br />
<br />
'''Length:''' 2 bytes<br />
<br />
Stores the current RGB background color, used for small-font text display.<br />
<br />
== Comments ==<br />
This is the "background" color used by small-font text routines (such as [[84PCSE:BCALLs:4555|VPutMap]] and [[84PCSE:BCALLs:4558|VPutS]]).<br />
<br />
Colors are represented as a 5-6-5 value (5 bits of red, 6 bits of green, 5 bits of blue.) For example, <span style="color: #f00">00000</span><span style="color: #0c0">011111</span><span style="color: #00f">00000</span>b, or 03E0h, would be dark green. <span style="color: #f00">11111</span><span style="color: #0c0">000000</span><span style="color: #00f">11111</span>b, or 0F81Fh, would be bright magenta.<br />
<br />
When drawing text to the graph buffer (write_on_graph flag set), it is assumed that the background color is either white (FFFFh) or medium gray (C618h).<br />
<br />
== See also ==<br />
* [[84PCSE:RAM:A038|penFGColor]]<br />
* [[84PCSE:RAM:A03A|penFGColorIndex]]</div>FloppusMaximus