TVP4020
Programmers Reference Manual
Graphics Programming
129
// Set filter mode as above
FilterMode(0x0C00)
// Set bits 10 & 11
// Set statistic mode
MinRegion(0)
MaxRegion(0x100 | 0x100 << 16)
// Clear the picking flag
ResetPickResult(0x0) // Data not used
// Now render primitives.... ...
Render (render) // All units set as appropriate
// All rendering finished.
// Set the filter mode to allow read back of Syncs and
// statistic information (tag and data)
FilterMode(0x3C00)
// Set bits 10 to 13
// Write to the PickResult register
PickResult(0x0) // Data not used
// Now read the PickResult from the output FIFO (not shown)
5.15.7
Sync Interrupt Example
Generate a synchronization interrupt and encode some user defined
data (0x34) in the lower 31 bits of the Sync register.
// Set-up Filter mode to only permit read back of
// synchronization tag and data
FilterMode(0x0C00)
// Set bits 10 & 11
// Write to the Sync register with the top bit (bit 31) set and
// user data encoded into the lower bits (0-30)
sync = (0x1 << 31) | (0x34 & 0x7FFFFFFF)
Sync (sync)
// Now wait for the sync interrupt. Not shown.
Содержание 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 ...