BACKGROUND OF THEINVENTION1. Field of the Invention- The present invention relates to an improved display control unit for computer systems. 
2. Description of the Prior Art- In Fig; 1, there is illustrated a block diagram of a conventional color graphics display unit. 
- As shown in Fig. 1, there is provided a CPU (microprocessor) 1 to control a whole system, and to thisCPU 1 are connected amain memory 2 and adisplay control circuit 3. Themain memory 2 is dedicated to holding programs and data, and thedisplay control circuit 3 is used to control the color graphics display.Reference character 4 designates a VRAM (video memory) to hold data for CRT display, andcharacter 5 represents a CRT color display unit. 
- Fig. 2 shows a block diagram of an example of thedisplay control circuit 3 illustrated in Fig. 1. 
- In this example, atiming controller 11 generates a · clock signal which is in turn inputted to acounter 12 having a column counter and a line counter. Thiscounter 12 is then operated to generate a synchronous signal for CRT display via adisplay timing circuit 13. On the other hand, thecounter 12 creates display addresses which are then outputted as VRAM addresses via amultiplexer 15. 
- Read data for display access coming fromVRAM 4 are inputted to avideo output controller 20 via a buffer 1S to produce CRT video signals. 
- On the other hand, whenCPU 1 tries to accessVRAM 4, the addresses ofVRAM 4 are set in aVRAM address register 14. And, if a write strobe is input to aCPU interface controller 18, then themultiplexer 15 selects the outputs of theVRAM address register 14 given byCPU 1 as VRAM addresses, and also the write data fromCPU 1 is written intoVRAM 4 viabuffers 16, 17. 
- Fig. 3 illustrates an example of theVRAM 4 which has a series of physical addresses as a memory unit. Logically, it has a display screen as shown and the display screen ccmprises 256 horizontal dots x 1024 vertical dots. 
- Normally, a display screen is physically composed of 200 vertical dots. Therefore, the logical existence of 1024 vertical dots means that the screen has unobserved areas or that a plurality of screens are present. 
- Now let us consider an example: On the display screen shown in Fig. 3, coordinates of X, Y are used to superpose the color code block data in the source area withinVRAM 4 on the color code data in the destination area.( area to which data is transferred). 
- CPU 1 calculates the physical addresses of theVRAM 4 based on the coordinates (Sx, Sy) in the source area and then sets them in theVRAM address register 14 within thedisplay control circuit 3.CPU 1 also produces a read command output so as to read the color code data within theVRAM 4 corresponding to the coordinates (Sx, Sy). 
- Next,CPU 1 calculates the physical addresses within theVRAM 4 based on the coordinates (Dx, Dy) in the destination area to which the data is to be transferred and sets them in the VRAM address-register 14 within thedisplay control circuit 3. Here again,CPU 1 outputs a read command to read the color code data within theVRAM 4 corresponding to the coordinates (Dx, Dy), and then obtains the OR of (i.e., ORs) the color code data within theVRAM 4 and the color code data from the above-mentioned coordinates (Sx, Sy). Then,CPU 1 outputs a write command to write the ORed color code data into theVRAM 4, in particular, a location of theVRAM 4 corresponding to the coordinates (Dx, Dy). 
- Accordingly, the above-mentioned Read/Read/Logical operation/Write sequence is repeated NX times with respect to a horizontal direction and NY times with respect to a vertical direction (that is, NX X NY times) so as to superpose the source area color code data on the destination area color code data. 
- In order to meet the demands for realization of compact computers and reduced costs, such conventional display control unit for personal computers is designed to reduce the amounts of its hardware, e.g. the number of gates and IC elements used, involving the internal structure of the display control unit and its associated interfaces. This, however, results in increased load on the software accordingly. 
- As can be seen from the above-mentioned example, namely, the color code data transfer/superposition, in the prior art personal computer display control units, all of the processings must be performed byCPU 1 and thus it takes quite a lot of time to execute these processings. 
- In another aspect of the conventional display control unit,CPU 1 and Display Control Circuit 3 are operated independently of each other, and the display timing of thedisplay control circuit 3 has priority over the VRAM timing of theCPU 1. As a result of this, a wait time arises in access fromCPU 1 toVRAM 4, which results in the extremely deteriorated efficiency of the data transfer. 
- In other words, in the above-mentioned prior art, the software must share a heavy load in the display control and thus it takes a very long time to execute its operation. When a computer is upgraded with increased display specifications and with a plurality of display modes, then its address calculation becomes more complicated and thus it will take an extendes period of time to perform its running operation. 
- Also, in the market there are urgent needs for not only reduction of the single block data transfer running time but also for reduction of the transfer run time for a various kinds of block data. Further, there exists a need for new other elements. 
- For example, the following are necessary to replace the CPU processing mode during a retrace period by that during a display period; to speed up the updating process of specifying color in the color data; to perform a logical operation for only desired dots on the display screen; and, to transfer at higher speeds a form or an object having a solid body on a transparent background within a source area. Further, it is desired to be able to display "kanji" pattens fast so as to facilitate accomodation of the kanji. 
SUMMARY OF THE INVENTION- The present invention aims at eliminating the drawbacks in the above-mentioned prior art display control unit as well as meeting the demands currently requested in the market. 
- Accordingly, it is a primary object of the invention to provide an improved display control unit which, when a run time for a display operation is reduced by reading out data within a source area and writing the read-out data sequentially into a destination area, is able to speed up a command processing during a vertical or horizontal retrace period. 
- It is another object of the invention to provide a block data transfer device which is capable to speed up an updating processing of specifying color in display data. 
- It is another object of the invention to provide a display control unit which is capable to perform a logical operation for only desired dots on a display screen. 
- It is still another object of the invention to provide a display control unit which is capable to transfer at high speeds a form or an object having a solid body on a transparent background within a source area. 
- It is yet another object of the invention to provide a memory expansion system in which an expansion memory can be employed as a "kanji" ROM (pattern memory) or as a buffer area. 
- In accomplishing these objects, according to the invention, there is provided an improved display control unit in which the processing form of its CPU can be modified, that is, when the execution time of its display operation is reduced by reading out data in a source area from within a memory unit and sequentially writing the read-out data into a destination area, a predetermined period of time before the begining of a vertical retrace
 the CPU is interrupted so that the CPU can omit its confirmation as to whether a video CPU has completed its previous processing
 
- The above and other related objects and features of the invention will be apparent from a reading of the following description with reference to'the accompanying drawings and the novelty thereof pointed out in the appended claims. 
BRIEF DESCRIPTION OF THE DRAWINGS
- Fig. 1 is a block diagram of a typical example of the prior art color display units;
- Fig. 2 is a block diagram of a display control circuit employed in the prior art color display unit of Fig. 1;
- Fig. 3 is a block diagram of an example of VRAMs used in the colcr display unit of Fig. 1, illustrating the transfer operation of a block data;
- Fig. 2 is block diagram of an embodiment of the invention;
- Figs. 5 and 6 are view to illustrate the contents of the respective registers employed in the above-mentioned embodiment of the invention;
- Fig. 7 is a view to illustrate the command codes used in the above embodiment;
- Fig. 8 is a view to illustrate a logical operation used in the above embodiment;
- Fig. 9 is a timing view of another embodiment of the invention;
- Fig. 10 is a circuit diagram of main portions of the embodiment of Fig. 9;
- Fig. 11 is a block diagram of still another embodiment of the invention; and,
- Fig. 12 is circuit diagram of main portions of the embodiment shown in Fig. 11.
DETAILED DESCRIPTION OF PREFERREDEMBODIMENTS OF THE INVENTION- In Fig. 4, there is illustrated a block diagram of an embodiment of the invention. 
- In the illustrated embodiment, there are provided aclock generator 31 to generate a display timing clock and acounter 32 which comprises a column counter to generate a CRT screen display timing and a VRAM address in accordance with the display timing clock, a line counter, and a row counter. 
- Data bus 41 fromCPU 1 is connected viaBuffer 42 to Registerbus 43. The number of registers within adisplay control circuit 3 accessed byCPU 1 is held by a register pointer/counter 44 and the outputs of this register pointer/counter 44 are decoded by aregister selector decoder 45, so that the registers can be specified individually. In addition to this register function, the register pointer/counter 44 has a count-up function. That is, in setting parameters of the respective registers, after one setting has been completed, it counts up 1. Thus, the registers can be automatically specified successively one by one. 
- Command Register 46 holds the command information fromCPU 1, andVideo CPU 47 processes the display data in accordance with the commands fromCPU 1.SR Register 48 holds the status fromVideo CPU 47 toCPU 1. WhenCPU 1 specifies the physical address ofVRAM 4 to access theVRAM 4, the VRAM address is to be held by VRAM Address Register/Counter 37.Color Code Register 33 holds the read data fromVRAM 4 as well as the write data toVRAM 4. 
- The features of the invention include the below-mentioned component elements: 
- At first, there are included SX Register/Counter 38 to hold the values on X coordinates existing in a horizontal direction within a source area, SY Register/Counter 39 to hold the values on Y coordinates in a vertical direction, and SXAddress Composing Circuit 40 to create the physical address ofVRAM 4 in accordance with the respective outputs of SX, SY Register/Counter 38, 39.
- Also, there are provided DX Register/Counter 58 to hold the values on the horizontal X coordinates of a destination area, DY Register/Counter 59 to hold the values on the vertical Y coordinates of the same, and DXAddress Composing circuit 57 to create the physical address ofVRAM 4 in accordance with the respective outputs of DX, DY Register/Counters 58, 59. 
- The above-mentioned SX, SY, DX, DY Register/Counters 38, 39, 58, 59 have not only a register function but also an up/down counter function, respectively. 
- Further,VRAM Address Bus 36,which is contained within thedisplay control circuit 3, is connected throughBuffer 55 to AddressLine 56 ofVRAM 4.VRAM Data Bus 35, which is also contained in thedisplay control circuit 3, is connected throughBuffer 53 toVRAM Data Line 54. 
- NX Register 61 holds the transfer data number in a horizontal direction (that is, a direction of the X coordinates), whileNY Register 63 holds the transfer data number in a vertical direction (that is, a direction of the Y coordinates). There is provided ahorizontal direction flag 60 which points to a positive direction (or, right direction) when it is "0" and points to a negative direction (or, left direction) for "0". Avertical direction flag 62 indicates a positive direction (or, downward direction) when it is "0", and a negative direction (or, upward direction) for "1".S Register 34 holds the read data from the source area, andD Register 52 holds the read data from the destination area. ALU (arithmetic and logic unit) 51 performs logical operations such as IMP, AND, OR, EOR, NOT operations of the outputs ofS Register 34,Color Code Register 33 andD Register 52 in accordance with the control fromVideo CPU 47. 
- Interrupt line (IL)Register 70 is used to previously set the number of columns, lines, or rows for IL interruptions, whileComparator 71 is dedicated to detecting the correspondence of the number of the columns, lines, or rows set byIL Register 70. 
- Referring now to Fig. 10, SourceData Bit Selector 101 selects higher 4 bits or lower 4 bits from the source data and then uses the selected 4 bits to form higher 4 bits or lower 4 bits.Byte Data Selector 102 selects the data which has passed through SourceData Bit Selector 101 or the source data fromS Register 34. 
- Transparence Detection Circuit 104 serves to detect a color code (that is, transparency) for a portion of the source area in which no object exists. 
- Parallel Bit Selector 103 causes omission of logical operations of some of the color codes within the destination area which corresponds to the color code within the source area, provided that the very source area color code happens to be transparent. 
- Referring to Fig. 11,Expansion Memory 111 is used as "kanji" ROM(Pattern Memory) or a buffer area. 
- Referring to Fig. 12,Slot Switch 121 is dedicated to switching a video request or a process request. 
- ARGR Switch 123 is used to switch a request to a video request or a process request in accordance with the respective bits of an argument register. 
- The foregoing elements are the characteristic ones of the present invention. Although there exist other elements than the foregoings in thedisplay control circuit 3, an explanation is omitted here regarding such elements as not necessary in describing the operation of the invention. 
- Next, we will describe the operation of the above-mentioned embodiment. 
- First, the operation of thedisplay control circuit 3 is described, by way of example, in connection with the block data transfer/superposition based on X, Y coordinates. 
- It is necessary thatCPU 1 has previously set information necessary for the logical operation and block data transfer in the respective registers of thedisplay control circuit 3. When accessing the respective registers shown in Figs. 5 and 6,CPU 1 sets the register number of a register to be accessed in a register pointer/counter 44 and thereafter performs its read/write operation. 
- When the source area color code data withinVRAM 4 and the destination area color code area are ORed and superposed on each other, "10010010" is to be set in Register #45 (Command Register). Its higher 4 bits "1001" represents a command code shown in Fig. 7 (block data transfer fromVRAM 4 toVRAM 4 with a logical operation), while its lower 4 bits "0010" expresses an OR shown in Fig. 8. 
- Also, when such block data as shown in Fig. 3 is to be processed, it is necessary to set up the following parameters: The start coordinates (SX, SY) of the source area are set in SX Register/Counter 38 and SY Register/Counter 39, respectively. SX Register/Counter 38 is composed of SXL (Register #32) and SXH (Register #33), while SY Register/Counter 39 is composed of SYL (Register #34) and SYH (Register #35). Therefore,CPU 1 sets a 4-byte parameter on the transfer starting point or the starting coordinates (SX, SY). 
- By the way, Fig. 5 illustrates the contents of Registers #32 - 42, and Fig. 6 illustrates the contents of Registers #43 - 46 as well as the contents ofRegisters #2, #8. 
- Then, the destination area start coordinates (DX, SY) are set in SX Register/Counter 58 and DY Register/Counter 59. DX Register/Counter 58 is composed of DXL(Register #36) and DXH(Register #37), while DY Register/Counter 59 is composed ofyYL(Register #38) and DYH(Register #39). 
- Next, the number NX of data to be transferred to a horizontal direction (a direction of the X coordinates) is set inNX Register 61 and the number NY of data to be transferred to a vertical direction (a direction of the Y coordinates) is set inNY Register 63.NX Register 61 is composed of NXL (Register #40) and NXH (Register #41), whileNY Register 63 is composed of NYL (Register #42) and NYH (Register #43). 
- Since the block data to be transferred to both of the X, Y directions when viewed from the start coordinates (SX,SY) are in a positive direction, "0" is set in both ofDirection Flag 60 andDirection Flag 62.Direction Flag 60 corresponds to thebit 3 of Argument Register ARGR (Register #45), andDirection Flag 62 to thebit 2 of Argument Register ARGR (Register #45). When all of the foregoing settings have been effected, it is considered that the setting of parameters necessary for transfer of the block data has been completed. These parameter settings are to be performed successively fromRegister #32 to Register #45. First, "32" is set in Register Pointer/Counter 44. Then, it is necessary only to write the parameters successively so that the associated registers can be set up sequentially. After then, Register Pointer/Counter 44 is caused to point to Register #46 and is in a position to wait for setting of a command code. 
- Fig. 7 is a table to illustrate command codes. 
- In this figure, "VDC" stands for thedisplay control circuit 3. 
- Fig. 8 is a table to illustrate logical operations. In this figure, SC represents a source color code and DC stands for a destination color code. 
- CPU 1 creates command codes such as "10010010" in accordance with the above-mentioned command codes and logical operation codes and then sets them in Command Register 45 (Register #45). 
- The higher 4 bits of the above-mentioned command code express an instruction to transfer a block data withinVRAM 4 provided that the source area and the destination area are both present within theVRAM 4. On the other hand, the lower 4 bits of the above example represent a logical operation code, that is, "0010" means that the OR of the source color code data and the destination color code data before transferred is to be written into the destination. 
- On receiving a command code and a logical operation code fromCPU 1,Video CPU 47 sets the command executing (CE) of thebit 7 ofSR Register 48 to initiate the execution and processing of the command. 
- SXYAddress Composing Circuit 40 is operated to create a physical address ofVRAM 4 from SX Register/Counter 38 and SY Register/Counter 39 respectively holding the source area coordinates under control ofVideo CPU 47. According to this physical address, a color code data is read out fromVRAM 4, which read-out data is in turn set inS Register 34 throughData Line 54,Buffer 53, andVRAM Data Bus 35. 
- Next, DXYAddress Composing Circuit 57 is operated to create a physical address ofVRAM 4 from the outputs of DX Register/Counter 58 and DY Register/Counter 59 respectively holding the destination area coordinates. According to this physical address, a color code data is read fromVRAM 4, which data is in turn set inD Register 52. 
- . On the other hand, a color code data withinS Register 34 read out from the source side and a color code data inD Register 52 read out from the destination side are ORed by ALU (Arithmetic and Logic Unit) 51 to produce a superposed color code data. 
- The newly operated and produced color code data is output onVRAM Data Line 54 viaVRAM Data Bus 35 andBuffer 53, and is then written intoVRAM 4 in accordance with a physical address on the destination side produced by DXYAddress Composing Circuit 57. 
- The above operations complete the logical operation and data transfer of a color code data of 1 dot. 
- In the same manner as with the block data transfer based on X, Y coordinates, logical operations (OR) and block data transfer operations are performed on the sum (NX X NY) of X-direction NX color code data and Y-direction NY color code data. 
- WhenNX Register 61 coincides withNX Counter 64 andNY Register 63 coincides withNY Counter 65, thenVideo CPU 47 decides that the logical operation (OR)/ block data transfer has been completed, clears the command executing (CE) bit withinSR Register 48, and informsCPU 1 of the end of the command. 
- In the above discussion, the logical operation (OR)/ block data transfer based on the X, Y coordinates only withinVRAM 4 has been explained. However, it is similarly possible to perform other logical operation/block data transfer processings in accordance with commands which specify other combinations. Such cases will be discussed from now on. 
(1) Logical operation/block data transfer fromCPU 1 to VRAM 4 (Command code CM 3-0 "1011"):- In this case, since the source isCPU 1,SX Register/counter 38, SY Register/counter 39 andS Register 34 are not used, but insteadColor Code Register 33 is used. 
- Specifically, whenCPU 1 sets a transfer data inColor Code Register 33 andViedo CPU 47 writes the transfer data ofColor Code Register 33 intoVRAM 4 according to DX Register/counter 58 and DY Register/counter 59, the transfer ready (TR) bit ofSR Register 48 is set to informCPU 1 that one data transfer is completed and thatColor Code Register 33 is now ready to receive a next data. 
- After confirming that this TR bit is "1",CPU 1 sets a next transfer data inColor Code Register 33. This resets the TR bit and returns it to its original status. Other operations are the same as with the above-mentioned block data transfer withinVRAM 4. 
- (2) Logical operation/block data transfer from VRAM4 to CPU 1 (Command code CM 3-0 "1011"): 
- In this instance, since the destination isCPU 1, a color code data from CPU 1 (that is, a fixed data) is set intoD Register 52 viaColor Code Register 33. The color code data, after operated, is set inColor Code Register 33 and is then read byCPU 1. 
- Video CPU 47 reads out a transfer data fromVRAM 4 in accordance with SX Register/counter 38 and SY Register/counter 39 and sets the read-out transfer data inColor Code Register 33, and at the same time sets the TR bit ofSR Register 48 for ''1".CPU 1 checks this TR bit, and, if it is "1", thenCPU 1 reads out the transfer data fromColor Code Register 33. As a result of this, the TR bit is reset and returns to its initial status. Other operations are performed in the same way as in the above-mentioned data transfer withinVRAM 4. 
- (3) Logical operation/block data transfer from a single register (Color Code Register 33) within thedisplay control circuit 3 to VRAM 4 (Command Code CM3-0 "1010"): 
- In this case, the data written intoColor Code Register 33 is transferred to the destination area ofVRAM 4. This is an effective way in writing the same data. The procedure of this operation is the same as in the above-mentioned block data transfer fromCPU 1 toVRAM 4. However, in this instance,CPU 1 is required to write the data intoColor Code Register 33 only once, and the data is to be transferred under control ofVideo CPU 47. 
- (4) Various logical operations including not only the OR but also the AND, XOR, complement or the like of the source area color code data and the destination area color code data can also be performed at high speeds by ALU 51 (in accordance with the instructions from Command Register L0 2-0). 
- The operations concerning the above-mentioned articles (2) and (3) are performed byCPU 1 in cooperation withDisplay Control Circuit 3, which means both of them must wait while their partners are in execution mutually. Such mutual execution wait is controlled by setting and resetting the TR bit ofSR Register 48. 
- Conditions of the above mentioned execution wait are different between in the display period and in the retrace 
- period. Namely, during the return line period, since all of the memory accesses can be used for command processing, the command processing can be executed at high speeds so that the waiting ofCPU 1 is eliminated. In particular, a vertical return line period is longer than a horizontal retrace period and thus it takes longer time to process commands in the vertical retrace period than in the horizontal retrace line period. Accordingly, if it is possible to employ such a command processing system as can avoid the waiting ofCPU 1 in the vertical period, then the performance of the display control unit can be enhanced substantially. To this end, when the vertical retrace period comes near, an interrupt (or, IL interrupt) is caused to occur to informCPU 1 of the effect. 
- Such IL interrupt is enabled by previously having set the value of Vertical Counter (Line, Row) 32 inIL Register 70 shown in Fig. 4 (an interrupt line register, #8 Register shown in Fig. 6). 
- The value to be set for this purpose may be the start line number of the vertical retrace or, in case when the overhead time for interrupt processing is long, such a value may be set as causes an interrupt to take place earlier by such long time. In either event, it is possible to improve the efficency of the display control unit. 
- During the vertical retrace ,SR Register 48 shown in Fig. 4 (a status register, or #2 Register shown in Fig. 6) is sometimes checked for its VR bit (that is, the output of the VR status signal produced by decoding the out- put ofCounter 32 is read out) to decide whether a processing in the very vertical retrace is to be continued or not. 
- The above-mentioned VR bit is produced by decoding the out-put ofCounter 32 such that it becomes "0" a predetermined time before the termination of the vertical retrace line period. It is necessary to set up the predetermined time duration even when a processing happens to be longest during the vertical retrace so as to prevent such longest processing from being carried over into the display period. 
- Similarly as with the above-mentioned IL interrupt occurred when the vertical retrace approaches, the status of the horizontal retrace can also be shifted forwardly in time to increase its processing efficency. 
- WhenCPU 1 performs a processing aiming at the horizontal retrace, it is necessary during such processing to checkSR Register 48 for its HR bit. In this case, a timing to generate the HR bit can also be staggered in the following manner to enhance the processing efficiency. That is, in the repetitive processings during the horizontal retrace, 
- the leading edge of the timing may be shifted before a minimum time duration required to issue a VRAM access after detection of the HR bit, and the trailing edge thereof may be staggered before more than the maximum time duration. 
- Fig. 9 illustrates the timing mentioned above. 
- The predetermined time duration from the beginning of the vertical or horizontal retrace necessary to cause an interrupt toCPU 1 may be changed depending upon the time periods from the generation of an interrupt signal toCPU 1 to the initiation of the interrupt processing. Also, this predetermined time duration must be changed in accordance with the length of the execution time of programs. 
- Also, during the vertical and horizontal retrace, the processing mode ofCPU 1 is changed by causingCPU 1 to omit the confirmation as to whetherVideo CPU 47 has completed its previous processing, and at the same time a status signal to indicate the then processing is present within the retrace period is monitored so as to continue to change the processing mode ofCPU 1. The status signal has been previously extinguished within a predetermined time after the termination of the retrace. Then, the processing mode of CPU-1 is returned to its original way, in whichCPU 1 confirms whetherVideo CPU 47 has completed its previous processing. 
- Fig. 10 illustrates a block diagram of another embodiment of the invention, showing an example in which an updating processing.of color specification in the display data can be performed at increased speeds. 
- The foregoing discussion is concerned with the memory contents of one memory address and is limited to the 1 dot display system. However, in general, a memory interface consists of a byte(8 bits) or a word (16 - 32 bits) and thus contains information on display of a plurality of dots. In this case, when the dots are to be processed one by one, the remaining bits must be masked. 
- Next, we will describe the operation to be performed when a byte interface has 4-bit color information (2 dots/byte). As it contains the information about 2 dots/byte, the source data and destination data are respectively selected for each bit. 
- Source Data Selector 101 selects higher 4 bits when 0 bit of SXY is "0", and lower 4 bits when this 0 bit is "I". The data is then transferred viaByte Data Selector 102 toALU 51. InALU 51, a logical operation of the data and the value ofD Register 52 is executed for each bit. After then,Parallel Bit Selector 103 outputs as VRAM data either 4 bits (that is, the upper 4 bits for "O", the lower 4 bits for "1") to be specified in accordance with the value of thebit 0 of DXY. 
- If the value of the source data bus is "0" andL0 3 = 1,Transparency Detection Circuit 104 decides the source data as transparent and thusParallel Bit Selector 103 allows the value ofD Register 52 as it is to pass through. 
- In this manner, the bit select/mask function and transparency processing can be realized. 
- In other words, the color code data within the source area and the color code data within the destination area are logically operated, while a portion belonging to the source area and having no object existing therein, more particularly the color code (transparent color) of such portion is detected -byTransparency Detection Circuit 104 and the logical operation of the transparent portion is omitted, so that only the form stored in the source area and having a solid body can be transferred at high speeds. 
- The above-mentioned operations can be realized similarly even if the number of the color information bits or the number of bits / word may be varied. 
- The above discussion relates to a bit-by-bit processing. According to cases, however, it may be necessary to process data in bytes for purposes of higher speeds. In this instance, the command code "1111 - 1100" is used. SourceData Bit Selector 101 is not used for this purpose, but the value ofS Register 34 is directly guided toALU 51 by Byte Data Selector 102 (CH2 = 1), and then the output ofALU 51 is forcibly guided toVRAM Data Bus 35, so that a higher speed processing can be executed. 
- In other words, a part of the display data read out to the destination register is modified and the modified display data is written intoVRAM 4, so that it is possible to speed up the updating processing of the color specification in the display data. 
- Source data specified by a: source address is divided into a plurality of portions and one of the data portions is then selected, while destination data specified by a destination address is also divided into a plurality of data portions and one of the data portions is selected. After logical operations are performed on the thus selected data portions, the logical operation result or the destination data is selected for each of the portions of the respective data. As a result of this, it is possible to perform logical operations only on a desired dot on the display screen. 
- Fig. 11 is a block diagram of another embodiment of the invention, illustrating an example using an expansion memory as a "kanji"(chinese-character) accomodation or as a buffer area. 
- In Fig. 11,Expansion Memory 111 is extended in parallel withVRAM 4. For example, when thisexpansion memory 111 is extended in parallel withVRAM 4 as a chinese-character pattern ROM, chinese characters ("kanji") can be accommodated. This is because a high-speed display can be realized by transferring a chinese-character pattern toVRAM 4 by means of area movement. Also, it is convenient since there is no need to load any external pattern data for this purpose. Further, since the read speed of the chinese-character pattern ROM, or the cycle time of the area movement in this case may be slower than the display memory access, low-speed and large- capacity memory elements can be used. To achieve this, an address register may be located within the expansion memory and, at the time when the previous access has been completed, an address may be updated to initiate the next reading. 
- Also, when an RAY, is extended as an expansion memory, this can be used as a work memory ofVRAM 4 to expand the address space up to the same capacity as that ofVRAM 4. Specifically, bits MXC, MXD and MXS of ARGR are defined. MXC, which serves to switch and control the VRAM access fromCPU 1, makes it possible to directly read and write an expansion memory fromCPU 1. MXD specifies the destination area to the expansion memory and makes it possible for the expansion memory to be read and written as the data memory. MXS specifies the source area to the expansion memory and permits reading of a fixed pattern or reading from a buffer memory. 
- Fig. 12 is a circuit diagram of the main portions of the embodiment shown in Fig. 11. 
- Next, the operation of the embodiment in Fig. 11 will be described with reference to Fig. 12. 
- Access requests for a memory are normally classified into two main categories; namely, video requests (VRQ) and process requests (PRQ). The video requests VRQ are requests for reading of data for CRT display and are issued based on the counts ofCounter 32. The process requests PRQ are VRAM accesses that are issued by Video CPU. This issue results from the controls of CPU such as setting of parameters fromCPU 1, starting of commands, VRAM access and the like. 
- The video requests VRQ and process requests PRQ are controlled by timing control signals, and are respectively permitted by the allocated time slots. These operations are processed bySlot Switch 121 shown in Fig. 12. That is, at a timing when the video request VRQ is issued,Slot Switch 121 is always connected to the video request VRQ side, and in other cases it is connected to the process request PRQ side. Thus, PRQ is permitted only whenSlot Switch 121 is connected to the PRQ side. 
- Next, we will describe the operation and function of the bits MXC, MXD, MXS of ARGR. 
- The contents of the process request PRQ are classified into CRQ to be issued whenCPU 1accesses VRAM 4 directly, DRQ issued when the destination data is accessed whileVideo CPU 122 is executing a command, and SRQ issued when the source data is accessed. These requests are normally connected to the process request PRQ side byARGR Switch 123. ThisARGR Switch 123 is adapted to connect the requests, CRQ, DRQ and SRQ to an XRQ side in accordance with each of the bits MXC, MXD and MXS. This XRQ is a memory request (MX request) to the expansion memory, and when the XRQ appears the expansion memory is to be accessed instead ofVRAM 4. Thus, by distributing each of the process request or PRQ requests independently to theVRAM 4 expansion memory in this way, the expansion memory can be used as a buffer memory or a pattern memory. When the expansion memory is specified by MXD andVRAM 4 by MXS to specify the area movement, then it is possible to save the data in an area whereVRAM 4 is contained. On the other hand, whenVRAM 4 and the expansion memory are specified by MXD and MXS respectively, then it is possible to return the saved data to its original state, or to move a fixed pattern (or, a chinese-character pattern) toVRAM 4 for display. 
- The foregoing description has been made on condition that a color code or color data is to be handled, but this can also apply to a monochrome system. In that case, the color data may be replaced by the byte data. 
- The present invention is useful in performing display control of not only the color CRT but also other display units such as a monochrome CRT, LCD, plasma, and EL. 
- As can be clearly understood from the foregoing description, the present invention provides several effects: namely, when reducing the execution time for display operation by reading out the source area data from a memory unit and then writing the read-out source area data sequentially into the destination area, the command processing speed can be increased during a vertical or horizontal retrace line period; it is possible to increase the speed of an update processing on color specification in display data, and at the same time only a desired dot on the display screen can be logically operated; and, it is possible to transfer a form or an object existing within the source area and having a solid body at high speeds, and an expansion memory can be used as a "kanji" (chinese-character) ROM (or, a pattern memory) or a buffer area.