
Philips Semiconductors
PNX15xx Series
Volume 1 of 1
Chapter 20: 2D Drawing Engine
PNX15XX_SER_3
Koninklijke Philips Electronics N.V. 2006. All rights reserved.
Product data sheet
Rev. 3 — 17 March 2006
20-20
This register holds the offset between adjacent scanlines for BLTs and vectors. Under
many circumstances, this register will be initialized to the screen pitch and then
changed only for special effects. It is interpreted as an unsigned byte value.
This 14-bit signed register is used during BLTs and vectors to step from scanline to
scanline. It is also used to convert a DstXY address to a DstLinear address according
to the following formula:
DstLinear = DstXY.Y * DstStride + DstXY.X (1) + DstAddrBase
(1) This value is adjusted for pixel color depth
There are no restrictions on this register except that the lower three bits are always
interpreted as 0, regardless of the value written. When reading the contents of this
register, the lower three bits will be read back as 0. This implies that the destination
stride must be a multiple of 8 bytes.
As an unsigned register, it is always interpreted as a positive value. The direction in
which the destination is traversed is controlled by the BLT direction eld in the BltCtl
register.
This register may be useful for BLTing bitmaps stored in offscreen memory in a 1D
format to the screen. It is unchanged by drawing operations.
This register holds the color compare target color. This register should be initialized
prior to any BLT that enables color compare. The appropriate number of bytes needs
to be loaded in accordance with the current color depth. Thus, if the current depth is 8
bits, only the lowest byte need be written. If the depth is 16 bits, the lowest two bytes
need to be written.
When reading the value of this register, the lower byte will be replicated in all four byte
lanes in 8 bpp mode. In 16 bpp mode, the lower word will be replicated into the upper
word. In 32 bpp mode, all bits are unique and will read back the 32-bit data that was
written. This register is unchanged by drawing operations.
Table 17: Color Compare
Bit
Symbol
Acces
s
Value
Description
Offset 0x04 F41C
Color Compare
31:24
CCCol[31:24]
R/W
0
Holds the color compare target color.
23:16
CCCol[23:16]
R/W
0
15:8
CCCol[15:8]
R/W
0
7:0
CCCol[7:0]
R/W
0