Claims
- 1. In a computer video graphics system capable of displaying a plurality of windows on a monitor, the system having a frame buffer having pixels, a plurality of color lookup tables, and a processor including an electronically alterable mapping memory, a method of displaying different datatypes and formats for different windows comprising the steps of:
- a. providing a window number for each pixel in the frame buffer;
- b. providing a mapping configuration word corresponding to each window number, each of said mapping configuration words comprising a mode field, a shift field, a pixel bit mask field, and a color map base address field;
- c. for each window, performing steps comprising:
- shifting each pixel value of the window by an amount contained in the shift field of the mapping configuration word associated with the window;
- masking selected bits of the shifted pixel value, said selected bits determined by the pixel bit mask field of the mapping configuration word associated with the window;
- in the event the mode field of the mapping configuration word associated with the window matches a first selected value, processing the pixel values by multiplexing the masked pixel value and adding each multiplexed pixel value to the color map base address field; and
- in the event the mode field of the mapping configuration word associated with the window matches a second selected value, processing the pixel values by dividing the masked pixel value into multiple color channels and adding each of said color channels to the color map base address field; and
- d. providing the processed pixel values to the color lookup tables for display.
- 2. The method of claim 1 further comprising the step of interpreting the processed pixel values as index values into a color lookup table.
- 3. The method of claim 1 further comprising the step of producing three distinct index values from the processed pixel values for indexing respectively values in a red, green and blue color lookup table.
- 4. The method of claim 3 further comprising the step of displaying the indexed color lookup table values on a monitor.
- 5. In a computer graphics system, a subsystem for providing pixels of selected datatypes and formats to more than one window for simultaneous display on a monitor, comprising:
- a. means for providing a window number for each pixel;
- b. an electronically alterable mapping memory having a mapping configuration word corresponding to and indexed by each window number defining a selected datatype and format for each window, each of said mapping configuration words comprising a mode field, a shift field, a pixel bit mask field, and a color map base address field;
- c. one or more color lookup tables for providing color values to be displayed on the monitor;
- d. means for providing pixel values to the subsystem to be interpreted for display;
- e. a barrel shift for shifting a pixel value in accordance with the shift field of the mapping configuration word associated with said pixel value;
- f. a mask and mux for either multiplexing the shifted pixel value or dividing the shifted pixel value into multiple channels, depending upon the format provided by the mode field of the mapping configuration word associated with said pixel value; and
- g. one or more adders for adding each multiplexed or added pixel value to the color map base address field.
Parent Case Info
This application is a continuation of application Ser. No. 07/206,091, filed Jun. 13, 1988, now abandoned.
US Referenced Citations (46)
Continuations (1)
|
Number |
Date |
Country |
Parent |
206031 |
Jun 1988 |
|