Initialization
TVP4020
Programmers Reference Manual
130
6.
Initialization
6.1
Initializing P
ERMEDIA
This section illustrates how to initialize P
ERMEDIA
following reset, prior to
carrying out rendering operations.
Initialization falls broadly into three areas, though in different systems
precise responsibilities can vary:
•
System initialization covers the setting up of the PCI bus, memory and
video output. This information typically is only initialized once following
reset.
•
Window initialization, also referred to as context initialization, covers
the setting of the base address of the current rendering window and its
color format. This must occur at reset, but will need updating each time
P
ERMEDIA
starts drawing to a new window.
•
Application initialization covers state that is typically dynamic; enabling
and disabling depth testing for example. Again this state must be set at
reset, but is likely to be updated relatively frequently.
To make use of the full functionality of P
ERMEDIA
, consult the relevant
sections of the Graphics Programming chapter (chapter §5). Examples
are given which make use of the pseudocode conventions given in
Appendix B.
Note: In general the graphics registers (those listed in Appendix A, as
opposed to those documented in the TVP4020 Hardware
Reference Manual) are not hardware initialized to specific values
at reset. In the examples below it is assumed that the data
structures used to load these registers are initialized to zero. Thus
bit fields which are not set explicitly, will default to zero.
6.2
System Initialization
6.2.1
PCI
There are a set of PCI related registers which can be interrogated for
information about the chip, for example its revision and device ID. Some
of these PCI related registers will need to be set-up at reset, for instance
to configure the base addresses of the different memory regions of the
chip. For more details refer to the
TVP4020 Hardware Reference Manual
and the PCI Local Bus Specification Rev2.1.
Содержание 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 ...