84PCSE:RAM:A015

From WikiTI
Revision as of 20:46, 1 April 2013 by FloppusMaximus (Talk | contribs)

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

Synopsis

Unofficial Name: curFGColor

Memory Address: A015h

Length: 2 bytes

Stores the current foreground color for fixed-width text display routines.

Comments

This is used by PutMap, PutC, and many other system routines that call PutMap and PutC, such as PutS, PutPS, and DispHL.

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.

See also

curBGColor