Graphics Programming Black Book
Graphics Programming Black Book
Masked Copying
Over the past two chapters, we’ve put together most of the tools needed to imple-
ment animation in the VGA’s undocumented 320x240 256-color Mode X. We now
have mode set code, solid and 4x4 pattern fills, system memory-to-display memory
block copies, and display memory-to-display memory block copies. The final piece
915
Previous Home Next
Previous Home Next
Previous Home Next
Previous Home Next
Previous Home Next
Previous Home Next
's Color Model in an
Once she turned six,my daughter wanted some fairly sophisticated books read to
her. Wind in the Willows use on the Prairie. Pretty heady stuff for one so young,
and sometimes I wondered how much of it she really understood. As an experiment,
during one reading)! stopped whenever I came to a word I thought she might not
know, and asked her what it meant. One such word was “mulling.”
ulling’ means?”I asked.
r a while, then said, “Pondering.”
e than a little surprised.
She smiled and said, “But,Dad, how do you know that I know what ‘pondering’means?”
“Okay,”I said, ‘What does ‘pondering’ mean?”
“Mulling,”she said.
What does this anecdote tell us about the universe in which we live? Well, it certainly
indicates that this universe is inhabited by at least one comedian and one good straight
man. Beyond that, though, it can be construed as a parable about the difficulty of
defining things properly; for example, consider the complications inherent in the
definition of color on a 256-color display adapter such as the VGA. Coincidentally,
VGA color modeling just happens to be this chapter’s topic, and the place to start is
with color modeling in general.
1033
Previous Home Next
Using reverse transformation to find the source pixel colol:
Figure 56.1
56.
1063
Previous Home Next
hole-Brain Approach to Accelerate
1079
Previous Home Next
1097
Previous Home Next
Previous Home Next
Previous Home Next
Previous Home Next
Previous Home Next
The substance described by node E.
Figure 64.3
Figure 64.4
Previous Home Next
Previous Home Next
Previous Home Next
Previous Home Next
1252 Chapter 68
Previous Home Next
Previous Home Next
Previous Home
Index