12.07.2015 Views

Geode GXLV Processor Series Low Power Integrated x86 Solutions

Geode GXLV Processor Series Low Power Integrated x86 Solutions

Geode GXLV Processor Series Low Power Integrated x86 Solutions

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Geode</strong> <strong>GXLV</strong> <strong>Processor</strong> <strong>Series</strong><strong>Integrated</strong> Functions (Continued)4.4.3.3 Color PatternsSetting the pattern mode to 11b (GX_BASE+8200h[9:8] =11b), in the GP_RASTER_MODE register selects thecolor patterns. Bits [63:0] are used to hold a row of patterndata for an 8-bpp pattern, with bits [7:0] corresponding tothe leftmost pixel of the row. Likewise, bits [127:0] areused for a 16-bpp color pattern, with bits [15:0] correspondingto the leftmost pixel of the row.To support an 8x8 color pattern, software must load thepattern data for each row.4.4.4 Source ExpansionThe graphics pipeline contains hardware support for colorexpansion of source data (primarily used for text). Thosepixels corresponding to a clear bit (0) in the source dataare rendered using the color specified in theGP_SRC_COLOR_0 register (GX_BASE+810Ch), andthose pixels corresponding to a set bit (1) in the sourcedata are rendered using the color specified in theGP_SRC_COLOR_1 register (GX_BASE+810Eh).If the source transparency bit is set in theGP_RASTER_MODE register, those pixels correspondingto a clear bit (0) in the source data are not drawn.4.4.5 Raster OperationsThe GP_RASTER_MODE register specifies how the patterndata, source data (color-expanded if necessary), anddestination data are combined to produce the output tothe frame buffer. The definition of the ROP value matchesthat of the Microsoft API (application programming interface).This allows Windows display drivers to load the rasteroperation directly into hardware. Table 4-21 illustratesthis definition. Some common raster operations aredescribed in Table 4-22.Table 4-21. GP_RASTER_MODE Bit PatternsPattern(bit)Source(bit)Destination(bit)Output(bit)0 0 0 ROP[0]0 0 1 ROP[1]0 1 0 ROP[2]0 1 1 ROP[3]1 0 0 ROP[4]1 0 1 ROP[5]1 1 0 ROP[6]1 1 1 ROP[7]Table 4-22. Common Raster OperationsROPF0hCCh5Ah66h55hDescriptionOutput = PatternOutput = SourceOutput = Pattern XOR destinationOutput = Source XOR destinationOutput = ~Destinationwww.national.com 128 Revision 1.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!