摘要 |
A raster graphics color palette architecture for multiple display objects or sprites includes a first memory for storing pen index information for each display object. The pen index information for each display object includes pen index information corresponding to each pixel of that display object. A second memory stores indexing information for each display object. The indexing information maps the pen index information for the corresponding display object to pen numbers. A pen palette device includes a number of dynamically alterable registers, or "pens," containing RGB information for driving a multicolor raster display. In operation, pen index information representing the pixels of a display object is accessed from the first memory. This pen index information is mapped into pen numbers using the indexing information for the display object stored in the second memory. These pen numbers are then coupled to the pen palette to provide the RGB information for driving a multicolor raster display. Indexing information in the second memory associated with a particular sprite can thus be changed without changing the pens in the pen palette allowing changes to the colors of an individual display object sprite without affecting the colors of other display object. |