Difference between revisions of "84PCSE:RAM:A5F4"

From WikiTI
Jump to: navigation, search
(fillRectColor)
 
(No difference)

Latest revision as of 20:59, 19 October 2013

Synopsis

Unofficial Name: fillRectColor

Memory Address: A5F4h

Length: 2 bytes

Stores the current RGB color used for filling rectangles.

Comments

This is the color used by the FillRect routine. Note that other system routines that call FillRect (including ClearRect and DrawRectBorderClear) will frequently overwrite this value.

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.