KR940001844Y1 - Apparatus for rotating color picture - Google Patents

Apparatus for rotating color picture Download PDF

Info

Publication number
KR940001844Y1
KR940001844Y1 KR2019910013119U KR910013119U KR940001844Y1 KR 940001844 Y1 KR940001844 Y1 KR 940001844Y1 KR 2019910013119 U KR2019910013119 U KR 2019910013119U KR 910013119 U KR910013119 U KR 910013119U KR 940001844 Y1 KR940001844 Y1 KR 940001844Y1
Authority
KR
South Korea
Prior art keywords
data
buffer
bit
character
image
Prior art date
Application number
KR2019910013119U
Other languages
Korean (ko)
Other versions
KR930005382U (en
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
Application filed by 주식회사 삼보컴퓨터, 김종길 filed Critical 주식회사 삼보컴퓨터
Priority to KR2019910013119U priority Critical patent/KR940001844Y1/en
Publication of KR930005382U publication Critical patent/KR930005382U/en
Application granted granted Critical
Publication of KR940001844Y1 publication Critical patent/KR940001844Y1/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/222Control of the character-code memory
    • G09G5/225Control of the character-code memory comprising a loadable character generator
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2310/00Command of the display device
    • G09G2310/02Addressing, scanning or driving the display screen or processing steps related thereto
    • G09G2310/0264Details of driving circuits
    • G09G2310/0286Details of a shift registers arranged for use in a driving circuit

Landscapes

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

Abstract

내용 없음.No content.

Description

화상 회전 장치Image rotating device

제1도는 종래의 화상 회전방법을 도시한 순서도.1 is a flow chart showing a conventional image rotation method.

제2도는 본 고안에 따른 화상 회전장치의 일 실시예를 도시한 블럭도.2 is a block diagram showing an embodiment of an image rotating apparatus according to the present invention.

제3a도 내지 제3c도는 제2도의 화상회전장치에서 데이타가 저장되는 형태를 나타내는 도면.3A to 3C are diagrams showing how data is stored in the image rotating apparatus of FIG.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

110 : 글자형상 기억부 120, 150 : 버퍼110: character storage unit 120, 150: buffer

130 : 디코더 140 : 시프트 레지스터부130: decoder 140: shift register section

SR1~SR8 : 시프트레지스터 160 : 이미지버퍼SR1 ~ SR8: Shift register 160: Image buffer

본 고안은 디지탈 데이타로 회상이 처리되는 장치에 있어서 글자형상 기억부에서 독출된 자형을 회전시켜 디스플레이하는 장치에 관한 것으로, 특히 자형을 회전시키기 위한 데이타의 처리를 하드웨어적으로 구현하므로써 데이타 처리속도가 향상된 화상회전장치에 관한 것이다.The present invention relates to a device for rotating and displaying a character read from a character storage unit in a device where recollection is processed as digital data. In particular, the data processing speed is increased by hardware implementation of data processing for rotating a character. An improved image rotating apparatus.

종래에는 랜드 스케이프(Land Scape)출력이나 세로쓰기 글자를 출력할때 소프트웨어를 사용하여 글자형상 기억부(Font ROM)에 있는 자형을 독출하여 90°회전되도록 하였다. 즉, 명령어를 사용하여 글자형상 기억부에서 자형 데이타를 1비트씩 독출하여 출력되는 형상이 저장되는 이미지 버퍼(Image Buffer)에 기록한다. 이때, 상기 이미지 버퍼에 기록되는 데이타의 각 비트의 기록위치는 미리 계산된다. 이와 같이, 이미지 버퍼에 저장된 자형 데이타가 명령에 의해 출력되므로써 자형은 90°회전이 이루어지게 된다.Conventionally, when outputting a land scape or vertical writing, the software reads a shape in a font ROM by using software to rotate 90 °. That is, by using the command, the character data is read out one bit at a letter shape storage unit and recorded in the image buffer in which the output shape is stored. At this time, the recording position of each bit of data recorded in the image buffer is calculated in advance. In this way, the shape of the shape is stored in the image buffer by the command is outputted by the command is 90 ° rotation.

제1도에는 소프트웨어적으로 화상의 회전이 이루어지는 순서가 나타나있다. 먼저, 출력될 자형데이타가 저장되는 이미지버퍼의 좌표 위치를 계산한다(10). 즉, 글자형상기억부에서 1비트씩 독출된 데이타가 이미지 버퍼에 저장되는데, 상기 글자형상 기억부에 저장된 자형과 90°회전된 형태로 기록되도록 이미지버퍼의 각 비트의 주소를 계산한다. 그런다음, 소정의 명령에 의해 글자형상기걱부로 부터 자형 데이타를 비트 단위로 독출하여(20), 이 독출된 데이타 비트가 '0'또는 '1'인가를 판별한다(30). 상기 데이타비트값이 '1'이면 소정의 명령어를 사용하여 앞에서 계산된 이미지버퍼의 좌표위치에 '1'을 기록하고(40), 상기 데이타 비트값이 '0'이면, 마찬가지로 계산된 이미지버퍼의 좌표위치에 '0'을 기록한다(50). 데이타비트값이 이미지버퍼에 기록되면, 상기 글자형상기억부에서 90°회전시키고자하는 자형 데이타가 마지막 비트까지 독출되었는가를 확인한다(60). 자형데이타의 마지막 비트가 독출되지 않은 경우에는 상기 이미지버퍼의 좌표위치를 계산하는 첫단계로 피드백시키고, 자형데이타의 마지막 비트까지 독출이 완료된 경우에는 상기 글자형상기억부에서의 데이타 독출을 종료한다. 그런다음, 이미지버퍼에 기록된 자형데이타를 출력하므로써, 90°회전된 자형이 디스플레이된다.1 shows the order in which images are rotated in software. First, the coordinate position of the image buffer in which the output data is stored is calculated (10). That is, data read one bit from the character storage unit is stored in the image buffer, and the address of each bit of the image buffer is calculated to be written in a form rotated by 90 ° with the character stored in the character storage. Then, by the predetermined command, the character data is read out bit by bit from the character-shaping part 20, and it is determined whether the read data bits are '0' or '1' (30). If the data bit value is '1', '1' is recorded at the coordinate position of the image buffer calculated previously using a predetermined command (40). If the data bit value is '0', the calculated image buffer '0' is recorded at the coordinate position (50). When the data bit value is recorded in the image buffer, it is checked whether or not the character data to be rotated by 90 ° from the character shape storage part has been read out to the last bit (60). If the last bit of the shape data is not read out, the feedback is fed to the first step of calculating the coordinate position of the image buffer, and when the reading is completed up to the last bit of the shape data, the reading of data from the character shape storage unit is terminated. Then, by printing the shaped data recorded in the image buffer, the shaped shape rotated by 90 ° is displayed.

이와같이 소프트웨어를 이용한 종래의 화상회전방법은 하나의 자형을 90°회전시키는데 많은 시간이 소요된다. 예를들면, 40비트×40×비트의 자형을 90°회전시키는 경우, 비트단위로 데이타를 독출하여 이미지버퍼에 기록하는데 4클럭이 소요되고 1클럭이 100nse0라고 하면, 40(비트)×40(비트)×4(클럭)×100(nsec)=640(μsec)이 되므로, 40×40비트의 자형을 90°회전시키는데 640μsec가 소요된다.As described above, the conventional image rotation method using software takes a long time to rotate one shape by 90 °. For example, in the case of rotating a 40-bit by 40-bit bit by 90 °, it takes 4 clocks to read data in bit units and write it to the image buffer, and if 1 clock is 100nse0, 40 (bits) x 40 ( Bit) x 4 (clock) x 100 (nsec) = 640 (μsec), it takes 640 μsec to rotate the 40 x 40 bit child by 90 degrees.

따라서, 본 고안은 글자형상기억부에 저장된 자형을 회전된 형태로 출력시키기 위한 화상회전수단에 있어서, 회전되고자 하는 자형 데이타의 처리가 하드웨어적으로 실행되도록 구현하므로써 데이타 처리속도가 보다 향상된 화상회전장치를 제공함을 목적으로 하고 있다.Therefore, the present invention provides an image rotation apparatus for improving the data processing speed by implementing hardware processing of the data to be rotated in the image rotation means for outputting the child shape stored in the letter shape storage unit in a rotated form. The purpose is to provide.

상기 목적을 달성하기 위하여, 본 고안은 글자형상을 만드는 데이타가 저장되어 있는 글자형상기억부와, 상기 글자형상 기억부로 부터 독출된 자형 데이타가 회전된 형태로 출력되도록 변환되어 순차적으로 저장되는 이미지버퍼를 구비한 화상회전장치에 있어서, 상기 글자형상기억부로 부터 자형 데이타를 바이트단위로 독출하여 일시적으로 저장하는 제1버퍼와, 상기 제1버퍼로 부터 바이트단위로 데이타를 공급받아 비트단위로 출력하는 시프트레지스터들과, 상기 시프트레지스터들의 데이타 입출력이 순차적으로 수행되도록 각 시프트레지스터를 지정해 주는 디코더와, 상기 시프트레지스터들로 부터 각각 비트단위로 데이타를 공급받아 바이트 단위로 상기 이미지버퍼에 공급하는 제2버퍼를 포함하는 것을 특징으로 한다.In order to achieve the above object, the present invention is an image buffer is stored so that the character shape storage unit that stores the data to create a character shape, and the shape data read out from the character shape storage unit is output in a rotated form and sequentially stored An image rotating apparatus comprising: a first buffer for reading and temporarily storing character data from a character storage unit in byte units, and receiving data in byte units from the first buffer and outputting the data in bit units A shift register, a decoder designating each shift register to sequentially perform data input / output of the shift registers, and a second bit receiving data from each of the shift registers in bit units to the image buffer in byte units And a buffer.

이하, 첨주한 도면을 참조하여 본 고안을 상세히 기술하기로 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제2도에는 본 고안에 따른 화상회전장치의 일 실시예가 블럭도로 도시되어 있으며, 제3a도 내지 제3c도에는 제2도의 화상회전장치에서 글자형상 데이타가 각 데이타 저장장소에 저장되는 형태가 도시되어 있다. 제2도에 도시된 바와같이, 본 고안에 따른 화상회전장치는 글자형상기억부(110)와, 출력될 자형 데이타를 일시적으로 저장하는 이미지버퍼(160)와, 상기 글자형상기억부(110)및 이미지버퍼(160)에 각각 결합된 제1버퍼(120)및 제2버퍼(150)와, 자형 데이타를 1바이트식 공급받아 1비트씩 출력하는 8개의 시프트레지스터(SR1~SR8)와, 상기 시프트레지스터들의 동작을 순차적으로 지정해 주는 디코더(130)로 구성되어 있다.2 is a block diagram showing an embodiment of the image rotating apparatus according to the present invention, Figures 3a to 3c is a form in which the character data is stored in each data storage location in the image rotating apparatus of FIG. It is. As shown in FIG. 2, the image rotating apparatus according to the present invention includes a letter shape storage unit 110, an image buffer 160 temporarily storing the outputted shape data, and the letter shape storage unit 110. A first buffer 120 and a second buffer 150 respectively coupled to the image buffer 160, eight shift registers SR1 to SR8 for receiving one-byte data and outputting the data one bit at a time; The decoder 130 is configured to sequentially specify the operation of the shift register.

상기 글자형상기억부(110)에는 8바이트의 자형 데이타가 제3a도와 같은 형태로 저장되어 있다. 상기 8바이트의 자형 데이타는 바이트 단위로 독출되어 제1버퍼(120)에 저장된다. 상기 제1버퍼(120)는 저장된 1바이트의 자형데이타를 시프트레지스터로 공급한다. 이때, 8개의 시프트레지스터(SR1~SR8)중 상기 제1버퍼(120)로부터 1바이트의 자형 데이타를 공급받는 시프트레지스터는 상기 디코더(130)에 의해 지장된다. 이와 같이 상기 제1버퍼(120)는 상기 글자형상기억장소(110)로 부터 자형 데이타를 1바이트씩 차례로 8번을 독출하게 되며, 상기 독출된 1바이트의 자형 데이타는 상기 디코더(130)에 의해 순차적으로 지정되는 시프트레지스터에 차례로 저장된다. 제3b도에는 상기 8개의 시프트레지스터(SR1~SR8)에 상기 글자형상기억장소(110)로 부터 독출된 8바이트의 자형 데이타가 차례로 저장된 상태가 도시되어 있다. 이와같이, 1바이트씩 저장된 8개의 시프트레지스터는 각 시프트레지스터에서 1비트씩 출력하여 상기 제2버퍼(150)로 공급한다. 이때, 각 시프트레지스터로는 제어부(도시되지 않음)로 부터 공급되는 제어신호(C)가 입력되어 각 시프트레지스터에서 1비트씩 독출될 때마다 시프트레지스터에 저장된 데이타가 1비트씩 우로 이동되도록 한다. 상기 제2버퍼(150)에도 마찬가지로 상기 제어신호(C)가 공급되며, 8개의 시프트레지스터에서 각각 1비트씩 출력된 데이타가 제2버퍼(150)에서 1바이트의 자형데이타가 되어 제3c도와 같이 이미지버퍼(160)에 기록된다. 제3b도 및 제3c도에서 보면, 각 시프트레지스터에서 첫번째 비트가 독출되어 a1, b1, c1, d1, e1, f1, g1, h1의 1바이트가 되고, 이 데이타가 제2버퍼(150)를 거쳐 이미지버퍼(160)의 첫번째 바이트데이타로 기록된다. 그러면, 각 시프트레지스터에 저장된 데이타는 상기 제어신호(C)에 의해 1비트씩 이동되며, 그런다음 각 시프트레지스터에서 1비트씩 이동되며, 그런다음 각 시프트레지스터에서 1비트씩 독출되어 a2, b2, c2, d2, e2, f2, g2, h2의 1바이트가 되어 상기 제2버퍼(150)를 거쳐 상기 이미지버퍼(160)의 두번째 바이트 데이타로 기록된다. 이와같은 방법으로 상기 8개의 시프트레지스터로 부터 8번 데이타비트의 독출이 수행되므로써 이미지버퍼(160)는 제3c도와 같은 형태로 자형 데이타를 저장하게 된다. 도면에서도 알 수 있는 바와 같이, 이미지버퍼(160)는 상기 글자형상기억부(110)와 비교하여 90°회전된 상태로 자형 데이타가 저장된다. 이와 같이 하드웨어적으로 화상을 회전시키는데 소요되는 시간은 앞에서 설명한 바 있는 소프트웨어적인 방법에서 소요되는 시간과 비교하여 보다 짧은 시간만이 소요된다. 즉, 앞에서 든 예와 동일하게 40비트×40비트의 자형을 90°회전시키는 경우, 데이타를 독출하여 이미지버퍼에 기록하는데 8클럭이 소요된다면 본 고안에서는 바이트 단위로 데이타를 처리하므로 40(비트)×8(바이트)×8(클럭)×100(nsec)=256(μsec)이 되어 종래의 소프트웨어적인 방법보다 2.5배정도 소요시간이 단축된다.The letter-shaped memory unit 110 stores 8-byte data in the form shown in FIG. 3A. The 8-byte data is read in bytes and stored in the first buffer 120. The first buffer 120 supplies the stored 1-byte shaped data to the shift register. At this time, among the eight shift registers SR1 to SR8, the shift register receiving one-byte data from the first buffer 120 is interrupted by the decoder 130. As described above, the first buffer 120 reads out the character data from the character-type storage place 110 one by eight in turn, and the read one-byte data is read by the decoder 130. It is stored in order in the shift registers designated sequentially. FIG. 3B shows a state in which 8 bytes of child-shaped data read from the character-type memory storage unit 110 are sequentially stored in the eight shift registers SR1 to SR8. As such, the eight shift registers stored by one byte are output one bit from each shift register and supplied to the second buffer 150. At this time, a control signal C supplied from a control unit (not shown) is input to each shift register so that data stored in the shift register is shifted right by one bit each time one bit is read from each shift register. Similarly, the control signal C is also supplied to the second buffer 150, and data output by one bit from each of the eight shift registers becomes a single byte of data in the second buffer 150, as shown in FIG. 3C. It is recorded in the image buffer 160. 3B and 3C, the first bit is read from each shift register to be 1 byte of a1, b1, c1, d1, e1, f1, g1, h1, and this data is used to store the second buffer 150. The first byte data of the image buffer 160 is recorded. Then, the data stored in each shift register is shifted by one bit by the control signal C, and then shifted by one bit in each shift register, and then read by one bit in each shift register to read a2, b2, One byte of c2, d2, e2, f2, g2, and h2 is recorded as second byte data of the image buffer 160 via the second buffer 150. In this way, since the eighth data bit is read from the eight shift registers, the image buffer 160 stores the shape data in the form shown in FIG. 3C. As can be seen in the figure, the image buffer 160 is stored in the shape data in a state rotated 90 ° compared to the letter-shaped memory unit 110. As such, the time required to rotate the image in hardware is only shorter than the time required in the software method described above. That is, in the case of rotating the 40-bit × 40-bit shape by 90 ° as in the previous example, if 8 clocks are required to read the data and write it to the image buffer, the present invention processes the data in units of bytes so that 40 (bit) X 8 (byte) x 8 (clock) x 100 (nsec) = 256 (μsec), which reduces the time required by about 2.5 times that of the conventional software method.

상술한 바와같이, 본 고안에 의한 화상회전장치는 글자형상 데이타를 회전된 형태로 디스플레이시킴에 있어서, 시프트레지스터와, 버퍼와, 디코더 등으로 구성돈 장치를 사용하여 자형을 회전시키기 위한 데이타 처리를 하드웨어적으로 구현하므로써 종래의 소프트웨어적인 방법보다 화상 회전에 소요되는 시간이 단축되는 효과가 있다.As described above, in the image rotation apparatus according to the present invention, in displaying the character data in a rotated form, data processing for rotating the child shape using a shift register, a buffer, a decoder, and the like is performed. By implementing in hardware, the time required to rotate the image is shorter than the conventional software method.

Claims (1)

글자형상을 만드는 데이타가 저장되어 있는 글자형상기억부(110)와, 상기 글자형상기억부(110)로 부터 독출된 자형데이타가 회전된 형태로 출력되도록 변환되어 순차적으로 저장되는 이미지버퍼(160)를 구비한 화상회전 장치에 있어서, 상기 글자형상기억부(110)로 부터 자형 데이타를 바이트단위로 독출하여 일시적으로 저장하는 제1버퍼(120)와, 상기 제1버퍼(120)로 부터 바이트단위로 데이타를 공급받아 비트단위로 출력하는 시프트레지스터들(SR1~SR8)과, 상기 스프트레지스터들의 데이타 입출력이 순차적으로 수행되도록 각 시프트레지스터를 지정해 주는 디코더(130)와, 상기 시프트레지스터들(SR1~SR8)로 부터 각각 비트단위로 데이타를 공급받아 바이트 단위로 상기 이미지버퍼(160)에 공급하는 제2버퍼(150)를 포함하는 것을 특징으로 하는 화상회전장치.Character shape storage unit 110, which stores the data forming the character shape, and the image buffer read out from the character shape storage unit 110 is converted to be output in a rotated form is sequentially stored image buffer 160 In the image rotating apparatus having a first buffer 120 for reading and temporarily storing the character data from the character-shaped storage unit 110 by the byte unit, and the byte unit from the first buffer 120 Shift registers SR1 to SR8 that receive data and output data in bit units, a decoder 130 for designating each shift register to sequentially perform data input / output of the spregisters, and the shift registers SR1. And a second buffer (150) for receiving data in bit units from the SR8 to the image buffer (160).
KR2019910013119U 1991-08-19 1991-08-19 Apparatus for rotating color picture KR940001844Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019910013119U KR940001844Y1 (en) 1991-08-19 1991-08-19 Apparatus for rotating color picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019910013119U KR940001844Y1 (en) 1991-08-19 1991-08-19 Apparatus for rotating color picture

Publications (2)

Publication Number Publication Date
KR930005382U KR930005382U (en) 1993-03-22
KR940001844Y1 true KR940001844Y1 (en) 1994-03-25

Family

ID=19318012

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019910013119U KR940001844Y1 (en) 1991-08-19 1991-08-19 Apparatus for rotating color picture

Country Status (1)

Country Link
KR (1) KR940001844Y1 (en)

Also Published As

Publication number Publication date
KR930005382U (en) 1993-03-22

Similar Documents

Publication Publication Date Title
US4984183A (en) Graphics display controller for transferring figure data to overlapping portions of destination area and drawing-enable area defined by clipping rectangle
US5815165A (en) Graphics processor
US5555380A (en) Data transfer system with buffer request including block length to update the buffer pointer prior to transferring of the block
EP0239119A2 (en) Information transferring method and apparatus of transferring information from one memory area to another memory area
KR940001844Y1 (en) Apparatus for rotating color picture
US4916746A (en) Image rotation circuit
US5486844A (en) Method and apparatus for superimposing displayed images
US5887197A (en) Apparatus for image data to be displayed by transferring only data which is determined to be valid after shifting the data over a range of given length
US4742343A (en) Digital stroke generator
US5347596A (en) Pattern mover for raster printing
US5471562A (en) Printer having a bit shift function
KR900007140B1 (en) Output device
JP2794481B2 (en) Display system
CA1294380C (en) Display system
JP2735058B2 (en) Video display memory
JP2771350B2 (en) Image processing device
JP2867482B2 (en) Image processing device
JP2898000B2 (en) Character data expansion processor
JPH0426137B2 (en)
JPH08314796A (en) Control circuit for dynamic ram
JPS617769A (en) Image memory write control system
JPS6134588A (en) Image memory control circuit
JPH01106281A (en) Image data processor
JPS61250729A (en) Shifter circuit
JPH0418686A (en) Picture processing method

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 20050303

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee