Difference between revisions of "84PCSE:RAM:A038"
Latest revision as of 20:06, 19 October 2013
Unofficial Name: penFGColor
Memory Address: A038h
Length: 2 bytes
Stores the current RGB foreground color, used for small-font text display and for some drawing routines.
Note that if you are drawing to the graph buffer, you will also need to set penFGColorIndex.
Colors are represented as a 5-6-5 value (5 bits of red, 6 bits of green, 5 bits of blue.) For example, 0000001111100000b, or 03E0h, would be dark green. 1111100000011111b, or 0F81Fh, would be bright magenta.