84PCSE:RAM:A036

From WikiTI
Revision as of 20:51, 19 October 2013 by FloppusMaximus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Unofficial Name: penBGColor

Memory Address: A036h

Length: 2 bytes

Stores the current RGB background color, used for small-font text display.

Comments

This is the "background" color used by small-font text routines (such as VPutMap and VPutS).

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.

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).

See also