KR940010225B1 - Graphic display processing system with control method - Google Patents

Graphic display processing system with control method Download PDF

Info

Publication number
KR940010225B1
KR940010225B1 KR1019930019695A KR930019695A KR940010225B1 KR 940010225 B1 KR940010225 B1 KR 940010225B1 KR 1019930019695 A KR1019930019695 A KR 1019930019695A KR 930019695 A KR930019695 A KR 930019695A KR 940010225 B1 KR940010225 B1 KR 940010225B1
Authority
KR
South Korea
Prior art keywords
pixel
address
data
word
display memory
Prior art date
Application number
KR1019930019695A
Other languages
Korean (ko)
Inventor
고오요오 가쓰라
히데오 마에지마
히사시 가지와라
Original Assignee
가부시기가이샤 히다찌세이사꾸쇼
미다 가쓰시게
히다찌 엔지니어링 가부시기가이샤
야마자끼 세이지
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP58246986A external-priority patent/JPH06100911B2/en
Priority claimed from JP59027155A external-priority patent/JPS60172085A/en
Priority claimed from JP59120679A external-priority patent/JPS61875A/en
Priority claimed from KR1019840008375A external-priority patent/KR970007247B1/en
Application filed by 가부시기가이샤 히다찌세이사꾸쇼, 미다 가쓰시게, 히다찌 엔지니어링 가부시기가이샤, 야마자끼 세이지 filed Critical 가부시기가이샤 히다찌세이사꾸쇼
Priority to KR1019930019695A priority Critical patent/KR940010225B1/en
Application granted granted Critical
Publication of KR940010225B1 publication Critical patent/KR940010225B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Generation (AREA)

Abstract

내용 없음.No content.

Description

도형처리장치 및 그 조작방법Figure processing device and its operation method

제 1 도는 본 발명의 개락을 나타낸 블록구성도.1 is a block diagram showing an overview of the present invention.

제 2 도는 본 발명에 관한 도형처리장치의 블록도.2 is a block diagram of a graphics processing apparatus according to the present invention.

제 3 도는 1화소를 4비트로 표시할 경우의 예를 나타낸 도면.3 is a diagram showing an example in the case of displaying one pixel in four bits.

제 4 도는 제 2 도에 있어서의 논리어드레스연산부의 구체적 구성예를 나타낸도면.FIG. 4 is a diagram showing an example of a specific configuration of a logic address calculation unit in FIG.

제 5 도는 제 2 도에 있어서의 물리어드레스연산부의 구체적 구성예를 나타낸도면.FIG. 5 is a diagram showing a specific configuration example of the physical address computation unit in FIG. 2; FIG.

제 6 도는 제 2 도에 있어서의 컬러데이터 연산부의 구체적 구성예를 나타낸 도면.FIG. 6 is a diagram showing an example of the specific configuration of the color data calculating section in FIG.

제 7 도는 마이크로 명령의 각 필드의 기능 설명도.7 is a functional explanatory diagram of each field of a micro instruction.

제 8 도는 각 모드에 있어서의 표시용 메모리의 비트구성을 나타낸 도면.Fig. 8 is a diagram showing the bit structure of the display memory in each mode.

제 9 도는 제 8 도에 대응하는 화소어드레스의 설명도.9 is an explanatory diagram of a pixel address corresponding to FIG. 8;

제 10 도는 4비트/화소 모드에 있어서의 표시용 메모리의 공간적 배치의 설명도.10 is an explanatory diagram of a spatial arrangement of the display memory in the 4-bit / pixel mode.

제 11 도는 1화소(4비트/화소)의 묘화연산의 흐름을 모식적으로 나타낸 도면.11 is a diagram schematically showing the flow of drawing operations of one pixel (4 bits / pixel).

제 12 도는 논리어드레스에 대응하는 물리어드레스로 변환할 경우의 구성요소를 제 4 도 및 제 5 도에서 발췌하여 나타낸 동시에 약간의 부가기능을 부가한 것을 나타낸 도면.FIG. 12 is a diagram illustrating components in the case of converting to a physical address corresponding to a logical address in FIGS. 4 and 5 and adding some additional functions.

제 13 도는 어떤 모드(4비트/화소)에 있어서의 물리어드레스와 논리어드레스공간, 표시화면의 관계의 설명도.13 is an explanatory diagram of the relationship between physical addresses, logical address spaces, and display screens in a mode (4 bits / pixel).

제 14a∼c 도는 제 13 도에 관련된 동작설명도.14A to 14C are explanatory diagrams related to FIG.

제 15 도는 비트모드와 그에 대응하는 1워드내의 화소위치를 표시한 비트어드레스와의 대응을 나타낸 도면.FIG. 15 is a diagram showing correspondence between a bit mode and a bit address indicating a pixel position in one word corresponding thereto. FIG.

제 16a∼d 도는 마스크데이터와 비트어드레스의 관계의 설명도.16A to 16D are explanatory diagrams of the relationship between mask data and bit addresses.

제 17a 도는 어드레스변환에 있어서의 기본연산처리를 나타낸 도면, b 도는 비트어드레스 오프세트치를 나타낸 도면.FIG. 17A is a diagram showing a basic arithmetic processing in address conversion; b is a diagram showing a bit address offset value;

제 18 도는 본 발명을 이용한 경우의 직선묘화의 예를 나타낸 도면.18 is a diagram showing an example of linear drawing in the case of using the present invention.

제 19 도는 화소정보의 전송의 응용예로서, 편의상 제 4 도∼제 6 도중 전송처리에 관계가 없는 것을 생략하여 나타낸 도면.FIG. 19 is a diagram showing an example of application of the transfer of pixel information, for convenience, omission of having nothing to do with transfer processing in FIGS. 4 to 6;

제 20a,b 도는 제 19 도의 동작설명도.20A, 19B and 19D are explanatory diagrams of the operation.

제 21 도는 1화소데이터의 전송의 예를 나타낸 도면.21 is a diagram showing an example of transmission of one pixel data.

제 22 도는 그 전송처리의 흐름을 모식적으로 나타낸 도면.Fig. 22 is a diagram schematically showing the flow of the transfer process.

제 23 도는 4각형 영역지정에 있어서의 전송의 포인터 이동방향을 나타낸 도면.Fig. 23 is a diagram showing a pointer movement direction of transmission in the quadrangular area designation.

제 24 도는 화소위치의 연산제어의 구성으로서, 제 4 도∼제 6 도에 따라 관련된 것만을 나타낸 도면.24 is a configuration of arithmetic control of a pixel position, showing only those related to FIGS. 4 to 6;

제 25a∼e 도는 전송(코피)코맨드의 포맷을 나타낸 도면.25A to 25E show a format of a transmission (copy) command.

제 26 도는 그 동작의 개념도.26 is a conceptual diagram of its operation.

제 27a 도는 부호레지스터의 구성예를 나타낸 도면, b,c 도는 패턴코맨드의 포맷의 예를 나타낸 도면.27A is a diagram showing an example of the structure of a code register, b, c is a diagram showing an example of the format of a pattern command.

제 28 도는 코피코맨드의 처리플로도.Fig. 28 is a flowchart of processing of a kopi command.

본 발명은 라스터(raster)주사형(走査型)의 CRT(cathod ray tube) 표시장치 등으로서, 데이터의 입출력 또는 데이터수집, 도형표시를 행하는 마이크로프로세서를 포함하고, 마이크로프로그램메모리에 기억되어 있는 마이크로프로그램에 의해 제어를 행하는 묘화(描畵)기능을 구비한 도형처리장치 및 그 조작방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a raster scanning type CRT (cathod ray tube) display device and the like, which includes a microprocessor for inputting / outputting data, collecting data, and displaying graphics. A graphic processing apparatus having a drawing function for controlling by a microprogram and a method of operating the same.

종래의 CRT 콘트롤러의 대부분은 표시제어전용이며, 묘화기능을 가지고 있지 않았다. 예를 들면, 미합중국 특허 제4,149,264호 등이 있다. 또, 그래픽처리기능을 집적회로를 가지고 실현한 화상처리장치가 있다고 해도, 1화소를 1비트로 표시하는 단일색의 도형표시데이터를 처리하는 것에 불과하였다. 그러나, 정보처리의 고도화와 함께 다색(多色) 또는 다계조(多階調)의 화상처리를 행할 경우가 많아지고, 그때의 처리속도가 문제로 되게 되었다. 예를 들면, 다색(n색) 또는 다계조(n계조)의 처리에 있어서 기억내용을 재기입하고 싶을 때는 동일한 화상처리를 n회 반복하거나 또는 1비트의 1화소를 표시하기 위하여도 n회 반복하여 화상처리를 할 필요가 있었다.Most of the conventional CRT controllers are dedicated to display control and do not have a drawing function. For example, US Pat. No. 4,149,264. In addition, even if there is an image processing apparatus in which the graphic processing function is realized with an integrated circuit, it is only processing the graphic display data of a single color displaying one pixel with one bit. However, with the advancement of information processing, many cases of multicolor or multi-gradation image processing are performed, and the processing speed at that time becomes a problem. For example, in the case of multicolor (n-color) or multi-gradation (n-gradation) processing, when rewriting the stored contents, the same image processing is repeated n times or n times in order to display one pixel of one bit. Image processing was necessary.

그러므로, 2치(値)화상처리에 대하여 n배의 처리시간이 필요해지는 문제가 있었다. n개의 표시용 메모리에 대하여 각각 1대씩의 처리장치를 가지고 처리하는 방법도 고려되지만, 장치가 대형화, 복잡화되는 동시에 중앙 처리장치의 부하가 증대한다는 문제가 있었다. 또한, 임의의 1점을 원점으로 한 X-Y좌표공간에 직선을 그어서 작도처리를 실행할 경우를 생각한다. 임의의 2점 PS(XS,YS), PE(XE,YE) 사이를 직선으로 연결하는 경우를 상정한다. 이 경우, 이들 2점의 좌표치로부터 그 직선의 기울기를 계산하고, 직선상의 점의 좌표치를 산출함으로써, 1점마다 도형데이터를 작성한 다음 기입을 실행하게 된다. 이와 같은 처리를 직선상에 존재하는 점의 전부에 대하여 차례로 행하게 되지만, 산출된 좌표치는 도형데이터가 기입되는 표시용 메모리의 메모리어드레스와는 전혀 별개의 정보이므로 산출된 좌표치(논리어드레스)는 표시용 메모리어드레스(물리어드레스)로 변환될 필요가 있다. 그런데, 표시용 메모리의 1워드에는 단수 또는 복수의 화소데이터가 포함되어 있으므로, 산출된 논리어드레스는 표시용 메모리의 메모리어드레스에, 또는 그 화소위치를 나타내는 비트어드레스라고 하는 형태로 2개의 물리어드레스로 변환되게 된다.Therefore, there is a problem that the processing time of n times is required for the binary image processing. Although a method of processing with one processing unit for each of the n display memories is considered, there has been a problem that the apparatus becomes larger and more complicated and the load on the central processing unit increases. Consider a case where the drawing process is executed by drawing a straight line in the XY coordinate space with any one point as the origin. Assume the case of connecting two arbitrary points P S (X S, Y S ) and P E (X E , Y E ) in a straight line. In this case, the inclination of the straight line is calculated from the coordinate values of these two points, and the coordinate values of the points on the straight line are calculated to create figure data for each point, and then write. Although this process is performed in sequence for all the points existing on the straight line, the calculated coordinate values are completely independent of the memory address of the display memory into which the figure data is written. It needs to be converted to a memory address. However, since one word of the display memory contains single or plural pixel data, the calculated logical address is divided into two physical addresses in the form of a memory address of the display memory or a bit address indicating the pixel position. Will be converted.

논리어드레스로부터 물리어드레스로 변환하는데는 원점에 대응한 물리어드레스와, 화면메모리의 수평방향의 크기를 알 필요가 있다. 즉, 논리어드레스는 원점으로부터의 상대위치를 나타내는 정보이므로, 논리어드레스를 (X,Y)로 할 경우 수직방향(Y방향)에는 화면메모리의 수평방향의 크기를 Y배한 것을 , 또 수평방향(X방향)에는 그 X의 값을 원점에 대응한 물리어드레스에 가감산함으로써, 목적의 메모리어드레스를 산출할 수 있다. 또한, 그 X의 값을 1워드중에 포함되는 화소수로 나눈 값을 원점에 대응한 물리어드레스에 가감산함으로써, 목적의 메모리어드레스를 산출할 수 있다. 또한, 그 X의 값을 1워드중에 포함되는 화소수로 나눈 나머지를 비트어드레스로 함으로써, 도형데이터를 처리하는 물리어드레스가 얻어지게 된다.To convert from a logical address to a physical address, it is necessary to know the physical address corresponding to the origin and the size of the horizontal direction of the screen memory. That is, since the logical address is information indicating the relative position from the origin, when the logical address is (X, Y), the horizontal direction of the screen memory is multiplied by Y in the vertical direction (Y direction), and the horizontal direction (X Direction), the target memory address can be calculated by adding or subtracting the value of X to the physical address corresponding to the origin. Further, the target memory address can be calculated by adding and subtracting the value obtained by dividing the value of X by the number of pixels included in one word to the physical address corresponding to the origin. Further, by setting the remainder obtained by dividing the value of X by the number of pixels included in one word as a bit address, a physical address for processing figure data is obtained.

그러나, 지금까지에 있어서는 논리어드레스의 산출, 물리어드레스에의 변환은 전면적으로 소프트웨어프로그램에 의한 것이었으므로서, 범용(汎用)의 마이크로프로세서를 사용한 경우 하나의 화소데이터를 표시용 메모리에 기억시킬 때까지 수μsec∼수십μsec의 시간을 요하여 처리의 고속화를 도모할 수 없었던 것이 실정이다.However, until now, the calculation of the logical address and the conversion to the physical address have been entirely performed by software programs. When using a general-purpose microprocessor, one pixel data is stored in the display memory. It is a fact that the process was not able to be speeded up by several hours from several microseconds to several tens of microseconds.

또한, 도형표시데이터를 작성하는 도형처리장치에서는 표시용 메모리내에서 도형표시데이터의 전송처리가 행하여지지만, 그 처리속도가 문제로 되어 왔다.In the figure processing apparatus for creating figure display data, the figure display data transfer processing is performed in the display memory, but the processing speed has been a problem.

예를 들면, 어떤 화소데이터를 다른 화소위치에 전송하고자 할 경우가 있다. 통상, 메모리의 1워드에는 수평방향으로 연속하는 복수화소의 데이터가 기억되어 있다. 따라서, 어떤 화소데이터를 다른 화소위치에 전송할 경우에, 연산의 비트위치를 균일하게 하기위한 시프트처리 또는 소스화소데이터의 절출(切出)처리가 필요해진다. 종래, 이 전송처리를 소프트웨어에 의해 행하고 있으며, 예를 들면, 4각형 영역의 데이터를 전송하는 처리와 같은 경우에는, 소스화소 및 데스티네이션화소를 지정하는 포인터의 이동, 전송회수의 카운트 등의 처리가 가산된다. 이 결과, 범용의 마이크로프로세서를 사용한 경우, 1화소당의 전송처리에 수μsec∼수십μsec를 요하므로, 처리의 고속화가 과제로 되어 있었다.For example, there is a case where one pixel data is to be transferred to another pixel position. Usually, one word of the memory stores data of a plurality of pixels that are continuous in the horizontal direction. Therefore, when certain pixel data is transferred to another pixel position, a shift process or an extraction process of the source pixel data is required to make the bit positions of the operation uniform. Conventionally, this transfer process is performed by software. For example, in the case of the process of transferring data of a quadrangular area, a process such as moving a pointer for designating a source pixel and a destination pixel, counting the transfer frequency, and the like Is added. As a result, when a general-purpose microprocessor is used, several microseconds to several tens of microseconds are required for transfer processing per pixel, and therefore, the speed of the process has been a problem.

본 발명은 상기한 다색, 다계조에 있어서의 기억내용의 재기입, 묘화, 화소데이터의 전송등의 고속화처리를 실현한 도형처리장치 및 그 조작방법을 제공하는 것에 있다.SUMMARY OF THE INVENTION The present invention provides a figure processing apparatus and a method of operating the same, which realize speeding-up processing such as rewriting, drawing, and transferring pixel data in multicolor and multi-gradation.

또한, 이 종류의 도형처리장치의 관련 공지예에는 이밖에 GB2087 696A등이 있다.In addition, there are other well-known examples of this type of graphic processing device in addition to GB2087 696A.

본 발명의 목적은 1화소가 복수비트로 표현되는 다색 또는 다계조의 경우에도 2치화상의 경우와 대략 동일한 처리속도로 묘화할 수 있는 도형처리장치 및 그 조작방법을 제공하는 것에 있다.An object of the present invention is to provide a graphic processing apparatus and a method of operating the same, which can be drawn at substantially the same processing speed as in the case of a binary image even in the case of multi-color or multi-gradation in which one pixel is represented by a plurality of bits.

본 발명의 다른 목적은 화상의 논리좌표치로부터 표시용 메모리를 고속으로 산출할 수 있는 도형처리장치 및 그 조작방법을 제공하는 것에 있다.Another object of the present invention is to provide a graphic processing apparatus and a method of operating the same, which can calculate a display memory at high speed from logical coordinate values of an image.

본 발명에 의하면, 1화소데이터가 복수의 비트로 이루어지고, 복수의 상기 화소데이터를 액세스단위로 하는 표시용 메모리(13)를 액세스하는 도형처리장치에 있어서, 상기 표시용 메모리의 워드의 메모리어드레스와 이 메모리어드레스에 의해 지정된 1워드내의 화소위치를 정의하는 화소어드레스를 포함하는 묘화점의 위치정보를 연산하는 물리어드레스연산부(320)와, 묘화명령에 따라서, 상기 화소어드레스에 의해 지정된 화소데이터를 갱신하는 컬러데이터연산부(330)를 가지는 것을 특징으로 하는 도형처리장치를 제공한다.According to the present invention, there is provided a graphic processing apparatus for accessing a display memory (13) in which one pixel data is composed of a plurality of bits, and the plurality of pixel data are used as an access unit, comprising: a memory address of a word of the display memory; The physical address calculation unit 320 for calculating the position information of the drawing point including the pixel address defining the pixel position within one word designated by this memory address, and the pixel data designated by the pixel address is updated in accordance with the drawing command. It provides a figure processing apparatus having a color data calculation unit 330 to.

또한, 본 발명에 의하면, 그래픽패턴데이터의 화상을 출력하는 스텝과, 화소가 그래픽패턴데이터의 화상의 출력에 공급되는 어드레스내의 그래픽패턴데이터의 2차원공간에서 유일한 점의 화상소자인 최소한 1화소를 기억하는 스텝과, 어드레스에 기억된 최소한 1화소내의 데이터의 비트수를 지정하는 스텝과, 지정된 수의 최소한 1화소내에서의 비트수를 가지고 워드내에 최소한 1화소의 데이터를 기입하는 스텝으로 이루어지는 것을 특징으로 하는 도형처리장치의 조작방법을 제공한다.Further, according to the present invention, a step of outputting an image of graphic pattern data and at least one pixel which is an image element of a unique point in a two-dimensional space of graphic pattern data in an address supplied to an output of an image of graphic pattern data is performed. And a step of specifying the number of bits of data in at least one pixel stored in the address, and the step of writing at least one pixel of data in the word with the number of bits in the specified number of at least one pixel. A method of operating a graphics processing device is provided.

다음에, 본 발명의 실시예에 대하여 도면에 따라서 상세히 설명한다.Next, embodiments of the present invention will be described in detail with reference to the drawings.

제 1 도는 본 발명에 관한 도형처리장치의 전체구성을 나타낸 블록도이며, 또한 본 발명에 관한 도형처리장치가 적용되는 장치의 예를 나타낸 블록도이다.1 is a block diagram showing the overall configuration of a graphics processing apparatus according to the present invention, and a block diagram showing an example of a device to which the graphics processing apparatus according to the present invention is applied.

제 1 도에 있어서, 도형처리장치는 표시용 메모리(13)내의 표시데이터를 기입, 재기입 및 독출제어하는 연산장치(30)와, 이 연산장치(30)를 일정한 순서로 제어하는 제어장치(20)로 구성되어 있다. 또, 도형처리장치에 의해 표시용 메모리(13)로부터 독출된 표시용 데이터가 표시변환장치(40)에 의해 영상신호로 되어서 표시장치(50)에 표시되며, 표시변환장치(40)와 표시장치(50)는 정보출력수단(40,50)을 구성한다.1, the figure processing apparatus includes an arithmetic unit 30 which writes, rewrites and reads and controls the display data in the display memory 13, and a controller which controls the arithmetic unit 30 in a certain order. It consists of 20. In addition, the display data read out from the display memory 13 by the graphics processing device is displayed on the display device 50 as a video signal by the display conversion device 40, and the display conversion device 40 and the display device. Reference numeral 50 constitutes information output means 40,50.

제어장치(20)에 의해 제어되는 상기 연산장치(30)는 표시용 메모리(13)의 어드레스와 표시용 메모리(13)중의 1워드의 표시데이터내의 화소위치를 지정하는 정보로 이루어지는 화소어드레스를 순차 산출하고, 상기 산출된 화소어드레스에 있어서의 표시용 메모리(13)의 어드레스정보로부터 표시용 메모리(13)중의 1워드의 표시데이터를 독출하고, 이와같이 독출된 표시데이터에 대하여, 상기 화소어드레스에 있어서의 화소위치지정정보를 기초로 디코드하여 형성한 지정화소위치에 상당하는 복수비트위치를 지정하는 정보를 가지고, 그 표시데이터의 소정의 화소의 비트에만 묘화논리산출을 하고, 이러한 논리연산한 결과를 재차 상기 표시용 메모리(13)에 기입하는 기능을 갖는 것이다.The arithmetic unit 30 controlled by the control unit 20 sequentially performs a pixel address consisting of an address of the display memory 13 and information specifying a pixel position in the display data of one word in the display memory 13. Calculates and reads one word of display data in the display memory 13 from the address information of the display memory 13 in the calculated pixel address. The display data read in this way is read in the pixel address. Has information for designating a plurality of bit positions corresponding to the designated pixel positions formed on the basis of the pixel position designation information, and only the bit of the predetermined pixel of the display data is written and a logic is calculated. It has a function of writing to the display memory 13 again.

(60)은 외부계산기이며, 이 외부계산기(60)로부터 전송되는 명령이나 파라미터의 제어데이터 CDT에 따라서 도형처리장치가 동작하는 것이다.Reference numeral 60 denotes an external calculator, in which the figure processing apparatus operates in accordance with the control data CDT of the command or parameter transmitted from the external calculator 60.

제 2 도는 본 발명에 관한 도형처리장치의 실시예를 나타낸 블록도이다.2 is a block diagram showing an embodiment of a figure processing apparatus according to the present invention.

제 2 도에 있어서, 제어장치(20)는 마이크로프로그램메모리(100)와, 마이크로프로그램어드레스레지스터(110)와, 리턴어드레스레지스터(120)와, 메모리명령레지스터(130)와, 마이크로명령디코더(200)와, 플랙레지스터(210)와, 패턴메모리(RAM)(220)와, 명령제어레지스터(230)로 구성되어 있다.In FIG. 2, the control device 20 includes a micro program memory 100, a micro program address register 110, a return address register 120, a memory command register 130, and a micro command decoder 200. ), A flag register 210, a pattern memory (RAM) 220, and a command control register 230.

또한, 연산장치(30)는 연산제어장치(300)와 FIFO(First-In, First-Out)메모리(400)로 구성되어 있다. 상기 명령제어레지스터(230)와 FIFO메모리(400)는 명령메모리(230,400)를 구성한다. 연산제어장치(300)는 논리어드레스연산부(A유니트)(310)와, 물리어드레스연산부(B유니트)(320)와, 컬러데이터연산부(C유니트)(330)로 구성되어 있다.In addition, the arithmetic unit 30 is composed of an arithmetic control unit 300 and a FIFO (First-In, First-Out) memory 400. The command control register 230 and the FIFO memory 400 constitute the command memories 230 and 400. The operation control device 300 is composed of a logical address calculation unit (A unit) 310, a physical address calculation unit (B unit) 320, and a color data calculation unit (C unit) 330.

상기 A유니트(310)에서는 주로 묘화알고리듬에 따라서 묘화점이 화면중의 어느 곳에 있는가를 연산하고, B유니트(320)에서는 표시용 메모리의 필요한 어드레스를 연산하고, C유니트(330)에서는 표시용 메모리에 기입하는 컬러데이터를 연산하는 것이다.In the A unit 310, the drawing point is mainly calculated according to the drawing algorithm, and in the B unit 320, the necessary address of the display memory is calculated, and the C unit 330 is written in the display memory. To calculate the color data.

제 3 도에는 1화소를 4비트로 표시하느 표시장치의 구성예가 도시되어 있고, 제 2 도의 도형처리장치에서 지정된 표시용 데이터가 표시장치(50)에서 표시된다.FIG. 3 shows an example of the configuration of a display device that displays one pixel in four bits, and display data designated by the graphics processing device in FIG. 2 is displayed on the display device 50. As shown in FIG.

제 3 도에 있어서, 도형처리장치(제 2 도)로부터의 어드레스 AD지령에 따라서 표시용 메모리(13)로부터 독출된 표시용 데이터 DT의 D0, D4, D8, D12가 표시변환장치(40)내의 4비트의 병렬-직렬변환기(410)에 공급된다. 이 변환기(410)로부터 영상신호 VD0가 얻어진다. 마찬가지로, 표시용 데이터 DT중의 D1,D5, D9, D13을 표시변환장치(40)내의 병렬-직렬변환기(420)에 공급하고, 이 변환기(420)로부터 영상신호 VD1가 얻어진다. 표시용 데이터 DT중의 D2,D6, D10, D14을 표시변환장치(40)내의 병렬-직렬변환기(430)에 공급하고, 이 변환기(430)로부터 영상신호 VD2가 얻어진다. 또, 표시용 데이터 DT중의 D3,D7, D11, D15을 표시변환장치(40)내의 병렬-직렬변환기(440)에 공급하고, 이 변환기(440)로부터 영상신호 VD3가 얻어진다. 영상신호 VD0∼VD3는 비디오인터페이스회로(450)에 보내져서, 색변환이나 DA변환등의 처리를 거쳐 표시장치(50)에서 표시된다.3, D 0 , D 4 , D 8 , and D 12 of the display data DT read out from the display memory 13 according to the address AD command from the figure processing apparatus (FIG. 2) are the display conversion apparatus. Supplied to a 4-bit parallel-to-serial converter 410 in 40. The video signal VD 0 is obtained from this converter 410. Similarly, D 1, D 5 , D 9 , and D 13 in the display data DT are supplied to the parallel-to-serial converter 420 in the display conversion device 40, and the video signal VD 1 is obtained from this converter 420. . D 2, D 6 , D 10 , and D 14 in the display data DT are supplied to the parallel-to-serial converter 430 in the display conversion device 40, and the video signal VD 2 is obtained from this converter 430. Further, D 3, D 7 , D 11 , and D 15 in the display data DT are supplied to the parallel-to-serial converter 440 in the display conversion device 40, and the video signal VD 3 is obtained from this converter 440. . The video signals VD 0 to VD 3 are sent to the video interface circuit 450 and displayed on the display device 50 after processing such as color conversion or DA conversion.

다음에, 연산제어장치(300)의 각 유니트의 구체적 구성예에 대하여 설명한다.Next, a specific configuration example of each unit of the arithmetic and control device 300 will be described.

제 4 도는 A유니트인 논리어드레스연산부(310)의 상세도이며, FIFO버퍼(FBUF)(3101)와, 범용 레지스터군(TROX, TROY, TR1X, TR1Y, TR2X, TR2Y, CPX, CPY)(3102)과, 영역관리레지스터(XNIM, YMIN)(3103) 및 (XMAX,YMAX)(3105)와, 영역판정비교기(ACMP)(3104)와, 종료점레지스터(XEND, YEND)(3106)와, 종료판정비교기(ECMP)(3107)와, 소스래치(SFTA, SLAV)(3108) 및 (SLAU)(3109)와, 산술논리연산기(ALU)(3110)와, 데스티네이션래치(DLA)(3111)와, 버스스위치(3112)와, 독출버스(UBA,VBA)(3113) 및 (3114)와, 기입버스(WBA)(3115)를 구비하고 있다.4 is a detailed view of the logical address operation unit 310, which is an A unit, and includes a FIFO buffer (FBUF) 3101 and a general register group (TROX, TROY, TR1X, TR1Y, TR2X, TR2Y, CPX, CPY) (3102). And area management registers (XNIM, YMIN) 3103 and (XMAX, YMAX) 3105, area judgment comparator (ACMP) 3104, endpoint registers (XEND, YEND) 3106, and end judgment comparator. (ECMP) 3107, source latches (SFTA, SLAV) 3108 and (SLAU) 3109, arithmetic logic operator (ALU) 3110, destination latch (DLA) 3111, bus A switch 3112, read buses (UBA, VBA) 3113 and 3114, and a write bus (WBA) 3115 are provided.

또한, 제 5 도는 B유니트인 물리어드레스 연산부(320)의 상세도이며, 데스티네이션래치(DLB, SFTB)(3201)와, 산술연산기(AU)(3202)와, 소스래치(SLBV)(3203) 및 (SLBU)(3204)와, 오프세트레지스터(OFS)(3205)와, 화면폭레지스터(MW)(3206)와, 코맨드레지스터(CR)(3207)와, 범용 레지스터(DPH,DPL, RWPH, RWPL, T2H, T2L)(3208)과, 독출버스(UBB)(3209)와, 기입버스(WBB)은(3210)를 구비하고 있다. 또한, 범용 레지터(3208)은 화소단위코맨드의 현재 어드레스레지스터(DPH, DPL)와, 워드단위코맨드의 어드레스레지스터(RWPH, RWPL)와, 작업용 레지스터(T2H, T2L)를 구비하고 있다.5 is a detailed view of the physical address computing unit 320, which is a B unit, and includes a destination latch (DLB and SFTB) 3201, an arithmetic operator (AU) 3202, and a source latch (SLBV) 3203. (SLBU) 3204, Offset Register (OFS) 3205, Screen Width Register (MW) 3206, Command Register (CR) 3207, General Purpose Registers (DPH, DPL, RWPH, RWPL, T2H, T2L) 3208, read bus (UBB) 3209, and write bus WBB (3210) are provided. The general-purpose register 3208 includes the current address registers DPH and DPL of the pixel unit command, the address registers RWPH and RWPL of the word unit command, and the working registers T2H and T2L.

또한, 제 6 도는 C유니트인 컬러데이연산부의 상세도이다. C유니트는 배럴시프트(BRLS)(3301)와, 컬러레지스터(CL0, CL1, EC, EDG)(3302)와, 마스크레지스터(CMSK, GMSK)(3303)와, 컬러비교기(CLCMP)(3304)와, 논리연산기 (LU)(3305)와, 기입데이터버퍼(WDBR)(3306)와, 패턴 RAM버퍼(PBUF)(3307)와, 패턴카운터(PCNT)(3308)와, 패턴제어레지스터(PP,PS, PE)(3309)와, 독출데이터버퍼(RDBR)(3310)와, 메모리어드레스레지스터(MARL, MARH)(3311)와, 메모리출력버스(3312)와, 메모리입력버스(3313)와, 정보출력수단인 입출력버퍼회로(3400)를 구비하고 있다. 또한, 마스크레지스터(3303)는 레지스터(CMSK)와, 레지스터 (GMSK)로 이루어진다.6 is a detailed view of the color day calculation unit, which is a C unit. The C unit includes a barrel shift (BRLS) 3301, a color register (CL0, CL1, EC, EDG) 3302, a mask register (CMSK, GMSK) 3303, a color comparator (CLCMP) 3304, Logic operator (LU) 3305, write data buffer (WDBR) 3306, pattern RAM buffer (PBUF) 3307, pattern counter (PCNT) 3308, pattern control registers (PP, PS) , PE) 3309, read data buffer (RDBR) 3310, memory address registers (MARL, MARH) 3311, memory output bus 3312, memory input bus 3313, information output An input / output buffer circuit 3400 which is a means is provided. The mask register 3303 is composed of a register CMSK and a register GMSK.

다음에, 상기와 같은 구성된 실시예의 동작에 대하여 설명한다. 먼저, 각 요소의 기본동작에 대하여 설명한다.Next, the operation of the configured embodiment as described above will be described. First, the basic operation of each element will be described.

제 1 도, 제 2 도 등에 나타낸 표시제어데이터 CDT는 중앙처리장치 등 다른 장치로부터 보내오는 명령이나 파라미터로서, 한쪽에서는 메모리(FIFO)(400)에 기입되며, 한쪽에서는 명령 제어레지스터(230)에 기입된다.The display control data CDT shown in FIG. 1, FIG. 2, etc., is a command or parameter sent from another apparatus such as a central processing unit, and is written to the memory (FIFO) 400 on one side and to the command control register 230 on the one side. Is written.

명령제어레지스터(230)는 각종 그래픽비트모드를 기억시킨 것이며, 후술하는 바와같이 이 실시예에 의하면, 5개의 화소모드중에서 하나를 선택할 수 있도록 되어 있다. 이 선택은 이용데이터 CDT로 행할 수 있다.The command control register 230 stores various graphic bit modes, and according to this embodiment, one of five pixel modes can be selected as described later. This selection can be made by use data CDT.

메모리(400)는 이른바 " Ferst-In, First-Out" (FIFO)의 메모리이며, 이 메모리(400)에 기억된 명령은 연산제어장치(300)에 의해 독출하여, 이 연산제어장치(300)내의 레지스터인 FIFO버퍼(FBUF)(3101)에 격납한다. 또, 이 명령정보의 일부 CID는 어드레스레지스터(110)에 전송된다.The memory 400 is a so-called "Ferst-In, First-Out" (FIFO) memory, and instructions stored in the memory 400 are read by the operation control device 300, and the operation control device 300 It is stored in the FIFO buffer (FBUF) 3101 which is an internal register. In addition, some CIDs of this command information are transmitted to the address register 110.

어드레스레지스터(110)는 마이크로프로그램메모리(100)의 어드레스를 관리하고, 이 어드레스는 클록에 동기하여 갱신된다. 이 어드레스레지스터(110)로부터 출력되는 어드레스에 따라서 마이크로프로그램(100)로부터 제 7 도에 나타낸 바와 같이 마이크로 명령이 독출된다. 메모리(100)로부터 독출된 명령은 제 7 도에 나타낸 바와 같이 48비트로 이루어지며, #0∼#7과 같은 제어모드가 선택될 수 있도록 되어 있다. 그리고, 이 명령은 레지스터(130)에 일시 기억되고, 명령제어레지스터(230)의 선택된 모드에 따라서 동작하는 디코더(200)를 통해서, 소정의 제어신호 CCS를 발생하여 연산제어장치(300)의 각 부를 제어한다. 여기서, 제 7 도의 마이크로명령의 각 필드의 기능을 설명한다.The address register 110 manages an address of the microprogram memory 100, which is updated in synchronization with a clock. Micro-instructions are read from the microprogram 100 as shown in FIG. 7 in accordance with the address output from the address register 110. The command read out from the memory 100 is made up of 48 bits, as shown in FIG. 7, and a control mode such as # 0 to # 7 can be selected. The command is temporarily stored in the register 130, and the predetermined control signal CCS is generated through the decoder 200 operating in accordance with the selected mode of the command control register 230 to generate a predetermined control signal CCS. To control wealth. Here, the function of each field of the microinstruction in FIG. 7 will be described.

제 7 도에 있어서, 「RU」는 독출버스(UBA)(3113)에 접속되는 레지스터를 지정하는 명령이다. 「RV」는 독출버스(VBA)(3114)에 접속되는 레지스터를 지정하는 명령이다. 「RW」는 기입버스(WBA)(3115)상의 데이터가 기입되는 레지스터를 지정하는 명령이다. 「FUNCA」는 A의 유니트의 산술논리연산기(3110)의 연산을 지정하는 명령이다. 「SET」는 소스래치(3108)에 부가된 시프터(SFTA)의 시프트모드를 지정하는 명령이다. 「ADF-L」은 마이크로프로그램어드레스레지스터(110)에 복귀되는 다음 어드레스의 하위 4비트를 지정하는 명령이다. 「AC」는 마이크로명령의 다음 어드레스를 제어하는 명령이다. 「ADF-H」는 마이크로프로그램어드레스레지스터(110)에 복귀되는 다음 어드레스의 상위 6비트를 지정하는 명령이다. 또, #4∼#7의 각 메모리 명령에서는 어드레스의 상위 6비트는 갱신할 수 없다. 「 FUNCB」는 B유니트의 산출연산기(3202)의 연산모드를 지정하는 명령이다. 「ECD」는 연산의 실행조건을 지정하는 명령이다. 「BCD」는 분기(分岐)의 조건을 지정하는 명령이다. 「FLAG」는 플랙레지스터(210)에의 플랙의 반영을 지정하는 명령이다. 「V」는 표시용 메모리(13)에의 액세스의 가부를 테스트하는가의 여부를 지정하는 명령이다. 「FIFO」는 FIFO(400)에의 독출과 기입을 제어하는 명령이다. 「LITERAL」은 8비트의 리터럴데이터를 지정하는 명령이다. 「LC」는 리터럴데이터의 생성모드를 지정하는 명령이다. 「FF」는 각 부의 특수플립플롭의 세트, 리세트를 제어하는 명령이다. 「S」는 부호플랙의 선택을 지정하는 명령이다.In FIG. 7, "RU" is an instruction to designate a register connected to the read bus (UBA) 3113. In FIG. "RV" is an instruction to designate a register connected to the read bus (VBA) 3114. "RW" is an instruction to designate a register into which data on the write bus (WBA) 3115 is written. "FUNCA" is an instruction to specify the operation of the arithmetic logic operator 3110 of the unit of A. "SET" is a command for designating a shift mode of the shifter SFTA added to the source latch 3108. "ADF-L" is an instruction for specifying the lower 4 bits of the next address returned to the microprogram address register 110. FIG. "AC" is an instruction to control the next address of the micro instruction. "ADF-H" is an instruction to designate the upper 6 bits of the next address returned to the microprogram address register 110. In each of the memory instructions # 4 to # 7, the upper six bits of the address cannot be updated. "FUNCB" is an instruction for specifying the operation mode of the calculation unit 3202 of the B unit. "ECD" is an instruction for specifying an execution condition of an operation. "BCD" is an instruction for specifying the condition of branching. "FLAG" is an instruction to designate reflection of the flag in the flag register 210. "V" is a command for specifying whether to test whether access to the display memory 13 is tested or not. "FIFO" is an instruction to control reading and writing to the FIFO 400. "LITERAL" is an instruction for specifying literal data of 8 bits. "LC" is a command for specifying a generation mode of literal data. "FF" is a command to control the set and reset of each special flip-flop. "S" is an instruction to specify the selection of the code flag.

「MC」는 표시용 메모리(13)의 독출·기입을 제어하는 명령이다. 「DR」은 패턴 RAM의 주사를 제어하는 명령이다. 「BC」는 B유니트의 산술연산기(3203)에의 입력경로를 제어하는 명령이다. 「RB」는 B유니트의 독출, 기입레지스터를 선택하는 명령이다."MC" is a command to control reading and writing of the display memory 13. "DR" is a command for controlling scanning of the pattern RAM. "BC" is a command for controlling the input path of the B unit to the arithmetic operator 3203. "RB" is an instruction to select the read and write registers of the B units.

마이크로명령은 전술한 명령을 가지고 있으며, 이에 의해 제어장치(20)가 연산장치(30)를 제어한다.The microinstruction has the above-described instructions, whereby the control device 20 controls the computing device 30.

또한, 리턴어드레스레지스터(120)는 서브루틴의 복귀번지를 기억한다. 플랙레지스터 (210)는 여러가지의 조건플랙을 기억한다. 패턴메모리(220)는 도형처리에 사용하는 기본 패턴을 기억한다.The return address register 120 also stores the return address of the subroutine. The flag register 210 stores various condition flags. The pattern memory 220 stores basic patterns used for figure processing.

다음에, 본 실시예에서 사용하는 각 데이터의 비트레이아웃에 대하여 설명한다.Next, the bit layout of each data used in the present embodiment will be described.

먼저, 그래픽모드에 대하여 설명한다.First, the graphic mode will be described.

본 실시예에서는 코맨드명령제어레지스터(230)에 기억된 그래픽비트모드(GBM)의 지정에 따라서 5종류의 다른 동작모드를 선택할 수 있다.In this embodiment, five different operation modes can be selected in accordance with the designation of the graphic bit mode GBM stored in the command command control register 230.

제 8a∼e 도에는 각 모드에 있어서의 표시용 메모리의 1워드의 비트구성을 나타낸다.8A to 8E show the bit structure of one word of the display memory in each mode.

(a) 1비트/화소 모드(GBM=000)(a) 1 bit / pixel mode (GBM = 000)

이것은 흑백화상과 같이 1화소를 1비트로 표시할 경우에 사용하는 모드이다. 표시용 메모리(13)의 1워드에는 연속되는 16화소의 데이터가 격납된다.This mode is used for displaying one pixel with one bit, such as a black and white image. One word of the display memory 13 stores 16 consecutive pixels of data.

(b) 1비트/화소 모드(GBM=001)(b) 1 bit / pixel mode (GBM = 001)

이것은 1화소를 2비트로 표시하는 것이다. 4색 또는 4계조까지의 표시에 사용할 수 있다. 따라서, 표시용 메모리(13)의 1워드에는 연속되는 8화소의 데이터가 격납된다.This represents one pixel with two bits. It can be used to display up to four colors or up to four gradations. Therefore, one word of the display memory 13 stores eight consecutive pixels of data.

(c) 4비트/화소 모드(GBM=010)(c) 4 bit / pixel mode (GBM = 010)

이것은 1화소를 4비트로 표시하는 것이다. 표시용 메모리(13)의 1워드에는 연속되는 4화소의 데이터가 격납된다.This represents one pixel with four bits. One word of the display memory 13 stores data of four consecutive pixels.

(d) 8비트/화소 모드(GBM=011)(d) 8 bit / pixel mode (GBM = 011)

이것은 1화소를 8비트로 표시하는 것이다. 표시용 메모리(13)의 1워드에는 연속되는 2화소분의 데이터가 격납된다.This represents one pixel in eight bits. One word of the display memory 13 stores two consecutive pixels of data.

(e) 16비트/화소 모드(GBM=100)(e) 16 bit / pixel mode (GBM = 100)

이것은 1화소를 16비트로 표시하는 것이다. 표시용 메모리(13)의 1워드에는 연속되는 1화소의 데이터에 대응하는 것으로 된다.This represents one pixel with 16 bits. One word of the display memory 13 corresponds to one pixel of continuous data.

제 8f 도는 명령제어레지스터(230)의 예를 나타낸다.8F illustrates an example of the command control register 230.

다음에, 화소어드레스에 대하여 설명한다.Next, the pixel address will be described.

제 9 도는 제 8 도의 각 모드에 대응하는 화소어드레스를 설명하는 것이다. 물리어드레스연산부의 레지스터(3208)에서는 메모리어드레스의 하위에 4비트를 부가한 비트어드레스(물리어드레스) WAD를 관리하고 있다. 하위 4비트의 정보 WAD는 1워드내에의 화소위치를 지정하기 위하여 사용되며, 각 비트/화소 모드에 따라서 동작한다. 도면에 있어서, "*"표는 연산에 관계없는 비트를 나타내고 있다.9 illustrates the pixel address corresponding to each mode of FIG. 8. The register 3208 of the physical address computation unit manages a bit address WAD in which four bits are added below the memory address. The lower 4 bits of information WAD are used to specify the pixel position in one word, and operate in accordance with each bit / pixel mode. In the figure, a "*" mark indicates a bit unrelated to an operation.

제 10 도는 상기 (c)항이 「4비트/화소모드」를 예로 하여 표시용 메모리(13)의 공간적인 배치를 나타낸 것이다. 메모리어드레스는 제 10a 도의 메모리맵에 나타낸 바와같이 리니어어드레스로서 할당되어있으며, 이것이 제 10b 도에 나타낸 바와 같이 2차원 화상으로 표시된다. 화면의 횡축은 제 5 도의 화면폭레지스터(MW)(3206)에 기억되고 있고, 이 MW는 화면의 횡축이 몇비트로 구성되어 있는가를 나타내고 있다. 따라서, 4비트/화소 모드의 경우에서는 수평방향으로화소가 표시되는 것으로 된다. 또, 4비트로 1화소를 표시하고 있으므로, 1워드의 데이터의 경우는 제 10c 도에서 나타낸 바와 같이 수평방향으로 연속되는 4화소분의 데이터로 표시된다. 제 5 도의 오프세트발생회로(2001)에서는 오프세트치로서 "4"를 발생하여 오프세트래지스터(3205)에 기억되어 있다. 따라서, 물리어드레스를 수평방향으로 1화소분 이동하는데는 오프세트치를 가감산하면 된다는 것을 알 수 있다. 또, 수직방향으로 1화소분 이동하는데는 레지스터(MW)(3206)의 값을 가감산하면 된다. 이상은 본 실시예에서 사용하는 데이터의 비트의 레이아웃이다.Fig. 10 shows the spatial arrangement of the display memory 13 in the above section (c) using "4 bit / pixel mode" as an example. The memory address is assigned as a linear address as shown in the memory map of FIG. 10A, which is displayed as a two-dimensional image as shown in FIG. 10B. The horizontal axis of the screen is stored in the screen width register (MW) 3206 of FIG. 5, and this MW indicates how many bits the horizontal axis of the screen is configured. Therefore, in the 4-bit / pixel mode, the horizontal direction The pixel is displayed. In addition, since one pixel is displayed in four bits, data of one word is represented by data of four pixels continuous in the horizontal direction as shown in FIG. 10C. In the offset generating circuit 2001 in FIG. 5, " 4 " is generated as an offset value and stored in the offset register 3205. FIG. Therefore, it is understood that the offset value may be added or subtracted to move the physical address by one pixel in the horizontal direction. In order to move one pixel in the vertical direction, the value of the register (MW) 3206 may be added or subtracted. The above is the layout of the bits of data used in the present embodiment.

다음에, 이들 데이터에 사용하여 화상데이터를 표시용 메모리(13)에 격납하는 동작에 대하여 설명한다.Next, an operation of storing image data in the display memory 13 by using the data will be described.

외부의 중앙처리장치로부터 보내오는 명령이나 파라미터 등의 제어데이터 CDT는 한쪽에서 FIFO메모리(400)에 기입되는 동시에, 다른쪽에서는 명령제어레지스터(230)에 기입된다.Control data CDTs such as commands and parameters sent from an external central processing unit are written to the FIFO memory 400 on one side and to the command control register 230 on the other side.

여기서, 명령제어레지스터(230)에 기억되어 지정된 그래픽비트모드(GBM)가 4비트/1화소 모드 (GBM=010)의 예에 대하여 설명한다.Here, an example in which the graphic bit mode (GBM) stored in the command control register 230 and designated is the 4 bit / 1 pixel mode (GBM = 010) will be described.

명령제어레지스터(230)에 의해 그래픽비트모드(GBM)가 4비트/1화소로 지정되면, 그 후의 표시용 메모리(13)내의 1워드의 데이터는 제 8c 도에 나타낸 바와 같이 4비트마다 분할된 것으로 취급된다.When the graphic bit mode GBM is designated as 4 bits / 1 pixel by the command control register 230, the data of one word in the display memory 13 thereafter is divided every 4 bits as shown in Fig. 8C. Are treated as.

외부의 중앙처리장치로부터의 명령이나 파라미터 등의 신호 CDT는 FIFO메모리(400)에 차례로 격납된다. 이 메모리(400)에 기억된 데이터는 A유니트(310)의 FIFO버퍼(3101)에 취입된다. 이 FIFO버퍼(3101)에 취입된 데이터는 내부버스(3113)와의 사이에서 상호 송수신하여 각각 필요한 레지스터에 기억된다. 이것은 버스로부터 소스 래치(SLAU)(3109)를 통해 논리연산기(ALU)(3110)에 입력되어 소정의 연산을 하여 그 결과가 일시 데스티네이션래치(DLA)(3111)에 격납된다. 그리고, 이 결과는 버스(WBA)(3115)를 통해 범용 레지스터(3102)에 기억된다. 이 범용 레지스터(3102)에 파라미터의 좌표공간에서의 현재의 좌표점이 기억되어 있다.Signals CDT such as commands and parameters from an external central processing unit are sequentially stored in the FIFO memory 400. The data stored in this memory 400 is taken into the FIFO buffer 3101 of the A unit 310. The data taken into the FIFO buffer 3101 are mutually transmitted and received between the internal bus 3113 and stored in respective necessary registers. It is input from the bus to the logic operator (ALU) 3110 via a source latch (SLAU) 3109 to perform a predetermined operation and the result is stored in a temporary destination latch (DLA) 3111. The result is then stored in the general register 3102 via a bus (WBA) 3115. The current coordinate point in the coordinate space of the parameter is stored in this general register 3102.

범용 레지스터(3102)에 있는 현재의 X-Y좌표가 독출버스(3113),(3114)의 어느 하나를 통해 독출되어서, 그것이 산술논리연산기(ALU)(3110)에서 연산된 결과는 데스티네이션래치(DLA)(3111), 기입버스(3115)를 통해 범용 레지스터군(3102)에 재차 기억된다. 이들 일련의 동작은 제 7 도에 나타낸 마이크로프로그램의 명령에 따라서 실행되게 된다.The current XY coordinates in the general register 3102 are read out via either of the read buses 3113 and 3114, so that the result of the calculation in the arithmetic logic operator (ALU) 3110 is destination latch (DLA). (3111) and stored in the general-purpose register group 3102 via the write bus 3115 again. These series of operations are executed in accordance with the instructions of the microprogram shown in FIG.

또한, 기입버스(3115)상의 데이터는 영역관리레지스터(3103) 및 (3105)에 입력되어, 영역판정비교기(3104)에서 비교된다. 이를 데이터로부터 비교기(3104)에서는 X축의 최소치 또는 X축의 최대치인가, Y축의 최소치 또는 Y축의 최대치인가가 판정되고, 그 판정결과는 플랙레지스터(10)에 보내진다.The data on the write bus 3115 are input to the area management registers 3103 and 3105, and are compared in the area determination comparator 3104. From the data, the comparator 3104 determines whether the minimum value of the X-axis or the maximum value of the X-axis, the minimum value of the Y-axis, or the maximum value of the Y-axis is transmitted, and the result of the determination is sent to the flag register 10.

또한, 기입버스(3115)의 데이터는 종료점레지스터(3106)에 기억되고, 이것을 통해 종료판정비교기(3107)에 입력된다. 종료판정비교기(3107)에서는 미리 이 비교기(3107)에 기억된 X축 및 Y축의 종료점과 상기 데이터를 비교하고, 그 종료점과 상기 데이터가 일치하고 있는가의 여부를 검출한다. 그 비교검출결과는 플랙레지스터(210)에 반영된다.The data of the write bus 3115 is stored in the end point register 3106 and input to the end decision comparator 3107 through this. The end judgment comparator 3107 compares the end points of the X-axis and the Y-axis stored in the comparator 3107 with the data in advance, and detects whether the end point and the data coincide. The comparison detection result is reflected in the flag register 210.

전술한 바와 같이, 비교기(3104) 및 (3107), 연산기(3110)의 결과는 플랙레지스터(210)에 모이고, 마이크로명령디코더(200)에 입력되어서, 마이크로프로그램의 흐름을 변환하는데 사용되게 된다.As described above, the results of the comparators 3104 and 3107 and the calculator 3110 are collected in the flag register 210 and input to the microinstruction decoder 200 to be used to convert the flow of the microprogram.

전술한 바와같이 A유니트(310)는 동작하여, 파라미터에서 부여된 X-Y좌표치를 해독해서, 각각 예를 들면 선을 긋는다든가, 원을 그린다든가의 명령해석을 하는 것이다.As described above, the A unit 310 operates to decode the X-Y coordinate values given by the parameters, and to interpret the commands such as drawing a line or drawing a circle, for example.

다음에, B유니트(320)의 동작에 대하여 제 5 도에 따라서 설명한다.Next, the operation of the B unit 320 will be described with reference to FIG.

표시제어데이터는 버스(UBB), 산술연산기(AU)(3202), 데스티네이션래치(DLB)(3201), 버스(WBB)(3210)를 통해 레지스터(3208)에 입력 초기설정된다. 레지스터(3208)의 데이터가 독출버스(3209)및 소스래치(3204)를 통해 연산기(AU)(3202)에 입력된다. 이 연산기(3202)에서 연산된 결과는 데스티네이션래치(3201)에서 일시기억되어서, 각 버스(3113),(3114),(3209) 및 (3210)에 출력된다. 여기에서는 버스(3210)를 경유하여 레지스터(3208)에 기입된다. 이 레지스터(3208)는 각각 16비트 1워드의 것이 2개로 1워드구성으로 되어 있고, 합계 32비트 1워드로 물리어드레스를 기억한다. 이 레지스터(3208)는 상기 32비트의 레지스터가 3종있고, 3종의 데이터를 기억할 수 있다. 즉, 이 레지스터(3208)의 레지스터 DP(DPL,DPH)가 현재의 묘화점 X-Y에 대응하는 실제의 묘화점의 물리어드레스를 거억한다. 따라서, A유니트(310)의 레지스터(3102)의 XY좌표가 이동하면, 이에 대응하여 레지스터 DP의 물리어드레스가 이동한다. 물리어드레스를 변경하는 것은 X축방향에 대하여는 원래의 물리어드레스에 가변설정가능한 소정의 값(오프세트치×이동하고자 하는 점까지의 값)을 가감산하면 되고, 또 Y축방향은 소정의 값을 가감산하면 된다. 즉, 이 오프세트발생회로(2001)에 의해 지정된 화상모드에 따라서 오프세트레지스터(3205)에는 화소어드레스를 수평방향으로 1화소분 이동할때의 상수가 설정된다. 이 상수와 데이터를 연산기(3202)로 연산함으로써, 수평방향의 이동물리어드레스가 산출된다. 예를 들면, 화소모드가 「1비트/화소 모드」일 때는 상수는 1이면 되고, 1화소 이동시키면 1비트 어긋날 뿐이다. 이것은 「4비트/화소 모드」일 때는 상수는 4로 되고, 1화소 이동시키면 4비트분 어긋나게 된다.The display control data is input-initialized to the register 3208 via the bus (UBB), arithmetic operator (AU) 3202, destination latch (DLB) 3201, and bus (WBB) 3210. Data in the register 3208 is input to the operator (AU) 3202 through the read bus 3209 and the source latch 3204. The result calculated by this operator 3202 is temporarily stored in the destination latch 3201, and is output to the buses 3113, 3114, 3209, and 3210, respectively. Here, it is written to the register 3208 via the bus 3210. This register 3208 has two 16-bit one-word words in one word structure, and stores physical addresses in one 32-bit total word. This register 3208 has three types of 32-bit registers and can store three types of data. That is, the registers DP (DPL, DPH) of this register 3208 store the physical address of the actual drawing point corresponding to the current drawing point X-Y. Therefore, when the XY coordinate of the register 3102 of the A unit 310 moves, the physical address of the register DP moves correspondingly. The physical address can be changed by adding or subtracting a predetermined value (offset value up to the point to be moved) to the original physical address in the X-axis direction. You can add or subtract. That is, in accordance with the image mode designated by the offset generation circuit 2001, the offset register 3205 is set with a constant when the pixel address is moved by one pixel in the horizontal direction. By calculating this constant and data with the calculator 3202, a horizontal moving address is calculated. For example, when the pixel mode is " 1 bit / pixel mode, " the constant is 1, and shifting 1 pixel only shifts 1 bit. In the "4 bit / pixel mode", the constant becomes 4, and shifting by 1 pixel shifts 4 bits.

또한, 여기서 수직으로 화소분 이동시키기 위하여는 화면폭레지스터(3206)에 설정된 상수를 사용하여 연산하면, 1화소분의 이동이 가능해진다.In addition, in order to move the pixel vertically here, the calculation by using the constant set in the screen width register 3206 enables the movement of one pixel.

전술한 바와 같이 B유니트(320)는 동작하여 상기 A유니트(310)에서 결정되는 X-Y좌표에 대응하여 실제의 물리어드레스를 얻는 것이다.As described above, the B unit 320 operates to obtain the actual physical address corresponding to the X-Y coordinates determined by the A unit 310.

다음에, C유니트(330)의 동작에 대하여 제 6 도에 따라서 설명한다.Next, the operation of the C unit 330 will be described with reference to FIG.

C유니트(330)는 제 10 도에 나타낸 표시용 메모리(13)에 대하여 출력버스(3312)와 입력버스(3313)로 접속되어 있다. 출력버스(3312)에는 C유니트(330)로부터 먼저 어드레스정보 AD가 출력되고, 이어서 데이터 DT가 출력된다.The C unit 330 is connected to the display memory 13 shown in FIG. 10 by an output bus 3312 and an input bus 3313. The address information AD is first output to the output bus 3312 from the C unit 330, and then the data DT is output.

먼저, 어드레스정보 AD는 B유니트(320)를 경유하고, 또한 독출버스(UBB)(3209)를 통해 메모리어드레스레지스터(3311)에 기입되어, 메모리어드레스레지스터(3311)의 (MARL) 및 (MARH)에 기억된다. 이 레지스터(3311)에 기억된 메모리어드레스가 출력버스(3312)를 통해 표시용 메모리(13)에 보내지면, 표시용 메모리(13)로부터 입력버스(3313)를 통해 이 메모리(13)의 지정된 1워드의 표시용 메모리 DT가 독출된다. 독출된 표시용 데이터 DT는 독출데이터버퍼(3310)에 기억된다. 여기서, 표시용 데이터 DT가 도형을 그릴 경우는 연산기(3305)에 입력된다.First, the address information AD is written to the memory address register 3311 via the read unit (UBB) 3209 via the B unit 320, and the (MARL) and (MARH) of the memory address register 3311. Is remembered. When the memory address stored in this register 3311 is sent to the display memory 13 via the output bus 3312, the designated 1 of this memory 13 is sent from the display memory 13 via the input bus 3313. The memory DT for displaying the word is read. The read display data DT is stored in the read data buffer 3310. Here, when the display data DT draws a figure, it is input into the calculator 3305.

다음에, 마스크레지스터(3303)로부터의 마스크정보(1워드중의 어느 비트를 마스크로 하는가를 지정하는 정보)를 연산기(3305)에 입력한다. 또한, 마스크정보는 기입버스(WBB)(3210)로부터 직접 기입되는 레지스터(CMSK), 또는 1워드 중의 어드레스디코더(2002)에 의해 생성되는 데이터를 기억하는 레지스터(GMSK)로부터 연산기(3305)에 송출된다.Next, mask information (information for specifying which bit in one word is used as a mask) from the mask register 3303 is input to the calculator 3305. The mask information is also sent to the calculator 3305 from a register CMSK written directly from the write bus WBB 3210 or from a register GMSK storing data generated by the address decoder 2002 in one word. do.

또한, 색정보를 컬러레지스터(3302)로 선택하여 연산기(LU)(3305)에 부여한다. 그리고, 연산기(3305)에서는 상기 데이터 DT, 마스크 정보 및 색정보에 따라서 논리연산해서, 그 연산결과를 기입데이터버퍼(WDBR)(3306)에 출력한다. 또한, 색정보 및 패턴정보는 패턴카운터(PCNT)(3308) 및 묘화패턴레지스터(PP,PS,PE)(3309)에서 형성된 어드레스신호에 의해 지정됨으로써, 패턴메모리(RAM)(220)로부터 패턴 RAM버퍼(PBUF)(3307)에 기억된다.Further, color information is selected by the color register 3302 and given to the calculator (LU) 3305. The calculator 3305 performs a logical operation according to the data DT, mask information, and color information, and outputs the result of the calculation to the write data buffer (WDBR) 3306. Further, the color information and the pattern information are designated by the address signals formed in the pattern counter (PCNT) 3308 and the drawing pattern registers (PP, PS, PE) 3309, so that the pattern RAM from the pattern memory (RAM) 220 can be used. It is stored in the buffer (PBUF) 3307.

이와 같이 C유니트(330)는 동작하여 색정보에 대하여 변화처리하게 된다.In this way, the C unit 330 operates to change the color information.

다음에, 묘화연산의 수법에 대하여 설명한다. 제 11 도는 4비트/화소 모드의 경우의 1화소의 묘화연산의 흐름을 모식적으로 나타낸 것이다.Next, the method of drawing operation is demonstrated. 11 schematically shows the flow of drawing operations of one pixel in the case of 4 bit / pixel mode.

묘화패턴레지스터(PP,PS,PE)(3309) 및 패턴레지스터(PCNT)(3308)에서 지정된 어드레스에 의해 패턴 메모리(220)으로부터 독출된 데이터는 패턴 RAM버퍼(3307)를 통해 컬러레지스터(3302)의 CL0,CL1 기억된다. 또, 표시용 메모리(13)로부터 독출한 데이터(Ca,Cb,Cc,Cd)는 독출데이터버퍼(3310)에 기억된다. 이 예에서는 컬러데이터 및 독출한 데이터 등은 각각 4비트의 색정보 또는 계조정보이다. 패턴메모리(220)로부터 1비트의 패턴정보가 독출되어 있고, 그 데이터의 "0", "1" (X=1 또는 X=0)에 따라서 컬러레지스터0(CL0) 또는 컬러레지스터1(CL1)이 선택되어 논리연산기(3305)에 공급된다. 메모리어드레스레지스터(3311)에 기억된 물리어드레스 정보의 하위4비트의 도면에서는 "10**"으로 되어 있고, 이 정보는 1워드내 어드레스디코더(2002)를 통해 마스크레지스터(3303)에서 마스크정보 GMSK를 발생한다. 한편, 메모리어드레스레지스터(3311)의 하위 4비트를 제외한 상위필드는 표시용 메모리어드레스로서 출력되는 표시용 메모리(13)의 1워드가 독출된다. 논리연산기(3305)에서는 마스크레지스터(3303)의 GMSK의 "1"의 비트로 지정된 부분에만 논리연산의 종류로서는 컬러레지스터의 값에의 재기입, 논리연산(AND, OR, NOR), 조건부 묘화(독출컬러가 소정의 조건을 만족하는 경우만 묘화)등이 있다. 비트/화소 모드가 다른 모드의 경우에는 발생되는 GMSK정보가 다를 뿐이고 동일한 연산을 행한다. 이와 같이 하여, 다시 어드레스정보 AD 및 데이터 DT의 순으로 어드레스레지스터(3311) 및 레지스터(3306)로부터의 출력버스(3312)에 송출되어 표시용 메모리(13)의 소정의 어드레스에 기입된다.The data read out from the pattern memory 220 by the addresses specified in the drawing pattern registers (PP, PS, PE) 3309 and the pattern register (PCNT) 3308 is transferred through the pattern RAM buffer 3307 through the color registers 3302. CL0 and CL1 are stored. The data C a , C b , C c , and C d read out from the display memory 13 are stored in the read data buffer 3310. In this example, the color data, the read data, and the like are 4-bit color information or gradation information, respectively. One-bit pattern information is read out from the pattern memory 220, and color register 0 (CL0) or color register 1 (CL1) in accordance with " 0 " and " 1 " (X = 1 or X = 0) of the data. Is selected and supplied to the logical operator 3305. In the drawing of the lower 4 bits of the physical address information stored in the memory address register 3311, " 10 ** ", this information is mask information GMSK in the mask register 3303 through the address decoder 2002 in one word. Occurs. On the other hand, in the upper field except the lower 4 bits of the memory address register 3311, one word of the display memory 13 output as the display memory address is read. In the logical operator 3305, only the portion designated by the bit of "1" of the GMSK of the mask register 3303 is a type of logical operation, rewriting to the value of the color register, logical operations (AND, OR, NOR), and conditional drawing (reading). Drawing only when the color satisfies a predetermined condition). In the case where the bit / pixel mode is different, the generated GMSK information is different and the same operation is performed. In this manner, the data is again sent to the output bus 3312 from the address register 3311 and the register 3306 in the order of the address information AD and the data DT, and written to the predetermined address of the display memory 13.

전술한 바와 같이 본 실시예에 의하면, 1회의 독출, 갱신·기입처리에 의해 한번에 1화소분의 데이터를 갱신할 수 있으므로, 처리 효율이 좋은 묘화가 가능해진다. 또, 16비트/화소 모드 이외의 경우에도, 복수화소의 데이터를 16비트 길이로 배열하여 처리하므로, 메모리의 사용효율이 좋으며, 다른 기기와 표시용 메모리 사이의 데이터 전송효율도 좋다. 또한, 본 실시예에서는 화소당의 비트길이가 다른 5종류에 대한 동작 모드를 설정하고 있으므로 범용성이 높은 구성으로 되어 있다.As described above, according to the present embodiment, data for one pixel can be updated at one time by one read, update, and write process, so that the drawing with good processing efficiency can be achieved. Also, in a case other than the 16-bit / pixel mode, since the data of a plurality of pixels are arranged and processed in a 16-bit length, the use efficiency of the memory is good, and the data transfer efficiency between the other device and the display memory is also good. In addition, in this embodiment, since the operation modes for five types having different bit lengths per pixel are set, the configuration is highly versatile.

다음에, 본 발명에 의하여 논리어드레스에 대응하는 물리어드레스를 고속으로 계산할 수 있는 도형처리에 대하여 설명한다. 즉, 상기 제 2 도에 있어서의 A유니트(310)와 B유니트(320)를 사용하여 어드레스변환이 고속으로 행해지는 경우에 대하여 설명한다.Next, the figure processing which can calculate the physical address corresponding to a logical address at high speed is demonstrated by this invention. That is, the case where address conversion is performed at high speed using the A unit 310 and the B unit 320 in FIG. 2 will be described.

제 12 도는 제 4 도, 제 5 도에 나타낸 구성에 따라서 어드레스변환에 관련된 것과, 특히 부가된 것을 나타내고 있다. 제 4 도, 제 5 도와 동일한 것은 같은 부호를 사용하고 있다.FIG. 12 shows what is related to address conversion and in particular, which has been added in accordance with the configurations shown in FIG. 4 and FIG. The same code | symbol is used for the same thing as FIG. 4 and FIG.

선택기(3500)는 CCS에 의해 제어되고, 메모리폭레지스터(MW)(3206)로부터의 데이터, 오프세트데이터레지스터(OFS)(3205)로부터의 데이터의 어느 하나를 선택하여, 연산기(AU)(3202)에 공급한다. 연산기(3202)가 논리어드레스에 대응한 물리어드레스를 연산한다.The selector 3500 is controlled by the CCS and selects one of the data from the memory width register (MW) 3206 and the data from the offset data register (OFS) 3205 to operate the operator (AU) 3202. Supplies). The calculator 3202 calculates a physical address corresponding to the logical address.

다음에, 물리어드레스공간과 이것에 대응하는 논리어드레스공간, 또한 이들에 대응하는 표시화면에 대하여 설명한다. 제 13 도는 1화소를 4비트로 표시한 모드에서의 물리어드레스공간과, 이것에 대응한 논리어드레스공간 또는 이들에 대응한 표시화면을 나타낸 것이다. 수평방향의 화소수의 크기 MW로서의 물리어드레스, 논리어드레스공간상의 표시용 메모리 및 표시화면과의 관계는 도시한 바와 같다. 물리어드레스공간상에서는 1워드 16비트내에(1화소가 4비트로 표시된 화소데이터가) 4화소분 포함되어 있으나, 이 경우 1화소는 논리어드레스공간상의 메모리에서는 색마다의 메모리플레인에 각 1비트씩 할당되고, 이것이 합성되어 16색(또는 16계조)으로 표시되는 1화소를 화면상에 출력하도록 되어 있다. 1워드내의 4화소의 데이터는 논리어드레스공간상의 메모리 및 표시화면상에서는 수평방향으로 연속된 화소데이터로 된다.Next, the physical address space, the logical address space corresponding thereto, and the display screen corresponding thereto will be described. FIG. 13 shows a physical address space in a mode in which one pixel is displayed in four bits, a logical address space corresponding thereto, or a display screen corresponding thereto. The relationship between the physical address as the size MW in the horizontal direction, the display memory in the logical address space, and the display screen is as shown. In the physical address space, four pixels are included in one word 16 bits (pixel data represented by four bits). In this case, one pixel is allocated to each memory plane for each color in the memory in the logical address space. This is synthesized so that one pixel displayed in 16 colors (or 16 gradations) is output on the screen. The data of four pixels in one word become pixel data continuous in the horizontal direction on the memory in the logical address space and on the display screen.

제 14 도는 제 13 도에 나타낸 물리어드레스와 논리어드레스, 메모리폭 MW, 포인터어드레스 PA의 관계를 나타낸 것이다. 먼저, 제 14a 도는 물리어드레스 공간상의 메모리어드레스 MA와 비트어드레스 BA를 나타내고, 다시 그것과 표시화면의 관계를 나타내고 있다. 메모리어드레스 MA1에서 지정되는 1워드내의 1화소와 수직방향으로 인접하는 화소를 포함하는 1워드의 메모리어드레스가 MA2일때, 메모리폭 MW은 제 14c 도에 나타낸 것과 같다. 제 14a 도에 표시된 화면상의 임의의 점(x,y)는 그 대응하는 물리어드레스가 메모리어드레스 MA이며, 또한 그 비트어드레스가 BA로 표시될 때, 그 포인터어드레스는 제 14b 도와 같이 표시된다.FIG. 14 shows the relationship between the physical address, the logical address, the memory width MW, and the pointer address PA shown in FIG. First, FIG. 14A shows the memory address MA and the bit address BA in the physical address space, and again shows the relationship between the display screen and the memory address MA. When the memory address of one word including pixels vertically adjacent to one pixel in one word specified in the memory address MA1 is MA2, the memory width MW is as shown in Fig. 14C. Any point (x, y) on the screen shown in Fig. 14A indicates that when the corresponding physical address is the memory address MA, and the bit address is indicated by BA, the pointer address is displayed as in Fig. 14B.

그런데, 제 12 도에 나타낸 실시예에서의 것은 1화소의 데이터가 복수비트로 표시될 경우(다색이나 다계조)에도 효율좋게 처리할 수 있는 기능을 가지고 있고, 비트모드레지스터(230)에 대한 설정모드에 따라서 5종류의 다른 동작모드를 선택할 수 있다. 이것은 상기 제 8 도에 의한다.Incidentally, in the embodiment shown in FIG. 12, the setting mode for the bit mode register 230 has a function of efficiently processing even when data of one pixel is displayed in multiple bits (multicolor or multi-gradation). There are five different operation modes to choose from. This is by FIG. 8 above.

제 15 도는 제 14 도에 나타낸 비트모드와 그에 대응한 1워드내의 화소위치를 나타내는 비트어드레스의 대응을 나타낸 것이다. 이것에 의한 비트어드레스는 화소데이터의 데이터개시비트번호에 일치되게 되어 있다. 예를 들면, 4비트/화소 모드의 경우, 화소데이터의 비트 4∼7을 화소데이터연산부(330)에서 연산할 때 포인터어드레스레지스터(3208)의 하위4비트의 비트어드레스로서는 [4]가 격납되는 것이다.FIG. 15 shows the correspondence between the bit mode shown in FIG. 14 and the bit address indicating the pixel position in one word corresponding thereto. This bit address is made to coincide with the data start bit number of the pixel data. For example, in the 4 bit / pixel mode, [4] is stored as the bit address of the lower 4 bits of the pointer address register 3208 when the bits 4 to 7 of the pixel data are calculated by the pixel data operation unit 330. will be.

제 16a∼d 도는 4비트/화소 모드의 경우에서의 마스크레지스터(3303)에 기억되는 마스크데이타와 비트어드레스와의 관계를 나타낸 것이다. 전술한 바와 같이, 화소데이터의 비트4∼7을 연산할 때, 비트어드레스로서 4가 발생하지만, 이 경우 마스크데이터는 화소데이터연산이 행해지는 비트에만 대응하여 "1"이 세트되고, 화소데이터의 연산을 필요로 하지 않는 비트에 대응해서는 "0"이 세트된다. 즉, 예를 들면 비트어드레스가 "4"의 경우는 비트 4∼7만이 "1"로 된 마스크데이터가 마스크데이터 발생기 (2002)에서 생성되어 마스크데이터레지스너(3303)에 기억되는 것이다.16A to 16D show the relationship between the mask data stored in the mask register 3303 and the bit address in the case of 4 bit / pixel mode. As described above, 4 is generated as a bit address when the bits 4 to 7 of the pixel data are calculated, but in this case, "1" is set in correspondence with only the bit where the pixel data operation is performed, and the pixel data "0" is set corresponding to the bits that do not require operation. That is, for example, when the bit address is "4", mask data in which only bits 4 to 7 are "1" is generated by the mask data generator 2002 and stored in the mask data register 3303.

제 17a 도는 제 12 도에 나타낸 실시예에 있어서의 논리어드레스연사부 및 물리어드레스연산부에서 실행되는 기본연산처리를, 또 제 17b 도는 각 비트모드에 있어서 비트어드레스오프세트치부터 설명하면, 이것은 비트어드레스갱신을 위한 것이며, 4비트/화소 모드에 있어서는 "4"의 데이터가, 1비트/화소 모드에서는 "1"의 데이터가 오프세트 발생회로(2001)에서 생성된 다음의 오프세트데이터레지스터(3205)에 기억되게 하는 것이다.17A and 17B illustrate the basic arithmetic processing executed in the logical address continuous and physical address arithmetic units in the embodiment shown in FIG. 12, and in FIG. 17B, starting from the bit address offset value in each bit mode, this is a bit address. The next offset data register 3205 is generated for the update, and the data of " 4 " in the 4-bit / pixel mode and the data of " 1 " in the 1-bit / pixel mode are generated by the offset generating circuit 2001. To be remembered.

제 17a 도에 나타낸 처리에 대하여 설명한다. 이것은 현재 어떤 화소를 나타내는 점 P에서의 논리어드레스가 (X,Y), 물리어드레스가 PA로 표시되어 있는 것으로서 수평방향, 또는 수직방향으로 점 P을 논리어드레스에서 ±1 만큼 이동시킬 경우의 처리를 나타낸 것이다. 먼저, X축(수평방향) 정방향으로 화소데이터를 묘화하도록 점 P를 ±1할 경우, 논리어드레스연산부(310)에서는 커렌트포인터(3102의 CPX)로부터는 데이터(X)가 독출되고 나서 소스래치(3109)를 통해 연산기(310)에서 +1이 가산되는 것으로 되어 있다. 산출결과(X+1)는 새로운 논리어드레스 X로서 데스티네이션래치(3111)를 통해 커렌트포인터(3102의 CPX)에 다시 격납되는 것이다. 이때 동시에, 물리어드레스 연산부(320)에서는 포인터어드레스레지스터(3208)로부터는 포인터어드레스가 독출된 후 소스래치(3204)를 통해 연산기(3202)에 연산데이터로서 주어진다. 한편, 연산데이터선택기(3500)로부터는 오프세트데이터레지스터(3205)로부터의 데이터가 선택출력되어 소스래치(3203)를 통해 연산기(3202)에 연산데이터로서 주어진다. 그래서, 연산기(3202)에서는 포인터데이터 PA와 비트어드레스오프세트치 n와의 사이에서 가산이 행해지는 것이다. 이 가산결과(PA+n)는 새로운 포인터어드레스로서 데스티네이션래치(3201)를 통해 재차 포인터어드레스레지스터(3208)의 DPL, DPH에 격납되는 것이다. 이 격납후 마스크데이터를 발생하는 마스크데이터발생기(2002)는 포인터어드레스레지스터(3208)에 격납된 하위4비트의 데이터 즉 비트어드레스와 비트모드에 따라서 마스크데이터를 발생하지만, 마스크데이터는 마스크데이터레지스터(3303)를 통해 최소데이터연산부(3305)로 보내져서, 화소데이터의 연산에 제공된다.The processing shown in FIG. 17A will be described. This is a process in which the logical address at the point P that represents a certain pixel is represented by (X, Y) and the physical address is represented by PA, and the processing when the point P is moved by ± 1 in the logical address in the horizontal or vertical direction is performed. It is shown. First, when the point P is set to ± 1 to draw pixel data in the X-axis (horizontal direction) forward direction, the source address is read after the data X is read from the current pointer 3 CPX by the logic address calculation unit 310. It is assumed that +1 is added in the calculator 310 through 3109. The calculation result (X + 1) is a new logical address X, which is stored again in the current pointer (CPX of 3102) through the destination latch 3111. At the same time, the physical address calculating unit 320 reads the pointer address from the pointer address register 3208 and gives it to the operator 3202 through the source latch 3204 as operation data. On the other hand, the data from the offset data register 3205 is selectively outputted from the arithmetic data selector 3500 and given to the arithmetic operator 3202 via the source latch 3203 as arithmetic data. Thus, in the calculator 3202, addition is performed between the pointer data PA and the bit address offset value n. This addition result PA + n is a new pointer address which is stored in DPL and DPH of the pointer address register 3208 again through the destination latch 3201. The mask data generator 2002 which generates mask data after this storage generates mask data according to the lower 4 bits of data stored in the pointer address register 3208, that is, the bit address and the bit mode. 3303 is sent to the minimum data calculation section 3305 and provided for the calculation of the pixel data.

또한, Y방향(수직방향)의 정방향으로 +1만큼 점 P를 이동시킬 경우, 논리어드레스연산부(310)에서는 마찬가지로 커렌트포인터 Y (3102의 CPY)의 데이터를 +1 하기 위한 연산이 행해진다. 한편, 물리어드레스연산부(320)에서는 동시에 포인터어드레스레지스터(3208)의 DPL,DPH의 데이터에 대한 연산이 행해진다. X방향의 연산에서는 오프세트치와의 사이에서 가감산이 행해지지만, 이 Y방향의 연산에서는 메모리폭레지스터(3206)로부터의 데이터와의 사이에서 가감산(이 경우는 감산)이 행해지는 것이다. 연산제어신호발생기는 논리어드레스연산부(310)에서 X방향의 가산, 연산이 행해질 때 물리어드레스연산부(320)에 있어서의 연산기(3202)에 가산, 감산신호를 발생하는 한편, 논리어드레스연산부(310)에서 Y방향의 가산, 감산을 행할 경우에는 연산기(3202)에 대해 감산, 가산신호를 발생하지만, 이것은 표시화면에 대응하는 표시메모리의 어드레스할당에 의해 정해지는 것이다. 이상과 같은 연산처리가 행해짐으로써, 점 P의 이동후의 물리어드레스가 도출된다. 제 18 도는 본 발명에 의한 직선묘화의 예를 나타내고 있다.In addition, when the point P is moved by +1 in the positive direction of the Y direction (vertical direction), the logical address operation unit 310 similarly performs an operation to +1 the data of the current pointer Y (CPY of 3102). On the other hand, the physical address calculation unit 320 simultaneously calculates the data of the DPL and DPH of the pointer address register 3208. In the calculation in the X direction, the addition and subtraction are performed between the offset values, and in the calculation in the Y direction, the addition and subtraction (in this case, subtraction) is performed between the data from the memory width register 3206. The operation control signal generator generates an addition and a subtraction signal to the calculator 3202 of the physical address calculation unit 320 when the logical address calculation unit 310 adds and operates in the X direction, while the logical address operation unit 310 When addition and subtraction in the Y direction are performed, the subtraction and addition signals are generated for the calculator 3202, but this is determined by the address allocation of the display memory corresponding to the display screen. By performing the above arithmetic processing, the physical address after the movement of the point P is derived. 18 shows an example of linear drawing according to the present invention.

직선묘화처리의 개시점 Ps(xs, ys)으로부터 종료점 Pe(xe, ye)으로 직선묘화를 행할 경우, 먼저 제 1 의 전처리(前處理)로서 원점의 물리어드레스가 중앙처리장치 또는 다른 제어장치로부터 어드레스레지스터(3208)의 DPL,DPH에 세트되는 동시에, 커렌트포인터 X (3102의 CPX) 및 커렌트포인터 Y (3102의 CPY)는 제어부인 마이크로 명령디코더(200)로부터의 제어에 의해 "0"으로 클리어된다. 이와 같이 원점을 세트함으로써, 논리어드레스와 물리어드레스와의 대응이 취해지는 것이다. 다음에, 제 2 의 전처리로서는 직선의 개시점 Ps의 논리어드레스(xs, ys)가 각각 커렌트포인터 X(CPX), Y(CPY)에 격납되지만, 이에 따라서 물리어드레스연산부(320)에서는 논리어드레스 (xs, ys) 대응의 물리어드레스가 구해지게 되어 있다. 제 3 의 전처리로서 종료점 Pe의 논리어드레스 (xe, ye)가 템포러리레지스터군(3102)에 격납되며, 이것으로 모든 전처리는 종료되는 것이다. 그러면, 제어부인 마이크로 명령디코더(200)는 중앙처리장치 또는 다른 제어장치로부터 점 Ps으로 직선을 그리는 취지의 명령을 받아 본 처리를 개시하지만, 이 처리실행을 위해 미리 기억되어 있는 제어 순서에 따라서 각 연산부(310),(320),(330)로 제어명령을 출력하도록 되어 있다. 논리어드레스연산부(310)에서는 직선의 기울기 등, 묘화처리에 필요한 중간 정보가 개시점 Ps의 논리어드레스 (xs, ys)와 종료점 Pe의 논리어드레스 (xe, ye)로부터 구해져서 템포러리레지스터군(3102)에 격납된 후, 이들 데이터에 따라서 다음의 묘화점 P1의 논리어드레스(x1, y1)와 이 논리어드레스(x1, y1) 대응의 물리어드레스의 산출이 행해지도록 되어 있다.When linear drawing is performed from the starting point P s (x s , y s ) to the end point P e (x e , y e ) of the linear drawing process, the physical address of the origin is first processed as the first preprocessing. A current pointer X (CPX of 3102) and a current pointer Y (CPY of 3102) are set from the micro instruction decoder 200 as a control unit while being set in the DPL, DPH of the address register 3208 from a device or another control device. Cleared to "0" by control. By setting the origin in this way, the correspondence between the logical address and the physical address is taken. Next, as a second preprocess, the logical addresses (x s , y s ) of the starting point P s of the straight line are stored in the current pointers X (CPX) and Y (CPY), respectively, but accordingly the physical address calculation unit 320 The physical address corresponding to the logical address (x s , y s ) is obtained. As a third preprocess, the logical addresses (x e , y e ) of the end point P e are stored in the temporal register group 3102, whereby all preprocesses are finished. Then, the micro instruction decoder 200 serving as the control unit starts the processing by receiving a command from the central processing unit or another control device to draw a straight line at the point P s , but according to the control procedure stored in advance for this processing execution. The control commands are output to the operation units 310, 320, and 330, respectively. In the logical address calculation unit 310, intermediate information necessary for the drawing process such as the inclination of a straight line is obtained from the logical addresses (x s , y s ) of the starting point P s and the logical addresses (x e , y e ) of the end point P e . After being stored in the temporal register group 3102, the calculation of the logical addresses (x 1 , y 1 ) of the next drawing point P 1 and the physical addresses corresponding to the logical addresses (x 1 , y 1 ) is calculated according to these data. It is supposed to be done.

X방향의 어드레스연산과 Y방향의 어드레스연산의 합계 2회의 어드레스연산이 논리어드레스연산부(310) 및 물리어드레스 연산부(320)에서 실행된다. 이에 병행하여 개시점 Ps대응의 화소데이터를 표시용 메모리로부터 독입하고, 종료점 Pe의 화소데이터의 연산이 행해진다. 그리고, 이 화소데이터의 연산종료 후, 표시용 메모리에는 연산 후의 화소데이터가 다시 기입된다 즉, 어떤 점에 대하여 2회의 메모리액세스가 실행되고 있는 동안에, 이에 병행하여 논리어드레스연산부(310) 및 물리어드레스연산부(320)에서는 다음의 묘화점에 대한 논리어드레스와 이에 대응하는 물리어드레스의 산출이 실행된다. 이와 같은 처리를 직선의 종료점 Pe까지 반복함으로써, 직선 묘화를 위한 화소데이터가 순차 표시용 메모리에 기억된다.Two address operations, a total of an address operation in the X direction and an address operation in the Y direction, are executed by the logical address operation unit 310 and the physical address operation unit 320. In parallel with this, the pixel data corresponding to the starting point P s is read from the display memory, and the pixel data of the ending point P e is calculated. After the computation of the pixel data is completed, the pixel data after the computation is rewritten to the display memory. That is, while two memory accesses are executed for a certain point, the logical address operation unit 310 and the physical address are parallel to each other. The calculation unit 320 calculates the logical address for the next drawing point and the corresponding physical address. By repeating this process up to the end point P e of the straight line, the pixel data for linear drawing is stored in the display memory sequentially.

또한, 표시용 메모리에서 독출된 화소데이터는 특수한 경우 일정 데이터로 치환된 형태로 다시 표시용 메모리에 기억되지만, 일반적으로 묘화되는 직선상에 존재하는 화소는 동일휘도나 동일색으로는 한정되지 않는다. 따라서, 이와 같은 경우에는 독출된 화소데이터는 다른 데이터와의 사이에서 어떠한 연산이 행해지는 등, 연산결과가 새로운 표시용의 화소데이터로서 표시용 메모리에 기억되게 된다.In addition, the pixel data read out from the display memory is stored in the display memory again in a special case and replaced with constant data. However, in general, pixels existing on a straight line to be drawn are not limited to the same luminance or the same color. Therefore, in such a case, the readout pixel data is stored in the display memory as new pixel data for display, such as a calculation being performed with other data.

또한, 상기 실시예에서는 논리공간이 2차원의 경우에 대하여 나타냈으나, 2차원 이상의 것에도 적용가능하다.In the above embodiment, the logical space is shown in the case of two-dimensional, but it is also applicable to two-dimensional or more.

이에 의하면 화소데이터가 복수비트로 표시될 경우라도 논리어드레스의 산출과 동시에 그 논리어드레스 대응의 물리어드레스를 고속으로 구할 수 있다.According to this, even when the pixel data is displayed in plural bits, the logical address and the physical address corresponding to the logical address can be obtained at high speed.

다음에, 메모리의 1워드에 복수화소의 데이터를 격납하는 방식에 있어서, 화소정보를 다른 화수위치에 고속전송을 행할 경우에 대하여 설명한다. 특징있는 하드구성으로 실현하고 있으므로 고속처리가 가능해진다. 제 19 도는 설명의 편의상 상기 제 4 도∼제 6 도에 나타낸 하드구성중 전송처리에 관계가 없는 부분은 생략하고 있다. 마이크로명령디코더(200)의 내부에는 1워드내 어드레스디코너(2002), 시프트량디코더(2003)를 내장한다. 명령제어레지스터(230)는 전송모드, 비트모드 등을 기억하고 있다.Next, a description will be given of a case where high-speed transfer of pixel information to different pixel positions in a method of storing data of a plurality of pixels in one word of a memory. It is realized by the characteristic hard structure, and high speed processing is attained. For convenience of description, FIG. 19 omits portions of the hard configuration shown in FIGS. 4 to 6 that are not related to the transfer process. The micro instruction decoder 200 includes an address decoder 2002 and a shift amount decoder 2003 within one word. The command control register 230 stores a transfer mode, a bit mode, and the like.

표시용 메모리(13)는 1워드가 16비트의 구성으로 순차어드레스가 부가되어 있다. 범용 레지스터(3208)중의 (T2H, T2L)에는 소스어드레스를, (DPH,DPL)에는 데스티네이션어드레스를 각각 기억한다. 즉, 16비트 구성의 레지스터 2워드를 접속한 것으로서 전송된 및 전송선(轉送先)의 어드레스를 관리한다. 각 어드레스정보의 하위 4비트는 메모리의 1워드내의 비트위치를, 그리고 상위의 비트는 표시용 메모리의 어드레스를 지정한다.In the display memory 13, addresses are sequentially added in a 16-bit structure. The source address is stored in (T2H, T2L) and the destination address is stored in (DPH, DPL) in the general-purpose register 3208, respectively. That is, the address of the transferred and transmission lines is managed as connecting two registers of a 16-bit structure. The lower four bits of each address information designate a bit position in one word of the memory, and the upper bits designate an address of the display memory.

시프트량디코더(2003)는 시프트정보를 디코드하여 배럴시프터(3301)에서의 시프트량을 제어하는 것으로서, 전송처리의 경우에는 데스티네이션어드레스와 소스어드레스의 하위 4비트의 차가 산술논리 연산기(ALU)(3110)에서 산출되고, 그 결과가 데스티네이션래치(DLA)(3111)를 통해 시프트량디코더(3002)에 공급된다.The shift amount decoder 2003 decodes the shift information to control the shift amount in the barrel shifter 3301. In the transfer process, the difference between the lower 4 bits of the destination address and the source address is an arithmetic logic operator (ALU) ( 3110, and the result is supplied to the shift amount decoder 3002 through a destination latch (DLA) 3111.

1워드내의 어드레스디코더는 명령제어레지스터(230)에 기억된 비트모드 및 전송모드에 대응하여, 메모리어드레스레지스터(3311)에 일시기억된 어드레스정보의 하위 4비트와 데스티네이션래치(3111)에 일시기억된 소스어드레스와 데스티네이션 어드레스의 하위 4비트의 차의 정보를 기초로 해서, 소정의 마스크정보를 생성하여 마스크데이터레지스터(3303)에 송출한다.The address decoder in one word is temporarily stored in the lower 4 bits of the address information stored in the memory address register 3311 and in the destination latch 3111, corresponding to the bit mode and transfer mode stored in the command control register 230. Based on the information of the difference of the lower four bits of the source address and the destination address, predetermined mask information is generated and sent to the mask data register 3303.

제 20a,b 도는 제 19 도의 실시예의 동작설명도이다. 명령제어레지스터(230)에 기억된 전송모드로 지정되는 2가지의 전송모드의 경우를 나타내고 있다. 제 20a 도는 한번에 1화소의 데이터만을 전송하는 1화소전송모드의 경우를 나타내고 있다. 최초에 소스어드레스 T2H, T2L가 선택되고, 표시용 메모리(13)로부터 소스화소가 포함되는 1워드의 데이터가 독출되고, 독출데이터버퍼(3310)를 통해 배럴시프터(3301)로 보내진다. 한편, 산술논리연산기(3110)에서는 소스어드레스와 데스티네이션어드레스의 하위 4비트가 감산되어 있고, 시프트량 디코더(2003)를 통해 배럴시프터(3301)에서 복수비트의 시프트조작이 행해진다. 다음에, 데스티네이션어드레스레지스터(3208)의 DPL,DPH가 선택되어, 데스티네이션화소위치를 포함하는 데이터의 워드가 독출되고, 독출데이터버퍼(3310)를 통해 논리연산기(3305)에 보내진다. 한편, 데스티네이션어드레스의 하위 4비트는 1워드내의 어드레스디코더(2002)에서 디코드되고, 데스티네이션화소위치를 지정하는 마스크정보가 출력된다. 논리연산기(3305)에서는 데스티네이션의 1워드데이터중 마스크정보로 지정되는 비트위치에 대하여만 배럴시프터(3301)의 출력에의 치환연산이 실시된다. 이 연산결과는 기입데이터버퍼(3306)를 통해 표시용 메모리의 데스티네이션어드레스에 격납된다. 이 1화소의 전송처리를 소스어드레스 및 데스티네이션어드레스를 순차 갱신하면서 반복함으로써, 메모리의 워드의 경계에 불구하고 대량의 데이터를 고속으로 전송할 수 있다.20A and 20B illustrate the operation of the embodiment of FIG. 19. FIG. The case of two transfer modes designated as transfer modes stored in the command control register 230 is shown. 20A shows a case of one pixel transfer mode in which only one pixel of data is transferred at a time. First, the source addresses T2H and T2L are selected, and one word of data including the source pixel is read out from the display memory 13 and sent to the barrel shifter 3301 through the read data buffer 3310. On the other hand, in the arithmetic logic operator 3110, the lower four bits of the source address and the destination address are subtracted, and a shift operation of a plurality of bits is performed by the barrel shifter 3301 through the shift amount decoder 2003. Next, the DPL and DPH of the destination address register 3208 are selected, and a word of data including the destination pixel position is read out and sent to the logical operator 3305 through the read data buffer 3310. On the other hand, the lower 4 bits of the destination address are decoded by the address decoder 2002 in one word, and mask information specifying the destination pixel position is output. In the logical operator 3305, the substitution operation is performed on the output of the barrel shifter 3301 only for the bit position designated by the mask information in the single word data of the destination. The result of this operation is stored in the destination address of the display memory via the write data buffer 3306. By repeating the transfer processing of one pixel while sequentially updating the source address and destination address, a large amount of data can be transferred at high speed regardless of the word boundary of the memory.

제 20b 도는 복수화소전송모드의 동작을 설명하는 것으로서, 이 경우에는 어드레스디코더(2002)에서는 레지스터(230)중의 전송모드비트의 지정에 따라서 복수의 비트위치에 "1"을 세트한다. 따라서, 수평으로 연속되는 복수비트를 전송할 경우에, 더욱 고속화할 수 있다.20B illustrates the operation of the plural pixel transfer mode. In this case, the address decoder 2002 sets " 1 " to a plurality of bit positions in accordance with the specification of the transfer mode bit in the register 230. FIG. Therefore, it is possible to further speed up when transmitting a plurality of horizontally continuous bits.

이와 같이, 본 실시예에 의하면 표시용 메모리의 1워드에 복수화소의 데이터가 격납될 경우에도 소스독출, 데스티네이션독출, 데스티네이션기입의 3회의 메모리액세스로 1 또는 복수의 임의의 화소위치에 대하여 화소데이터의 전송을 행할 수 있으며, 고속전송이 가능하다. 그리고, 레지스터(230)의 GBM에 의해 예를 들면 5종류의 다른 동작모드(제 8 도 참조)를 선택할 수 있다.As described above, according to the present embodiment, even when a plurality of pixels of data are stored in one word of the display memory, three or more memory accesses of source reading, destination reading and destination writing are performed for one or a plurality of arbitrary pixel positions. Pixel data can be transferred, and high-speed transfer is possible. By the GBM of the register 230, for example, five different operation modes (see FIG. 8) can be selected.

제 21 도는 4비트/1화소 모드의 경우의 1화소데이터의 전송을 도시하였다. 소스화소에 포함되는 1워드데이터를 독출하고, 그중 소스화소데이터만을 데스티네이션화소위치에 매입하는 처리가 필요하다.21 shows transmission of one pixel data in the case of 4 bit / 1 pixel mode. A process of reading one word data included in the source pixel and embedding only the source pixel data in the destination pixel position is necessary.

제 22 도는 그 전송처리의 흐름을 나타내고 있다. 먼저, 소스화소가 포함되는 표시용 메모리(13)의 1워드가 독출되고, 독출데이터버퍼(3310)에 일시기억된다. 한편, 소스화소를 지정하는 어드레스정보의 하위 4비트와 데스티네이션화소를 지정하는 어드레스의 하위 4비트가 감산된다. 이 값은 소스화소와 데스티네이션화소의 비트위치의 차를 나타내고 있다. 소스독출데이터가 배럴시프터(3301)로 시프트되고, 소스화소(Cs)는 데스티네이션화소의 위치에 맞추어진다. 이어서, 데스티네이션화소(Cd)가 포함되는 1워드가 독출되어 논리연산기(3305)에서 소스화소(Cs)와의 연산이 행해진다. 이때, 마스크정보로서는 데스티네이션화소위치에만 "1"이 발생되어 있으므로, 데스티네이션의 1화소만이 갱신되어 기입데이터가 얻어진다. 논리연산의 종류는 치환, 논리연산 등이 가능하다. 4비트/화소모드 이외의 경우에도 마스크정보의 형식이 다를 뿐이고, 전혀 같은 연산이 행해진다.22 shows the flow of the transfer process. First, one word of the display memory 13 including the source pixel is read out and temporarily stored in the read data buffer 3310. On the other hand, the lower four bits of the address information specifying the source pixel and the lower four bits of the address specifying the destination pixel are subtracted. This value represents the difference between the bit position of the source pixel and the destination pixel. The source read data is shifted to the barrel shifter 3301, and the source pixel C s is adjusted to the position of the destination pixel. Subsequently, one word including the destination pixel C d is read out, and a calculation with the source pixel C s is performed by the logic operator 3305. At this time, since "1" is generated only at the destination pixel position as the mask information, only one pixel of the destination is updated to obtain write data. Types of logical operations may be substituted, logical operations, and the like. Also in the case of the 4 bit / pixel mode, only the format of the mask information is different, and the same operation is performed at all.

전술한 바와 같이 본 실시예에 의하면, 1화소의 데이터가 복수의 비트로 표시될 경우에도, 소스독출, 데스티네이션 독출, 데스티네이션기입의 3회의 메모리 액세스로 임의의 화소위치에 대하여 화소데이터를 전송할 수 있다는 효과가 있다.As described above, according to the present embodiment, even when data of one pixel is displayed with a plurality of bits, the pixel data can be transferred to any pixel position by three memory accesses of source read, destination read, and destination write. There is an effect.

제 23 도는 화소데이터의 전송의 예로서 4각형 영역을 지정한 경우의 전송명령의 포인터이동방향(SD)을 나타내고 있으며, a∼h의 8가지를 나타내고 있다. 소스영역, 데스티네이션영역을 각각 독립으로 지정할 수 있다.FIG. 23 shows a pointer movement direction SD of a transfer command when a quadrangular region is designated as an example of pixel data transfer, and shows eight kinds of a to h. Source area and destination area can be specified independently.

다음에, 그 전송에 있어서의 화소위치의 산출이 용이한 연산제어에 대하여 설명한다.Next, arithmetic control in which the calculation of the pixel position in the transfer is easy will be described.

제 24 도는 제 2 도에 나타낸 구성에 의거하여 화소위치의 연산제어에 관련된 부분을 특히 나타내고 있다. 플랙레지스터(210)에는 부호디코더(2101) 및 부호레지스터(2102)를 내장하고 있다. 플랙레지스터(210)는 이외에도 연산결과의 상태에 따라서 반영되는 영역판정플랙이나 제로플랙, 네가플랙 등을 가지고 있으나, 여기서는 설명에 이용하지 않으므로 도시하지 않는다.FIG. 24 particularly shows a part related to the operation control of the pixel position based on the configuration shown in FIG. In the flag register 210, a code decoder 2101 and a code register 2102 are incorporated. The flag register 210 has an area determination flag, a zero flag, a negative flag, and the like, which are reflected depending on the state of the calculation result. However, the flag register 210 is not shown here because it is not used for the description.

코맨드레지스터(3207)에는 외부로부터 FIFO메모리(400)를 통해 전송되는 코맨드중의 코맨드코드가 일시 기억된다. 상기 코맨드 코드의 일부의 정보는 마이크로프로그램어드레스레지스터(110)에 전송되어 마이크로프로그램이 순차 독출되어 소정의 처리 알고리즘에 따라서 연산제어가 행해진다.In the command register 3207, command codes in commands transmitted from the outside through the FIFO memory 400 are temporarily stored. A part of the information of the command code is transmitted to the microprogram address register 110 so that the microprogram is sequentially read out and operation control is performed according to a predetermined processing algorithm.

연산제어장치(300)에서는 도형의 묘화어드레스를 산출하는 좌표연산이나, 도형데이터의 처리가 실행된다. 부호디코더(2101)는 코맨드코드의 일부정보 및 연산장치(30)내의 다른 구성요소로부터 부여되는 정보에 따라서, 본 발명에 관한 소정의 부호데이터를 생성한다.The arithmetic and control unit 300 executes coordinate calculation for calculating the drawing address of the figure and processing of the figure data. The code decoder 2101 generates predetermined code data according to the present invention in accordance with some information of the command code and information provided from other components in the computing device 30.

부호레지스터(2102)는 부호디코더(2101)로 생성된 부호데이터를 일시기억한다. 마이크로명령디코더(200)내에 배치된 모드 디코더(2009)는 코맨드의 처리모드필드를 디코드하여 연산처리를 제어한다.The code register 2102 temporarily stores the code data generated by the code decoder 2101. The mode decoder 2009 disposed in the microinstruction decoder 200 decodes the processing mode field of the command to control arithmetic processing.

제 25a∼e 도는 코피(전송)코맨드의 포맷(CDT)을 나타낸다. 1워드(16비트)의 코맨드코드와 그에 이어지는 4워드의 파라미터 1∼4로 이루어진다. 파라미터의 설정에 의해 전송시의 주사방향을 여러가지 선택할 수 있다.25a to e show the format (CDT) of the nosebleed (transfer) command. It consists of a command code of 1 word (16 bits) and the following parameters 1 to 4 of 4 words. By setting the parameters, various scanning directions can be selected during transmission.

제 26 도는 코피코맨드의 동작예의 개념도를 나타내고 있다. 파라미터 Xs,Ys는 소스(전송원)영역(13S)의 개시점좌표이다. 파라미터 DX, DY는 상기 영역의 방향과 크기를 정의한다. 즉, Xs,Ys를 기점으로 해서, DX〉0일 때는 제 25 도에서 우방향, DX〈0일 때는 좌방향, DY〉0일 때는 상방향, DY〈0일 때는 하방향으로 영역을 취하고, DX,DY의 절대치로 그 크기를 지정한다. 제 25a 도의 S비트는 우선주사순위를 나타내고, S=0일 때 수평방향 우선, S=1일 때 수직방향 우선이다.Fig. 26 shows a conceptual diagram of an operation example of the kopi command. The parameters X s and Y s are starting point coordinates of the source (transmission source) area 13S. The parameters DX, DY define the direction and size of the area. That is, starting from X s and Y s , the area is moved in the right direction in FIG. 25 when DX> 0, the left direction when DX <0, the upward direction when DY> 0, and the downward direction when DY <0. And specify the size in absolute values of DX and DY. The S bit in FIG. 25A indicates the priority scan priority, and the priority in the horizontal direction when S = 0 and the vertical direction when S = 1.

제 24 도의 실시예에서 외부로부터 전송되는 코맨드중의 제1워드는 코맨드 코드로서 인식되어 코맨드레지스터(3207)로 치수(値數)된다. 코맨드코드의 상위 4비트에 따라서 마이크로프로그램이 기동되어 코피처리의 제어가 개시된다.In the embodiment of Fig. 24, the first word among commands transmitted from the outside is recognized as a command code and is dimensioned to the command register 3207. The microprogram is started in accordance with the upper four bits of the command code to start the control of the nose copy processing.

코맨드코드중의 S비트와 DSD필드(제 25 도)는 부호디코더(2101)를 통해 부호레지스터(2102)에 보내진다. 코맨드코드중 하위의 처리 모드필드는 모드디코더(2009)에서 디코드된다.The S bit and the DSD field (Fig. 25) in the command code are sent to the code register 2102 via the code decoder 2101. The lower processing mode field of the command code is decoded by the mode decoder 2009.

파라미터 1∼4는 순차 연산제어장치(300) 내부의 레지스터(3102)에 보내진다. 형재의 묘화점좌표(X,Y)는 레지스터 CPX, CPY에 기억된다.The parameters 1 to 4 are sent to a register 3102 in the arithmetic operation control device 300 in sequence. The drawing point coordinates (X, Y) of the shape member are stored in the registers CPX, CPY.

제 27a 도는 본 발명에 관한 부호레지스터(2102)의 구성예를 나타낸 배치도이다. 이 부호레지스터는 다음의 10비트의 정보를 유지한다. 또한, 이 도면에서는 각 레지스터부에 기억되어 있는 정보를 코피코맨드의 경우를 예로 들어 각각 화살표로 나타내고 있다.27A is a layout diagram showing an example of the structure of a code register 2102 according to the present invention. This code register holds the next 10 bits of information. In addition, in this figure, the information stored in each register part is shown by the arrow, respectively, taking the case of the kopi command as an example.

(1) Q1(1) Q1

좌표레지스터 X,Y의 전환을 행하는 제 1 의 비트이다. 코피코맨드에서는 소스영역(13S)에 있어서의 주사의 X방향, Y방향의 우선순위를 결정하는데 사용된다. 그러므로, Q1로서는 코맨드코드의 S비트가 세트된다.It is a 1st bit which switches between coordinate registers X and Y. In the copi command, it is used to determine the priority in the X-direction and Y-direction of scanning in the source region 13S. Therefore, the S bit of the command code is set as Q1.

Q1=0일 때는 X레지스터, Y레지스터를 지정한대로 선택하고, Q1=1일 때는 X지정일 때 Y레지스터를 , Y지정일 때 X레지스터를 각각 선택한다.When Q1 = 0, the X and Y registers are selected as specified. When Q1 = 1, the Y register is selected when X is specified and the X register when Y is specified.

(2) Q2(2) Q2

좌표레지스터 X,Y의 전환을 행하는 제 2 의 비트이다. 코피코맨드에서는 데스티네이션영역(13D)에 있어서의 주사의 X방향, Y방향을 전환하는데 사용된다. 그러므로, Q2로서는 코맨드코드의 DSD필드(제 25 도)의 비트 2가 세트된다.The second bit for switching the coordinate registers X and Y. In the copi command, it is used to switch between the X and Y directions of scanning in the destination region 13D. Therefore, bit 2 of the DSD field (Fig. 25) of the command code is set as Q2.

Q2=0일 때는 X레지스터, Y레지스터를 지정한대로 선택하고, Q2=1에서는 X , Y지정을 반전하여 레지스터를 선택한다.When Q2 = 0, the X and Y registers are selected as specified, and when Q2 = 1, the registers are selected by reversing the X and Y specifications.

(3)S1x(3) S1x

제 1 의 X방향의 연산부호를 유지하는 2비트의 정보이다. 일반적으로, 상기 2비트중의 상위비트는 가산인가 감산인가의 선택을 행하기 위한 것이며, 또 하위비트는 그 가감산을 하는가(비트가 "1"일 때) 하지 않는가 (비트가 "0"일 때)의 선택을 하기 위한 것이다.Two bits of information are held for the operation code in the first X direction. In general, the upper bit of the two bits is for selecting whether to add or subtract, and the lower bit to add or subtract (when the bit is "1") or not (bit is "0"). Is to make a choice).

코피코맨드에서는 상위비트에는 파라미터 DX의 부호가 세트되고, 하위비트에서는 "1"이 세트된다. 즉, 상위비트는 소스영역(13S)의 X방향의 연산부호를 지정하는 정보로서 사용된다.In the Kopi command, the sign of the parameter DX is set in the upper bit, and "1" is set in the lower bit. In other words, the upper bits are used as information specifying an operation code in the X direction of the source region 13S.

(4) S1y(4) S1y

제 1 의 Y방향의 연산부호를 유지하는 2비트의 정보이며, 전술한 S1x와 마찬가지로 연산의 선택을 하기 위한 것이다.Two bits of information that hold the operation code in the first Y-direction, and are used for operation selection as in the above-described S1x.

코피코맨드에서는 파라미터 DY의 부호(상위비트)와 "1"(하위비트)이 각각 세트되고, 소스영역(13S)의 Y방향의 연산부호를 지정한다.In the kopi command, the sign (high bit) and "1" (low bit) of the parameter DY are set, respectively, and the operation code in the Y direction of the source area 13S is designated.

(5) S2x(5) S2x

제 2 의 X방향의 연산부호를 유지하는 2비트의 정보이며, 코피코맨드에서는 데스티네이션영역(D)의 X방향의 연산부호를 지정한다. 코맨드의 DSD필드의 비트 1이 상위에, "1"이 하위에 세트된다.Two bits of information that hold the second operation code in the X direction, and the operation code in the X direction of the destination area D is designated in the Copi command. Bit 1 of the DSD field of the command is set higher and "1" is lower.

(6) S2y(6) S2y

제 2 의 Y방향의 연산부호를 유지하는 2비트의 정보이며, 코피코맨드에서는 데스티네이션영역(D)의 Y방향의 연산부호를 지정한다. 코맨드의 DSD필드의 비트 1이 상위에, "1"이 하위에 세트된다.Two bits of information that hold the operation code in the second Y direction, and the operation code in the Y direction of the destination area D is designated in the Copi command. Bit 1 of the DSD field of the command is set higher and "1" is lower.

이상을 요약하면, S1x, S1y, S2x, S2y의 하위 비트에는 모두 "1"을 세트하지만, 다른 처리를 행하는 코맨드에서는 이 비트를 제어하여 변화시키는 수도 있다.Summarizing the above, all of the lower bits of S1x, S1y, S2x, and S2y are set to "1". However, the command for performing other processing may control and change this bit.

제 28 도에 코피코맨드의 처리플로를 나타낸다. 각 레지스터를 지정하는 표현의 내용은 다음과 같다.28 shows a processing flow of the kopi command. The contents of the expression specifying each register are as follows.

(1) Xs(Q1)(1) X s (Q1)

Q1=0일 때 Xs레지스터를, Q1=1일 때 Ys레지스터를 지정한다. 즉, 소스영역(13S)의 제 1 또는 우선주사방향의 좌표치이다.Specify the X s register when Q1 = 0 and the Y s register when Q1 = 1. That is, it is the coordinate value of the 1st or preferential scanning direction of the source area 13S.

(2) Ys(Q1)(2) Y s (Q1)

Q1=0일 때 Ys레지스터를, Q1=1일 때 Xs레지스터를 지정한다. 즉, 소스영역(13S)의 제 2 주사방향의 좌표치이다.Specify the Y s register when Q1 = 0 and the X s register when Q1 = 1. That is, it is the coordinate value of the 2nd scanning direction of the source area 13S.

(3) X(Q2)(3) X (Q2)

Q2=0일 때 X 레지스터를, Q2=1일 때 Y 레지스터를 지정한다. 즉, 데스티네이션영역(13D)의 제 1 또는 우선주사방향의 좌표치이다.Specify the X register when Q2 = 0 and the Y register when Q2 = 1. That is, it is the coordinate value of the 1st or preferential scanning direction of the destination area | region 13D.

(4) Y(Q2)(4) Y (Q2)

Q2=0일 때 Y 레지스터를, Q2=1일 때 X 레지스터를 지정한다. 즉, 소스영역(13D)의 제 2 주사방향의 좌표치이다.Specify the Y register when Q2 = 0 and the X register when Q2 = 1. That is, it is the coordinate value of the 2nd scanning direction of the source area | region 13D.

(5) S1x(Q1)(5) S1x (Q1)

Q1=0에서 S1x를, Q1=1에서 S1y를 선택한다. 즉, 소스영역(13S)의 제 1(우선)주사방향의 부호이다.Select S1x at Q1 = 0 and S1y at Q1 = 1. That is, it is the code | symbol of the 1st (priority) scanning direction of the source area 13S.

(6) S1x(Q1)(6) S1x (Q1)

Q1=0에서 S1y를, Q1=1에서 S1x를 선택한다. 즉, 소스영역(13S)의 제 2 주사방향의 부호이다.Select S1y at Q1 = 0 and S1x at Q1 = 1. That is, it is the code | symbol of the 2nd scanning direction of the source area | region 13S.

(7) S2x(Q2)(7) S2x (Q2)

Q2=0에서 S2x를, Q2=1에서 S2y를 선택한다. 즉, 데스티네이션영역(13D)의 제 1(우선)주사방향의 부호이다.Select S2x at Q2 = 0 and S2y at Q2 = 1. That is, it is the code | symbol of the 1st (priority) scanning direction of the destination area | region 13D.

(8) S2y(Q2)(8) S2y (Q2)

Q2=0에서 S2y를, Q2=1에서 S2x를 선택한다. 즉, 데스티네이션영역(13D)의 제 2 주사방향의 부호이다.Select S2y at Q2 = 0 and S2x at Q2 = 1. That is, it is the sign of the 2nd scanning direction of the destination area | region 13D.

제 28 도에서 코피코맨도에서는 먼저 코맨드코드에 계속되는 파라미터 1∼4, 즉 Xs, Ys, DX, DY를 순차 입력하고, 연산제어장치(300) 내부의 레지스터에 기억한다.(스텝 S1).In Fig. 28, in the first command code, parameters 1 to 4 following the command code, that is, X s , Y s , DX, and DY are sequentially input and stored in a register inside the operation control device 300. (Step S1) .

이어서, 제 1(우선)주사방향 1라인분의 처리에 들어간다. 이를 위하여, Xs(Q1)및 X(Q2), 즉 소스영역(13S) 및 데스티네이션영역(13D)의 제 1(우선) 주사방향의 개시좌표치를 다른 레지스터에 퇴피(일시기억)한다(스텝 S2).Subsequently, processing for one line in the first (priority) scanning direction is started. To this end, the starting coordinate values in the first (first) scanning direction of X s (Q1) and X (Q2), that is, source region 13S and destination region 13D, are saved (temporarily stored) in another register (step). S2).

다음에, (XS, YS)로 지정되는 좌표점의 화소정보를(X, Y)로 지정되는 좌표점에 전송 처리한다(스텝 S3). 이와같은 1화소의 전송처리에 대하여는 전술한 바와 같다.Next, the pixel information of the coordinate point designated by (X S , Y S ) is transferred to the coordinate point designated by (X, Y) (step S3). Such transfer processing of one pixel is as described above.

다음에 소스영역(13S) 및 데스티네이션영역(13D)의 제 1 주사방향의 좌표치 XS(1) 및 X(Q2)에 부호치 S1x(Q1), S2x(Q2)를 가산한다. 즉, 상기 각 영역의 지정좌표점을 각각 제1주사방향으로 1화소분 이동한다(스텝 S4).Next, the code values S1x (Q1) and S2x (Q2) are added to the coordinate values X S (1) and X (Q2) in the first scanning direction of the source region 13S and the destination region 13D. That is, the designated coordinate points of the respective areas are moved by one pixel in the first scanning direction, respectively (step S4).

상기 스텝 S3 및 S4의 처리를 상기 지정좌표점이 1라인의 종료점에 도달할때까지 반복한다(스텝 S5).The processing of steps S3 and S4 is repeated until the designated coordinate point reaches the end point of one line (step S5).

1라인의 처리를 종료하고, 스텝 S5에서의 판정이 성립하게 되면 Xs,(Q1),X(Q2)를 복귀하고(스텝 S6), 제 2 주사방향 좌표치 Ys(Q1),Ys(Q2)에 각각 부호치 S1y(Q1), S2y(Q2)를 가산하고, 제 2 라인의 개시점좌표를 세트한다(스텝 S7).When the processing of one line is finished and the determination at step S5 is satisfied, X s , (Q1), and X (Q2) are returned (step S6), and the second scanning direction coordinate values Y s (Q1), Y s ( The code values S1y (Q1) and S2y (Q2) are added to Q2), respectively, and the starting point coordinates of the second line are set (step S7).

전술한 스텝 S2∼S7의 처리를 제 2 주사방향의 전체라인처리가 종료할 때까지 스텝 S8의 판정이 성립될 때까지 반복함으로써, 소스영역(13S)의 전체데이터의 전송을 실행할 수 있다.By repeating the above-described processes of steps S2 to S7 until the determination of step S8 is satisfied until the entire line processing in the second scanning direction is completed, the transfer of all data in the source area 13S can be executed.

전술한 바와 같이, 본 실시예에서는 영역데이터 전송시의 여러가지의 포인터 주사모드를 제 28 도에 나타낸 단일의 처리플로로 실현할 수 있으므로, 제어정보(예를 들면 마이크로프로그램)를 대폭으로 감소 또는 간략화할 수 있다.As described above, in the present embodiment, various pointer scanning modes at the time of area data transfer can be realized in a single processing flow shown in FIG. 28, so that the control information (e.g., microprogram) can be greatly reduced or simplified. Can be.

또한, 다른 코맨드, 패턴코맨드의 경우에도 마찬가지로 응용할 수 있다.Further, other commands and pattern commands can be applied similarly.

제 27b,c 도는 패턴코맨드의 형식을 나타낸다. 도면에서 명백한 바와 같이, 이 코맨드는 1워드16비트의 코맨드코드와 1워드의 파라미터로서 구성된다.27b and c show the format of pattern commands. As apparent from the figure, this command is configured as a command code of one word and 16 bits and a parameter of one word.

패턴코맨드는 도형처리장치 내부의 패턴메모리에 기억된 패턴정보를 표시용 메모리상에 전개하는 코맨드이다. 코맨드의 동작모드를 선택함으로써 포인터에 여러가지 주사를 행하게 할 수 있다.The pattern command is a command that expands the pattern information stored in the pattern memory inside the figure processing apparatus onto the display memory. By selecting the command operation mode, the pointer can be subjected to various scans.

Claims (24)

1화소데이터가 복수비트로 이루어지고, 복수의 상기 화소데이터를 액세스단위로 하는 표시용 메모리(13)를 액세스하는 도형처리장치에 있어서, 상기 표시용 메모리의 워드의 메모리어드레스와 이 메모리어드레스에 의해 지정된 1워드내의 화소위치를 정의하는 화소어드레스를 포함하는 묘화점의 위치정보를 연산하는 물리어드레스연산부(320)와, 묘화명령에 따라서, 상기 화소어드레스에 의해 지정된 화소데이터를 갱신하는 컬러데이터연산부(330)를 가지는 것을 특징으로 하는 도형처리장치.A graphic processing apparatus for accessing a display memory 13 having a plurality of bits of one pixel data and having a plurality of the pixel data as an access unit, comprising: a memory address of a word of the display memory and the memory address designated by the memory address; A physical address operation unit 320 for calculating position information of a drawing point including a pixel address defining a pixel position within one word, and a color data operation unit 330 for updating pixel data designated by the pixel address in accordance with a drawing command. Shape processing apparatus characterized in that it has a. 1화소데이터가 복수비트로 이루어지고, 복수의 상기 화소데이터를 액세스단위로 하는 표시용 메모리(13)를 액세스하는 도형처리장치에 있어서, 상기 표시용 메모리의 워드의 메모리어드레스와 이 메모리어드레스에 의해 지정된 워드내의 화소위치를 정의하는 화소어드레스를 포함하는 묘화점의 위치정보를 연산하는 물리어드레스연산부(320)와, 묘화명령에 따라서, 상기 화소어드레스에 의해 지정된 화소데이터를 갱신하는 컬러데이터연산부(330)와, 부여된 묘화명령을 디코드하여 묘화기능을 제어하는 제어장치(20와,최소한 상기 제어장치에 부여된 묘화명령을 공급하는 명령제어레지스터(230)와, 상기 그래픽패턴데이터를 기억하는 패턴메모리(220)와, 상기 패턴메모리에 기억된 상기 그래픽패턴데이터의 화상을 출력하는 정보출력수단(40,50)을 가지는 것을 특징으로 하는 도형처리장치.A graphic processing apparatus for accessing a display memory 13 having a plurality of bits of one pixel data and having a plurality of the pixel data as an access unit, comprising: a memory address of a word of the display memory and the memory address designated by the memory address; A physical address operation unit 320 for calculating position information of a drawing point including a pixel address defining a pixel position in a word, and a color data operation unit 330 for updating pixel data designated by the pixel address in accordance with a drawing command. And a control device 20 for decoding the given drawing command to control the drawing function, a command control register 230 for supplying a drawing command given to the control device at least, and a pattern memory for storing the graphic pattern data ( 220 and information output means 40, 50 for outputting an image of the graphic pattern data stored in the pattern memory. Figure processing apparatus, characterized in that. 그래픽패턴데이터의 화상을 출력하는 정보출력수단(40,50)과, 1화소데이터가 복수비트로 이루어지고, 복수의 상기 화소데이터를 액세스단위로 하는 표시용 메모리(13)와, 상기 화소데이터를 상기 표시용 메모리의 어드레스에 기입하는 연산장치(30)와, 상기 어드레스로 표시되는 복수의 화소데이터의 각각의 화소데이터를 지정하는 제어장치(20)를 포함하는 도형처리장치(20,30)를 가지는 것을 특징으로 하는 도형처리장치.Information output means (40,50) for outputting an image of graphic pattern data; a display memory (13) comprising a plurality of bits of one pixel data; And a graphics processing unit (20, 30) including an arithmetic unit (30) for writing to an address of a display memory and a control unit (20) for designating respective pixel data of a plurality of pixel data indicated by the address. Figure processing apparatus, characterized in that. 제 3 항에 있어서, 상기 표시용 메모리(13)의 어드레스내에 기입될 화소데이터를 갱신하는 연산장치(30)를 가지는 것을 특징으로 하는 도형처리장치.4. The figure processing apparatus according to claim 3, further comprising an operation unit (30) for updating pixel data to be written in an address of said display memory (13). 제 3 항에 있어서, 제어장치(20)는 표시용 메모리(13)에 기억된 복수의 화소를 포함하는 각 워드의 내용에 관한 정보를 지정하는 것을 특징으로 하는 도형처리장치.4. The graphics processing device according to claim 3, wherein the control device (20) designates information about the content of each word including a plurality of pixels stored in the display memory (13). 그래픽패턴데이터의 화상을 출력하는 정보출력수단(40,50)과, 1화소데이터가 복수비트로 이루어지고, 복수의 상기 화소데이터를 액세스단위로 하는 표시용 메모리(13)와, 표시용 메모리내의 메모리어드레스에 의해 지정된 복수의 화소데이터중의 소정의 화소데이터를 화소어드레스에 의해 지정하고, 지정된 화소데이터를 상기 표시용 메모리에 기입하는 연상장치(30)와, 상기 하나의 화소데이터를 구성하는 비트수를 변경하는 제어장치(20)를 가지는 것을 특징으로 하는 도형처리장치.Information output means (40,50) for outputting an image of graphic pattern data, a display memory (13) comprising a plurality of bits of one pixel data, and the plurality of pixel data as an access unit, and a memory in the display memory An associating device 30 which designates predetermined pixel data among the plurality of pixel data designated by the address by the pixel address, and writes the designated pixel data into the display memory, and the number of bits constituting the one pixel data. Shape processing apparatus characterized in that it has a control device for changing the (20). 그래픽패턴데이터의 화상을 출력하는 정보출력수단(40,50)과, 1화소데이터가 복수비트로 이루어지고, 복수의 상기 화소데이터를 액세스단위로 하는 표시용 메모리(13)와, 각각의 화소가 최소한 1비트를 가지는 최소한 1화소의 데이터를 상기 표시용 메모리의 워드어드레스에 기입하는 연산장치(30)와, 기입될 화소데이터의 변수를 상기 표시용 메모리의 워드어드레스내에 지정하는 제어장치(20)를 가지는 것을 특징으로 하는 도형처리장치.Information output means (40,50) for outputting an image of graphic pattern data, a display memory (13) consisting of a plurality of bits of one pixel data, the plurality of pixel data being an access unit, and each pixel at least An arithmetic unit 30 for writing at least one pixel of data having one bit into a word address of the display memory, and a controller 20 for designating a variable of pixel data to be written in a word address of the display memory. Figure processing apparatus characterized in that it has. 그래픽패턴데이터의 화상을 출력하는 정보출력수단(40,50)과, 1화소데이터가 복수비트로 이루어지고, 복수의 상기 화소데이터를 액세스단위로 하는 표시용 메모리(13)와, 각각의 화소가 선택될 수 있는 워드내의 비트를 가변으로 하는 복수 화소의 데이터를 상기 표시용 메모리의 어드레스에 기입하는 도형처리장치(20,30)를 가지는 것을 특징으로 하는 도형처리장치.Information output means (40,50) for outputting an image of graphic pattern data, a display memory (13) having a plurality of bits of one pixel data, and the plurality of pixel data as access units, and each pixel being selected And a graphics processing apparatus (20, 30) for writing data of a plurality of pixels whose variable bits in a word can be written into an address of the display memory. 그래픽패턴데이터의 화상을 출력하는 스텝과, 화소가 그래픽패턴데이터의 화상의 출력에 공급되는 어드레스내의 그래픽패턴데이터의 2차원공간에서 유일한 점의 화상소자인 최소한 1화소를 기억하는 스텝과, 어드레스에 기억된 최소한 1화소내의 데이터의 비트수를 지정하는 스텝과, 지정된 수의 최소한 1화소내에서의 비트수를 가지고 워드내에 최소한 1화소의 데이터를 기입하는 스텝으로 이루어지는 것을 특징으로 하는 도형처리장치의 조작방법.Outputting an image of the graphic pattern data; storing at least one pixel as an image element of a unique point in a two-dimensional space of the graphic pattern data in an address supplied by the pixel to the output of the image of the graphic pattern data; And a step of designating the number of bits of data stored in at least one pixel and the step of writing at least one pixel of data in a word with the number of bits in the specified number of at least one pixel. How to operate. 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드당 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하도록 선택가능한 도형처리장치(20,30)로서, 상기 표시용 메모리내의 워드의 메모리어드레스와 이 메모리어드레스에 의해 지정된 1워드내의 화소의 위치를 정의하는 화소어드레스를 포함하는 묘화점정보를 기억하고, 묘화명령에 따라서 화소어드레스에 의해 지정된 1워드내의 특정의 화소를 갱신하는 것을 특징으로 하는 도형처리장치.Generates graphic data, which is stored as a plurality of pixel data per word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory storing the pixel data. A graphics processing apparatus (20,30) selectable to store information, comprising: drawing point information including a memory address of a word in the display memory and a pixel address defining a position of a pixel in one word designated by the memory address, And a specific pixel in one word specified by the pixel address in accordance with a drawing command. 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드당 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하는데 선택가능하고, 상기 표시용 메모리내의 워드의 메모리어드레스와 이 메모리어드레스에 의해 지정된 1워드내의 화소의 위치를 정의하는 화소어드레스를 포함하는 묘화점정보를 기억하고, 묘화명령에 따라서 화소어드레스에 의해 지정된 1워드내의 특정의 화소를 갱신하는 것을 특징으로 하는 도형처리장치.Generates graphic data, which is stored as a plurality of pixel data per word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory storing the pixel data. Selectable, and store drawing point information including a memory address of a word in the display memory and a pixel address defining a position of a pixel in one word designated by the memory address, and storing the drawing point information by the pixel address in accordance with a drawing command. And updating a specific pixel within a designated word. 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드당 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하도록 선택가능하고, 상기 표시용 메모리내의 워드의 메모리어드레스와 이 메모리어드레스에 의해 지정된 1워드내의 화소의 위치를 정의하는 화소어드레스를 포함하는 묘화점정보를 기억하고, 묘화명령에 따라서 화소어드레스에 의해 지정된 1워드내의 특정의 화소를 갱신하는 연신장치(30)와, 부여된 묘화명령을 디코드하여 묘화기능을 제어하는 제어장치(20)와, 상기 제어수단에 최소한 하나의 묘화명령을 부여하는 외부계산기(60)와, 상기 표시용 메모리에 기억된 상기 그래픽패턴의 화상을 출력하는 표시변환장치(40)를 가지는 것을 특징으로 하는 도형처리장치.Generates graphic data, which is stored as a plurality of pixel data per word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory storing the pixel data. Selectable to store drawing point information including a memory address of a word in the display memory and a pixel address defining a position of a pixel in one word designated by the memory address, and storing the drawing point information by the pixel address in accordance with a drawing instruction. A stretching device 30 for updating a specific pixel within a designated word, a control device 20 for decoding a given drawing command to control a drawing function, and an external calculator for giving at least one drawing command to the control means. And a display conversion device 40 for outputting an image of the graphic pattern stored in the display memory. Geometry processing apparatus as. 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드당 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하도록 선택가능한 도형처리장치에 있어서, 상기 표시용 메모리내의 워드의 메모리어드레스와 이 메모리어드레스에 의해 지정된 1워드내의 화소의 위치를 정의하는 화소어드레스를 포함하는 묘화점정보를 기억하고, 묘화명령에 따라서 화소어드레스에 의해 지정된 1워드내의 특정의 화소를 갱신하고, 부여된 묘화명령을 디코드하여 묘화기능을 제어하고, 최소한 하나의 묘화명령을 부여하고, 상기 표시용 메모리에 기억된 상기 그래픽패턴의 화상을 출력하는 것을 특징으로 하는 도형처리장치.Generates graphic data, which is stored as a plurality of pixel data per word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory storing the pixel data. A graphics processing apparatus selectable to store information, comprising: drawing point information including a memory address of a word in the display memory and a pixel address defining a position of a pixel in one word designated by the memory address, and storing the drawing point information in accordance with a drawing instruction. Update a specific pixel in one word designated by the pixel address, decode the given drawing command to control the drawing function, give at least one drawing command, and display the image of the graphic pattern stored in the display memory. Figure processing apparatus characterized in that the output. 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드당 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하도록 선택가능하고, 각각의 화소가 최소한 1비트를 가지는 복수 화소의 데이터를 상기 표시용 메모리의 어드레스에 기입하고, 상기 표시용 메모리의 어드레스위치에 기입될 데이터의 각 워드의 화소의 위치를 지정하는 것을 특징으로 하는 도형처리장치.Generates graphic data, which is stored as a plurality of pixel data per word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory storing the pixel data. Selectable to write data of a plurality of pixels, each pixel having at least one bit, to an address of the display memory, and to specify a position of a pixel of each word of data to be written to an address position of the display memory. Figure processing apparatus, characterized in that. 제 14 항에 있어서, 상기 표시용 메모리(13)의 어드레스내에 기입될 화소데이터를 갱신하는 연산장치(30)를 가지는 것을 특징으로 하는 도형처리장치.15. The graphic processing apparatus according to claim 14, further comprising an arithmetic unit (30) for updating pixel data to be written in an address of said display memory (13). 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드당 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하도록 선택가능하고, 각각의 화소가 최소한 1비트를 가지는 복수 화소의 데이터를 상기 표시용 메모리의 어드레스에 기입하고, 상기 표시용 메모리의 어드레스위치에 기입될 데이터의 각 워드의 화소수를 지정하는 것을 특징으로 하는 도형처리장치.Generates graphic data, which is stored as a plurality of pixel data per word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory storing the pixel data. Select the pixel number of each word of data to be written at an address of the display memory and writing data of a plurality of pixels each pixel having at least one bit to the address of the display memory. Figure processing device characterized in that. 제 16 항에 있어서, 상기 표시용(13)의 어드레스위치에 기입될 화소데이터를 갱신하는 것을 특징으로 하는 도형처리장치.17. The graphic processing apparatus according to claim 16, wherein the pixel data to be written at the address position of the display (13) is updated. 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드당 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하도록 선택가능한 도형처리장치에 있어서, 표시용 메모리내의 메모리어드레스에 의해 지정된 화소가 최소한 1비트를 가지는 최소한의 1화소의 워드 위치와, 표시용 메모리내의 워드위치의 화소어드레스에 의해 지정된 최소한 1화소위치내에 최소한의 데이터를 기입하고, 워드위치내에 기입될 화소데이터의 수와 워드위치내의 화소어드레스를 지정하는 것을 특징으로 하는 도형처리장치.Generates graphic data, which is stored as a plurality of pixel data per word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory storing the pixel data. A graphics processing apparatus selectable so that a pixel position specified by a memory address in a display memory has at least one pixel, and at least one pixel position designated by a pixel address of a word position in a display memory. And a minimum number of pixel data in the word position, and specifying the number of pixel data to be written in the word position and the pixel address in the word position. 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드당 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하도록 선택가능하고, 표시용 메모리내의 메모리어드레스에 의해 지정된 화소가 최소한 1비트를 가지는 최소한의 1화소의 워드 위치와, 표시용 메모리내의 워드위치의 화소어드레스에 의해 지정된 최소한 1화소위치내에 최소한의 데이터를 기입하고, 워드위치내에 기입될 화소데이터의 수와 워드위치내의 화소어드레스를 지정하는 것을 특징으로 하는 도형처리장치.Generates graphic data, which is stored as a plurality of pixel data per word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory storing the pixel data. At least one pixel word position in which the pixel specified by the memory address in the display memory has at least one bit and at least one pixel position specified by the pixel address of the word position in the display memory. And specify the number of pixel data to be written in the word position and the pixel address in the word position. 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드마다 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하도록 선택가능하고, 표시용 메모리내의 메모리어드레스에 의해 지정된 화소가 최소한 1비트를 가지는 최소한의 1화소의 워드 위치와, 표시용 메모리내의 워드위치의 화소어드레스에 의해 지정된 최소한 1화소위치내에 최소한의 데이터를 기입하는 연산장치(30)와, 워드위치내에 기입될 화소데이터의 수와 워드위치내의 화소어드레스를 지정하는 제어장치(20)를 가지는 것을 특징으로 하는 도형처리장치.Graphic data is generated, and this graphic data is stored as a plurality of pixel data for each word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory for storing the pixel data. At least one pixel word position in which the pixel specified by the memory address in the display memory has at least one bit and at least one pixel position specified by the pixel address of the word position in the display memory. And a control device (20) for specifying the number of pixel data to be written in the word position and the pixel address in the word position. 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드당 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하도록 선택가능한 도형처리장치에 있어서, 화소의 변수가 선택될 워드내에 포함되는 복수 화소의 데이터를 상기 표시용 메모리의 어드레스위치에 기입하는 것을 특징으로 하는 도형처리장치.Generates graphic data, which is stored as a plurality of pixel data per word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory storing the pixel data. A graphics processing apparatus which can be selected so as to write data of a plurality of pixels included in a word in which a variable of a pixel is to be selected at an address position of the display memory. 그래픽데이터를 발생하고, 이 그래픽데이터는 표시용 메모리(13)내의 1워드마다 복수의 화소데이터로서 기억되고, 화소데이터의 각 워드내의 화소의 수는 상기 화소데이터를 기억하는 상기 표시용 메모리를 액세스하도록 선택가능하고, 화소의 변수가 선택될 워드내에 포함되는 복수 화소의 데이터를 상기 표시용 메모리의 어드레스위치에 기입하는 것을 특징으로 하는 도형처리장치.Graphic data is generated, and this graphic data is stored as a plurality of pixel data for each word in the display memory 13, and the number of pixels in each word of the pixel data accesses the display memory for storing the pixel data. And write data of a plurality of pixels included in a word in which a variable of the pixel is to be selected at an address position of the display memory. 1화소데이터가 복수비트로 이루어지고, 복수의 상기 화소데이터를 액세스단위로 하는 표시용 메모리(13)를 액세스하는 도형처리장치에 있어서, 상기 표시용 메모리내의 워드의 메모리어드레스와, 이 메모리어드레스에 의해 지정된 1워드내의 화소위치를 정의하는 화소어드레스를 포함하는 묘화점정보를 기억하는 물리어드레스연산부(320)와, 묘화명령에 따라서, 화소어드레스에 의해 지정된 1워드내의 특정의 화소를 갱신하는 컬러데어터연산부(330)를 가지는 것을 특징으로 하는 도형처리장치.A graphic processing apparatus for accessing a display memory 13 having a plurality of bits of one pixel data and having a plurality of pixel data as an access unit, comprising: a memory address of a word in the display memory and the memory address; A physical address operation unit 320 for storing drawing point information including a pixel address defining a pixel position within a specified word, and a color data calculating unit for updating a specific pixel in one word specified by the pixel address in accordance with a drawing command. Figure 330 is characterized in that it has a. 1화소데이터가 복수비트로 이루어지고, 복수의 상기 화소데이터를 액세스단위로 하는 표시용 메모리(13)를 액세스하는 도형처리장치에 있어서, 상기 표시용 메모리내의 워드의 메모리어드레스와, 이 메모리어드레스에 의해 지정된 1워드내의 화소위치를 정의하는 화소어드레스를 포함하는 묘화점정보를 생성하는 물리어드레스연산부(320)와, 묘화명령에 따라서, 화소어드레스에 의해 지정된 1워드내의 특정의 화소를 갱신하는 컬러데어터연산부(330)와, 부여된 묘화명령을 디코드하여 묘화기능을 제어하는 제어장치(20)와, 상기제어장치에 최소한 하나의 묘화명령을 공급하는 명령메모리(230,400)와, 그래픽패턴데이터를 기억하는 패턴메모리(220)와, 상기 패턴메모리에 기억된 그래픽패턴의 화상을 출력하는 정보출력수단(40,50),(3400)을 가지는 것을 특징으로 하는 도형처리장치.A graphic processing apparatus for accessing a display memory 13 having a plurality of bits of one pixel data and having a plurality of pixel data as an access unit, comprising: a memory address of a word in the display memory and the memory address; A physical address operation unit 320 for generating drawing point information including a pixel address defining a pixel position within a specified one word, and a color data calculating unit for updating a specific pixel in one word specified by the pixel address in accordance with a drawing command. 330, a control device 20 for decoding the given drawing command to control the drawing function, command memory 230 and 400 for supplying at least one drawing command to the control device, and a pattern for storing graphic pattern data. Memory 220 and information output means (40, 50), (3400) for outputting an image of a graphic pattern stored in the pattern memory. Shape processing apparatus.
KR1019930019695A 1983-12-26 1993-09-25 Graphic display processing system with control method KR940010225B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930019695A KR940010225B1 (en) 1983-12-26 1993-09-25 Graphic display processing system with control method

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
JP83-246,986 1983-12-26
JP58246986A JPH06100911B2 (en) 1983-12-26 1983-12-26 Image data processing apparatus and method
JP84-27,155 1984-02-17
JP59027155A JPS60172085A (en) 1984-02-17 1984-02-17 Graphic processor
JP84-120,679 1984-06-14
JP59120679A JPS61875A (en) 1984-06-14 1984-06-14 Method and device for graphic processing
KR1019840008375A KR970007247B1 (en) 1983-12-26 1984-12-26 Graphic pattern processing apparatus and method
KR1019930019695A KR940010225B1 (en) 1983-12-26 1993-09-25 Graphic display processing system with control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1019840008375A Division KR970007247B1 (en) 1983-12-26 1984-12-26 Graphic pattern processing apparatus and method

Publications (1)

Publication Number Publication Date
KR940010225B1 true KR940010225B1 (en) 1994-10-22

Family

ID=27458633

Family Applications (4)

Application Number Title Priority Date Filing Date
KR1019930019697A KR950007532B1 (en) 1983-12-26 1993-09-25 Grapic pattern processing apparatus
KR1019930019695A KR940010225B1 (en) 1983-12-26 1993-09-25 Graphic display processing system with control method
KR1019930019698A KR940010224B1 (en) 1983-12-26 1993-09-25 Graphic display processing system
KR1019930019696A KR950007531B1 (en) 1983-12-26 1993-09-25 Graphic pattern processing apparatus

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1019930019697A KR950007532B1 (en) 1983-12-26 1993-09-25 Grapic pattern processing apparatus

Family Applications After (2)

Application Number Title Priority Date Filing Date
KR1019930019698A KR940010224B1 (en) 1983-12-26 1993-09-25 Graphic display processing system
KR1019930019696A KR950007531B1 (en) 1983-12-26 1993-09-25 Graphic pattern processing apparatus

Country Status (1)

Country Link
KR (4) KR950007532B1 (en)

Also Published As

Publication number Publication date
KR950007531B1 (en) 1995-07-11
KR950007532B1 (en) 1995-07-11
KR940010224B1 (en) 1994-10-22

Similar Documents

Publication Publication Date Title
KR950013229B1 (en) Display graphic device
EP0356103B1 (en) Scan-conversion process and processor
US5771047A (en) Graphics computer
US5321805A (en) Raster graphics engine for producing graphics on a display
GB2226481A (en) Method and apparatus for decomposing a quadrilateral figure for display and manipulation by a computer system
JPH06100911B2 (en) Image data processing apparatus and method
KR940010225B1 (en) Graphic display processing system with control method
US6677950B1 (en) Graphics computer
JP2656754B2 (en) Image data processing apparatus and system using the same
EP0160306B1 (en) Graphic processing apparatus
JP2656753B2 (en) Image data processing apparatus and system using the same
KR940006806B1 (en) Graphic processing apparatus
JPH07325927A (en) Image data processor and system using same
JPH06187405A (en) Picture data processor and system using this processor
JPH1145083A (en) Image data processing device and system using the same
JPH09230850A (en) Image data processor and system using it
JPS6169095A (en) Graphic processing method and apparatus
JPH06187406A (en) Picture data processing system
JPS6169096A (en) Graphic processor
JPS61875A (en) Method and device for graphic processing
JP2675282C (en)
JPS6169094A (en) Graphic processing method and apparatus

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20041011

Year of fee payment: 11

EXPY Expiration of term