Recent Articles



































BitBLT



         


Bit blit (bitblt, blitting etc.) is a computer graphics operation in which two bitmap patterns are combined into one. The name derives from the BitBLT machine instruction for the Xerox Alto computer, standing for "Bit Block Transfer". The invention of this instruction is credited to Dan Ingalls at Xerox PARC. The development of fast methods for various bit blit operations was key in the evolution of computer displays from using character graphics, to using bitmap graphics for everything.

Blitting is similar to sprite drawing, in that both systems reproduce a pattern, typically a square area, at different locations on the screen. Sprites have the advantage of being stored in separate memory, and therefore don't disturb the main display memory. This allows them to be moved about the display, covering the "background", with no effect on it.

Blitting moves the same types of patterns about the screen, but does so by writing into the same memory as the rest of the display. This means every time the pattern is placed on the screen the display "under" it is overwritten, or "damaged". It is up to the software to clean this damage up by blitting twice, once to remove the damage, and then again to place the bit in its new location.

As one might imagine, this makes blitting significantly slower than sprite manipulation. However blitting has one very big advantage, there's no physical limit to the number of patterns you can blit, or to the size of the patterns. Thus you can use blitting to display anything on the screen, including simulating sprites (through the double-write pattern noted above), or even text.

When first introduced the computers CPU typically had difficultly moving the bitmaps around in memory fast enough to be able to use CPU-driven blitting as the primary method of text display. For some time in the 1980s many home computers included either a co-processor or a special-purpose chip known as a blitter for this task. The CPU would send the bit blit operations to the blitter, which would then carry out the operation much faster than the CPU could. That solution was used on the Amiga and on some models of the Atari ST.

Modern graphics processing units found on most graphics cards can be regarded as descendants of the early "blitters".

[Top]

See also





  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License