KR890003487B1 - Low table addressing circuit by low grade drt controler - Google Patents

Low table addressing circuit by low grade drt controler Download PDF

Info

Publication number
KR890003487B1
KR890003487B1 KR1019850010012A KR850010012A KR890003487B1 KR 890003487 B1 KR890003487 B1 KR 890003487B1 KR 1019850010012 A KR1019850010012 A KR 1019850010012A KR 850010012 A KR850010012 A KR 850010012A KR 890003487 B1 KR890003487 B1 KR 890003487B1
Authority
KR
South Korea
Prior art keywords
crt controller
crt
low
counter
flop
Prior art date
Application number
KR1019850010012A
Other languages
Korean (ko)
Other versions
KR870006469A (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 KR1019850010012A priority Critical patent/KR890003487B1/en
Publication of KR870006469A publication Critical patent/KR870006469A/en
Application granted granted Critical
Publication of KR890003487B1 publication Critical patent/KR890003487B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Landscapes

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

Abstract

The CRT display comprises a CPU (1), a CRT controller (2), a multiprocessor (3), video RAMs (4,5) and bidirectional buffers (6,7). The scan-line address outputs (RA0-3) of the CRT controller (2) are connected to a decorder (11) which detects the latest scan line. The output terminal (Y5) of a decorder (11) provides the signal to a counter (12) which instigates PROM (15) which generates row-table addressable control signals for sequential CRT controller.

Description

저급CRT콘트롤러를 이용한 로우테이블 어드레싱회로Low Table Addressing Circuit Using Low-end CRT Controller

제1도는 본 발명에 따른 저급CRT콘트롤러를 이용한 로우테이블 어드레싱회로를 도시해 놓은 블록구성도.1 is a block diagram showing a low table addressing circuit using a lower CRT controller according to the present invention.

제2도는 본 발명에 따른 제어신호발생회로도.2 is a control signal generation circuit diagram according to the present invention.

제3도 및 제4돈즌 본 발명에 따른 저급CRT콘트롤러를 이용한 로우테이블 어드레싱회로를 설명하기 위한 타이밍챠트이다.3 and 4 Donzen This is a timing chart for explaining a low table addressing circuit using a low-end CRT controller according to the present invention.

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

1 : 중앙처리장치 2 : CRT콘트롤러1: central processing unit 2: CRT controller

3 : 멀티플렉서 4, 5 : 비디오램(데이터램, 어트리뷰트램)3: Multiplexer 4, 5: Video RAM (Data RAM, Attribute RAM)

6, 7 : 쌍방향 버퍼 11 : 디코더6, 7: interactive buffer 11: decoder

12, 14 : 카운터 13, 17, 18 : D형 플립플롭12, 14: counter 13, 17, 18: D flip-flop

15 : PROM 16 : 랫치회로15: PROM 16: latch circuit

1∼Ⅳ4: 인버터 OR1∼OR4: OR게이트IV 1 to IV 4 : Inverter OR 1 to OR 4 : OR gate

RA0∼RA3: 스캔라인어드레스 VSYNC : 수직동기신호RA 0 ~RA 3: Scanning line address VSYNC: vertical synchronization signal

DE : 디스플레이이네이블신호 HALT : 이네이블중지신호DE: Display enable signal HALT: Enable stop signal

CCLK : 캐랙터클럭CCLK: Character Clock

산업상의 이용분야Industrial use

본 발명은 저급CRT콘트롤러를 구비하여 구성된 CRT디스플레이제어장치에 있어서, 컴퓨터의 문자출력을 CRT의 화면상에다 디스플레이하고자 할 때, 컴퓨터의 중앙처리장치에서 CRT디스플레이제어장치를 억세스하는 시간을 줄여 컴퓨터단말장치의 데이터처리효율을 증진시키기 위하여 저급CRT콘트롤러에 제어신호발생회로를 부가시켜 로우테이블어드레싱을 할 수 있도록 된 저급CRT콘트롤러를 이용한 로우테이블어드레싱회로에 관한 것이다.The present invention provides a CRT display control device including a low-level CRT controller, wherein when a computer outputs a character output on a CRT screen, the computer terminal reduces the time for accessing the CRT display control device from the central processing unit. The present invention relates to a low table addressing circuit using a low level CRT controller in which a control signal generation circuit is added to a low level CRT controller to improve low data addressing.

종래의 기술 및 그 문제점Conventional Technology and Problems

일반적으로 컴퓨터의 단말장치의 CRT터미널에 문자를 디스플레이하는 방식으로서 라스터스캔(RASTER-SCAN)방식이 널리 이용되고 있는데, 이는 문자의 돗트패턴인 CRT콘트롤러에 의해 반복해서 연속적으로 CRT의 화면상에 주사되어 CRT의 화면에 문자가 계속 씌여져 있는 것과 같은 효과를 이용한 것이다. 이렇게 CRT콘트롤러를 이용하여 CRT의 화면에 문자를 디스플레이하기 위해서는 CRT콘트롤러가 문자에 대한 코드데이터를 반복적으로 출력할 수 있도록 문자코드를 저장해 두기 위한 메모리가 필요하게 되는 바, 이를 일반적으로 비디오램 또는 디스플레이램이라고 한다. 즉 이 비디오램은 CRT콘트롤러가 반복해서 연속적으로 지정하는 어드레스에 따라 키보드 혹은 컴퓨터로부터 입력된 문자의 코드데이터를 출력해서 CRT의 화면상에다 문자를 디스플레이하게 되는 것이다. 상기한 바와 같이 키보드 혹은 컴퓨터로부터 입력되는 문자의 코드데이터를 비디오램에 입력할 때에는 중앙처리장치의 제어를 받게 되므로, 결국 중앙처리장치와 CRT콘트롤러가 비디오램을 공유하면서 억세스하게 되는데, 중앙처리장치에서 비디오램을 억세스하는 시간에 따라 컴퓨터단말장치의 데이터처리효율이 좌우되게 된다. 즉 중앙처리장치에서 CRT디스플레이제어장치를 억세스하는 시간이 길어지면 길어질수록 컴퓨터단말장치의 데이터처리효율이 떨어지게 되는 바, 예컨데 화면중간의 1행을 없앤다거나 새로운 1행을 첨가시키고자 할 경우에는 중앙처리장치가 CRT디스플레제어장치의 비디오램에서 1행에 대한 데이터를 없앤다거나 비디오램에 1행에 대한 데이터를 기록한 다음 나머지 행의 데이터저장위치를 옮겨야 하기 때문에, CRT디스플레이제어를 위하여 중앙처리장치에서 문자코드데이터를 옮기는 시간만큼 지연되게 되므로 컴퓨터단말장치의 데이터처리효율은 더욱 떨어지게 된다.In general, the raster scan method is widely used as a method of displaying characters on a CRT terminal of a terminal device of a computer, which is repeatedly and continuously displayed on a CRT screen by a CRT controller, which is a dot pattern of characters. It is the same effect that the text is scanned and written on the CRT screen. In order to display characters on the screen of the CRT by using the CRT controller, a memory for storing the character codes is needed so that the CRT controller can repeatedly output the code data for the characters. It's called RAM. In other words, the video RAM outputs code data of characters input from the keyboard or computer according to the address repeatedly designated by the CRT controller to display characters on the screen of the CRT. As described above, when the code data of the characters input from the keyboard or the computer is input to the video RAM, the central processing unit is controlled. Thus, the central processing unit and the CRT controller share the video RAM and access the central processing unit. The data processing efficiency of a computer terminal device depends on the access time of the video RAM. That is, the longer the access time of the CRT display control device from the central processing unit, the lower the data processing efficiency of the computer terminal device. For example, if you want to remove one line from the screen or add a new line, In the central processing unit for CRT display control, because the processing unit has to remove data for one row from the video RAM of the CRT display control device or record data for one row in the video RAM and then move the data storage location of the remaining rows. The data processing efficiency of the computer terminal device is further deteriorated since the character code data is delayed by the time for transferring.

그런데, 상술한 바와 같이 CRT콘트롤러와 중앙처리장치가 공유하면서 억세스하게 되는 비디오램을 어드레싱하는 방식에는 순차어드레싱방식과 로우테이블 어드레싱방식의 2가지가 있는 바, 이 2가지 방식의 각각에 대하여 설명하면 다음과 같다.However, as described above, there are two methods of addressing the video RAM accessed and shared by the CRT controller and the central processing unit. Each of the two methods will be described. As follows.

먼저 순차어드레싱방식이란 주로 저급CRT콘트롤러를 사용하는 것으로, CRT콘트롤러에서 비디오램에 어드레스를 공급할 때, 한 화면에 대한 전체 어드레스신호를 순차적으로 공급하는 방식이다. 이와 같이 저급CRT콘트롤러를 사용하여 순차어드레싱을 하는 순차어드싱방식에 있어서는 CRT의 화면과 1 : 1로 대칭이 되어 있는 비디오램을 CRT콘트롤러에 내장되어 있는 메모리어드레스시작지정레지스터로부터 순차적으로 어드레싱함으로써 비디오램이 CRT의 화면상에 디스플레이되는 문자행만큼, 예컨대 1페이지의 분량만큼인 경우에는 CRT화면상에 디스플레이된 문자행중 중간의 1행을 첨가 또는 삭제할 때 최대 12행만 옮기면 되므로 컴퓨터단말장치의 데이터처리효율에 크게 영향을 미치진 않지만, 비디오램이 2페이지이상으로 구성되어 있는 경우에는 상기 12행이외에 1페이지전체를 옮겨야 하기 때문에 결국 컴퓨터의 데이터처리효율을 크게 떨어뜨리는 요인으로 되게 된다.First, the sequential addressing method mainly uses a low-end CRT controller. When the address is supplied to the video RAM by the CRT controller, the entire address signal for one screen is sequentially supplied. In the sequential addressing method using the low-end CRT controller, the video RAM, which is symmetrical to the screen of the CRT and 1: 1, is sequentially addressed from the memory address start designated register built in the CRT controller. If the RAM is as many as one line of text displayed on the screen of the CRT, for example, one page, the maximum number of 12 lines must be moved when adding or deleting one middle line of text displayed on the CRT screen. Although it does not greatly affect the processing efficiency, if the video RAM is composed of two or more pages, the entire page must be moved in addition to the above 12 lines, which in turn causes a significant decrease in the data processing efficiency of the computer.

한편, 로우테이블 어드레싱방식이란 상술한 저급CRT콘트롤러를 사용하는 순차어드레싱방식에서 오는 제반 문젯점을 개선해서 컴퓨터단말장치의 데이터처리효율을 향상시키도록된 것으로, CRT의 화면상에 디스플레이하고자 하는 행의 순서를 로우테이블(ROW Table)로 따로 정하여 놓고, 그 로우테이블을 순차적으로 엑세스하여 CRT콘트롤러가 각 행의 선두어드레스로부터 비디오램을 억세스하게 되면 비디오램의 각 행의 데이터가 출력되어 CRT의 화면상에 로우테이블에 따른 행의 순서대로 문자가 디스플레이되게 되는 것이다. 따라서 CRT화면상의 문자행을 없앤다거나 혹은 문자행을 삽입시키고자 할 경우에는 비디오램의 내용을 그대로 두고 로우테이블에 있는 해당행의 어드레스만 조정하면 되므로, 이때에는 중앙처리장치에서 CRT디스플레이제어장치 를 억세스하는 시간이 짧아지게 되고, 비디오램이 2페이지 이상으로 구성되어 있다할지라도 문자행을 변경시켜야 할 경우 로우테이블만 조정하면 되므로 결국 컴퓨터단말장치의 데이터처리효율이 향상되게 된다. 이러한 로우테이블어드레싱을 실현하기 위해서는 우선 각 행에 대한 선두어드레스를 저장할 레지스터가 필요하게 되고, 또 각 행을 구분하기 위한 인터럽트신호가 필요하게 되는데, 고급CRT콘트롤러에는 이와 같은 회로들이 내장되어 있어서 순차어드레싱뿐만 아니라 로우테이블어드레싱을 실현할 수 있게 되어 있다. 그러나, 이러한 고급CRT트롤러는 가격이 비싸고, 단순한 컴퓨터단말장치에는 필요치 않는 기능까지 포함하고 있어서 제품을 생산하는데 비효율적인 면이 많이 발생하게 되었다.On the other hand, the low table addressing method is to improve the data processing efficiency of the computer terminal device by improving all the problems that come from the sequential addressing method using the low-end CRT controller described above, and the order of the rows to be displayed on the screen of the CRT. Is set as a ROW Table, and when the CRT controller accesses the video RAM from the first address of each row by sequentially accessing the row table, the data of each row of the video RAM is output and displayed on the screen of the CRT. Characters are displayed in the order of the rows along the row table. Therefore, if you want to remove the character line on the CRT screen or insert the character line, you just need to adjust the address of the corresponding line in the row table without changing the contents of the video RAM. The access time is shortened, and even if the video RAM is composed of two or more pages, if the character line needs to be changed, only the low table needs to be adjusted, thereby improving the data processing efficiency of the computer terminal device. In order to realize such a low table addressing, first, a register to store the head address of each row is required, and an interrupt signal is required to distinguish each row. The advanced CRT controller includes such circuits, so that sequential addressing is performed. In addition, low table addressing can be realized. However, these high-end CRT controllers are expensive and include functions that are not necessary for simple computer terminal devices, resulting in many inefficiencies in producing products.

상기한 바와 같이 본 발명에 의하면, CRT콘트롤러에 기록할 데이터를 비디오램의 표시되지 않은 부분에 기록한 다음, 1행의 문자가 디스플레이되면 비디오램에 기록시켰던 데이터를 PROM에 의한 제어신호에 따라 기록시켜서 로우테이블어드레싱을 할 수 있게 됨으로써 저급의 CRT콘트롤러를 사용하여 로우테이블 어드레싱을 할 수 있는 CRT디스플레이제어장치를 저렴한 가격으로 제작할 수 있는 장점을 갖게된다.As described above, according to the present invention, data to be recorded on the CRT controller is recorded in an undisplayed portion of the video RAM, and when one line of characters is displayed, the data recorded in the video RAM is recorded in accordance with a control signal by the PROM. By enabling low table addressing, the low cost CRT controller can be manufactured at low cost using low quality CRT controllers.

이에 본 발명은 상기한 바와 같은 사정을 감안해서 발명된 것으로, 저급CRT콘트롤러에다 각 문자행을 검출하는 회로와 문자행을 카운트하는 카운터 및 로우테이블어드레싱을 하게 하는 데이터를 보관하는 PROM을 연결시켜 한 문자행의 디스플레이가 끝나면 CRT콘트롤러내에 있는 메모리시작시정레지스터의 데이터를 변경시켜 주고, 문자표시를 시작하기 전에 CRT콘트롤러를 리셋트시켜서 메모리시작지정레지스터의 어드레스로부터 비디오램을 지정하게 함으로써 저급CRT콘트롤러로 로우테이블어드레싱을 할 수 있도록 된 저급CRT콘트롤러를 이용한 로우테이블 어드레싱회로를 제공하고자 함에 그 목적이 있다.In view of the above circumstances, the present invention has been invented by connecting a low-end CRT controller with a circuit for detecting each character line, a counter for counting character lines, and a PROM for storing data for row table addressing. When the display of the character line is finished, change the data of the memory start timing register in the CRT controller, and reset the CRT controller before starting character display to specify the video RAM from the address of the memory start designated register to the low-end CRT controller. It is an object of the present invention to provide a low table addressing circuit using a low-end CRT controller capable of low table addressing.

발명의 구성Composition of the Invention

상기한 목적을 달성하기 위한 본 발명은, 중앙처리장치(1)와 CRT콘트롤러(2), 멀티플렉서(3), 비디오램(4, 5) 및 쌍방향버퍼(6, 7)를 구비하여 구성된 CRT디스플레이제어장치에 있어서, 상기 CRT콘트롤러(2)의 스캔라인어드레스출력단(RA0∼RA3)에는 1행의 마지막스캔라인을 검출하는 디코더(11)가 연결되고, 상기 디코더(11)의 출력단(Y5)에는 인버터(Ⅳ1)가 1페이지당 행수를 카운트하는 카운터(12), 마지막행을 검출하는 NAND게이트(ND1) 및 인터럽트신호(NMI)를 발생시키는 D형 플립플롭(13)이 차례로 연결됨과 더불어 OR게이트(OR1, OR2)를 매개하여 카운터(14)가 연결되며, 상기 카운터(14)의 출력단(A∼D)에는 로우테이블어드레싱을 위한 제어신호를 출력하는 PROM(15)이 연결되고, 상기 PROM(15)의 출력단(D0∼D3)에는 랫치회로(16)를 매개하여 CRT콘트롤러(2)의 입력단(CS, RS, RESET)과 상기 쌍방향버퍼(6, 7)의 이네이블신호입력단(EN)이 각각 연결되며, 상기 랫치회로(16)의 출력단(Q3)에는 D형 플립플롭(17)과 인버터(Ⅳ2)를 매개하여 상기 PROM(15)과 OR게이트(OR3)가 각각 연결되고, 상기 CRT콘트롤러(2)와 디스플레이네이블신호출력단(DE)과 수직동기신호출력단(VSYNC)에는 D형 플립플롭(18)을 매개하여 상기 카운터(12)와 D형 플립플롭(13)이 연결된 구조로 되어 있다.The present invention for achieving the above object, the CRT display comprising a central processing unit (1) and a CRT controller (2), a multiplexer (3), video RAM (4, 5) and the two-way buffer (6, 7) In the control apparatus, the decoder 11 for detecting the last scan line of one row is connected to the scan line address output terminals RA 0 to RA 3 of the CRT controller 2, and the output terminal Y of the decoder 11 is connected. 5 ), a counter 12 in which the inverter IV 1 counts the number of rows per page, a NAND gate ND 1 for detecting the last row, and a D-type flip-flop 13 for generating an interrupt signal NMI, in turn. In addition, the counter 14 is connected via OR gates OR 1 and OR 2 , and a PROM 15 outputting a control signal for low table addressing to the output terminals A to D of the counter 14. The input terminal of the CRT controller 2 is connected to the output terminals D 0 to D 3 of the PROM 15 via a latch circuit 16. CS, RS, RESET) and the enable signal input terminal EN of the bidirectional buffers 6 and 7 are respectively connected, and the D type flip-flop 17 and the inverter are connected to the output terminal Q 3 of the latch circuit 16. The PROM 15 and the OR gate OR 3 are connected via (IV 2 ), respectively, and the D-type flip is connected to the CRT controller 2, the display enable signal output terminal DE, and the vertical synchronous signal output terminal VSYNC. The counter 12 and the D flip-flop 13 are connected to each other via the flop 18.

미설명부호 CCLK은 캐랙터클럭, HALT는 중앙처리장치(1)의 이네이블중지신호를 나타낸다.Reference numeral CCLK denotes a character clock, and HALT denotes an enable stop signal of the central processing unit 1.

작용Action

상기한 바와 같이 구성된 본 발명의 작용을 설명하면 다음과 같다.Referring to the operation of the present invention configured as described above are as follows.

제1도는 일반적으로 사용되는 CRT디스플레이제어장치에 본 발명에 따른 각각의 제어신호가 공급되고 있는 상태를 나타낸 블록구성도로서, 중앙처리장치(1)와 CRT콘트롤러(2)의 어드레스버스가 캐랙터클럭(CCLK)에 동기해서 동작하는 멀티플렉서(3)를 통해 데이터램(4)과 어트리뷰트램(5)으로 구성된 비디오램에 전달되도록 되어 있는 바, 캐랙터클럭(CCLK)이 로우레벨일 때는 CRT콘트롤러(2)의 어드레스가 멀티플렉서(3)를 통해 비디오램(4, 5)에 전달되고, 캐랙터클럭(CCLK)이 하이레벨일 때는 중앙처리장치(1)의 어드레스가 비디오램(4, 5)에 전잘되도록 되어 있다. 또한 중앙처리장치(1)와 CRT콘트롤러(2)의 데이터버스는 공통으로 사용되는 바, 쌍방향버퍼(6, 7)를 통해 비디오램(4, 5)에 연결된다. 즉, 중앙처리장치(1)에서 비디오램의 데이터램(4)과 어트리뷰트램(5)에 데이터를 기록하기 위해서는 쌍방향버퍼(6, 7)의 이네이블신호(EN)가 로우레벨이 되도록 하고 쌍방향버퍼(6, 7)의 방향핀(DIR)을 "0"으로 조절하면, 쌍방향버퍼(6, 7)가 중앙처리장치(1)에서 비디오램(4, 5)쪽으로 열려 데이터가 기록되게 된다. 이와 반대로 중앙처리장치(1)에서 비디오램(4, 5)의 데이터를 독출하기 위해서는 쌍방향버퍼(6, 7)에 인가되는 방향핀(DIR)을 "1"로 조절하면 된다.1 is a block diagram showing a state in which each control signal according to the present invention is supplied to a commonly used CRT display control device, wherein the address bus of the central processing unit 1 and the CRT controller 2 is a character clock The multiplexer 3, which operates in synchronism with the CCLK, is transmitted to the video RAM composed of the data RAM 4 and the attribute RAM 5. When the character clock CCLK is at a low level, the CRT controller 2 ) Is transmitted to the video RAMs 4 and 5 through the multiplexer 3, and the address of the central processing unit 1 is transmitted to the video RAMs 4 and 5 when the character clock CCLK is at a high level. It is. In addition, the data buses of the central processing unit 1 and the CRT controller 2 are commonly used, and are connected to the video RAMs 4 and 5 through the bidirectional buffers 6 and 7. That is, in order to record data in the data RAM 4 and the attribute RAM 5 of the video RAM in the central processing unit 1, the enable signal EN of the bidirectional buffers 6 and 7 is set to a low level and is bidirectional. When the direction pins DIR of the buffers 6 and 7 are adjusted to "0", the bidirectional buffers 6 and 7 open from the central processing unit 1 to the video RAM 4 and 5 to record data. On the contrary, in order to read the data of the video RAMs 4 and 5 from the central processing unit 1, the direction pin DIR applied to the bidirectional buffers 6 and 7 may be adjusted to "1".

한편, CRT콘트롤러(2)의 내부에 데이터를 기록하기 위해서는 CRT콘트롤러(2)의 칩선택단(CS)과 레지스터선택단(RS)에 로우레벨의 신호를 공급하여 데이터버스를 통해 CRT콘트롤러(2)내의 어드레스선택지스터에 데이터를 기록한 다음, 레지스터선택단(RS)에 하이레벨의 신호를 공급하여 CRT콘트롤러(2)의 데이터레지스터에 데이터를 가록하게 된다. 이때 CRT콘트롤러(2)의 어드레스선택레지스터와 데이터레지스터는 기록/독출신호(R/W)가 로우레벨에서 하이레벨로 될 때 CRT콘트롤러(2)의 내부로 랫치되게 된다. CRT콘트롤러(2)의 리셋트단(RESET)에 로우레벨신호가 인가되면 CRT콘트롤러(2)내부의 카운터값이 모두 클리어되고, 하이레벨신호가 인가되면 스캔라인 어드레스(RA0∼RA3)는 0부터는 카운트를 시작하고 메모리어드레스는 메모리시작지정레지스터에 기록된 데이터로부터 카운트를 시작하게 된다.On the other hand, in order to record data in the CRT controller 2, a low-level signal is supplied to the chip select stage CS and the register select stage RS of the CRT controller 2 to supply the CRT controller 2 through the data bus. After data is written to the address selection register in < RTI ID = 0.0 > 1), < / RTI > At this time, the address selection register and the data register of the CRT controller 2 are latched into the CRT controller 2 when the write / read signal R / W goes from the low level to the high level. When the low level signal is applied to the reset terminal RESET of the CRT controller 2, all the counter values in the CRT controller 2 are cleared. When the high level signal is applied, the scan line addresses RA 0 to RA 3 are The count starts from 0 and the memory address starts counting from the data recorded in the memory start designated register.

상술한 바와 같은 CRT디스플레이제어장치를 사용하여 로우테이블 어드레싱방식으로 CRT의 화면상에 문자를 디스플레이하기 위해서는 제2도에 나타낸 바와 같은 제어신호발생회로를 구성하게 되는데, 그 세부동작을 설명하면 다음과 같다.In order to display the characters on the screen of the CRT using the CRT display control device as described above, a control signal generation circuit as shown in FIG. 2 is configured. same.

디코더(11)는 1행당 프로그램된 스캔라인중 마지막 스캔라인을 검출하기 위해 설치된 것으로, 예를들면 1해당 14스캔라인으로 프로그램되어 있다면 스캔라인어드레스(RA0∼RA3)가 마지막 스캔라인 즉, 1101이 될 때 디코더(11)의 출력단(Y5)이 로우레벨로 떨어지게 되는바, 디코더(11)의 출력단(Y5)이 로우레벨로 떨어지는 것은 한행이 끝났음을 나타내는 것이므로 인버터(Ⅳ1)를 통하여 CRT의 화면상에 표시되는 문자행을 카운트하는 카운터(12)를 1만큼 증가시키게 된다. 따라서, 행이 바뀔 때마다 카운터(12)가 1씩 증가하게 된다.The decoder 11 is installed to detect the last scan line among the programmed scan lines per row. For example, if the program is programmed with 14 scan lines per scan line, the scan line addresses RA 0 to RA 3 are the last scan lines. the output terminal of the decoder 11 when the 1101 (Y 5) because it represents the output (Y 5) are to fall to the low level one line has ended in the bar, the decoder 11, which falls to the low level, the inverter (ⅳ 1) Through this, the counter 12 for counting the text lines displayed on the screen of the CRT is increased by one. Therefore, each time the row changes, the counter 12 is incremented by one.

또, CRT화면에 표시된 문자행중 마지막행의 마지막스캔라인이 주사된 후에 디스플레이이네이블신호(DE)가 로우레벨로 떨어지면, OR게이트(OR3)의 초기상태가 로우레벨이므로 카운터(14)의 D형 플립플롭(17)이 클리어되고 D형 플립플롭(17)의 한쪽 출력단(Q)이 하이레벨이 되어, OR게이트(OR3)와 OR게이트(OR2)를 통해 카운터(14)의 RESET단자를 하이레벨로 하여 카운터(14)를 리셋트시킴으로써 카운터(14)가 캐랙터클럭(CCLK)에 의해 동기되어 1씩 증가하게 된다.In addition, if the display enable signal DE drops to a low level after the last scan line of the last row of the characters displayed on the CRT screen is scanned, the initial state of the OR gate OR 3 is low, so that the D of the counter 14 The type flip-flop 17 is cleared and one output terminal Q of the D-type flip-flop 17 is at a high level, and the RESET terminal of the counter 14 is provided through the OR gate OR 3 and the OR gate OR 2 . By resetting the counter 14 to a high level, the counter 14 is synchronized by the character clock CCLK and incremented by one.

상기한 바와 같이 카운터(14)가 카운트를 시작함에 따라 PROM(15)에 어드레스가 공급되게 되고, PROM(15)에서 출력되는 데이터는 랫치회로(16)에 공급되어 인버터(Ⅳ3)를 매개한 캐랙터클럭(CCLK)에 동기해서 랫치회로(16)에 의해 랫치되게 된다.As described above, as the counter 14 starts counting, an address is supplied to the PROM 15, and data output from the PROM 15 is supplied to the latch circuit 16 to mediate the inverter IV 3 . The latch circuit 16 latches the latch clock 16 in synchronization with the character clock CCLK.

이와 같이 하여 PROM(15)의 1∼15번지에 프로그램된 데이터가 캐랙터클럭(CCLK)에 의해 동기되어 CRT콘트롤러(2)와 쌍방향버퍼(6, 7)에 제어신호로서 공급되게 되는 것이다. 그리고 15번지의 데이터는 랫치회로(16)의 출력단(Q3)를 로우레벨이 되게 하므로 D형 플립플롭(17)이 프리셋트되어 PROM(15)에 16번지보다 큰 어드레스가 공급되게 되고, 인버터(Ⅳ2)에 의해 계속 OR게이트(OR3)의 출력이 하이레벨로 되게 된다. 그런데 PROM(15)의 16번지이상의 데이터는 PROM(15)의 출력단(D3)이 하이레벨로 되도록 프로그램되어 있으므로 다음 캐랙터클럭(CCLK)이 입력될 때 랫치회로(16)의 출력단(D3)이 하이레벨로 되어, 1캐랙터클럭주기동안의 로우레벨신호가 CRT콘트롤러(2)의 리셋트신호로 사용되게 되는 바, CRT콘트롤러(2)가 리셋트신호에 의해 리셋트되게 되면 디코더(11)의 출력단(Y5)이 하이레벨이 되므로 OR게이트(OR2)의 출력은 계속은 하이레벨을 유지하게 된다. 문자행을 카운트하는 카운터(12)가 1페이지에 프로그램된 행수만큼 카운트를 하게 되면, NAND게이트(ND1)의 출력신호가 로우레벨로 되므로 D형 플립플롭(13)이 프리셋트되어 인터럽트신호(NMI)가 발생하게 되는 바, 이 인터럽트신호(NMI)가 발생되면 OR게이트(OR2)의 출력신호가 하이레벨을 유지하게 되므로 상술한 카운터(14)와 D형 플립플롭(17)이 클리어되는 것을 방지할 수 있게 된다.In this way, the data programmed at the addresses 1 to 15 of the PROM 15 are synchronized with the character clock CCLK and supplied to the CRT controller 2 and the bidirectional buffers 6 and 7 as control signals. Since the data at address 15 causes the output terminal Q 3 of the latch circuit 16 to be at a low level, the D-type flip-flop 17 is preset so that an address larger than 16 is supplied to the PROM 15. (IV 2 ), the output of the OR gate OR 3 continues to the high level. However, more than 16 address data of the PROM (15), so the output (D3) of the PROM (15) is programmed to the high level and then kaeraekteo clock output terminal (D 3) of the latch circuit 16 when (CCLK) is entered the The low level signal during one character clock period is used as the reset signal of the CRT controller 2, and when the CRT controller 2 is reset by the reset signal, the decoder 11 Since the output terminal Y 5 is at the high level, the output of the OR gate OR 2 continues to be at the high level. When the counter 12 that counts the character rows counts as many as the number of rows programmed in one page, the output signal of the NAND gate ND 1 becomes low level, and the D-type flip-flop 13 is preset so that the interrupt signal ( NMI is generated. When this interrupt signal NMI is generated, the output signal of the OR gate OR 2 is maintained at a high level. Thus, the counter 14 and the D flip-flop 17 described above are cleared. Can be prevented.

따라서 CRT콘트롤러에 프로그램되는 디스플레이될 화면의 전체행수가 1행으로 프로그램되면 마지막문자행을 표시하는 것이 되어서, 리셋트를 걸지않아도 1행이 디스플레이된 다음 수직귀선이 되게 된다.Therefore, if the total number of lines of the screen to be programmed to be programmed in the CRT controller is programmed to be one line, the last character line is displayed, so that one line is displayed and then vertically reverted without being reset.

한편, 수직동기신호(VSYNC)가 로우레벨로 되면 D형 플립플롭(18)이 클리어되므로 카운터(12)가 리셋트 되게 되고, 수직동기신호(VSYNC)가 하이레벨로 된 후 디스플레이이네이블신호( DE)가 하이레벨로 되면 D형 플립플롭(18)의 출력단(Q)이 하이레벨로 되며, 이 하이레벨신호가 D형 플립플롭(13)에 클럭신호로 인가되므로 인터럽트가 풀려 그에 따라 상술한 동작들이 반복되게 되는 것이다.On the other hand, when the vertical synchronization signal VSYNC becomes low level, the D-type flip-flop 18 is cleared so that the counter 12 is reset, and after the vertical synchronization signal VSYNC becomes high level, the display enable signal DE ) Is high level, the output terminal (Q) of the D-type flip-flop 18 is a high level, the high-level signal is applied to the D-type flip-flop 13 as a clock signal, the interrupt is released and accordingly the operation described above. Will be repeated.

이와같은 동작을 제3도 및 제4도의 타이밍챠트에 의거해서 좀더 상세히 설명하면 다음과 같다.This operation will be described in more detail based on the timing charts of FIGS. 3 and 4 as follows.

디스플레이이네이블신호(DE)가 로우레벨로 되고 디코더(11)의 출력단(Y5)이 로우레벨로 되었을 때, OR게이트(OR1)를매개로 중앙처리장치(1)에 이네이블붕지신호(HALT)가 공급되고, 중앙처리장치(1)과 동작중지상태로 4된 다음, 랫치회로(16)의 출력인 제어신호(EN)의 쌍방향버퍼(6, 7)에 공급되어 쌍방향버퍼(6, 7)에 비디오램(4, 5)에서 중앙처리장치(1)쪽으로 열리게 된다. 이때 중앙처리장치(1)의 데이터출력단이 하이임피던스 상태로 되므로 비디오램(4, 5)의 데이터가 CRT콘트롤러(2)에 기록되게 된다.When the display enable signal DE goes low and the output terminal Y 5 of the decoder 11 goes low, the enable loop signal HALT is applied to the central processing unit 1 with the OR gate OR 1 as a medium. ) Is supplied to the central processing unit 1 and the operation stop state 4, and then supplied to the bidirectional buffers 6 and 7 of the control signal EN, which is the output of the latch circuit 16, to the bidirectional buffers 6 and 7. ) Is opened from the video ram 4 and 5 to the central processing unit 1. At this time, since the data output terminal of the central processing unit 1 is in the high impedance state, the data of the video RAMs 4 and 5 are recorded in the CRT controller 2.

CRT콘트롤러(2)에의 데이터기록은 제어신호(CS)와 캐랙터클럭(CCLK)에 의해 CRT콘트롤러(2)에 로우레벨의 기록/독출신호(R/W)가 동급됨으로써 이루어지는 바, 이때 CRT콘트롤러(2)에 공급4되는 레지스터선택신호(RS)에 의해 어드레스 선택레지스터와 데이터레지스터에 데이터가 기록되게 된다.The data recording to the CRT controller 2 is performed by the low level of the write / read signal R / W equivalent to the CRT controller 2 by the control signal CS and the character clock CCLK. In this case, the CRT controller Data is written to the address selection register and the data register by the register selection signal RS supplied to (2).

이와같이 하여 CRT콘트롤러(2)의 메모리시작지정레지스터에 데이터를 기록한 다음 랫치회로(16)의 출력단(Q3)이 로우레벨로 될 때 CRT콘트롤러(2)가 리셋트되고, 리셋트된 다음 스캔라인어드레스(RA0∼RA3)가 0부터 카운트를 시작할 메모리어드레스는 메모리시작지정레지스터에 기록된 어드레스로부터 카운트를 시작하게 된다.In this manner, after data is written to the memory start designated register of the CRT controller 2, the CRT controller 2 is reset when the output terminal Q 3 of the latch circuit 16 becomes low level, and then the scan line is reset. The memory address at which the addresses RA 0 to RA 3 start counting from zero starts counting from the address recorded in the memory start designation register.

CRT콘트롤러(2)가 리셋트될 때 스캔라인어드레스(RA0∼RA3)가 0으로 되고 디코더(11)의 출력단(Y5)이 하이레벨로 되므로, 중앙처리장치(1)로 공급되던 이네이블중지신호(HALT)가 제거되어 중앙처리장치(1)가 동작을 개시하게 된다.When the CRT controller 2 is reset, the scan line addresses RA 0 to RA 3 become 0 and the output terminal Y 5 of the decoder 11 becomes high level, which is supplied to the central processing unit 1. The EABLE STOP signal HALT is removed to start the CPU 1.

결국 한행의 마지막스캔라인에서 CRT의 화면상에는 디스플레이되지 않는 비디오램(4, 5)의 메모리영역을 CRT콘트롤러(2)의 데이터저장장소로 사용하여 PROM(15)에 의한 제어신호로 로우테이블 어드레싱을 수행하게 되는 것이다.As a result, in the last scan line of one row, the memory area of the video RAM 4 and 5, which is not displayed on the screen of the CRT, is used as the data storage location of the CRT controller 2, and the low table addressing is performed with the control signal by the PROM 15. It will be done.

Claims (1)

중앙처리장치(1)와 CRT콘트롤러(2), 멀티플렉서(3), 비디오램(4, 5) 및 쌍방향버퍼(6, 7)를 구비하여 구성된 CRT디스플레이제어장치에 있어서, 상기 CRT콘트롤러(2)의 스캔라인어드레스출력단(RA0∼RA3)에는 1문자행의 마지막 스캔라인을 검출하는 디코더(11)가 연결되고, 상기 디코더(11)의 출력단(Y5)에는 인버터(Ⅳ1)와 1페이지당 행수를 카운트하는 카운터(12), 마지막행을 검출하는 NAND게이트(ND1) 및 인터럽느신호(NMI)를 발생시키는 D형 플립플롭(13)이 차례로 연결됨과 더불어 OR게이트(OR1, OR2)를 매개하여 카운터(14)가 연결되며, 카운터(14)의 출력단(D0∼D3)에는 랫치회로(16)를 매개하여 CRT콘트롤러(2)의 입력단(CS, RS, RESET)과 상기 쌍방향버퍼(6, 7)의 이네이블신호입력단(EN)이 각가 연결되며, 상기 랫치회로(16)의 출력단(Q3)에는 D형 플립플롭(17)과 인버터(Ⅳ2)를 각각 매개하여 상기 PROM(15)과 OR게이트(OR3)가 연결되고, CRT콘트롤러(2)의 디스플레이이네이블신호출력단(DE)과 수직동기신호출력단(VSYNC)에는 D형 플립플롭(18)을 매개하여 상기 카운터(12)와 D형 플립플롭(13)이 연결되어서 로우테이블 어드레싱을 하도록 구성된 것을 특징으로 하는 저급 CRT콘트롤러를 이용한 로우테이블 어드레싱회로.A CRT display control device comprising a central processing unit (1), a CRT controller (2), a multiplexer (3), a video RAM (4, 5), and an interactive buffer (6, 7), wherein the CRT controller (2) The decoder 11 which detects the last scan line of one character line is connected to the scan line address output stages RA 0 to RA 3 , and the inverter IV 1 and 1 are connected to the output stage Y 5 of the decoder 11. The counter 12 for counting the number of rows per page, the NAND gate ND 1 for detecting the last row, and the D-type flip-flop 13 for generating the interrupt signal NMI are connected in sequence, and the OR gate OR 1 , The counter 14 is connected via OR 2 ), and the output terminals D 0 to D 3 of the counter 14 are connected to the input terminals CS, RS, and RESET of the CRT controller 2 through the latch circuit 16. And an enable signal input terminal EN of the bidirectional buffers 6 and 7 are connected to each other, and an output type Q 3 of the latch circuit 16 is connected to a D-type flip-flop 17 and an inverter ( The PROM 15 and the OR gate OR 3 are connected to each other via IV 2 ), and the D-type flip-flop is connected to the display enable signal output terminal DE and the vertical synchronous signal output terminal VSYNC of the CRT controller 2. 18) Low table addressing circuit using a low-end CRT controller, characterized in that the counter 12 and the D-type flip-flop (13) is connected to the low table addressing.
KR1019850010012A 1985-12-30 1985-12-30 Low table addressing circuit by low grade drt controler KR890003487B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019850010012A KR890003487B1 (en) 1985-12-30 1985-12-30 Low table addressing circuit by low grade drt controler

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019850010012A KR890003487B1 (en) 1985-12-30 1985-12-30 Low table addressing circuit by low grade drt controler

Publications (2)

Publication Number Publication Date
KR870006469A KR870006469A (en) 1987-07-11
KR890003487B1 true KR890003487B1 (en) 1989-09-22

Family

ID=19244538

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019850010012A KR890003487B1 (en) 1985-12-30 1985-12-30 Low table addressing circuit by low grade drt controler

Country Status (1)

Country Link
KR (1) KR890003487B1 (en)

Also Published As

Publication number Publication date
KR870006469A (en) 1987-07-11

Similar Documents

Publication Publication Date Title
US4755810A (en) Frame buffer memory
US4404554A (en) Video address generator and timer for creating a flexible CRT display
US4075620A (en) Video display system
JPS61188582A (en) Multi-window writing controller
EP0229164A1 (en) Bitmapped graphics workstation.
US4117469A (en) Computer assisted display processor having memory sharing by the computer and the processor
US4604615A (en) Image reproduction interface
JPS59214079A (en) Video display control circuit
EP0058011B1 (en) Word processing system
EP0525986A2 (en) Apparatus for fast copying between frame buffers in a double buffered output display system
US4937565A (en) Character generator-based graphics apparatus
US4803478A (en) Horizontal scroll method and apparatus
EP0215984A1 (en) Graphic display apparatus with combined bit buffer and character graphics store
JPS59160174A (en) Graphic display unit
KR890003487B1 (en) Low table addressing circuit by low grade drt controler
JPH0570832B2 (en)
GB2084836A (en) Video processor and controller
US4414645A (en) Hardware-firmware CRT display link system
US4281393A (en) Programmable computer terminal system
KR880001082B1 (en) Low table adressing method
KR940009751B1 (en) Cursor display control apparatus and method therefor
JPH0766319B2 (en) Video data controller
JPS63251864A (en) Display device
CA1264494A (en) Frame buffer memory
KR910007393B1 (en) Dual-port memory control signal generation circuit

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: 20020830

Year of fee payment: 14

LAPS Lapse due to unpaid annual fee