KR20040017553A - Monochrome to Color Real Time Converter - Google Patents

Monochrome to Color Real Time Converter Download PDF

Info

Publication number
KR20040017553A
KR20040017553A KR1020020049685A KR20020049685A KR20040017553A KR 20040017553 A KR20040017553 A KR 20040017553A KR 1020020049685 A KR1020020049685 A KR 1020020049685A KR 20020049685 A KR20020049685 A KR 20020049685A KR 20040017553 A KR20040017553 A KR 20040017553A
Authority
KR
South Korea
Prior art keywords
color
address
data
rom
screen
Prior art date
Application number
KR1020020049685A
Other languages
Korean (ko)
Other versions
KR100466482B1 (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 KR10-2002-0049685A priority Critical patent/KR100466482B1/en
Publication of KR20040017553A publication Critical patent/KR20040017553A/en
Application granted granted Critical
Publication of KR100466482B1 publication Critical patent/KR100466482B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/43Conversion of monochrome picture signals to colour picture signals for colour picture display

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PURPOSE: A device for converting black and white into color in real time is provided to convert mono data into color data in a text mode by using a hardware method in real time. CONSTITUTION: Color information of all pictures are recorded in a color palette ROM(Read Only Memory). A page select address deciding one picture is combined with an address deciding an absolute position of the picture, so the color palette ROM outputs colors of foreground color and background color. The foreground color and background color are divided to make colors according to an output value of a barrel shifter. According to a signal of a mono writer, a page capture, a data capture and an address capture of the picture are temporarily stored. At the same time, a counter is operated and the barrel shifter is driven according to a signal of the counter, thereby transmitting the temporarily stored mono data to a multiplexer according to signals S0,S1,S2 of the barrel shifter. The multiplexer dividedly transmits foreground color and background color to a color video controller for converting mono data into color data in real time. An address reduction ROM removes duplicated addresses for reducing the capacity of the color palette ROM.

Description

흑백/칼라 실시간 변환기{Monochrome to Color Real Time Converter}Monochrome to Color Real Time Converter}

최근 많은 산업용 기기들의 화면표시 장치들이 흑백에서 칼라화 되어가고 있는 추세이다. 심지어 공학용 계산기나 휴대폰과 같은 소형 기기에서 까지도 칼라화면 표시장치를 도입하게 되었다. 과거에 이미 개발하였던 흑백 기반의 장치들을 칼라화 하는 데에는 비디오 장치를 교체하여야 하고 진보된 많은 프로그래밍 작업이 필요하다. 색상정보를 고려한 칼라 작업의 프로그래밍을 하다보면 소스코드가 증가하게 되고 전체적인 시스템의 속도가 저하된다. 그리고 흑백에서처럼 빠른 출력의 화면 스크롤은 기대를 할 수 없게 된다. 전체적인 시스템을 업그레이드 해야지만 속도 문제를 극복할 수 있는데, 시스템을 업그레이드 함에 따라 가격이 상승하고 개발 기간이 길어지는 문제점이 발생하게 된다. 이에 대비하여 기존의 흑백 장치에서 이미 개발되었던 프로그램을 거의 수정하지 않고도 간단한 결합 작업만으로 빠른 속도를 유지한 체 칼라화 할 수 있는 기기의 개발이 요구된다.Recently, display devices of many industrial devices are becoming color in black and white. Even small devices such as scientific calculators and mobile phones have introduced color display devices. Colorizing monochrome-based devices that have been developed in the past requires the replacement of video devices and many advanced programming tasks. Programming color tasks with color information increases the source code and slows down the overall system. And as with black and white, fast-paced screen scrolling can't be expected. The whole system needs to be upgraded, but the speed problem can be overcome. As the system is upgraded, the price increases and the development period is long. In contrast, there is a need for the development of a device capable of colorizing at high speeds with a simple combining operation with little modification to programs already developed in the existing black and white devices.

본 발명에서는 기존의 흑백 표시장치의 데이터를 그대로 둔 체 칼라화 하는 것이며, 어느 시스템에서나 쉽게 응용이 가능하도록 구현하였다. 또한 Color palette ROM을 두어서 원할 때 언제든지 화면의 색상을 쉽게 변경할 수 있다. 모든 동작은 하드웨어적으로 처리되므로 입/출력에 따른 지연현상이 거의 없고, ROM과 CPLD(Complex Programmable Logic Device)의 시간 지연이 곧 속도를 좌우하게 되었다. 현재 구현된 것은 텍스트 모드, 640×400 해상도, 65535 칼라 중에서 16 칼라를 사용하는 것으로 제한을 두었지만 응용에 따라서 더 큰 해상도와 많은 색상을 사용할 수 있다.In the present invention, the color of the existing black and white display device is left as it is, and implemented to be easily applicable in any system. You can also have a Color palette ROM to easily change the color of the screen whenever you want. Since all operations are handled in hardware, there is almost no delay due to input / output, and the time delay between ROM and Complex Programmable Logic Device (CPLD) has become the dominant speed. The current implementation is limited to using 16 colors out of text mode, 640x400 resolution, and 65535 colors, but larger resolutions and more colors are available depending on the application.

아무리 속도가 빠르고 편리할 지라도 산업계에서는 가격 상승으로 인해 기기가 무용지물이 될 때가 많다. 이것을 고려하여 색상정보가 내장된 Color palette ROM의 용량을 최소화하기 위하여 Address reduction ROM을 두어서 텍스트 화면의 색상 중복 여부를 분석하여 최소한의 색상정보로써 칼라화 할 수 있는 알고리즘을 만들었다. 알고리즘의 결과 값을 바탕으로 ROM에 기입하여 어드레스 변환기로 구성하였을 때 Color palette ROM의 용량을 1/16로 축소시킬 수 있는 장점을 가지고 있다.No matter how fast and convenient, in many industries, rising prices often make the device obsolete. In consideration of this, in order to minimize the capacity of the color palette ROM in which the color information is embedded, an address reduction ROM was installed to analyze the color overlap of the text screen and to colorize it with the minimum color information. Based on the result of the algorithm, it is possible to reduce the capacity of the color palette ROM to 1/16 when it is configured as an address translator by writing to the ROM.

제 1도는 흑백 화면의 구성도이다.1 is a block diagram of a black and white screen.

제 2도는 칼라 화면의 구성도이다.2 is a configuration diagram of a color screen.

제 3도는 흑백 제어기의 구성도이다.3 is a block diagram of the monochrome controller.

제 4도는 칼라 제어기의 구성도이다.4 is a configuration diagram of a color controller.

제 5도는 1:1로 팔레트를 통해 칼라로 변환되는 과정이다.5 is a process of converting colors to palettes in a 1: 1 manner.

제 6도는 제안된 방식으로 칼라 팔레트의 용량을 최소화하여 칼라로 변환하는 과정이다.6 is a process of converting to color by minimizing the capacity of the color palette in the proposed manner.

제 7도는 텍스트 모드의 구성도와 Color palette ROM의 용량을 줄이기 위한 제안된 알고리즘이다.7 is a proposed algorithm for reducing the structure of the text mode and the capacity of the color palette ROM.

제 8도는 제안된 알고리즘을 적용한 결과값이다.8 shows the result of applying the proposed algorithm.

제 9도는 Address reduction ROM과 Color palette ROM의 실제 구성도이다.9 is an actual configuration diagram of an address reduction ROM and a color palette ROM.

제 10도는 Color palette ROM의 구성도이다.10 is a configuration diagram of a color palette ROM.

아래의 모든 내용은 쉬운 이해를 위하여 640×400의 해상도와 16칼라를 기준으로 설명을 한다.All the contents below are explained based on 640 × 400 resolution and 16 colors for easy understanding.

제 1도 흑백 화면의 구성을 살펴보면 8개의 픽셀(Pixel) 단위로 가로 80 Column, 세로 400 Line로 구성되어 있다. 어드레스가 한 번 증가할 때마다 8개의 픽셀이 화면에 나타나게 된다. 한 화면을 모두 나타내기 위해서는 32000번(80 Column × 400 Line) 어드레스가 증가되어야 한다. 8개의 픽셀을 분해하면 8비트의 데이터 값이며, 비트는 배열 순서가 D7∼D0가 아닌 D0∼D7의 순서로 구성되어 있다.Referring to FIG. 1, the black and white screen is composed of 80 columns and 400 lines in 8 pixel units. Each time the address is incremented, eight pixels appear on the screen. To display all one screen, address 32000 (80 Column × 400 Line) should be increased. When 8 pixels are decomposed, it is an 8-bit data value. The bits are arranged in the order of D0 to D7 rather than the order of D7 to D0.

제 2도에서는 칼라 화면의 구성에 있어 어드레스가 한 번 증가할 때마다 하나의 픽셀이 화면에 나타나고 정의된 색상을 띄고 있다. 어드레스가 한 번 증가될 때마다 하나의 픽셀 단위로 화면을 구성하므로 화면을 모두 나타내기 위해서는 256000번(640 Pixel × 400 Line) 어드레스가 카운트가 필요하다. 이것으로 칼라 화면은 흑백 화면보다 8배의 어드레스 증가가 필요하다. 그러므로 3개의 어드레스 라인이 더 필요하다는 것을 알 수 있다.In FIG. 2, one pixel appears on the screen and has a defined color every time the address increases in the color screen configuration. Each time the address is increased, the screen is composed of one pixel unit. Therefore, to display all the screens, the address 256000 (640 Pixel × 400 Line) needs to be counted. As a result, the color screen needs eight times the address increase than the black and white screen. Therefore, it can be seen that three more address lines are needed.

제 3도는 흑백 제어기의 구조를 살펴보면 어드레스 라인이 15개, 데이터 라인이 8개로 이루어져 있다. 15개의 어드레스로 제어할 수 있는 영역은번지까지 제어가 가능하다. 흑백 화면에서는 한 번에 8개의 픽셀 단위로 화면이 구성되므로 640×400 해상도에서는 32000(80×400)에 해당되는 어드레스의 증가가 필요하므로 15개의 어드레스 라인으로 구성을 할 수 있다.Referring to FIG. 3, the structure of the monochrome controller includes 15 address lines and 8 data lines. The area that can be controlled by 15 addresses Up to address can be controlled. Since the screen is composed of 8 pixel units at a time in the black and white screen, the address corresponding to 32000 (80 × 400) needs to be increased in the 640 × 400 resolution, and thus 15 address lines can be configured.

제 4도는 칼라 제어기의 구조를 살펴보면 어드레스 라인이 18개, 데이터 라인이 16개로 이루어져 있다. 제 2도와 같이 칼라 화면은 하나의 어드레스가 증가될 때마다 하나의 픽셀만을 나타낼 수 있으므로 총 어드레스 라인은 18개(640*400 = 256000,)가 필요하다. 그리고 데이터 버스 16개는 하나의 픽셀에 해당되는 색상 65535 칼라()를 나타낸다. 본 발명에서는 16칼라를 사용하므로 65535칼라 중에서 사용자가 원하는 색상 16개를 임의로 선택을 할 수 있다.Referring to FIG. 4, the structure of the color controller includes 18 address lines and 16 data lines. As shown in FIG. 2, the color screen can represent only one pixel each time one address is increased, so the total number of address lines is 18 (640 * 400 = 256000, ) Is required. The 16 data buses have a color of 65535 colors (one pixel). ). In the present invention, since 16 colors are used, 16 colors desired by a user can be arbitrarily selected from 65535 colors.

제 3도와 제 4도를 다시 한 번 정리하면, 640*400 모드에서 흑백제어기에서는 하나의 어드레스가 증가될 때마다 8개의 픽셀이 화면에 나타나고, 칼라제어기에서는 하나의 어드레스가 증가될 때마다 하나의 픽셀이 화면에 나타남과 동시에 65535 칼라 중에서 16칼라를 선택할 수 있다.Once again, with the third and fourth Figures, in 640 * 400 mode, eight pixels appear on the screen every time one address is increased in the black and white controller, and one every time an address is increased in the color controller. As pixels appear on the screen, you can select 16 colors from 65535 colors.

제 5도에서 'A', 'B' , 'C'라는 글자를 Color palette ROM을 통과한 후에 칼라로 변환된 글자를 보여준다. Color palette ROM에서 하나의 문자에 해당되는 색상정보는 가로 8비트 단위로 세로 16번만큼의 영역을 확보하고 있다. 도면과 같이 16개의 8비트에서 하위 4비트는 전경색(Background color)을 상위 4비트는 배경색(Foreground color)을 가진다. 4비트가 나타낼 수 있는 색상은 16가지이다. 현재는 Color palette ROM을 색상으로 나타내었으나 실제로는 숫자정보가 ROM에 8비트 단위로 기입되어 있는 형태로 구성된다. 칼라 변환의 예로, 'A'의 글자를 흑백에서 칼라로 변환시키기 위해서는 Color palette를 가로로 8번 세로로 16번 거치게 된다. 문자 'A'에 해당되는 Color palette ROM을 보면 전경색은 Blue를 배경색은 Pink의 색상으로 지정되어 있음을 알 수 있다. 흑백의 데이터는 Color palette ROM을 거치면서 각각의 비트가 'H'와 'L'에 따라서 전경색과 배경색 중에서 한 가지 색상을 칼라로 나타낸다. 제 5도에서는 모든 흑백정보의 크기와 동일하게 Color palette ROM을 구성해야 하므로 실무에서 사용할 때는 용량이 커지게 되어 Cost가 증가하는 요인이 된다.In Figure 5, the letters 'A', 'B' and 'C' are converted to color after passing through the Color palette ROM. Color information corresponding to one character in the color palette ROM has 16 vertical areas in 8-bit units. As shown in the figure, the lower 4 bits of the 16 8 bits have the background color, and the upper 4 bits have the background color. There are 16 colors that 4 bits can represent. Currently color palette ROM is represented in color, but in reality, it consists of a form in which numeric information is written in ROM in 8-bit units. As an example of color conversion, in order to convert the letter 'A' from black and white to color, the color palette goes through 8 horizontally and 16 vertically. If you look at the color palette ROM corresponding to the letter 'A', you can see that the foreground color is blue and the background color is pink. The black and white data goes through the Color Palette ROM, with each bit representing one of the foreground and background colors in color, depending on the 'H' and 'L'. In FIG. 5, since the color palette ROM should be configured in the same size as all black and white information, the capacity becomes large when used in practice, which increases the cost.

제 6도에서 Address reduction ROM을 하나 추가함으로써 Color palette ROM의 용량을 대폭 줄일 수 있는 방법이다. 예로, 'A'라는 문자를 흑백에서 칼라로 변환시킬 때 Color palette ROM에서는 8비트 데이터 16개를 모두 사용하지 않고 한 개를 사용하여 칼라로 변환시킬 수 있다. 이렇게 한 개로써 가능한 이유는 제 5도와 같이 8비트 단위로 세로로 16번의 색상 정보가 모두 동일하기 때문이다. 즉, 0x00, 0x50, 0xa0, 0xf0, 0x140, 0x190, 0x1e0, 0x230, 0x280, 0x2d0, 0x320, 0x370, 0x3c0, 0x410, 0x460, 0x4b0 번지에 해당되는 팔레트는 0x00 번지의 팔레트 정보와 동일하며 16번 반복이 된 것이다. 이것을 고려하여 Address reduction ROM을 중간에 두어서 색상이 중복되는 어드레스 16개를 하나의 어드레스로 바꾸어주는 역할을 함으로써 Color palette ROM의 용량을 1/16로 감소시킬 수 있다.In FIG. 6, the capacity of the color palette ROM can be greatly reduced by adding one address reduction ROM. For example, when converting the letter 'A' from black and white to color, the Color palette ROM can convert one color to one color instead of using all 16 8-bit data. One possible reason for this is that the color information of 16 times in 8-bit units is the same as in FIG. That is, the palette corresponding to 0x00, 0x50, 0xa0, 0xf0, 0x140, 0x190, 0x1e0, 0x230, 0x280, 0x2d0, 0x320, 0x370, 0x3c0, 0x410, 0x460 and 0x4b0 is the same as the palette information of 0x00 and 16 times. This is it. In consideration of this, it is possible to reduce the capacity of the color palette ROM to 1/16 by placing the Address reduction ROM in the middle and replacing 16 overlapping colors with one address.

제 7도에서는 Address reduction ROM을 두어서 Color palette ROM의 용량을 1/16로 축소하기 위한 알고리즘이다. 도면의 그림을 참고하여 X와 Y는 텍스트 모드에서 가로와 세로의 글자 수이고, Z는 하나의 글자를 위한 세로 픽셀 개수를 나타낸다. 여기에서 X=80, Y=25, Z=16을 대입하였다.7 is an algorithm for reducing the capacity of the color palette ROM to 1/16 by placing an address reduction ROM. Referring to the figure of the drawing, X and Y are the number of horizontal and vertical letters in the text mode, and Z is the number of vertical pixels for one letter. Here, X = 80, Y = 25 and Z = 16 were substituted.

제 8도는 제 7도의 알고리즘을 풀이하여 80개 단위로 자르고 다시 세로로 16개씩 분류를 한 것이다. 제 8도의 데이터를 ROM에 기록을 하면 어드레스 변환기를 만들 수 있다. 어드레스가 80(0x50) 단위로 0x00, 0x50, 0xa0, 0xf0, 0x140, 0x190, 0x1e0, 0x230, 0x280, 0x2d0, 0x320, 0x370, 0x3c0, 0x410, 0x460, 0x4b0 중에서 임의의 지정되면 출력 Data는 0x00이 되는 형식이다.FIG. 8 cuts the algorithm of FIG. 7 into 80 units and sorts them 16 vertically. By writing the data of FIG. 8 to the ROM, an address translator can be made. If the address is specified among 0x00, 0x50, 0xa0, 0xf0, 0x140, 0x190, 0x1e0, 0x230, 0x280, 0x2d0, 0x320, 0x370, 0x3c0, 0x410, 0x460, 0x4b0 in 80 (0x50) units, the output data becomes 0x00. Format.

제 9도에서 Address reduction ROM은 제 8도와 같이 나열된 데이터 값이 기록되어 있다. 흑백 어드레스가 입력되면 기록된 데이터 값이 출력되는데, 데이터 값 자체가 중복을 배제한 축소된 어드레스가 되어, 다시 Color palette ROM의 어드레스 일부가 된다. 그리고 Color palette ROM의 어드레스의 일부는 Page select와 조합이 된다. Page select의 8개 라인으로 제 10도와 같이 총 256페이지에 해당되는 색상을 Color palette ROM에 내장할 수 있다. 제 9도에서 Color palette ROM의 출력 데이터 버스는 8비트이며 하위 4비트, 상위 4비트로써 구성이 되어 있다. 각각 전경색과 배경색에 해당되는 색상정보가 들어 있다. 4비트로써 조합할 수 있는 색상은 모두 16가지이다.In FIG. 9, the address reduction ROM records data values listed in FIG. When a black and white address is input, the recorded data value is output. The data value itself becomes a reduced address excluding redundancy, and becomes a part of the address of the color palette ROM again. And part of the address of the Color palette ROM is combined with Page select. With eight lines of Page select, a total of 256 pages of colors can be embedded in the Color palette ROM as shown in FIG. In FIG. 9, the output data bus of the color palette ROM is 8 bits and is composed of lower 4 bits and upper 4 bits. Contains color information corresponding to foreground and background colors, respectively. There are 16 colors that can be combined in 4 bits.

비교적 응답 속도가 느린 ROM을 두 번 거치게 되면 시간 지연이 다소 발생하여 실시간 처리에 어려움이 있을 것이라는 예상을 하게 된다. 하지만 최근 ROM의 동양추세를 볼 때 과거에 120ns의 지연속도에서 35ns 정도로 속도가 향상 되었다. 또한 NV RAM(Non Volatile Read Only Memory)을 사용하면 15ns 정도로 엑세스 시간이 대폭 빨라진다. 두 개의 ROM을 조합하면 70ns 정도이다. 640×400 해상도를 가진 화면에서 지연 시간을 계산하면, 흑백 데이터는 8개의 픽셀 단위로 기록이 되므로 한 화면을 구성하기 위해서는 80×400번 어드레스 변경이 필요하다. ROM의 시간 지연은 총 70nS를 고려할 때 이론적으로 한 화면을 띄우기 위한 시간은만큼 시간이 걸린다. 화면을 띄우는데는 시각적으로는 거의 무시해도 좋을 만큼 짧은 시간임을 알 수 있다.If you go through two relatively slow ROMs, you will expect some delays, making it difficult to process in real time. However, considering the recent trend in ROM, the speed has improved to about 35ns from 120ns of delay. In addition, using NV Volatile Read Only Memory (NV RAM) can significantly speed up access time by as much as 15 ns. Combining two ROMs is about 70ns. When the delay time is calculated on a screen having a 640 × 400 resolution, black and white data is recorded in units of 8 pixels, and thus an address change of 80 × 400 is required to configure one screen. The time delay of ROM is theoretically the time for one screen It takes as long as It can be seen that the screen is short enough to be almost ignored.

대표도는 전체 시스템을 구성하고 있다. 대표도에서 전체 도면의 촤측 부분인 Mono data, Mono address, Mono WR 신호들은 기존의 흑백 제어기에서 사용했던 신호들을 그대로 연결한다. 우측 부분은 흑백 데이터가 칼라 데이터로 변환이 되어 칼라 제어기에 전달된다. 좌측 Mono address [00:14](10)와 우측 Color address [03:17](11)을 비교하면 둘 다 15개의 라인으로 구성되어 있으나 번지만 다를 뿐이다. 칼라화하는데 있어 흑백 데이터가 한 번 입력될 때마다 8번의 변화과정을 거쳐야 하므로 Counter(8)를 통하여 3개의 S0, S1, S2가 증가되고 Barrel shifter(7)에서는 S0, S1, S2에 따라 Data Capture(6)에 저장된 데이터 8개 중에서 하나를 선택하여 Multiplex(3)으로 보낸다. Multiplex(3)에서는 전경색(Foreground color)과 배경색(Background color)을 선택해서 Color decoder(4)로 색상정보를 전달한다. Color decoder(4)에서는 입력이 4개, 출력이 16개로 구성되어 있으므로 65535 칼라 중에서 16 칼라를 사용자 임의로 선택할 수 있도록 구성하였다. Address reduction ROM(1)에서는 Color palette ROM(2)의 용량을 1/16 로 감소하기 위한 것이다. 입력 어드레스는 15개인데 비해서 출력은 11개로 감소하였다. 이것은 Color palette ROM(2)에서 중복되는 색상 정보를 최적화하기 위한 것이다. Color palette ROM(2)에서 입력 어드레스 총 19개 중에서 하위 11개와 상위 8개가 조합이 된다. 하위 어드레스는 한 화면을 구성하는 절대 번지이며, 상위 8개의 어드레스는 256 페이지에 해당되는 상대 어드레스이다. 흑백 데이터가 칼라 데이터로 변환되는 과정에 있어 화면을 나타내기 위해서는 가장 먼저 해당 페이지 정보를 보내야 한다. 흑백 데이터를 보내기 이전에 Page capture(5)에는 미리 페이지 정보를 먼저 보내어서 임시로 저장하고 있다. Data capture(6), Address capture(9)에서는 화면처리에 필요한 정보를 Mono WR 제어에 따라서 임시로 저장하고 있다가 8번의 처리가 끝나면 다음 데이터와 어드레스를 저장한다. 실제 하드웨어 구성으로는 D-FF(D flip-flop)을 여러 개 사용하여 페이지, 어드레스, 데이터를 저장하고 있다. Counter(8)는 Mono WR(15) 신호가 검출이 되면 동작하기 시작해서 S0, S1, S2 가 모두 카운트한 후에는 동작을 멈추고 다시 대기 상태로 된다. Barrel shifter(7)은 Counter(8)에 따라서 Data capture(6)에 저장되어 있는 데이터 8개 중에서 하나씩 선택하여 Multiplex(3)으로 보낸다.Representative diagrams form the entire system. Mono data, mono address, and mono WR signals, which are the left side of the entire drawing, are connected to the signals used in the conventional black and white controller. In the right part, black and white data is converted into color data and transmitted to the color controller. Comparing the left mono address [00:14] (10) with the right color address [03:17] (11), both consist of 15 lines but differ only in address. In order to colorize, the black and white data must go through eight changes each time, so three S0, S1, and S2 are increased through Counter (8), and the data is changed according to S0, S1, S2 in Barrel shifter (7). One of the eight data stored in Capture (6) is selected and sent to Multiplex (3). In the multiplex (3), foreground color and background color are selected and color information is transmitted to the color decoder 4. In the color decoder 4, four inputs and 16 outputs are configured so that 16 colors can be arbitrarily selected from 65535 colors. In the address reduction ROM 1, the capacity of the color palette ROM 2 is reduced to 1/16. The output is reduced to 11, compared to 15 input addresses. This is for optimizing overlapping color information in the color palette ROM (2). In the color palette ROM (2), the lower 11 and the upper 8 of the 19 input addresses are combined. The lower address is an absolute address constituting one screen, and the upper eight addresses are relative addresses corresponding to 256 pages. In the process of converting black and white data to color data, the page information must be sent first to display the screen. Prior to sending black and white data, page capture (5) is sent to page information in advance and stored temporarily. Data capture (6) and address capture (9) temporarily store information necessary for screen processing in accordance with the Mono WR control, and then store the next data and address after eight processes. The actual hardware configuration uses multiple D flip-flops (D-FF) to store pages, addresses, and data. The counter (8) starts to operate when the Mono WR (15) signal is detected. After the counts of S0, S1, and S2 have all been counted, the counter (8) stops operation and returns to the standby state. The barrel shifter 7 selects one of eight data stored in the data capture 6 and sends it to the Multiplex 3 according to the counter 8.

본 발명에서는 텍스트 모드에서 흑백 데이터를 실시간 적으로 칼라 데이터로 변화시키기 위해서 모든 작업을 하드웨어적 방법인 CPLD를 이용하여 수행하며, 실시간적으로 칼라 변환 작업이 가능하다.In the present invention, in order to change the black and white data to color data in real time in the text mode, all operations are performed using a hardware method CPLD, and color conversion is possible in real time.

중복된 색상 값을 축소하는 알고리즘을 풀이하여 ROM에 기록시켜 구성한 결과, Color palette ROM의 용량을 1/16로 축소할 수 있는 어드레스 변환기로 만들 수 있고 제품의 가격을 대폭 낮출 수 있다.The algorithm that reduces the duplicated color values and writes them to the ROM results in an address translator that can reduce the capacity of the color palette ROM to 1/16 and significantly reduce the price of the product.

현재 구현된 것은 640×400 해상도, 65535 색상 중에서 16색상을 선택, 텍스트 모드로 제한이 되어 있지만 응용에 따라 더 높은 해상도와 색상을 사용할 수 있다.The current implementation is limited to text mode by selecting 16 colors among 640 × 400 resolution and 65535 colors, but higher resolutions and colors can be used depending on the application.

Claims (3)

흑백 데이터를 칼라 데이터로 변환하는데 있어, 대표도에서 Color palette ROM(2)에 모든 화면의 색상 정보를 기록한 후, 한 화면을 결정하는 Page select 어드레스(13)와 화면의 절대위치를 결정하는 어드레스(14)가 조합이 되어서 Color palette ROM(2)에서 전경색과 배경색의 칼라 색상을 출력하고 Multiplex(3)에서 Barrel shifter(7)의 출력 값에 따라서 전경색과 배경색을 구분하여 칼라 색상을 만든는 원리In converting black and white data to color data, after recording the color information of all screens in the color palette ROM (2) in the representative diagram, the page select address 13 for determining one screen and the address for determining the absolute position of the screen ( 14) is combined to output the color color of the foreground color and background color from the color palette ROM (2), and to create the color color by dividing the foreground color and the background color according to the output value of the barrel shifter (7) in the Multiplex (3). 청구항 1과 함께 대표도에서 Mono WR(15)의 신호에 따라 화면의 페이지(5), 데이터(6), 어드레스(9)를 임시로 저장함 과 동시에 Counter(8)이 동작되고, Counter(8)의 신호에 따라서 Barrel shifter(7)을 구동시켜 Data(6)에서 임시 저장된 흑백 데이터를 하나씩 Barrel shifter(7)의 S0, S1, S2의 신호에 따라 Multiplex(3)에 전달하여 실시간적으로 흑백을 칼라로 변환할 수 있는 것The counter (8) is operated at the same time as the page 5 of the screen, the data (6), the address (9) is temporarily stored in accordance with the signal of the Mono WR (15) in the representative diagram with claim 1, and the counter (8) The Barrel shifter (7) is driven in response to the signal of, and the black and white data temporarily stored in Data (6) is transferred to the Multiplex (3) according to the signals of S0, S1 and S2 of the Barrel shifter (7) one by one. Convertible to color 도면 7의 알고리즘을 바탕으로 풀이를 하여, 도면 8과 같이 나열한 후, 도면 9의 Address reduction ROM에 기록을 하여, 중복된 색상을 배제하는 새로운 어드레스를 만들어 도면 9의 Color palette ROM의 어드레스 일부로 사용하여 도면 9의 Color palette ROM의 용량을 대폭 줄일 수 있는 방법Based on the algorithm shown in Fig. 7, the solution is arranged as shown in Fig. 8, and then recorded in the Address reduction ROM shown in Fig. 9, and a new address is created to exclude duplicated colors. How to significantly reduce the capacity of the Color palette ROM in Figure 9
KR10-2002-0049685A 2002-08-22 2002-08-22 Monochrome to Color Real Time Converter KR100466482B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0049685A KR100466482B1 (en) 2002-08-22 2002-08-22 Monochrome to Color Real Time Converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0049685A KR100466482B1 (en) 2002-08-22 2002-08-22 Monochrome to Color Real Time Converter

Publications (2)

Publication Number Publication Date
KR20040017553A true KR20040017553A (en) 2004-02-27
KR100466482B1 KR100466482B1 (en) 2005-01-14

Family

ID=37323086

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0049685A KR100466482B1 (en) 2002-08-22 2002-08-22 Monochrome to Color Real Time Converter

Country Status (1)

Country Link
KR (1) KR100466482B1 (en)

Also Published As

Publication number Publication date
KR100466482B1 (en) 2005-01-14

Similar Documents

Publication Publication Date Title
JP2583003B2 (en) Image display method, frame buffer, and graphics display system in graphics display system
US4933878A (en) Graphics data processing apparatus having non-linear saturating operations on multibit color data
US4639721A (en) Data selection circuit for the screen display of data from a personal computer
US5473342A (en) Method and apparatus for on-the-fly multiple display mode switching in high-resolution bitmapped graphics system
EP0352012A2 (en) Multiplane image mixing in a display window environment
JPH0631937B2 (en) Display device
US5420609A (en) Frame buffer, systems and methods
US5231694A (en) Graphics data processing apparatus having non-linear saturating operations on multibit color data
JPH0426273B2 (en)
KR920022808A (en) Fax machine with receiving picture display function
KR100466482B1 (en) Monochrome to Color Real Time Converter
JPS60128498A (en) Color display unit
JP2508544B2 (en) Graphic display device
JPH06343142A (en) Image display device
KR0151094B1 (en) Integrated circuit to control character blanking in the liquid crystal display device
JPH0224783A (en) Image display device
JPS5893097A (en) Color switching circuit
KR890001307B1 (en) Graphic color control circuit
KR100269423B1 (en) Character display circuit of high definition television receiver
JPS6329794A (en) Color development system
JP3017003B2 (en) Image processing device
JPH03196189A (en) Image signal processor
JPH0497390A (en) Displaying device
JP2001508198A (en) Graphics controller for forming composite images
EP1624440A1 (en) Image display device with plural signal output circuits

Legal Events

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

Payment date: 20121127

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20140102

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee