DISPLAY CONTROL SYSTEM

Abstract: An improved display control system for use in a computer is disclosed which is equipped with functions of X, Y addressing and area movement so as to reduce the execution time necessary for display operations of the computer. Also, in this display control system, means for executing line commands is composed of hardware so as to reduce the execution time necessary for display operations on the line commands. The system comprises: means (38, 39) for specifying a start point of transfer in a source area (S); means (58, 59) for specifying a start point of transfer in a destination area (D); means (61) for holding amounts of data to be transferred in a horizontal direction; means (63) for holding amounts of data to be transferred in a vertical direction; and means (60, 62) for holding the transfer direction of each of horizontal and vertical transfer points, characterized in that said inter-area data transfer is executed by reading out data in said source area (5), specified by said means from said memory unit (4) and writing said read-out data sequentially into said destination area (D).

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display control system for a computer. 2. Description of the Prior Art Fig. 1 illustrates a block diagram of a conventional color graphics display system. In this figure, there is provided a CPU(microprocessor) 1 for controlling the whole system, to which a main memory 2 and a display control circuit 3 are connected. The main memory 2 is used to hold programs and data, while the display control circuit 3 is dedicated to controlling color graphics display. In Fig. 1, reference numeral 4 designates a VRAM (video memory) to hold data for CRT display, and numeral 5 represents a CRT color display unit. Fig. 2 illustrates a block diagram of an example of the display control circuit 3 shown in Fig. 1. A clock signal generated by a timing controller 11 is input to a counter 12 which comprises a column counter, a line counter and a row counter. The counter 12 generates a CRT display synchronous signal via a display timing circuit 13, while it also creates a display address and outputs it as a VRAM address via a multiplexer 15. The read data for display access from the VRAM 4 is inputted via a buffer 19 to a video output controller 20 to create a CRT video signal. On the other hand, when CPU 1 accesses VRAM 4, the address of VRAM 4 is set in a VRAM address register 14. Then, if a write strobe is input to a CPU interface controller 18, then Multiplexer 15 selects the output of the VRAM address register 14 to be accessed by CPU 1 as a VRAM address, and the write data from CPU 1 is written into VRAM 4 via the buffers 16, 17. Fig. 3 illustrates an example of the above-mentioned VRAM 4. The illustrated VRAM 4 has a series of physical addresses as a memory unit, and, logically, it has such a display screen structure as shown which comprises 256 horizontal dots, 200 vertical dots and 4-bit color information (16 colors). Now let us consider an operational example: that is, an operation in which on the display screen shown in Fig. 3 the block data of the source area in VRAM 4 is transferred to a destination area based on the X, Y coordinates. CPU 1 calculates the physical address of VRAM 4 based on the coordinates (Sx, Sy) of the source area and sets it in the VRAM address register 14 within the display control circuit 3. CPU 1 also outputs a read command and reads out the color data in VRAM 4 which corresponds to the coordinates (Sx, Sy). Next, CPU 1 calculates a physical address in VRAM 4 based on the coordinates (Dx, Dy) of a destination area to which the block data is to be transferred, and sets it in the VRAM address register 14 within the display control circuit 3. CPU 1 also outputs the color data and write command and writes them into VRAM 4 corresponding to the coordinates (Dx, Dy). Thus, the above-mentioned read/write procedure must be repeated NX times regarding a horizontal direction and NY times regarding a vertical direction, that is, (NX X NY) times to be able to transfer the block data of the source area to the destination area. As can be understood from the foregoing description, the conventional display control system for a personal computer is designed to have reduced amounts of hardware on its internal structure and interfaces such as gates and IC elements so as to satisfy the needs for a compact computer and for reduced costs. This increases the load of software accordingly. A figure-forming processing includes a line command which provides the start coordinates (DXo, DYo) of a straight line to be formed, as well as the amounts of displacement in both the X-coordinate direction (horizontal direction) and Y-coordinate direction (vertical direction) of the straight line so as to form the straight line. To execute the line command, not only the calculation of the coordinates of the line but also a logical operation between the line coordinates and the color code data on the picture being now displayed are necessary. Fig. 3A is a view to explain the execution of the abovementioned line command. We will now consider an example of operation of a line command to form a line from the start coordinates (DXo, DYo) on the display screen shown in Fig. 3A. First, CPU 1 calculates the physical address of VRAM 4 from the start coordinates (DXo, DYo) and sets the calculated physical address in the VRAM address register 14 within the display control circuit 3. Also, CPU 1 outputs a read command and reads out the color code data within VRAM 4 corresponding to the start coordinates (DXo, DYo). Further, CPU 1 performs a logical operation between the read-out color code data and a predetermined type of data to create new color code data on a straight line. The color code data on a line created is written by a write command into the locations of VRAM 4 corresponding to the start coordinates (DXo, DYo). Next, CPU 1 carries out a coordinate calculation to obtain the coordinates (DX1, DY1) of the second dot forming a line to be formed. Then, in a similar operation, the color code data on the line is written into VRAM 4. Next, the coordinates (DX2, DY2) of the third dot are calculated and the associated color code data is written into VRAM 4. In this manner, the above-mentioned operation can be sequentially repeated NX times to form the line on the screen. As can be seen from the example of the above-mentioned block data transfer, in the conventional display control system, all of the processings must be performed by CPU 1 and thus it takes a lot of time to transfer the block data. On the other hand, normally, CPU 1 and the display control circuit 3 are operated independently of each other and the display timing of the display control circuit 3 is given a higher priority than the VRAM access timing of CPU 1. Thus, a wait time occurs in access to VRAM 4 from CPU 1, which decreases the performance of the data transfer extremely. Accordingly, in the above-mentioned prior art display control system, since its software must play a greater role in display control, there is a problem that it takes a very long time to execute its display control operation. Also, when a computer is up-graded with increased display specifications and a plurality of display modes, the address calculation is further complicated and thus the time necessary for execution of its operation is outstandingly extended. In addition, in the prior art display control system, since, as can be understood from the above-mentioned example of operation of the conventional line command, all of the processings must be performed by CPU 1 and thus extremely much time is required for the read/write of the color code data, coordinates calculation and physical address calculation, there exists a problem that the processing performance of the line command is low. IBM TECHNICAL DISCLOSURE BULLETIN, vol.25, no.3A, Aug.1982, pages 1270-1273 discloses an inter-logical-area date transfer control system, in which the block data to be transferred exists within its own source array and is to be transferred to a destination "window", which necessitates increased complexity within the transferring process. Further, this document makes no mention of transfer direction of each of the transferred data points. Hewlett Packard Journal, Vol. 31 (1980), December No. 12, pages 25-32 describes a display control system for colour graphics, incorporating a hardware bit-slice system for vector generation. Starting from a particular starting point with co-ordinates (X,Y) the processor of the system controls incrementing and decrementing of counters in order to generate the co-ordinates of the next point on a line instead of transferring two addresses for each point plotted. The system also describes the requirement for logical operations on colour data from a line and its background depending on the dominance or non-dominance of the relevant colour data. SUMMARY OF THE INVENTION Accordingly, it is an object of the invention to provide an improved display control system for a computer which can reduce the execution time for display operation. It is another object of the invention to provide an improved display control system for a computer which can reduce the time necessary for execution of the display operation on a line command. These objects are accomplished by an inter-area data transfer control system for a memory unit and forming display plane logic comprising: means for specifying a start point of transfer in a source area; means for specifying a start point of transfer in a destination area; means for holding amounts of data to be transferred in a horizontal direction; means for holding amounts of data to be transferred in a vertical direction; and, means for holding the transfer direction of each of horizontal and vertical transfer points, characterized in that said inter-area data transfer is executed by reading out data from said source area, whose location in said memory unit is specified by said means for specifying a start point of transfer in a source area, and by writing said read-out data sequentially into said destination area. The foregoing and other related objects and features of the invention will be more apparent from a reading of the following description of the disclosure found in the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of a conventional, typical color display system; Fig. 2 is a block diagram of a display control circuit employed in the color display system shown in Fig. 1; Fig. 3 is a block diagram of a VRAM employed in the color display system shown in Fig. 1, illustrating the transfer operation of block data; Fig. 3A is a view to explain the execution of a line command employed in the display system shown in Fig. 1; Fig. 4 is a block diagram of an embodiment of the invention; Figs. 5, 6 and 6A are views to show the contents the respective registers employed in the above-mentioned embodiment of the invention, respectively; Fig. 7 is a view to illustrate a command code employed in the above embodiment of the invention; Fig. 8 is a view to illustrate a logical operation employed in the invention; and, Fig. 9 is a flow chart to illustrate the algorithm for execution of the line command employed in the invention. DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT OF THE INVENTION Fig. 4 illustrates a block diagram of an embodiment of the invention. In this embodiment, there is provided a clock generator 31 for generating a display timing clock, and there is also provided a counter 32 which comprises a column counter, a line counter, and a row counter and is adapted to generate a CRT screen display timing and a VRAM address in accordance with the display timing clock. Data bus 41 from CPU 1 is connected via a buffer 42 to a register data bus 43. To specify individual addresses, the number of registers within a display control circuit 3 to be accessed by CPU 1 is held by a register pointer/counter 44, and the output of the register pointer/counter 44 is decoded by a register selector decoder 45. This register counter/pointer 44 has a count-up function in addition to a register function. That is, in setting parameters for the respective registers, after completion of such parameter setting the register pointer/counter 44 counts up by one. Therefore, the registers can be successively specified one after another automatically. The command-information from CPU 1 is held by a command register 46, and a video CPU 47 performs processings on the display data according to the commands from CPU 1. The status from the video CPU 47 to CPU 1 is to be held by an SR register 48. Also, the video CPU 47 incorporates an operation register ACC therein and is able to perform necessary operation processings according to the commands. When CPU 1 specifies the physical address of VRAM 4 and accesses the VRAM 4, a VRAM address register/counter 37 holds the VRAM address. A color code register 33 holds the write data to VRAM 4 and the read data from VRAM 4. The features of the invention include the below-mentioned components: That is to say, first, there are provided an SX register/counter 38 to hold values on the X coordinate in a horizontal direction of a source area, an SY register/counter 39 to hold values on the Y coordinate in a vertical direction, and an SXY address composing circuit 40 to create the physical address of VRAM 4 in accordance with the respective outputs of the SX, SY register/counter 30, 39. Also, in the present invention, there are provided a DX register/counter 58 to hold values on the X coordinate in a horizontal direction of a destination area, a DY register/ counter 59 to hold values on the Y coordinate in a vertical direction, and a DXY address composing circuit 57 to create the physical address of VRAM 4 in accordance with the respective outputs of the DX. DY registers/counters 58, 59. The above-mentioned SX, SY, DX, and DY registers/counters 38, 39, 58, and 59 have an up/down counter function as well as a register function, respectively. Further, within the display control circuit 3 there are provided a VRAM address bus 36 connected via a buffer 55 to an address line 56 of VRAM 4, and a VRAM data bus 35 connected via a buffer 53 to a VRAM data line 54. NX register 61 is used to hold the number of transfer data in a horizontal direction (X coordinate direction), and NY register 63 is dedicated to holding the number of transfer data in a vertical direction (Y coordinate direction). A horizontal direction X flag 60 indicates a positive direction (right direction) when it is "O", and a negative direction (left direction) for "l". A vertical direction Y flag 62 points out a positive direction (downward direction) when it is "O", and a negative direction (upward direction) for "l". S register 34 is used to hold the read data from the source area, while D register 52 is dedicated to the read data from the destination area. ALU(Arithmetic and Logical Unit) 51 performs logical operations on the outputs of S register 34, color code register 33 and D register 52, such as IMP, AND, OR, EOR, NOT operations. When figures are formed, DX register/counter 58 holds values on the X coordinate in a horizontal direction of a straight line to be formed, DY register/counter 59 holds values on the Y coordinate in a vertical direction of the line, NX register 61 holds the amount of displacement in a horizontal direction of the line (x coordinate direction of the line) from the start coordinates (DXo, DYo) thereof, and NY register 63 holds the amount of displacement in a vertical direction (Y coordinate direction) of the line from the start coordinates (DXo, DYo) thereof. The above-mentioned components are the characteristic ones of the invention. Although other components than the foregoings exist within the display control circuit 3, such components as not specially required in describing the operation of the invention are not explained here. Next, we will describe the operation of the above-mentioned embodiment of the invention. First, we will explain the operation of the display control circuit 3, by way of example, with reference to the transfer of the block data using X, Y coordinates. It is necessary that CPU 1 has previously set information required for transfer of the block data in the respective registers. When accessing each of the registers, CPU 1 sets the number of the register to be accessed first in the register pointer/counter 44 before it performs its read/write operations on a series of data. When such transfer of the block data as shown in Fig. 3 is performed, the start coordinates (SX, SY) of the source area are set in SX register/counter 38 and SY register/counter 39. SX register/counter 38 comprises 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 4-byte parameters on the starting point of transfer, i.e., on the start coordinates (SX, SY). Now, Fig. 5 illustrates the contents of the registers 32 - 42, while Fig. 6 illustrates the contents of the registers 43 - 46 and the register #2. Next, the start coordinates (DX, DY) of the destination area are set in DX 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 of DYL (register #38) and DYH (register #39). Then, the number of data to be transferred in a horizontal direction (X coordinate direction), namely, NX is set in in NX register 61, and the number of data to be transferred in a vertical direction (Y coordinate direction), namely, NY is set in NY register 63. NX register 61 comprises NXL (register #40) and NXH (register #41), while NY register 63 comprises NYL (register #42) and NYH (register #43). Since the block data to be transferred is in a positive direction in both of their X, Y directions when viewed from the start coordinates (SX, SY), "O" is set in Direction X Flag 60 and Direction Y Flag 62, respectively. Direction X Flag 60 corresponds to the bit 2 of an argument register ARGR (register #45), while Direction Y Flag 62 corresponds to the bit 3 of the argument register ARGR (register #45). Now, the execution of the foregoing settings completes the setting of the parameters necessary to transfer the block data. The above-mentioned parameter setting continues from the register #32 to the register #45. At first, "32" is set in the register pointer/counter 44. Thereafter, only by writing the parameter data successively, the associated registers can be set sequentially. After then, the register pointer/counter 44 points out #46 and waits for the setting of a command code. Now, Fig. 7 shows a table to illustrate the contents of the command codes employed in the invention. In this figure, "VDC" designates the display control circuit 3. Fig. 8 is a table to show the contents of the logical operations employed in the invention. In this figure, SC represents a source color code, and DC stands for a destination color code. CPU 1 creates command codes such as "10010000" according to the above-mentioned command codes and logical operation codes, and sets them in the command register 46 (register #46). When the source area exists within VRAM 4 and the destination area also exists within VRAM 4, the higher 4 bits of the above-mentioned command code provides on instruction to transfer the block data present within VRAM 4. Also, the lower 4 bits of the above-mentioned example provide a logical operation code, and "0000" provides a code to indicate that the color code data of the source area, as it is, is that of the destination area. On receiving a command code from CPU 1, the video CPU 47 sets the command executing (CE) of the bit 7 of SR register 48 and starts to perform execution processings for the command. Under control of the video CPU 47, SXY Address composing Circuit 40 is operated to create the physical address of VRAM 4 from SX register/counter 38 and SY register/counter 39 which respectively hold the source coordinates, and, in accordance with the thus created physical address, a color code data is read out from VRAM 4. The read-out color code data is forwarded through Data Line 54, Buffer 53, and VRAM Data Bus 35 and is then set in S register 34. Next, DXY Address composing Circuit 57 is operated to create the physical address of VRAM 4 from the outputs of DX register/counter 58 and DY register/counter 59 which hold the destination coordinates respectively, and the thus created address is outputted through VRAM Address Bus 36 and Buffer 55 to VRAM 4 Address Line 56. On the other hand, the color code data within S Register 34 that is read out on the source side is output via ALU 51, VRAM Data Bus 35 and Buffer 53 onto VRAM Data Line 54 and is then written into VRAM 4. The above-mentioned operations complete the data transfer of 1 bit information. On completion of transfer of the 1 dot information, the video CPU 47 counts up NX counter 64. Since "O" is being set in Direction X Flag 60, the counter sections of SX register/ counter 38 and DX register/counter 58 are counted up. On the contrary, if "l" is set in Direction X Flag 60, then such counter sections are counted down. Then, the new contents of SX register/counter 38 and DX register/counter 58 are used to execute transfer of the next 1 dot information in the procedure as mentioned above. For each transfer of a series of such 1 dot information, the contents of NX Counter 64 and NX Register 61 are compared by a comparison circuit 66, and, if they coincide with each other, the data transfer is repeated in the same procedure as mentioned above. In other words, if the contents of NX Register 61 and NX Counter 64 coincide with each other, the following operations (1) - (5) are then performed: (1) NX counter 64 is cleared. (2) Initial parameters set in the register section of SX register/counter 38 are set in the counter section thereof. (3) Initial parameters set in the register section of DX register/counter 58 are set in the counter section thereof. (4) NY counter 65 is counted up. (5) Since "O" is set in Direction Y Flag, the counter sections of SY register/counter 39 and DY register/ counter 59 are counted up, respectively. Thus, using the new contents of SX, SY, DX, and DY registers/counters, the data transfer is continued in the same procedure. If the contents of NX register 61 and NX counter 64 coincide with each other and if, after comparison of the contents of NY register 63 and NY counter 65 by Compare Circuit 67, they are found to coincide with each other, then the total (NX X NY) including NX in the X-coordinate direction and NY in the Y-coordinate direction of block data are to be transferred. When the video CPU 47 detects the coincidence of the contents of NY register 63 and NY counter 65 as well as the coincidence of the contents of NX register 61 and NX counter 64, then it decides that the block data transfer has been completed, clears the command executing (CE) bit of SR Register 48, and informs CPU 1 of the completion of the block data transfer. In the foregoing explanation, the transfer of the block data using the X, Y coordinates within VRAM 4 has been referred to. At the same time, the transfer of the block data from CPU 1 to VRAM 4, from VRAM 4 to CPU 1, and from Display Control Circuit 3 to VRAM 4 is similarly possible. We will discuss these cases below. (1) Transfer of Block Data from CPU 1 to VRAM 4 In this case, since the source is CPU 1, Color Code Register 33 is used without using SX register/counter 38, SY register/counter 39 and S Register 34. CPU 1 sets transfer data in Color Code Register 33, and Video CPU 47 writes the transfer data of Color Code Register 33 into VRAM 4 in accordance with DX register/counter 58 and DY register/counter 59. As a result of this, the transfer ready (TR) bit of SR Register 48 is set, and CPU 1 is informed that the transfer of the initial data has been completed and that the system is now ready for receipt of the next data. After it confirms that the TR bit is "l", CPU 1 sets the next transfer data in Color Code Register 33. This resets the TR bit to return to its original state. Other operations are performed in a similar manner to the transfer of the block data within VRAM 4 to which we have referred before. (2) Transfer of Block Data from VRAM 4 to CPU 1 In this case, since the destination is CPU 1, DX register/ counter 58, DY register/counter 59 and S Register are not used and instead of them Color Code Register 33 is employed. Video CPU 47 reads out the transfer data from VRAM 4 in accordance with SX register/counter 38 and SY register/counter 39, sets the transfer data in Color Code Register 33, and sets the TR bit of SR Register 48 for "l". CPU 1 checks the TR bit, and, if the TR bit is found to be "l", it reads out the transfer data from Color Code Register 33. As a result of this, the TR bit is reset and returns to its original state. Other operations are carried out in the same manner as in the transfer of the block data within VRAM 4. (3) Transfer of Block Data from Display Control Circuit 3 to VRAM 4 This is a case wherein the block data written into Color Code Register 33 is to be transferred to the destination area of VRAM 4. This method is effective in writing the same data. The operational procedure is similar to the transfer of the block data from CPU 1 to VRAM 4. However, CPU 1 has only to write the block data into Color Code Register 33 once, and the block data is transferred under control of Video CPU 47. The present invention not only can perform display control operations relative to CRT, but also is effective to other display units such as LCD, Plasma,and EL. Next, we will describe the operation of the line command. It is necessary that CPU 1 has previously set information required for execution of the line command in each of the registers of Display Control Circuit 3. When accessing each of the registers shown in Fig. 5 and 6A, CPU 1 sets the number of the register to be accessed in Register Pointer 44 before it performs its read/write operations. CPU 1 sets the start coordinates (DXo, DYo) of a straight line to be formed in DX register/counter 58 and DY register/ counter 59. DX register/counter 58 is composed of DXL (register #36) and DXH (register #37) respectively shown in Fig. 5, while DY register/counter 59 is composed of DYL (register #38) and DYH (register #39) respectively shown in Fig. 5 as well. Also, NX, i.e., the amount of displacement from the start coordinates (DXo, DYo) in a horizontal direction (X-coordinate direction) is set in NX Register 61, while NY, i.e., the amount of displacement from the start coordinates (DXo, DYo) in a vertical direction (Y-coordinate direction) is set in NY Register 63. As illustrated in Fig. 3A, since the above-mentioned line is positive in both of X, Y directions when viewed from the start coordinates (DXo, DYo), Direction X Flag 60 and Direction Y Flag 62 are set for "O". This direction X flag 60 corresponds to the bit 2 of Argument Register (Register #45) and the direction Y flag 62 corresponds to the bit 3 of Argument Register (Register #45). Then, the operation of the color code on the screen is performed, and the given data used to create the color code data for the line is set in Color Code Register 33. This color code register 33 corresponds to CLR (Register #44) illustrated in Fig. 6A. CPU 1 creates a command code of "01110011" according to the command code table in Fig.7 and the logical operation code table in Fig. 8, and sets it in Command Register 46 (Register #46). The higher 4 bits of this command code, "0111" indicate that they are a line command, while the lower 4 bits thereof "0011" indicate that they are a logical operation code, or an exclusive OR. On receiving the command code and the logical operation code from CPU 1, Video CPU 47 sets the command executing ("CE" of Register #2 shown in Fig. 6A) of the bit 7 of SR Register 48, and starts the execution and processing of the command. Next, Video CPU 47 reads out the color code that is created by DXY Address composing Circuit 57 from DX register/ counter 58 and DY register/counter 59 which respectively hold the line coordinates, and sets the read-out color code in D Register 52. ALU (Arithmetic and Logic Unit) 51 is operated to execute a logical operation (an exclusive OR) on the data within Color Code Register 33 set by CPU 1 and the color code data in D Register 52 read out from the area where the line is to be formed. As a result of this, the color code data to form the line is created. The newly operated and created color code data is output on VRAM Data Line 54 via VRAM Data Bus 35 and Buffer 53, and is then written into VRAM 4 in accordance with the physical address on the side of the area where the line is to be formed, that is, the physical address created by DXY Address composing Circuit 57. The above-mentioned operations complete forming of the 1 dot in the above-mentioned straight line. Video CPU 47 performs a coordinate calculation based on the coordinates represented by the contents of DX register/counter 58 and DY register/counter 59 as well as on the displacement amount/direction expressed by the contents of NX Register 61 and NY Register 63 so as to find out the coordinates (DX1, DY1) of the second dot in the above-mentioned straight line. At the same time, in accordance with the above-mentioned coordinate calculation, NX Counter 64 and NY Counter 65 are counted up by the amount of displacement up to the second dot. Here, it should be noted that NX Counter 64 and NY Counter 65 have been cleared by Video CPU 47 at the time when the line command is started. The coordinates (DX1, DY1) of the second dot are again set in DX Register/Counter 58 and DY Register/Counter 59, and the picture-forming of the second dot is executed in the same procedure as mentioned above. On detecting the coincidence of the contents of NX Register 61 and NX Counter 64 as well as the coincidence of the contents of NY Register 63 and NY Counter 65, Video CPU 47 decides that the line command has been completed, clears the command executing (CE) bit of SR Register 48, and informs CPU 1 of the completion of the command. Now, we will describe in detail the algorithm of the above-mentioned straight line with reference to Fig. 9. First, let (NY) be the value of NY Register, let (NX) be the value of NX Register, and let (NY)> (NX). An operation register in Video CPU is called ACC and the value of ACC is represented by (ACC). By counting NX Counter, DX Counter, NY Counter and DY Counter in accordance with the method shown in the flow chart of Fig. 9, DXY can trace the physical addresses of the straight line sequentially. The counting direction, that is, count-down or count-up of DX Counter and DY Counter depends upon the values of DIRX and DIRY. In case of (NY)<(NX), the above-mentioned NY and NX are replaced with each other, and DX and DY are replaced with each other. As a result of this, the straight line can be traced with the X coordinate direction as the main axis. By way of the above-mentioned processings, CPU 1 can execute its straight line forming processings without any further burden only by outputting the line command. Therefore, the time necessary for the line forming processings can be greatly reduced, compared to the prior art technique. As discussed hereinbefore, in the present invention, since most of the processing time of software on display operation can be shared by hardware, the display memory access can be speeded up with a comparatively smaller quantity of increase of the hardware required. The invention is also effective in a system in which a display memory is separated from a main memory. It is obvious to those skilled in the art that this effect can be applied to the data transfer on the main memory.

Claims: An inter-area data transfer control system for a memory unit (4) and forming display plane logic comprising: means (38, 39) for specifying a start point of transfer in a source area (S); means (58, 59) for specifying a start point of transfer in a destination area (D); means (61) for holding amounts of data to be transferred in a horizontal direction; means (63) for holding amounts of data to be transferred in a vertical direction; and, means (60, 62) for holding the transfer direction of each of horizontal and vertical transfer points, characterized in that said inter-area data transfer is executed by reading out data from said source area (S), whose location in said memory unit (4) is specified by said means (38, 39) for specifying a start point of transfer in a source area (S), and by writing said read-out data sequentially into said destination area (D). An inter-area data transfer control system as set forth in claim 1, characterized in that said memory unit (4) is a display memory. Inter-area data transfer control system as set forth in claim 1 or 2, characterized in that said source area (S) or destination area (D) is a main memory transferred via a single data register (34;52). Inter-area data transfer control system as set forth in claim 1 or 2, characterized in that said source area is a data register (34) provided within said control system. Inter-area data transfer control system as set forth in claim 1, characterized in that a register pointer (44) for setting command parameters has a count function and is capable of successive settings. Inter-area data transfer control system as set forth in claim 1 or 2, characterized in that said source area (S) or destination area (D) is expressed by values on X, Y coordinates. Inter-area data transfer control system as set forth in claim 1, characterized in that the writing step for each of said transfer points is carried out after said data transfer is performed on the data within said source area in the transfer direction for each said transfer point. Inter-area data transfer control system according to any of claims 1 to 7 characterized in that said means (38, 39) for specifying a start point of transfer in a source area specifies start coordinates of a straight line: means (61] for holding amounts of data to be transferred in a horizontal direction holds amounts of displacement from said start coordinates in a horizontal direction; and means (63) for holding amounts of data to be transferred in a vertical direction holds amounts of displacement from said start coordinates in a vertical direction, whereby said straight line can be drawn from said start coordinates in a predetermined direction and with a predetermined length. Inter-area data transfer control system according to claim 8, characterized by a logical operation means (51) for performing a logical operation between two predetermined sets of color code data.

Inventors: ISHII, TAKATOSHI, NISHI, KAZUHIKO, YAMASITA, RYOZO
Applicants: ASCII CORPORATION
Application year: 1984
Main classification: G09G1
IPC codes: G09G5