KR940009383B1 - Apparatus for transforming korean character code - Google Patents

Apparatus for transforming korean character code Download PDF

Info

Publication number
KR940009383B1
KR940009383B1 KR1019910016861A KR910016861A KR940009383B1 KR 940009383 B1 KR940009383 B1 KR 940009383B1 KR 1019910016861 A KR1019910016861 A KR 1019910016861A KR 910016861 A KR910016861 A KR 910016861A KR 940009383 B1 KR940009383 B1 KR 940009383B1
Authority
KR
South Korea
Prior art keywords
code
data
font
hangul
outputting
Prior art date
Application number
KR1019910016861A
Other languages
Korean (ko)
Other versions
KR930006567A (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 KR1019910016861A priority Critical patent/KR940009383B1/en
Publication of KR930006567A publication Critical patent/KR930006567A/en
Application granted granted Critical
Publication of KR940009383B1 publication Critical patent/KR940009383B1/en

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The system is about Hangul code translating system to support various Hangul codes by mutual translation between various code systems needless to use font ROM for all code systems respectively. The system comprises; a video RAM outputting Hangul code data to a latch unit according to the control signal, a multiplexer unit consisting of 1st and 2nd multiplexers outputting the gangul code data according to address signal and control signal, a gate transfering code translating data to a programmable device composing SRAM and PGA ,constructing code translating table and outputting code data corresponding to the code table, a font ROM outputting the font data corresponding to the code data suppling from the programmable device.

Description

한글코드변환장치Hangul Code Converter

제1도는 종래의 한글코드변환장치를 도시한 블럭도.1 is a block diagram showing a conventional Hangul code conversion device.

제2도는 본 발명에 따른 한글코드변환장치를 도시한 블럭도.2 is a block diagram showing a Hangul code conversion apparatus according to the present invention.

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

10 : 비디오램 10,30 : 래치10: Video RAM 10,30: Latch

40,50 : 멀티플렉서 60,70,80,110 : 폰트롬40,50: Multiplexer 60,70,80,110: Font ROM

90 : 프로그램가능장치 100 : 게이트90: programmable device 100: gate

200 : 래치부 300 : 멀티플렉서부200: latch portion 300: multiplexer portion

본 발명은 여러가지 체계의 한글코드를 지원하기 위한 한글코드변환장치에 관한 것으로, 특히 각 코드체계별로 폰트롬(Font ROM)을 구비할 필요없이 다수의 코드체계간에 상호 코드변환이 가능한 코드변환 방식에 의해 코드변환함으로써 여러가지 한글코드체계를 지원하도록 한 한글코드변환장치에 관한 것이다.The present invention relates to a Hangul code conversion apparatus for supporting Hangul code of various systems, and in particular, to a code conversion method capable of transcoding between a plurality of code systems without having to have a font ROM for each code system. The present invention relates to a Hangul code conversion device that supports various Hangul code systems by transcoding.

일반적으로 사용되고 있는 범용 컴퓨터는 한글 텍스트모드에서 완성형 및 조합형코드 등 여러가지 한글코드체계를 지원하고 있다. 이와 같은 여러가지 코드체계는 각 코드체계를 지원하기 위해 개별적으로 구비된 폰트롬에 저장되어 있는 특정한 크기와 모양을 가진 문자를 나타내는 폰트데이타를 출력함으로써 지원할 수 있다. 즉, 한글 텍스트모드에서 완성형코드와 조합형코드를 지원하고자 하는 경우, 완성형 코드체계에 따른 폰트데이타가 저장되어 있는 폰트롬과 조합형 코드체계에 따른 폰트데이타가 저장되어 있는 폰트롬이 각각 구비되어야 한다. 또한, 기타 다른 형태의 코드체계를 지원하고자 하는 경우 해당되는 코드체계의 폰트데이타가 저장된 폰트롬이 추가로 구비되어야 한다. 이와 같이 지원하고자 하는 코드체계에 따라 해당되는 각각의 폰트롬을 구비하는 종래의 한글코드변환장치가 제1도에 블록도로 도시되어 있다. 도시된 바와 같이 종래의 한글코드변환장치는 비디오램(10 ; Video RAM)으로부터 출력되는 코드데이타를 래칭(Latching)하는 래치부(200)와, 래칭된 코드데이타를 공급받아 이 코드에 해당되는 폰트롬의 주소를 지정해 주는 멀티플렉서부(300)와, 각 코드형태에 상응하는 특정한 크기와 모양을 갖는 폰트데이타를 저장하고 있으며 멀티플렉서부(300)에 의해 지정되는 주소에 해당되는 폰트데이타를 출력하는 폰트롬(60, 70, 80)들을 구비하고 있다.General-purpose computers commonly used support various Hangul code systems such as complete and combined codes in Hangul text mode. Such various code systems can be supported by outputting font data representing a character having a specific size and shape stored in a font ROM provided separately to support each code system. That is, in case of supporting the completion type code and the combination code in the Korean text mode, a font ROM in which font data according to the complete code system is stored and a font ROM in which font data according to the combination code system are stored must be provided. In addition, when supporting other types of code systems, a font ROM in which font data of the corresponding code system is stored should be additionally provided. As shown in FIG. 1, a conventional Hangul code conversion device having respective fontroms according to the code system to be supported is shown in FIG. As shown, the conventional Hangul code conversion device receives a latch unit 200 for latching code data output from a video RAM 10 and a latched code data to receive a font corresponding to the code. A font which stores the font data having the specific size and shape corresponding to each code type, and which outputs the font data corresponding to the address specified by the multiplexer unit 300. ROMs 60, 70, and 80 are provided.

제1도에서 비디오데이타가 저장된 비디오램(10)으로부터 출력되는 한글코드데이타와 첫번째 바이트가 제1 및 제2래치(20, 30)중의 하나에 래칭되고 두번째 바이트는 나머지 래치에 래칭된다. 이와 같이 래칭된 2바이트의 코드데이타는 각 래치(20, 30)의 출력에 결합된 제1 및 제2멀티플렉서(40, 50)로 각각 공급된다. 그러면, 멀티플렉서(40, 50)는 각각 제어신호를 공급받아 상기 래치부(200)로부터 전송된 2바이트 데이타로 이에 상응하는 폰트롬(60, 70, 80)의 주소를 지정하게 된다. 이때, 비디오램(10)으로부터 출력된 코드데이타가 완성형 코드체계이면 멀티플렉서부(300)는 완성형 폰트롬(60)의 해당 주소를 지정하게 되고, 상기 코드 데이타가 조합형 코드체계이면 조합형 폰트롬(70)의 해당 주소를 지정하게 되며, 상기 코드데이타가 기타형태의 코드체계이면 기타형 폰트롬(80)의 해당 주소를 지정하게 된다. 여기서, 각 코드체계의 폰트데이타를 저장하는 폰트롬(60, 70, 80)으로 EPROM(Erasable and Programmable ROM) 또는 마스크롬(Mark ROM)등이 사용된다.In FIG. 1, the Hangul code data and the first byte output from the video RAM 10 in which the video data are stored are latched in one of the first and second latches 20 and 30, and the second byte is latched in the remaining latches. The latched two-byte code data is supplied to the first and second multiplexers 40 and 50 coupled to the outputs of the latches 20 and 30, respectively. Then, the multiplexers 40 and 50 receive the control signals, respectively, and designate the addresses of the fontroms 60, 70, and 80 corresponding to the two-byte data transmitted from the latch unit 200. At this time, if the code data output from the video RAM 10 is a complete code system, the multiplexer unit 300 designates a corresponding address of the complete font ROM 60. If the code data is a combination code system, the combined font system 70 is used. If the code data is a code system of other type, the corresponding address of the guitar type font ROM 80 is designated. Here, erasable and programmable ROM (EPROM) or mask ROM (Mark ROM) is used as the font ROMs 60, 70, and 80 for storing font data of each code system.

이와 같이, 지원하고자 하는 각 코드체계별로 이에 상응하는 폰트데이타를 저장하는 폰트롬을 구비하여 원하는 코드체계의 폰트데이타를 출력하는 종래의 한글코드변환 방식에서는 각 코드체계를 지원하는데 필요한 폰트데이타를 각 폰트롬마다 저장해야 하기 때문에 폰트데이타의 다운로드(Down Load)시 많은 양의 데이타를 다운로드 해야 되어 회로 제작시 많은 시간이 소요되므로 생산성이 저하되며, 또한 EPROM 또는 MASK ROM을 사용하는 폰트롬이 여러개 필요하므로 장치를 구성하는데 있어서 원가 상승의 요인이 되어 경제성을 저하시키는 문제점이 있었다.As described above, in the conventional Korean code conversion method of outputting font data of a desired code system by providing a font ROM for storing corresponding font data for each code system to be supported, the font data required to support each code system is determined. Since each font ROM needs to be saved, a large amount of data must be downloaded when downloading the font data, and a lot of time is required in circuit fabrication, thus reducing productivity, and several font ROMs using EPROM or MASK ROM are required. Therefore, there is a problem in that the cost rises in the configuration of the device, which lowers the economic efficiency.

본 발명은 전술한 바와 같은 문제점을 해결하기 위하여 안출된 것으로, 1개의 폰트롬을 구비하더라도 다수의 코드체계를 지원함으로써 생산성 및 경제성을 향상시키도록 한 한글코드변환장치를 제공하는데 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a Hangul code conversion device for improving productivity and economy by supporting a plurality of code systems even though one font ROM is provided.

이와 같은 목적을 달성하기 위하여, 본 발명은 비디오램으로부터 출력되는 코드데이타를 바이트 단위로 래칭하는 래치부와 ; 상기 래치부로부터 바이트 단위로 전송되는 코드데이타를 공급받아 출력하는 멀티플렉서부와 ; 다수의 폰트데이타를 각 주소에 저장하고, 공급받은 코드데이타에 대응되는 주소에 저장된 폰트데이타를 출력하는 폰트롬을 구비하는 한글코드변환장치에 있어서, CPU로부터 공급되는 코드변환데이타를 전달하는 게이트와 ; 상기 게이트를 통해 공급되는 코드변환데이타에 의해 코드변환테이블을 구축하고, 상기 멀티플렉서부로부터 공급된 제1코드데이타에 따라 상기 코드변환테이블의 대응되는 제2코드데이타를 상기 폰트롬측에 출력하는 프로그램 가능장치를 구비하는 것을 특징으로 하는 한글코드변환장치를 제공한다.In order to achieve the above object, the present invention provides a latch unit for latching code data output from a video RAM in units of bytes; A multiplexer unit for receiving and outputting code data transmitted in byte units from the latch unit; A Hangul code conversion device having a font ROM for storing a plurality of font data at each address and outputting font data stored at an address corresponding to the supplied code data, comprising: a gate for transmitting code conversion data supplied from a CPU; ; A code conversion table is constructed from the code conversion data supplied through the gate, and the corresponding second code data of the code conversion table is output to the font ROM side according to the first code data supplied from the multiplexer unit. Provided is a Hangul code conversion device comprising a device.

이하 첨부된 도면을 참조하여 본 발명의 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에 따른 한글코드변환장치는 제2도에 도시된 바와 같이 비디오램(10), 래치부(200), 멀티플렉서부(300), 프로그램가능장치(90 ; Programmable Device), 게이트(100) 및 폰트롬(110)을 구비하여 이루어진다. 비디오램(10)은 한글코드데이타를 래치부(20)측에 출력한다. 래치부(200)는 제1래치(20)와 제2래치(30)를 구비하며, 비디오램(10)으로부터 공급되는 한글코드데이타를 제어신호에 따라 래칭한다. 멀티플렉서부(300)는 제1멀티플렉서(40)와 제2멀티플렉서(50)를 구비하며, 래치부(200)에 래칭된 한글코드데이타를 번지신호와 제어신호에 따라 프로그램가능장치(90)측에 출력한다. 게이트(100)는 CPU(도면에 도시하지 않음)로부터 공급되는 코드변환데이타를 프로그램가능장치(90)측에 전달한다. 프로그램가능장치(90)는 SRAM(Static RAM) 또는 PGA(Programmable Gate Array)등으로서 이루어지며, 게이트(100)를 통해 공급되는 코드변환데이타에 의해 코드변환테이블을 구축하고 멀티플렉서부(300)로부터 공급된 코드데이타에 따라 코드변환테이블의 대응되는 코드데이타를 출력함으로써 폰트롬(110)의 폰트데이타를 출력시키기에 유효한 코드체계로 변환한다. 폰트롬(110)은 프로그램가능장치(90)로부터 공급된 코드데이타에 따라 대응되는 폰트데이타를 출력한다.Hangul code conversion apparatus according to the present invention is a video RAM 10, a latch unit 200, a multiplexer unit 300, a programmable device (90; Programmable Device), a gate 100 and the like as shown in FIG. A font ROM 110 is provided. The video RAM 10 outputs Hangul code data to the latch unit 20 side. The latch unit 200 includes a first latch 20 and a second latch 30, and latches the Hangul code data supplied from the video RAM 10 according to a control signal. The multiplexer unit 300 includes a first multiplexer 40 and a second multiplexer 50. The multiplexer unit 300 includes the Hangul code data latched on the latch unit 200 in accordance with the address signal and the control signal. Output The gate 100 transmits code conversion data supplied from a CPU (not shown in the figure) to the programmable device 90 side. The programmable device 90 is configured as a static RAM (SRAM) or a programmable gate array (PGA) or the like, and constructs a code conversion table by using code conversion data supplied through the gate 100 and supplied from the multiplexer unit 300. The code data is converted into a code system valid for outputting the font data of the font ROM 110 by outputting corresponding code data of the code conversion table according to the code data. The font ROM 110 outputs corresponding font data according to the code data supplied from the programmable device 90.

이와 같이 구성된 본 발명에 의한 한글코드변환장치는 다음과 같이 동작한다.The Hangul code conversion device according to the present invention configured as described above operates as follows.

비디오램(10)으로부터 한글코드데이타가 출력되면, 첫번째 바이트는 제1래치(20)에 래칭되고 두번째 바이트는 제2래치(30)에 래칭되어 2바이트 한글코드가 래치부(200)에 래칭된다. 제1 및 제2래치(20, 30)에 래칭된 코드데이타는 제어신호에 의해 각각 제1 및 제2멀티플렉서(40, 50)로 전송된다. 그러면, 제1 및 제2멀티플렉서(40, 50)는 번지신호와 제어신호에 따라 각각 1바이트씩 코드데이타를 출력하여 프로그램가능장치(90)측에 2바이트 코드데이타를 공급한다. 이때, 프로그램가능장치(90)에는 소정의 코드체계간에 상호코드변환이 가능한 코드변환테이블이 다운로딩되어 있어서, 프로그램가능장치(90)로 입력되는 코드데이타의 코드체계는 폰트롬(110)에서 해당되는 폰트데이타를 출력시키기에 유효한 코드체계로 변환된다. 예를 들면, 시스템이 완성형과 조합형 한글코드를 지원하는 경우, 프로그램가능장치(90)에 개개의 완성형 한글코드에 해당하는 폰트롬(110)의 주소에 각각 대응하는 조합형 한글코드를 다운로딩하므로써 완성형 코드로 조합형 코드로 변환할 수 있다. 상기 멀티플렉서부(300)로부터 조합형 코드데이타가 공급되면 프로그램가능장치(90)는 이 코드데이타를 가지고 어드레싱하여 지정된 주소에 해당되는 폰트데이타를 폰트롬(110)으로부터 출력시킨다. 한편, 멀티플렉서부(300)로부터 완성형 코드데이타가 공급되면 프로그램가능장치(90)는 다운로딩되어 있는 코드변환테이블을 이용하여 완성형 코드데이타를 이에 상응하는 조합형 코드데이타로 코드변환하여 이 변환된 코드데이타를 가지고 어드레싱하므로써 지정된 주소에 해당되는 폰트데이타를 폰트롬(110)으로부터 출력시킨다. 이와 같이, 프로그램가능장치(90)에 코드변환테이블을 다운로딩하여 비디오램(10)으로부터 출력되는 코드데이타를 이 코드데이타에 해당되는 폰트데이타가 상기 폰트롬(110)으로부터 출력되도록 해당 주소를 지정하는 코드데이타로 변환시키므로써 여러가지 한글코드체계를 지원할 수 있다.When Hangul code data is output from the video RAM 10, the first byte is latched to the first latch 20, the second byte is latched to the second latch 30, and the two-byte Hangul code is latched to the latch unit 200. . The code data latched in the first and second latches 20 and 30 is transmitted to the first and second multiplexers 40 and 50 by control signals, respectively. Then, the first and second multiplexers 40 and 50 output the code data one byte each in accordance with the address signal and the control signal, and supply the two byte code data to the programmable device 90 side. At this time, the programmable device 90 is downloaded with a code conversion table capable of mutual code conversion between predetermined code systems, so that the code system of the code data input to the programmable device 90 corresponds to the font ROM 110. It is converted into a valid code system for outputting font data. For example, if the system supports the complete type and the combined Hangul code, the complete type is obtained by downloading the combined Hangul code corresponding to the address of the font ROM 110 corresponding to each completed Hangul code on the programmable device 90, respectively. You can convert it to combined code. When the combined code data is supplied from the multiplexer 300, the programmable device 90 addresses the code data and outputs the font data corresponding to the designated address from the font ROM 110. On the other hand, when the complete code data is supplied from the multiplexer unit 300, the programmable device 90 codes the completed code data into a corresponding combination code data using the downloaded code conversion table and converts the converted code data. The font data corresponding to the designated address is outputted by addressing with. In this way, the code conversion table is downloaded to the programmable device 90 and the code data output from the video RAM 10 is designated. The font data corresponding to the code data is outputted from the font ROM 110. It can support various Hangul code system by converting into code data.

이상 설명한 바와 같이, 본 발명은 CPU로부터 게이트(100)를 통해 공급되는 코드변환 데이타를 프로그램가능장치(90)에 다운로드시켜 코드변환테이블을 구축하고, 프로그램가능장치(90)가 비디오램(10)으로부터 래치부(200)와 멀티플렉서부(300)를 통해 공급되는 코드데이타를 폰트롬(110)의 폰트데이타를 출력시키기에 유효한 코드데이타로 변환하여 폰트롬(110)측에 출력함으로서 폰트롬(11)의 폰트데이타를 출력한다. 따라서, 비디오램(10)으로부터 출력되는 코드데이타의 형태가 변경되는 경우 그에 대응하게 코드변환데이타를 프로그램가능장치(90)에 다운로드하면 폰트롬(110)의 폰트데이타를 출력시킬 수 있다. 이에 따라, 1개의 폰트롬(110)만을 구비하더라도 다수의 코드체계를 지원할 수 있게 되므로, 회로제작시 1개의 폰트롬에만 폰트데이타를 다운로드 시켜도 되어 폰트데이타를 다운로드 시키는데 소요되는 시간을 감소시켜 생산성을 향상시킬 수 있으며, 폰트롬의 갯수를 감소시킬 수 있어 원가를 감소시켜 경제성을 향상시킬 수 있다.As described above, in the present invention, the code conversion data supplied from the CPU through the gate 100 is downloaded to the programmable device 90 to construct a code conversion table, and the programmable device 90 is connected to the video RAM 10. By converting the code data supplied from the latch unit 200 and the multiplexer unit 300 from the code data effective to output the font data of the font ROM 110 and output to the font ROM 110 side, the font ROM (11) Prints font data of). Therefore, when the form of code data output from the video RAM 10 is changed, when the code conversion data is downloaded to the programmable device 90, the font data of the font ROM 110 may be output. Accordingly, even if only one font ROM 110 is provided, it is possible to support a plurality of code systems, so that the circuit data may be downloaded to only one font ROM, reducing the time required to download the font data to improve productivity It can improve, and can reduce the number of font-roms, thereby reducing costs and improving economics.

Claims (1)

비디오램(10)으로부터 출력되는 코드데이타를 바이트 단위로 래칭하는 래치부(200)와 ; 상기 래치부(200)로부터 바이트 단위로 전송되는 코드데이타를 공급받아 출력하는 멀티플렉서부(300)와 ; 다수의 폰트데이타를 각 주소에 저장하고, 공급받은 코드데이타에 대응되는 주소에 저장된 폰트데이타를 출력하는 폰트롬(110)을 구비하는 한글코드변환장치에 있어서, CPU로부터 공급되는 코드변환데이타를 전달하는 게이트(100)와 ; 상기 게이트(100)를 통해 공급되는 코드변환데이타에 의해 코드변환테이블을 구축하고, 상기 멀티플렉서부(300)로부터 공급된 제1코드데이타에 따라 상기 코드변환테이블의 대응되는 제2코드데이타를 상기 폰트롬(110)측에 출력하는 프로그램가능장치(90)를 구비하는 것을 특징으로 하는 한글코드변환장치.A latch unit 200 latching code data output from the video RAM 10 in units of bytes; A multiplexer unit 300 for receiving and outputting code data transmitted in byte units from the latch unit 200; A Hangul code conversion device including a font ROM 110 for storing a plurality of font data at each address and outputting font data stored at an address corresponding to the supplied code data, and transferring the code conversion data supplied from the CPU. A gate 100; A code conversion table is constructed by code conversion data supplied through the gate 100, and the corresponding second code data of the code conversion table is set according to the first code data supplied from the multiplexer 300. Hangul code conversion device characterized in that it comprises a programmable device (90) for output to the ROM (110) side.
KR1019910016861A 1991-09-27 1991-09-27 Apparatus for transforming korean character code KR940009383B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910016861A KR940009383B1 (en) 1991-09-27 1991-09-27 Apparatus for transforming korean character code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910016861A KR940009383B1 (en) 1991-09-27 1991-09-27 Apparatus for transforming korean character code

Publications (2)

Publication Number Publication Date
KR930006567A KR930006567A (en) 1993-04-21
KR940009383B1 true KR940009383B1 (en) 1994-10-07

Family

ID=19320419

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910016861A KR940009383B1 (en) 1991-09-27 1991-09-27 Apparatus for transforming korean character code

Country Status (1)

Country Link
KR (1) KR940009383B1 (en)

Also Published As

Publication number Publication date
KR930006567A (en) 1993-04-21

Similar Documents

Publication Publication Date Title
KR940002718A (en) Data transmission device
KR910008977A (en) Variable length code demodulation device
KR910019337A (en) Multifunction Scan Flip-Flop
US4949302A (en) Message file formation for computer programs
KR950003967A (en) Display information converting device and information processing system
JPH05219386A (en) Device and method of converting data format
KR890006003A (en) Data input / output circuit
US4161757A (en) Facsimile system
KR940009383B1 (en) Apparatus for transforming korean character code
US4202042A (en) Digital to analog interface for simultaneous analog outputs
JPS62230169A (en) Wipe waveform selecting device
EP0196044A3 (en) Image input system
KR960032155A (en) Key input processing circuit
EP0200389A2 (en) Proofreading/correction apparatus
KR880005509A (en) Digital display systems
USH241H (en) Programmable telemetry word selector
JPS62135921A (en) Input device for processing system
KR960014168B1 (en) Font controller
JPS5939049B2 (en) Code conversion method
JP3357751B2 (en) Data converter
KR900019388A (en) Scan Data Conversion Circuit
JPS57143635A (en) Method and device for converting digital signal
KR910009096B1 (en) Korean character code transformation method
JPS6136248B2 (en)
KR880002118B1 (en) Letter processor

Legal Events

Date Code Title Description
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
LAPS Lapse due to unpaid annual fee