KR950001063B1 - Two byte completion type korean character processing method using pattern rom - Google Patents

Two byte completion type korean character processing method using pattern rom Download PDF

Info

Publication number
KR950001063B1
KR950001063B1 KR1019880007272A KR880007272A KR950001063B1 KR 950001063 B1 KR950001063 B1 KR 950001063B1 KR 1019880007272 A KR1019880007272 A KR 1019880007272A KR 880007272 A KR880007272 A KR 880007272A KR 950001063 B1 KR950001063 B1 KR 950001063B1
Authority
KR
South Korea
Prior art keywords
data
storage means
rom
address
memory area
Prior art date
Application number
KR1019880007272A
Other languages
Korean (ko)
Other versions
KR900000794A (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 KR1019880007272A priority Critical patent/KR950001063B1/en
Publication of KR900000794A publication Critical patent/KR900000794A/en
Application granted granted Critical
Publication of KR950001063B1 publication Critical patent/KR950001063B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1827Accessing generic data, e.g. fonts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1801Input data handling means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/002Generic data access

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

In the Hangul processing method of teletext, the method improves the processing time per character by using pattern ROM. The pattern ROM is located in the partial region of a program ROM. Using this method, font data reading time is faster than other methods and program is more easily made out. This method uses a buffer (20) that latches the first address data and outputs it, a program ROM (30) that outputs program data, a pattern ROM (40) that outputs font data.

Description

패턴롬을 이용한 2바이트 완성형 한글처리방법2-byte Completion Hangul Processing Using Pattern ROM

제1도는 본 발명의 바람직한 일 실시예를 수행하는 회로도이다.1 is a circuit diagram for carrying out a preferred embodiment of the present invention.

제2도는 본 발명의 바람직한 일 실시예를 따른 메모리 맵이다.2 is a memory map according to an exemplary embodiment of the present invention.

제3도는 본 발명의 바람직한 일 실시예에 따른 수행흐름도이다.3 is a flow chart according to a preferred embodiment of the present invention.

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

20 : 버퍼회로 30 : 프로그램 롬20: buffer circuit 30: program ROM

40 : 패턴 롬40: pattern rom

본 발명은 텔리텍스트(Teletext)에 있어서 한글 데이타 처리에 과한 것으로, 특히 메모리에 저장된 데이타를 독출하는 방법에 관한 것이다.The present invention relates to Hangul data processing in Teletext, and more particularly, to a method of reading data stored in a memory.

통상적으로 한글 처리 텔리텍스트는 운용자의 선택모드에 대응하여 시스템을 운용하기 위한 소정 프로그램을 내장하고 있는 프로그램롬과 한글의 한 글자당 폰트(Font)에 대한 폰트데이타를 저장하고 있는 패턴롬(Patterm ROM)을 구비한다.따라서 상기 운용자가 전송하고자 하는 파일(File)을 키보드(Key Board)를 통해 파일링하면, 상기 텔리텍스트는 키보드로부터 입력되는 파일을 프로그램롬의 프로그램에 의해 상기 패턴롬에 저장된 폰트데이타를 독출하여 파일을 작성하야 전송하게 된다.In general, the Hangul processing teletext is a program ROM containing a predetermined program for operating the system in response to an operator's selection mode and a pattern ROM storing font data for a font per letter of the Hangul. Therefore, when the operator files the file (File) to be transmitted through the keyboard, the teletext is a font data stored in the pattern rom by the program of the program to input the file input from the keyboard. You need to read the file and create the file to send it.

일반적으로 종래 텔리텍스트의 한글처리방법은 3바이트 모아쓰기방식을 사용하여 2바이트 완성형 한글을 처리하는 형식을 취하거나, 또는 패턴롬은 프로그램롬과 별도로 설치하고 상기 패턴롬만을 칩 셀렉터한후 버퍼를 통해 폰트데이타를 독출하거나 패턴롬의 폰트데이타를 독출하여 램(RAM)에 일시 저장하였다가 화일링을 위해 상기 램에 저장된 폰트데이타를 독출하여 파일을 작성하여 전송한다.In general, the conventional Korean text processing method of teletext takes the form of processing a 2-byte complete Hangul using a 3-byte writing method, or installs a pattern ROM separately from a program ROM, selects only the pattern ROM, and then buffers the buffer. Read the font data through or read the font data of the pattern ROM temporarily stored in the RAM (RAM), and reads the font data stored in the RAM for filing to create a file to send.

그러나 상술한 종래 텔리텍스트의 한글처리방법은 화일글자를 파일링하는 우회 동작으로 인해 상기 프로그램롬내의 저장되는 프로그램이 복잡하는 문제점이 있었다. 또한, 상술한 문제점들로 인해 한글처리속도가 저하되는 단점이 있었다.However, the above-described conventional Hangul text processing method of the teletext has a problem that a program stored in the program ROM is complicated due to a bypass operation of filing a file character. In addition, there was a disadvantage that the Hangul processing speed is lowered due to the above problems.

따라서 본 발명의 목적은 텔리텍스트의 한글처리방법에 있어서 프로그램롬내의 일부영역에 패턴롬을 뱅킹(Banking) 구성하여 글자당 처리속도를 향상할 수 있는 패턴롬을 이용한 한글처리 방법에 제공함에 있다.Accordingly, an object of the present invention is to provide a Hangul processing method using a pattern rom which can improve the processing speed per character by banking the pattern rom in a part of the program rom in the Hangul processing method of the teletext.

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

제1도는 본 발명의 바람직한 일 실시예를 수행하는 회로도로서, 마이콤(도시하지 않음)으로부터 입력되는 소정 셀렉터 신호(Select)에 응답하여 마이콤의 제1어드레스 포트(address port)로부터 입력되는 제1어드레스데이트(A0~A6)를 래치출력하는 버퍼(20)와, 상기 마이콤으로부터 입력되는 칩인에이블신호(

Figure kpo00001
)에 응답하여 상기 마이콤의 제2어드레스 포트로부터 입력되는 제2어드레스데이타(A0~A15) 입력받으며, 소정 어드레스구간이상의 어드레스 지정시 상기 지정된 어드레스에 해당하는 프로그램 데이타를 독출하여 상기 마이콤을 출력하는 프로그램롬(30)과, 사이 마이콤으로부터 인가되는 상기 칩인에이블신(
Figure kpo00002
)에 응답하여 상기 제2어드레스데이타(A0~A15)중 A0~A11 어드레스데이타와, 상기 버퍼(20)로부터 래치 출력되는 상기 제1어드레스데이타(A0~A6)을 입력받으며, 상기 두 어드레스 데이타의 조합에 따라 지정되는 어드레스에 저장된 폰트 데이타를 독출하여 상기 마이콤으로 출력하는 패턴롬(40)으로 구성된다.FIG. 1 is a circuit diagram for performing a preferred embodiment of the present invention, and is a first address input from a first address port of a microcomputer in response to a selector signal Select from a microcomputer (not shown). A buffer 20 for latching out the data A0 to A6 and a chip enable signal input from the micom
Figure kpo00001
Receives the second address data (A0 ~ A15) input from the second address port of the microcomputer in response to a), and outputs the microcomputer by reading the program data corresponding to the designated address when addressing more than a predetermined address section ROM 30 and the chip enable scene applied from the microcomputer (
Figure kpo00002
A0 to A11 address data among the second address data A0 to A15 and the first address data A0 to A6 latched and outputted from the buffer 20 are inputted in response to the second address data A0 to A15. And a pattern rom 40 which reads font data stored at an address designated by the combination and outputs the same to the microcomputer.

제2도는 본 발명의 바람직한 일 실시예에 따른 메모리 맵으로서, 상기 프로그램롬(30)내의 일부 구간에 확장 메모리 형태로 패턴롬(40)이 포함되고 있음을 나타낸다.FIG. 2 is a memory map according to an exemplary embodiment of the present invention, and shows that the pattern ROM 40 is included in an extended memory form in a portion of the program ROM 30.

제3도는 본 발명의바람직한 일 실시예에 따른 수행흐름도로서, 키보드(도시되지 않음)로부터 첫번째 코드데이타를 입력받아 상기 코드데이타에 대응하는 제1어드레스데이타(A0-A6)를 생성하고, 셀렉터 신호를 버퍼(20)로 출력한 후 제1어드레스를 버퍼(20)를 통해 출력한 다음 셀렉터 신호를 오프시키는 패턴롬 선택과정과, 상기 패턴롬 선택과정 수행후 마이콤은 두번째 코드데이타를 키보드로부터 입력받아 글자간의 변위를 계산한 후 상기 변위에 해당하는 폰트데이타를 패턴롬(40)으로부터 읽어내어 처리하는 폰트데이타리드 과정으로 이루어진다.3 is a flow chart according to a preferred embodiment of the present invention. The first code data is input from a keyboard (not shown) to generate first address data A0-A6 corresponding to the code data, and the selector signal is selected. Outputs the first address through the buffer 20 and then turns off the selector signal, and after performing the pattern rom selection process, the microcomputer receives the second code data from the keyboard. After calculating the character-to-letter displacement, the font data reading process is performed by reading the font data corresponding to the displacement from the pattern rom 40.

이하 상술한 제1~3도를 참조하여 본 발명의 바람직한 일 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to FIGS. 1 to 3.

일반적으로 2바이트 완성형 한글의 구성은 94열 94행으로 구성되어 한 문자 폰트를 16×20비트로 정의하면, 문자 하나의 폰트데이타는 40바이트로 구성되며, 94행 1열을 구성하는 폰트데이타는 약 4×1000바이트(byte) 정도의 메모리용량을 필요로한다. 따라서 94열×94행을 구성하는 폰트데이타들은 374×1000바이트 정도의 메모리용량을 필요로 하며, 상기 팬턴롬(40)은 대략 374K바이트의 용량의 롬을 사용해야 한다. 그러나 본 발명은 제2도에 도시된 바와 같이 4바이트정도의 메모리용량을 가지는 패턴롬을 여러개 뱅킹한 것처럼 패턴롬(40)을 구성하여 상기 뱅킹된 메모리영역을 상기 프로그램롬의 확장메모리영역으로 할당하여 상기 뱅킹된 메모리영역이 상기 프로그램롬(30)의 일부영역으로 사용한다.In general, a 2-byte complete Hangul is composed of 94 columns and 94 lines. If a character font is defined as 16 x 20 bits, one character font data consists of 40 bytes, and the font data constituting 94 lines and 1 column is approximately. It requires about 4 x 1000 bytes of memory. Therefore, font data constituting 94 columns x 94 rows requires a memory capacity of about 374 × 1000 bytes, and the pantomrom 40 should use a ROM of about 374K bytes. However, according to the present invention, as shown in FIG. 2, the patterned memory 40 is allocated to the extended memory area of the program ROM by configuring the patterned ROM 40 as a plurality of patterned ROMs having a memory capacity of about 4 bytes. The banked memory area is used as a partial area of the program ROM 30.

먼저 마이콤은 3-1단계에서 키보드로부터 2바이트 완성형 코드의 첫번째 코딩 데이타를 입력받아 패턴롬(40)내이 해당 구간을 해독하여 패턴롬영역의 상위 어드레스를 지정하는 제1어드레스데이타(A0~A6)를 생성하고, 3-2단계에서 인에이블상태의 셀렉터신호(Select)를 상기 버퍼(20)로 출력한다. 3-3단계에서 상기 셀럭터신호(Select)에 응답하여 상기 제1어드레스데이타(A0~A6)를 입력받아 상기 패턴롬(40)으로 래치출력한다. 이후 상기 마이콤은 3-4단계에서 상기 버퍼(20)로 출력되는 셀렉터신호(Select)를 디스에이블상태로 오프시킨다.First, the microcomputer receives the first coding data of the 2-byte complete code from the keyboard in step 3-1, and decodes the corresponding section in the pattern ROM 40 to designate the upper address of the pattern ROM region (A0 to A6). In operation 3-2, the selector signal Select in the enabled state is output to the buffer 20. In operation 3-3, the first address data A0 to A6 are received in response to the selector signal Select to be latched to the pattern ROM 40. Thereafter, the microcomputer turns off the selector signal Select output to the buffer 20 in a disabled state in steps 3-4.

3-5단계에서 상기 마이콤은 상기 키보드부터 2바이트 완성형 코드의 두번째 코딩데이타를 입력받아 해당 구간을 해독하며, 3-6단계에서 상기 코딩데이타에 따른 변위를 산출하고, 3-7단계에서 상기 코딩데이타의 변위에 대응하는 폰트데이타를 독출하기위한 하위어드레스의 시작어드레스를 지정하는 "00" 값의 제2어드레스데이타(A0~A15)를 생성하여 제2어드레스토를 통하여 프로그램롬(30)과 패턴롬(40)으로 출력한다. 이후 3-8단계에서 상기 마이콤은 상기 제1어드레스데이타(A0~A6)에 해당하는 뱅킹 메모리영역내의 상기 제2어드레스데이타(A0~A15)에 대응하는 해당어드레스 영역으로부터 독출된 폰트데이타를 리드하여 처리한다. 즉, 상기 3-8단계에서 상기 패턴롬(40)은 상기 마이콤으로부터 입력되는 제2어드레스데이타(A0~A15)중 하위 12비트의 어드레스데이타(A0~A12)를 입력하여 상기 12비트 어드레스데이타(A0~A12)가 지정하는 어드레스영역에 저장된 1바이트의 폰트데이타를 독출하여 마이콤을 출력하며, 상기 마이콤은 상기 1바이트의 독출된 폰트데이타를 처리한다. 이후 3-9단계에서 상기 제2어드레스데이타(A0~A15)를 1씩 가산하고, 3-10단계에서 상기 최초의 제2어드레스 데이타(A0~A15)를 1증가시켜 제2어드레스포트를 통하여 프로그램롬(30)과 패턴롬(40)으로 출력한다. 즉 상기 3-8단계를 수행한 마이콤은 3-9단계에서 상기 제2어드레스데이타(A0~A15)로부터 40이 가산되었는가를 비교하여, 상기 (3-8)~(3-10)의 단계를 반복하여 40바이트의 폰트데이타를 상기 패턴롬(40)의 상기 제1어드레스데이타 (A0~A6)에 해당하는 뱅킹 메모리영역으로부터 독출하여 처리한다.In step 3-5, the microcomputer receives the second coding data of the 2-byte complete code from the keyboard, decodes the corresponding section, calculates the displacement according to the coding data in steps 3-6, and encodes the coding in steps 3-7. Generates the second address data A0 to A15 having a value of # 00 that specifies the starting address of the lower address for reading the font data corresponding to the displacement of the data, and the program ROM 30 and the pattern through the second address. Output to ROM 40. In step 3-8, the microcomputer reads font data read from the corresponding address area corresponding to the second address data A0 to A15 in the banking memory area corresponding to the first address data A0 to A6. Process. That is, in step 3-8, the pattern rom 40 inputs the lower 12-bit address data A0 to A12 of the second address data A0 to A15 input from the microcomputer to input the 12-bit address data ( A microbyte is output by reading font data of 1 byte stored in the address area designated by A0 to A12, and the microcomputer processes the read font data of 1 byte. Thereafter, in step 3-9, the second address data A0 to A15 is added by 1, and in step 3-10, the first second address data A0 to A15 is increased by 1 to be programmed through the second address. Output to the ROM 30 and the pattern ROM (40). That is, the microcomputer performing steps 3-8 compares the steps of (3-8) to (3-10) by comparing whether 40 is added from the second address data A0 to A15 in step 3-9. The 40-byte font data is repeatedly read from the banking memory area corresponding to the first address data A0 to A6 of the pattern ROM 40 and processed.

상술한 바와 같이 본 발명은 프로그램롬내의 일부영역에 연관한 확장메모리영역을 패턴롬을 소정 메모리량으로 뱅킴구성하여 램이나 버퍼를 통하지 않고 폰트데이타를 직접 읽어들이므로, 3바이트 모아쓰기를 이용한 2바이트 완성형 한글처리 형식이나 프로그램롬과 별도로 패턴롬을 설치하고 램이나 버퍼를 통해 패턴롬의 폰 데이타를 읽어들이는 종래방법보다 폰트데이타를 읽어들이는 시간이 빠르며 프로그램롬의 프로그램이 간략해지는 이점이 있다.As described above, the present invention configures an extended memory region associated with a partial region in the program ROM by patterning the ROM into a predetermined amount of memory so that font data can be directly read without using RAM or a buffer. It is faster to read font data than the conventional method of installing pattern ROM separately from byte completion type Hangul processing format or program ROM and reading phone data of pattern ROM through RAM or buffer. have.

Claims (1)

소정의 제어프로그램을 구비한 제1기억수단과, 소정 메모리영역을 분할되며 상기 분할된 메모리영역을 뱅킹메모리영역으로 연결지정하여 각 뱅킹메모리 영역에 폰트데이타를 저장하는 제2기억수단과, 소정 데이타를 버퍼링출력하는 제3기억수단에 연결된 마이콤의 한글처리방법에 있어서; 상기 마이콤이 외부로부터 입력되는 첫번째 코드데이타를 입력받아 이에 응답하여 상기 제1및 제2기억수단을 선택하는 선택신호를 상기 제1및 제2기억수단으로 생성출력하는 선택신호출력단계와; 상기 마이콤이 상기 코드데이타에 대응하는 상기 뱅킹메모리영역을 지정하는 제1어드레스데이타를 상기 제3기억수단을 통해 상기 제2기억수단을 출력하며, 상기 제1및 제2기억수단을 선택하는 선택신호를 상기 제1및 제2기억수단으로 생성출력하고 상기 선택신호를 오프시키는 뱅킹메모리영역지정단계와: 외부로부터 두번째 코드데이타의 입력 대응하여 상기 마이콤이 상기 코드 데이타에 대응하는 글자간 변위를 산출하고, 상기 글자간 변위에 대응하는 제2어드레스데이타를 생성출력하여 상기 제1어드레스데이타에 대응하는 상기 뱅킹 메모리영역내에서 상기 글자간 변위에 해당하는 폰트데이타를 독출하여 처리하는 폰트데이타처리과정을 구성함을 특징으로 하는 패턴롬을 이용한 2바이트 완성형 한글처리방법.First storage means having a predetermined control program, second memory means for dividing a predetermined memory area, connecting the divided memory area to a banking memory area, and storing font data in each banking memory area, and predetermined data; In the Hangul processing method of the microcomputer connected to the third storage means for buffering the output; A selection signal output step of receiving, by the micom, first code data input from the outside and generating and outputting a selection signal for selecting the first and second storage means to the first and second storage means in response thereto; A selection signal for outputting the second storage means through the third storage means for the first address data for designating the banking memory area corresponding to the code data by the microcomputer; A banking memory region designation step of generating and outputting the first and second storage means to the first and second storage means and turning off the selection signal: the microcomputer calculates the letter-to-character displacement corresponding to the code data in response to input of second code data from the outside; And generating and outputting second address data corresponding to the letter-to-letter displacement, and reading and processing font data corresponding to the letter-to-letter displacement in the banking memory area corresponding to the first address data. 2 byte complete Hangul processing method using a pattern rom characterized in that.
KR1019880007272A 1988-06-17 1988-06-17 Two byte completion type korean character processing method using pattern rom KR950001063B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019880007272A KR950001063B1 (en) 1988-06-17 1988-06-17 Two byte completion type korean character processing method using pattern rom

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019880007272A KR950001063B1 (en) 1988-06-17 1988-06-17 Two byte completion type korean character processing method using pattern rom

Publications (2)

Publication Number Publication Date
KR900000794A KR900000794A (en) 1990-01-31
KR950001063B1 true KR950001063B1 (en) 1995-02-08

Family

ID=19275258

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019880007272A KR950001063B1 (en) 1988-06-17 1988-06-17 Two byte completion type korean character processing method using pattern rom

Country Status (1)

Country Link
KR (1) KR950001063B1 (en)

Also Published As

Publication number Publication date
KR900000794A (en) 1990-01-31

Similar Documents

Publication Publication Date Title
KR980004059A (en) Data processing apparatus and register address conversion method
KR0163464B1 (en) Huffman code decoding circuit
KR950001063B1 (en) Two byte completion type korean character processing method using pattern rom
US5263133A (en) Text processing apparatus having a frame preparation function
US4845612A (en) Apparatus for accessing a memory which has dedicated areas for separately storing addresses and character string data
US4703320A (en) Character pattern storage and display device
US4089051A (en) Alternative direct and indirect addressing
KR940005438B1 (en) Korean character code conversion method
JP3817747B2 (en) Typeface information setting device
JP2000227790A (en) Display device, and recording medium where the program is recorded
JPH0431429B2 (en)
KR920001310B1 (en) Character displaying apparatus
JPS581250A (en) Discriminating system of information code
JPS5951015B2 (en) document creation device
JPH0547858B2 (en)
JPS59184941A (en) Kanji code converting method
JPS59142632A (en) Character processing device
KR940003627B1 (en) Character converting apparatus and processing method therefor
KR970000147Y1 (en) FONT DATA SELECTION CIRCUIT BY 24í„24 DOT
JPS5968054A (en) Information processor
JP2004062312A (en) Input device and program for making computer function as input device
KR100262014B1 (en) Input/output port for operating bits
JPS59157742A (en) Input sentence display system
JP2757716B2 (en) Huffman code decoding circuit
JPH01129366A (en) Master data forming device

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
FPAY Annual fee payment

Payment date: 19970829

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee