| Electronic Components Datasheet Search |
|
GX1 Datasheet(PDF) 128 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
GX1 Datasheet(HTML) 128 Page - National Semiconductor (TI) |
|
128 / 247 page ![]() www.national.com 128 Revision 1.0 Integrated Functions (Continued) 4.4.3.3 Color Patterns Setting the pattern mode to 11b (GX_BASE+8200h[9:8] = 11b), in the GP_RASTER_MODE register selects the color patterns. Bits [63:0] are used to hold a row of pattern data for an 8-bpp pattern, with bits [7:0] corresponding to the leftmost pixel of the row. Likewise, bits [127:0] are used for a 16-bpp color pattern, with bits [15:0] corresponding to the leftmost pixel of the row. To support an 8x8 color pattern, software must load the pattern data for each row. 4.4.4 Source Expansion The graphics pipeline contains hardware support for color expansion of source data (primarily used for text). Those pixels corresponding to a clear bit (0) in the source data are renderedusing thecolor specifiedinthe GP_SRC_COLOR_0 register (GX_BASE+810Ch), and those pixels corresponding to a set bit (1) in the source data are rendered using the color specified in the GP_SRC_COLOR_1 register (GX_BASE+810Eh). If the source transparency bit is set in the GP_RASTER_MODE register, those pixels corresponding to a clear bit (0) in the source data are not drawn. 4.4.5 Raster Operations The GP_RASTER_MODE register specifies how the pat- tern data, source data (color-expanded if necessary), and destination data are combined to produce the output to the frame buffer. The definition of the ROP value matches that of the Microsoft API (application programming interface). This allows Windows display drivers to load the raster oper- ation directly into hardware. Table 4-21 illustrates this defi- nition. Some common raster operations are described in Table 4-22. Table 4-21. GP_RASTER_MODE Bit Patterns Pattern (bit) Source (bit) Destination (bit) Output (bit) 00 0 ROP[0] 00 1 ROP[1] 01 0 ROP[2] 01 1 ROP[3] 10 0 ROP[4] 10 1 ROP[5] 11 0 ROP[6] 11 1 ROP[7] Table 4-22. Common Raster Operations ROP Description F0h Output = Pattern CCh Output = Source 5Ah Output = Pattern XOR destination 66h Output = Source XOR destination 55h Output = ~Destination |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |