Claims
- 1. An apparatus including a central processing unit for generating control signals, said apparatus for performing Boolean raster operations on source and destination data for storage in a frame buffer memory for a plurality of memory planes, said source data being selected from one of a font register and a pattern register, said destination data being selected from said frame buffer, said apparatus comprising:
- a) source data select means coupled to said font register and said pattern register for selecting said source data;
- b) destination data select means coupled to said frame buffer for selecting said destination data;
- c) plane Boolean raster operation select means coupled to said central processing unit for selecting a Boolean raster operation to be performed for each of said plurality of memory planes;
- d) Boolean raster operation circuit means coupled to said plane Boolean operation select means, said source data select means, said destination data select means and said frame buffer for performing the selected Boolean raster operation for each of said plurality of memory planes on said selected source data and said selected destination data for storage in said frame buffer;
- e) logic means coupled to said source data select means and said plane Boolean raster operation select means for determining whether the selected Boolean raster operation can be performed using only said selected source data, said determination being made by determining whether said Boolean raster operation can be performed using only one of a plurality of values comprising a logic one, a logic zero, said selected source data, and said selected source data complemented, said logic one and said logic zero being generated by said logic means; and
- f) means coupled to said logic means and said source data select means for performing said selected Boolean raster operations using only said selected source data for those selected Boolean raster operations determined by said logic means as capable of being performed using only said selected source data.
- 2. The apparatus defined by claim 1 wherein said Boolean raster operations determined by said logic means as capable of being performed using only the source data are CLEAR, ERASE, DRAW INVERTED, AND, NOP, PAINT INVERTED, DRAW, PAINT and SET.
- 3. The apparatus defined by claim 1 wherein said Boolean raster operation performing means comprises said Boolean raster operation circuit means and said logic means.
- 4. The apparatus defined by claim 1 wherein said logic means comprises circuitry for implementing the following truth tables where S is the source data, D is the destination data and D' is the result of the Boolean raster operation performed using the source data, WRITE ENABLE "yes" specifies that updated destination data that may be used to update the frame buffer, WRITE ENABLE "no" specifies that the frame buffer should not be updated with updated data, and WRITE MASK specifies a predetermined group of Boolean operations:
- ______________________________________ TRUTH TABLE WRITE WRITENO. OPERATION S D D' ENABLE MASK______________________________________ 0 CLEAR 0 0 0 yes "1" 0 1 0 yes 1 0 0 yes 1 1 0 yes 2 ERASE 0 0 0 no Source 0 1 1 no 1 0 0 yes 1 1 0 yes 3 DRAW 0 0 1 yes "1" INVERTED 0 1 1 yes 1 0 0 yes 1 1 0 yes 8 AND 0 0 0 yes Source 0 1 0 yes Complemented 1 0 0 no 1 1 1 no10 NOP 0 0 0 no "0" 0 1 1 no 1 0 0 no 1 1 1 no11 PAINT 0 0 1 yes Source INVERTED 0 1 1 yes Complemented 1 0 0 no 1 1 1 no12 DRAW 0 0 0 yes "1" 0 1 0 yes 1 0 1 yes 1 1 1 yes14 PAINT 0 0 0 no Source 0 1 1 no 1 0 1 yes 1 1 1 yes15 SET 0 0 1 yes "1" 0 1 1 yes 1 0 1 yes 1 1 1 yes.______________________________________
Parent Case Info
This is a continuation of application Ser. No. 257,985 filed Oct. 14, 1988, now abandoned.
US Referenced Citations (8)
Foreign Referenced Citations (1)
Number |
Date |
Country |
0240410 |
Mar 1987 |
EPX |
Continuations (1)
|
Number |
Date |
Country |
Parent |
257985 |
Oct 1988 |
|