TVP4020
Programmers Reference Manual
Graphics Programming
123
5.14.4
Registers
The operation of the unit is controlled by the LogicalOpMode register:
0
8
16
24
31
Reserved
LogicalOp enable
UseConstantFBWriteData
LogicOp
Figure 5.49
LogicalOpMode Register
5.14.5
XOR Example
To set the logical operation to XOR.
// Set framebuffer to allow reads
// Not shown
logicalOpMode.UnitEnable = PERMEDIA_ENABLE
logicalOpMode.LogicalOp = PERMEDIA_LOGICOP_XOR
LogicalOpMode(logicalOpMode)
// Load register
5.14.6
Software Writemask Example
To set the logical operation to COPY, enable the software writemask,
and write to the green component in an 8 bit framebuffer configured in
3:3:2 RGB mode:
Содержание TVP4020 PERMEDIA 2
Страница 1: ...Texas Instruments TVP4020 PERMEDIA 2 Programmer s Reference Manual Issue 4 ...
Страница 47: ...Memory I O and Organization TVP4020 Programmers Reference Manual 38 Texture address TextureBaseAddress T W S ...
Страница 284: ...TVP4020 Programmers Reference Manual A Gouraud Shaded Triangle 275 ...
Страница 292: ...TVP4020 Programmers Reference Manual Register Tables 283 ...
Страница 314: ...TVP4020 Programmers Reference Manual Index 305 ...
Страница 315: ...Index TVP4020 Programmers Reference Manual 306 Index ...
Страница 323: ...Index TVP4020 Programmers Reference Manual 314 ...