www.national.com
132
Revision 1.2
Integrated Functions (
Continued
)
G
9:8
PM
Pattern Mode:
Specifies the format of the pattern data.
00 = Indicates a solid pattern. The pattern data is always sourced from the GP_PAT_COLOR_0 register.
01 = Indicates a monochrome pattern. The pattern data is sourced from the GP_PAT_COLOR_0 and
GP_PAT_COLOR_1 registers.
10 = Indicates a dither pattern. All four pattern color registers are used.
11 = Indicates a color pattern. The pattern data is sourced directly from the pattern data registers.
Raster Operation:
Specifies the raster operation for pattern, source, and destination data.
Note:
Writing to this register launches a raster operation.
7:0
ROP
GX_BASE+8204h-8207h
GP_VECTOR_MODE Register (R/W)
Default Value = 00000000h
31:4
3
2
1
0
RSVD
DEST
DMIN
DMAJ
YMAJ
Reserved:
Set to 0.
Read Destination Data:
Indicates that frame-buffer destination data is required.
Minor Direction:
Indicates a positive minor axis step.
Major Direction:
Indicates a positive major axis step.
Major Direction:
Indicates a Y major vector.
GX_BASE+8208h-820Bh
GP_BLT_MODE Register (R/W)
Default Value = 00000000h
31:9
8
RSVD
Y
Reserved:
Set to 0.
Reverse Y Direction:
Indicates a negative increment for the Y position. This bit is used to control the direc-
tion of screen to screen BLTs to prevent data corruption in overlapping windows.
Source Mode:
Specifies the format of the source data.
00 = Source is a color bitmap.
01 = Source is a monochrome bitmap (use source color expansion).
10 = Unused.
11 = Source is a text glyph (use source color expansion). This differs from a monochrome bitmap in that the
X position is adjusted by the width of the BLT and the Y position remains the same.
Reserved:
Set to 0.
Destination Data:
Specifies the destination data location.
000 = No destination data is required. The destination data into the raster operation unit is all ones.
010 = Read destination data from BLT Buffer 0.
011 = Read destination data from BLT Buffer 1.
100 = Read destination data from the frame buffer (store temporarily in BLT Buffer 0).
101 = Read destination data from the frame buffer (store temporarily in BLT Buffer 1).
Source Data:
Specifies the source data location.
00 = No source data is required. The source data into the raster operation unit is all ones.
01 = Read source data from the frame buffer (temporarily stored in BLT Buffer 0).
10 = Read source data from BLT Buffer 0.
11 = Read source data from BLT Buffer 1.
Note:
Writing to this register launches a BLT operation.
7:6
SM
5
RSVD
RD
4:2
1:0
RS
GX_BASE+820Ch-820Fh
GP_BLT_STATUS Register (R/W)
Default Value = 00000000h
31:10
9
RSVD
W
Reserved:
Set to 0.
Screen Width:
Selects a frame-buffer width of 2048 bytes (default is 1024 bytes). This register must be pro-
grammed correctly in order for compression to work.
16-bpp Mode:
Selects a pixel data format of 16-bpp (default is 8-bpp).
Reserved:
Set to 0.
BLT Pending (Read Only):
Indicates that a BLT operation is pending in the master registers.
The
“
BLT Pending
”
bit must be clear before loading any of the graphics pipeline registers. Loading registers
when this bit is set high will destroy the values for the pending BLT.
8
M
7:3
2
RSVD
BP (RO)
Table 4-24. Graphics Pipeline Configuration Registers (Continued)
Bit
Name
Description