KR880001082B1 - Low table adressing method - Google Patents

Low table adressing method Download PDF

Info

Publication number
KR880001082B1
KR880001082B1 KR1019850005336A KR850005336A KR880001082B1 KR 880001082 B1 KR880001082 B1 KR 880001082B1 KR 1019850005336 A KR1019850005336 A KR 1019850005336A KR 850005336 A KR850005336 A KR 850005336A KR 880001082 B1 KR880001082 B1 KR 880001082B1
Authority
KR
South Korea
Prior art keywords
crtc
row
signal
address
reset
Prior art date
Application number
KR1019850005336A
Other languages
Korean (ko)
Other versions
KR870001519A (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 KR1019850005336A priority Critical patent/KR880001082B1/en
Publication of KR870001519A publication Critical patent/KR870001519A/en
Application granted granted Critical
Publication of KR880001082B1 publication Critical patent/KR880001082B1/en

Links

Images

Classifications

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

Abstract

내용 없음.No content.

Description

저급 CRTC의 리셋트 기능을 이용한 로우 테이블 어드레싱 방법Low Table Addressing Method Using Reset Function of Low Level CRTC

제1도는 순차 어드레싱 방법을 설명하기 위한 비디오램 구성도.1 is a video RAM configuration diagram for explaining a sequential addressing method.

제2도는 로우 테이블 어드레싱 방법을 설명하기 위한 비디오램 구성도.2 is a video RAM configuration diagram for explaining a row table addressing method.

제3도는 본 발명의 일시예를 나타내는 회로 블록도.3 is a circuit block diagram showing an example of the present invention.

제4도는 제3도를 구체화시킨 회로도.4 is a circuit diagram embodying FIG.

제5도는 제4도에 따른 파형도이다.5 is a waveform diagram according to FIG.

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

1 : 중앙처리장치 2 : 디코더1: central processing unit 2: decoder

3 : CRTC 4 : 행검출부3: CRTC 4: Row detector

5 : 인터럽트신호발생부 6 : 리셋트신호발생부5: Interrupt signal generator 6: Reset signal generator

Vs : 수직동기신호 Hs : 수평동기신호Vs: Vertical Synchronization Signal Hs: Horizontal Synchronization Signal

RA : 스캔라인어드레스 MA : 메모리어드레스RA: Scan Line Address MA: Memory Address

NMI : 인터럽트신호 AD1, AD2 : 앤드 게이트NMI: Interrupt signal AD1, AD2: And gate

FF1, FF2 : D형플립플롭 OR1, OR2 : 오아게이트FF1, FF2: D flip-flop OR1, OR2: Oagate

INV : 인버터INV: Inverter

본 발명은 저급 CRTC로 구성된 CRT 표시제어장치를 가지고 컴퓨터 본체의 출력을 CRT의 화면에다 표시코저할 때 중앙처리장치에서 CRT 표시제어장치를 억세스하는 시간을 감소시켜 컴퓨터 단말장치의 데이터처리능률을 증진시키기 위하여 저급 CRTC의 리셋트 기능을 이용하여 로우테이블 어드레싱을 할 수 있도록 한 CRTC의 리셋트 기능을 이용한 로우 테이블 어드레싱방법에 관한 것이다.The present invention improves the data processing efficiency of a computer terminal device by reducing the time for accessing the CRT display control device from the central processing unit when displaying the output of the computer main body on the screen of the CRT with a CRT display control device composed of a low-level CRTC. The present invention relates to a low table addressing method using a reset function of a CRTC that enables low table addressing using a reset function of a lower level CRTC.

컴퓨터 단말장치인 CRT 터미널에서는 일반적으로 CRT의 화면에다 문자를 나타내게 하기 위하여 라스터스캔(RASTER-SCAN)방식을 사용하게 되는데, 이는 CRTC에 의하여 문자의 돗트패턴을 반복해서 연속적으로 CRT의 화면에 주사하게 됨에 따라 문자가 CRT의 화면에 계속 씌어져 있는 것과 같은 효과를 나타내기 때문이다. 이렇게 CRTC에 의하여 CRT의 화변에 문자를 표시하기 위하여는 CRTC 가 문자에 대한 코드데이터를 반복하여 출력시킬수 있도록 문자코드를 저장해두기 위한 메모리장소가 필요하게 되는데, 이를 일반적으로 비디오램 또는 디스플레이램이라고 한다. 즉 이 비디오램은 CRTC가 반복해서 연속적으로 지정하는 어드레스에 따라 키보우드 혹은 컴퓨터 본체로 부터 저장된 문자의 코드 데이터를 출력시켜서 이에 따라 CRT화면에 문자를 표시하게 되는 것이다. 이렇게 키보우드 혹은 컴퓨터 본제로부터 입력되는 문자의 코드데이터를 비디오램에 입력시키기 위하여는 중앙처리장치의 제어를 받게 되므로, 결국 비디오램은 중앙처리장치와 CRTC가 공유하여 억세스하게 되는데, 중앙처리장치에서 CRT 표시제어장치를 제어하기 위하여 할당되는 시간에 따라 컴퓨터 단말장치의 데이터처리능률이 좌우되게 된다. 즉 중앙처리장치에서 CRT표시 제어장치를 억세스하는 시간이 많으면 많을수록 컴퓨터 단말장치의 데이터처리능률은 떨어지게 되는데 구체적 예를들어 보면, 화면 중간의 1행을 없앤다거나 새로운 1행을 첨가시키고자 할때는 중앙처리장치에서 CRT 표시제어장치의 비디오램에 1행에 대한 데이터를 기록하거나 없앤다음 나머지 데이터를 옮기기 위한 시간을 할당하게 되므로 컴퓨터 단말장치의 데이터처리능률은 더욱 떨어지게 되는 것이다. 그런데, 전술한 바와같이 CRTC와 중앙처리장치에서 공유하여 억세스하게 되는 비디오램을 CRTC에서 어드레싱 방법에는 있는바, 우선 순차 어드레싱 방법에 관해 제1도에 의거하여 설명하면 다음과 같다.In the CRT terminal, a computer terminal device, a raster scan method is generally used to display characters on the screen of the CRT, which is repeatedly scanned on the screen of the CRT by repeating the dot pattern of the characters by the CRTC. As you do this, the effect is as if the characters were still being written on the screen of the CRT. In order to display characters on the CRT frame by CRTC, a memory location for storing the character code is required so that the CRTC can repeatedly output the code data for the character. This is generally called a video RAM or a display RAM. . That is, the video RAM outputs code data of characters stored from the keyboard or the computer main body according to the address repeatedly designated by the CRTC repeatedly, thereby displaying the characters on the CRT screen. In order to input code data of characters inputted from keyboard or computer to the video RAM, the CPU is controlled by the central processing unit. Thus, the video RAM is shared and accessed by the central processing unit and the CRTC. The data processing efficiency of the computer terminal device depends on the time allotted to control the CRT display control device in the. In other words, the more time the central processing unit accesses the CRT display control device, the less efficient the data processing efficiency of the computer terminal device is. The data processing efficiency of the computer terminal device is further deteriorated since the device allocates time for moving the remaining data after recording or removing data for one row from the video RAM of the CRT display control device. However, as described above, the video RAM shared and accessed by the CRTC and the central processing unit is present in the addressing method in the CRTC. First, the sequential addressing method will be described with reference to FIG.

순차어드레싱 방법이란 CRTC에서 비디오램에 어드레스 신호를 공급할 때 그 어드레스 신호를 순차적으로 공급하는 것으로 흔히 일반적인 저급 CRTC에서 주로 이러한 방법을 채택되고 있다. 제1도와 같은 비디오램은 CRT의 화면과 1 : 1로 대칭이 되어 있는 것으로서, 어드레스 시작지점(FA)과 어드레스 끝지점(LA)사이의 1페이지에 해당하는 부분이 CRT의 하나의 화면으로 되어지는 것이다. 또 보통의 CRTC에는 비디오램의 시작지점(FA)을 나타내는 메모리시작지정레지스터가 내장되어 있으므로 저급의 CRTC에서는 이 메모리시작 지정레지스터에 지정된 어드레스부터 순차적으로비디오 램에 어드레스를 공급하고, 순차적으로 지정되는 어드레스에 다라 비디오램의 문자코드 데이터가 차례로 출력되어 CRT의 화면에 문자로 나타내게 되는 것이다.The sequential addressing method is to supply the address signal sequentially when the CRTC supplies the address signal to the video RAM, and this method is commonly adopted in the general lower CRTC. The video RAM as shown in FIG. 1 is symmetrical with the screen of the CRT as 1: 1, and a part corresponding to one page between the address start point FA and the address end point LA is one screen of the CRT. To lose. In addition, since a normal CRTC has a built-in memory start designation register indicating the video RAM start point (FA), low-level CRTCs supply the video RAM sequentially from the address specified in this memory start designation register, and are sequentially assigned. According to the address, the character code data of the video RAM is sequentially output and displayed as characters on the screen of the CRT.

이러한 순차어드레싱 방법은 비디오램이 1페이지로만 되어 있는 경우에는 컴퓨터 단말장치의 데이터처리능률에 큰 영향을 주지는 않는다.This sequential addressing method does not significantly affect the data processing efficiency of the computer terminal device when the video RAM is only one page.

이에 대하여 예를들어 본다면, CRT의 화면에 표시되어 있는 문자행중에서 1행을 삭제한다거나 1행을 삽입시키고자 할려면 중앙처리장치에서 비디오램의 삭제하고자하는 행을 삭제한다거나 삽입시키고자 하는 행을 첨가시킨다음 나머지 행들을 위로 혹은 아래로 옮겨야 하는데, 비디오램이 1페이지로 되어 있는 경우에는 최대 12행 분의 데이터만 옮기면 되지만, 제1도와 같이 3페이지 혹은 그 이상의 페이지로 된 비디오램의 경우에는 1페이지에 해당하는 최대 12행분 이외에 1페이지 전체를 옮겨야 하기 때문에 중앙처리장치에서 CRT 표시제어장치를 억세스하는 시간을 길어지고, 그에 따라 컴퓨터 단말장치에서 데이터를 처리하게 되는 시간은 짧아지게 된다. 이는 컴퓨터 단말장치에 있어서 키보우드로부터 입력되는 데이터 혹은 컴퓨터 본체의 데이터 처리속도를 떨어뜨리게 되고, 따라서 컴퓨터 단말장치의 데이터처리능률을 저하시키는 중요한 요인이 되고 있는 것이다.For example, if you want to delete one line or insert one line from the text lines displayed on the screen of the CRT, delete or add the line to be deleted from the RAM in the central processing unit. The rest of the rows must be moved up or down. If the video RAM consists of one page, only up to 12 rows of data will be moved. Since the entire page must be moved in addition to the maximum 12 lines corresponding to the page, the time for accessing the CRT display control device in the central processing unit becomes longer, and thus the time for processing data in the computer terminal device becomes shorter. This decreases the data processing speed of the data input from the keyboard or the computer main body in the computer terminal device, and thus is an important factor in reducing the data processing efficiency of the computer terminal device.

다음에 로우테이블 어드레싱 방법에 관하여 제2도에 의거하여 설명하면 다음과 같다. 로우테이블 어드레싱 방법은 전술한 순차어드레싱 방법에서 오는 제반 문제점을 개선하여 컴퓨터 단말장치의 데이터처리능률을 향상시키게 된 것으로서, CRTC에서 비디오램에 순차적으로 어드레스를 공급하는 것이 아니라 화면에 표시하고자 하는 행의 순서에 따라 로우체이블(A1~An-1)을 정해놓고 그 로우테이블을 순서적으로 억세스하게 되면, 비디오램의 각 행에 해당하는 어드레스가 로우테이블에 있으므로 로우테이블의 순서에 따라 비디오램의 각 행에 대한 데이터가 출력되어서 CRT의 화면에 문자가 표시되게 되는 것이다. 따라서 CRT의화면에 표시된 문자행을 없앤다거나 혹은 문자행을 삽입시키고자 할때 비디오램의 내용은 그대로 두고 로우테이블에 있는 해당행의 어드레스만 조정하여주면 되므로, 중앙처리장치에서 CRT로 표시제어장치를 억세스하는 시간은 짧아지고, 비디오램이 2페이지 이상이 되더라도 각 행에 대한 어드레스를 로우테이블에 저장시키기만 하면 되므로, 페이지수에 상관없이 최대 12행의 데이터만 옮긴다면 CRT의화면에 1행을 삭제한다거나 1행을 삽입시키는 일 등이 간단하게 처리되게 된다. 따라서 컴퓨터 단말장치의 데이터처리능률은 증진되게 된다 이러한 로우테이블 어드레싱을 실현하기 위하여는 우선 각 행에 대한 선두 어드레스를 저장할 레지스터가 필요하고, 비디오램의 한 행에 대한 데이터를 출력시킬때마다 행을 구분하기 위한 인터럽트 신호가 필요하며, 비디오램의 용량을 나타내는 메모리지정레지스터등이 필요하게 되며, 고급 CRTC에는 이와 같은 회로들이 내장되어 있어서 순차어드레싱 뿐만 아니라 로우테이블 어드레싱을 실현할 수 있게 되어 있다. 그러나 이러한 CRTC를 사용하게 됨에 따라 제품 가격이 높아지게 되고, 컴퓨터 단말장치에서 필요로 하지 않는 기능까지 내재하고 있어서 제품을 생산하는 데에 비효율적인면이 존재하게 된다.Next, the low table addressing method will be described with reference to FIG. The low table addressing method improves the data processing efficiency of the computer terminal device by improving the problems associated with the sequential addressing method described above. The low table addressing method does not sequentially supply addresses to the video RAM in the CRTC. If the row tables (A1 to An-1) are set in order and the row tables are accessed sequentially, the addresses corresponding to each row of the video RAM are in the row table. The data for each line is output so that characters are displayed on the screen of the CRT. Therefore, when removing the character line displayed on the screen of the CRT or inserting the character line, it is necessary 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 more than two pages, only the address of each row needs to be stored in the row table. Therefore, if only a maximum of 12 rows of data are transferred regardless of the number of pages, one row is displayed on the screen of the CRT. Deleting a file or inserting a single row is a simple process. Therefore, the data processing efficiency of the computer terminal device is improved. To realize such low table addressing, first, a register to store the head address of each row is needed, and a row is output each time data for one row of video RAM is output. An interrupt signal is required to classify, a memory designated register indicating the capacity of the video RAM is required, and the advanced CRTC includes such circuits to realize not only sequential addressing but also low table addressing. However, the use of such CRTC increases the price of the product, there is a function that is not necessary in the computer terminal device, there is an inefficient side to produce the product.

본 발명은 위와 같은 실정을 감안하여 발명한 것으로서, CRT의 화면에 표시되는 각 행마다 인터럽트 신호를 발생시키고, 인터럽트 신호가 발생될 때마다 CRCT 를 리셋트시키는 한편 중앙처리장치에서 시스템 메모리에 저장시켜 놓은 로우테이블의 데이터에 따라 CRTC내부에 있는 메모리시작지정레지스터를 변경시켜, CRT의 화면에는 시스템 메모리에 있는 로우테이블의 순서에 따라 비디오램의 문자 코드 데이터에 의한 문자가 표시되게 하는 저급 CRTC의 리셋트 기능을 이용한 로우테이블 어드레싱방법을 제공하고자 함에 그 목적이 있다.The present invention has been invented in view of the above situation, and generates an interrupt signal for each line displayed on the screen of the CRT, resets the CRCT each time an interrupt signal is generated, and stores the system in the system memory at the central processing unit. By changing the memory start designation register in the CRTC according to the data set in the low table, the low-level CRTC can be displayed on the screen of the CRT in order to display characters by the character code data of the video RAM in the order of the low table in the system memory. The purpose is to provide a low table addressing method using the set function.

이하 본 발명을 구체화시킨 구성방법과 그 작용, 효과를 예시도면에 의거하여 상세히 설명하면 다음과 같다.Hereinafter will be described in detail with reference to the construction method and its operation, the effect of the embodiment of the present invention illustrated.

본 발명은 중앙처리장치(1)와 디코더(2) 및 CRTC(3)등으로 구성되어 컴퓨터 본체의 출력을 CRT의 화면에 표시하는 CRT 표시제어장치이 있어서, 상기 CRTC(3)의 스캔라인 어드레스(RA)로 부터 행검출부(4)에 의하여 각각의 행이 구분되는 것을 검출하고, 상기 CRTC(3)의 출력신호인 수평동기신호(HS)와 표시동작신호(DE), CRTC의 칩선택신호(CS) 및 상기 행검출부(4)의 출력신호가 인터럽트 신호 발생부(5)에 의하여 조합되어 중앙처리장치(1)에 인터럽트 신호(NMI)가 리셋트신호 발생부(6)에 의하여 조합되어 상기 CRTC(3)의 리셋트 단자에 리셋트 신호(RST)를 공급하여서, CRT의 화면에 행이 구분될때마다 중앙처리장치(1)에 에 인터럽트신호(NMI)를 공급하여 중앙처리장치(1)로 하여금 CRTC(3)내부의 메모리시작지정레지스터 값을 다음행의 어드레스로 변경시키게 하는 동시에 CRTC(3)에 칩선택 신호 (CS)를 공급하여 CRTC(3)로 하여금 메모리시작지정레지스터에 기록된 어드레스부터 비디오램을 어드레스하도록 하므로써 로우 테이블 어드레싱을 수행할 수 있도록 구성된다. 미설명부호 Vs는 수직동기신호, MA는 메모리어드레스를 나타낸다.The present invention provides a CRT display control device comprising a central processing unit (1), a decoder (2), a CRTC (3), and the like, which displays the output of a computer main body on a screen of a CRT. From RA), it is detected that each row is divided by the row detection unit 4, and the horizontal synchronization signal HS and the display operation signal DE, which are output signals of the CRTC 3, and the chip selection signal of the CRTC ( CS and the output signal of the row detector 4 are combined by the interrupt signal generator 5, and the interrupt signal NMI is combined by the reset signal generator 6 in the CPU 1 The reset signal RST is supplied to the reset terminal of the CRTC 3 to supply the interrupt signal NMI to the central processing unit 1 each time a row is divided on the screen of the CRT. Causes the CRTC (3) to change the value of the memory start designation register inside the CRTC (3) to the address of the next line. By supplying the chip select signal CS to the CRTC 3, the row table addressing can be performed by causing the CRTC 3 to address the video RAM from the address written in the memory start designated register. Reference numeral Vs denotes a vertical synchronization signal, and MA denotes a memory address.

제3도는 위와 같은 구조로 되어 있는 본 발명의 일실시예를 나타내는 회로 블록도이다. 중앙처리장치(1)는 도시되지 않는 시스템메모리에 로우 테이블 어드레싱을 수행할 수 있는 메모리장소를 정해놓고, 인터럽트 신호발생부(5)로 부터 인터럽트신호(NMI)가 입력되면 CRTC(3)에 칩선택신호(CS)를 공급한 다음에 로우테이블에 저장되어 있는 데이터를 차례로 하나씩 출력시켜서 CRTC(3)내의 메모리시작지정레지스터에 기록시킨다. CRTC(3)에서는 메모리시작지정레지스터의 어드레스부터 순차적으로 메모리 어드레스(MA)를 출력시키는 한편 수직, 수평동기신호(Vs)(Hs)와 표시동작신호(DE) 및 스캔라인어드레스(RA)를 출력시킨다. 이때 리셋트신호 발생부(6)로부터 리셋트신호(RST)가 입력되면 CRTC(3)는 메모리어드레스(MA)를 메모리시작지정레지스터에 기록되어 있는 어드레스부터 다시 카운트하게 되고 스캔라인어드레스(RA)는 처음 즉 0스캔라인부터 카운트를 시작한다. 행검출부(4)는 스캔라인어드레스(RA)로 부터 행이 구분되어지는 것을 검출하게 되는데, 한 행을 구성하는 스캔라인의 첫번재 스캔라인이나 마지막 스캔라인을 매행마다 검출하게 되므로서 각 행이 구분되어지는 것을 검출하게 되는 것이다. 이렇게 매 행마다 각 행이 구분되는 것을 검출하게 되는데, 한 행을 구성하는 스캔라인의 첫번째 스캔라인이나 마지막 스캔라인을 매행마다 검출하게 되므로써 각 행이 구분되어지는 것을 검출하게 되는 것이다. 이렇게 매 행마다 각 행이 구분되는 것을 검출한 신호를 인터럽트 신호발생부(5)와 리셋트 신호발생부(6)에 각각 공급한다. 인터럽트신호발생부(5)는 행검출부(4)에서 검출된 신호에 따라 각 행이 구분되면 중앙처리장치(1)에 인터럽트신호(NMI)를 공급하고, 중앙처리장치(1)에서 인터럽트신호(NMI)를 받아서 CRTC(3)를 억세스하고자 디코더(2)를 통하여 칩선택신호(CS)를 공급하면 이 칩선택신호에 의하여 인터럽트신호(NMI)가 복귀된다. 따라서 인터럽트신호(NMI)는 펄스신호가 된다.3 is a circuit block diagram showing an embodiment of the present invention having the above structure. The CPU 1 designates a memory location capable of performing row table addressing to a system memory (not shown), and if an interrupt signal NMI is input from the interrupt signal generator 5, a chip is input to the CRTC 3. After supplying the selection signal CS, the data stored in the row table are output one by one and written to the memory start designation register in the CRTC 3. The CRTC (3) outputs the memory address (MA) sequentially from the address of the memory start designated register, while outputting the vertical and horizontal synchronization signals (Vs) (Hs), the display operation signal (DE), and the scan line address (RA). Let's do it. At this time, when the reset signal RST is input from the reset signal generator 6, the CRTC 3 counts the memory address MA again from the address recorded in the memory start designation register, and the scan line address RA is generated. Starts counting from the first, ie, 0 scan lines. The row detection unit 4 detects that the rows are separated from the scan line address RA. Each row is detected by detecting the first scan line or the last scan line of the scan line constituting one row. It is to detect the distinction. In this way, it is detected that each row is divided for each row. By detecting the first scan line or the last scan line of the scan line constituting one row for each row, it is detected that each row is divided. In this way, the signal that detects the division of each row is supplied to the interrupt signal generator 5 and the reset signal generator 6, respectively. The interrupt signal generating unit 5 supplies an interrupt signal NMI to the central processing unit 1 when each row is divided according to the signal detected by the row detecting unit 4, and the interrupt signal (from the central processing unit 1). When the chip select signal CS is supplied through the decoder 2 to receive the NMI and access the CRTC 3, the interrupt signal NMI is returned by the chip select signal. Therefore, the interrupt signal NMI becomes a pulse signal.

마지막으로 리셋트신호발생부(6)는 상기 인터럽트신호(NMI)가 중앙처리장치(1)에 공급되어서 CRTC(3)내의 메모리시작지정레지스터 값을 변경시켰다 하더라도 메모리어드레스(MA)는 계속 카운트하여 다음행의 메모리어드레스를 도시되지 않는 비디오램에 공급하게 되므로 이를 방지하도록 수평귀선시간부터 표시동작신호(DE)가 있기전까지 리셋트신호(RST)를 공급한다. 따라서 CRTC(3)는 리셋트되어 메모리어드레스(MA)는 CRTC내의 메로리시작지정레지스터에 기록된 어드레스부터 다시 카운트하고 스캔라인어드레스도 0스캔라인부터 카운트 하게 된다.Finally, the reset signal generator 6 keeps counting the memory address MA even if the interrupt signal NMI is supplied to the central processing unit 1 to change the value of the memory start designation register in the CRTC 3. Since the memory address of the next row is supplied to a video RAM (not shown), the reset signal RST is supplied from the horizontal retrace time until the display operation signal DE until the display operation signal DE is prevented. Therefore, the CRTC 3 is reset so that the memory address MA counts again from the address recorded in the memory start designation register in the CRTC, and the scan line address counts from the zero scan line.

이와 같이 구성된 본 발명의 일싱시예에 있어서 순차적으로만 비디오램을 어드레싱할 수 있는 저급 CRTC로 리셋트 기능을 이용하여, 각 행이 바뀔때마다 메모리시작지정레지스터의 기록 데이터를 컴퓨터 단말장치의시스템 메모리에 보관된 로우테이블에 따라 변경시킨다음 CRTC(3)를 리셋트시켜서 메모리어드레스(MA)를 변경된 메모리시작지정레지스터부터 카운트하여 비디오램을 억세스하게 되므로 결국 로우테이블어드레싱과 똑같은 효과를 나타내게 되는 것이다. 즉 화면에 표시된 문자행중에서 1행을 삭제한다거나 1행을 삽입시키고자 할때 비디오램의 용량이 2페이지 이상으로 되어있다 할 지라도 시스템 메모리에 있는 로우테이블의 각행을 나타내는 데이터만 변경시켜주면 되므로 중앙처리장치의 데이터 처리시간을 증진시킬수 있게 되는 것이다.In the one-single example of the present invention configured as described above, using the low-level CRTC reset function capable of sequentially addressing video RAM, the recording data of the memory start designated register is changed each time a row is changed. After changing according to the low table stored in memory, CRTC (3) is reset to count the memory address (MA) from the changed memory start designated register to access the video RAM, which is the same effect as the low table addressing. . In other words, when deleting one row or inserting one row among the displayed characters on the screen, even if the video RAM capacity is 2 pages or more, only the data representing each row of the row table in the system memory needs to be changed. It is possible to improve the data processing time of the processing device.

제4도는 위와 같은 본 발명의 일시예에 대한 회로블록도를 구체적으로 실현시킨 회로도이다. 이 회로도는 한 행당 스캔라인이 13스캔라인으로 되어 있는 경우에 따라서 설계되어 있다.4 is a circuit diagram specifically realizing a circuit block diagram of the temporary example of the present invention as described above. This circuit diagram is designed according to the case where the scan lines per row are 13 scan lines.

행검출부(4)는 앤드 게이트(ADI)로 구성할 수가 있는데, 스캔라인어드레스(RA)를 나타내는 비트 중에서, 제3, 제4비트(RA2)(RA3)만을 논리곱을 취하게 되면 한 행을 이루는 스캔라인중 마지막 스캔라인이 검출되게 된다.The row detection unit 4 may be configured as an AND gate ADI. If only the third and fourth bits RA2 and RA3 are logically multiplied among the bits representing the scan line address RA, the row detection unit 4 forms one row. The last scan line of the scan lines is detected.

한 행당 스캔라인수가 달라지게 되면 그에 따라 행검출부(4)도 달리 구성할 수가 있다.If the number of scan lines per row changes, the row detection unit 4 can be configured differently accordingly.

행검출부(4)에서 출력된 신호는 인터럽트신호발생부(5)와 리셋트신호발생부(6)로 각각 공급된다. 인터럽트신호발생부(5)는 앤드 게이트(AD2)와 D형플립플롭(FF1)으로 구성되는데, 행검출신호의 표시동작신호(DE)가 앤드 게이트(AD2)에서 논리곱을 취하게 되면 제5도의 (5-4)와 같은 신호로 되어서 D형플립플롭(FF1)의 클록단자에 공급된다. 그러면 D형 플립플롭(FF1)은 클록신호가 로우신호에서 하이신호로 상승될 때 인터럽트신호(NMI)가 출력되게 된다. 이 인터럽트신호(NMI)가 중앙처리장치(1)에 보내지면 중앙처리장치(1)에서는 CRTC(3)의 메모리시작지정레지스터를 변경 시키고자 디코더(2)를 통하여 칩선택신호(DS)를 공급하게 되므로 이 칩선택신호(CS)가 D형플립플롭(FF1)의 클리어단(CLR)에도 공급되어 결국 인터럽트신호(NMI)는 제5도의 (5-5)와 같이 펄스신호로 된다.The signal output from the row detector 4 is supplied to the interrupt signal generator 5 and the reset signal generator 6, respectively. The interrupt signal generator 5 is composed of the AND gate AD2 and the D-type flip-flop FF1. When the display operation signal DE of the row detection signal takes the logical product of the AND gate AD2, it is shown in FIG. The same signal as (5-4) is supplied to the clock terminal of the D flip-flop FF1. Then, the D flip-flop FF1 outputs an interrupt signal NMI when the clock signal rises from a low signal to a high signal. When this interrupt signal NMI is sent to the central processing unit 1, the central processing unit 1 supplies the chip select signal DS through the decoder 2 to change the memory start designating register of the CRTC 3. This chip select signal CS is also supplied to the clear terminal CLR of the D flip-flop FF1 so that the interrupt signal NMI becomes a pulse signal as shown in (5-5) in FIG.

언터럽트신호(NMI)가 중앙처리장치(1)에 공급되면 중앙처리장치(1)에서는 CRTC(3)를 칩선택하여 시스템메모리에 저장되어 있는 로우테이블의 데이터를 CRTC(3)내의 메모리시작지정레지스터에 기록시키게 되는데 메모리시작지정레지스터의 내용이 변경됐다 하더라고 CRTC(3)는 다음행에 대한 메모리어드레스(MA)를 계속 비디오램에 공급하게 되므로 CRT화면에 표시되는 다음행이 로우테이블에서 지시하는 행으로 표시될수 있기 위하여는 CRTC(3)를 리셋트시켜줘야 한다. 이러한 리셋트신호(RST)를 발생하기 위한 회로가 리셋트신호발생부(6)인데, 리셋트신호발생부(6)는 인버터(INV)의 오아게이트(OR1)(OR2) 및 D형플립플롭(FF2)으로 구성된다. 인버터(INV)와 오아게이트(OR1)에 의하여 행검출신호의 반전신호와 표시동작신호(DE) 및 수평동기신호(Hs)가 논리합을 취한다음 제5도의 (5-6)과 같은 신호로 D형플립플롭(FF2)의 클록단자에 공급된다.When the interrupt signal NMI is supplied to the central processing unit 1, the central processing unit 1 selects the CRTC 3 to chip the data of the row table stored in the system memory and designates the memory start in the CRTC 3. Although the contents of the memory start specification register have been changed, the CRTC (3) keeps supplying the memory address (MA) for the next row to the video RAM, so the next row displayed on the CRT screen indicates that The CRTC (3) must be reset in order to be displayed in the line. The circuit for generating such a reset signal RST is the reset signal generator 6, which is the OR gate OR1 (OR2) and the D flip-flop of the inverter INV. (FF2). The inverted signal of the row detection signal, the display operation signal DE, and the horizontal synchronization signal Hs are logically summed by the inverter INV and the OR gate OR1, and then the signal D as shown in (5-6) of FIG. It is supplied to the clock terminal of the mold flip flop FF2.

한편 D형플립플롭(FF2)은 인터럽트신호(NMI)가 발생하기 전에는 그 출력단(Q)에는 로우신호가 나타나지만 오아게이트(OR1)의 출력신호가 하이신호이므로 오아게이트(OR2)의 출력신호도 계속 하이신호로 된다. 인터럽트 신호가 발생되게 되면 D형플립플롭(FF2)이 클리어되어서 그 출력단(Q)은 하이신호가 된다. 따라서 오아게이트(OR2)의 출력단은 계속 하이신호가 된다. 오아게이트(OR1)의 출력신호가 제5도의 (5-6) 과 같이 표시동작신호(DE) 및 수평동기신호(Hs)의 하여 두번의 펄스로 되면 펄수가 상승지점에서 D형플립플롭(FF2)이 동작하게 되어 그 출력단(Q)이 제5도의 (5-7)과 같이 로우신호로 되지만 오아게이트(OR1)의 출력신호로 인해 오아게이트(OR2)는 계속 하이신호가 된다. 한편 오아게이트(OR1)의 출력신호가 로우신호로 되면 비로소 오아게이트(OR2)출력신호도 로우신호가 되어 CRTC(3)에 제5도의 (5-8)과 같은 리셋트 신호가 공급되게 되는 것이다. 따라서 이 리셋트신호(RST)에 의하여 CRTC(3)가 리셋트 되므로써 메모리어드레스(MA)는 메모리시작지정레지스터가 지시하는 어드레스부터 다시 카운트를 시작하게 된다. 이렇게 매행마다 인터럽트신호(NMI)를 발생시키고, 그에 따라 시스템메모리에 있는 로우테이블 차례로 메모리시작지정레지스터에 기록시키며, 문자행을 표시하기 전에 CRTC(3)를 리셋트시켜서 CRT의 화면에 표시하는 문자행을 메모리시작지정레지스터에서 지시하는 문자행으로 표시하여 결국 로우테이블어드레싱방법으로 비디오램의 문자코드데이터를 CRT의 화면에 표시하게 되는 것이다.On the other hand, before the interrupt signal NMI is generated, the D-type flip-flop FF2 shows a low signal at its output stage Q, but since the output signal of the OR gate OR1 is a high signal, the output signal of the OR gate OR2 also continues. High signal. When the interrupt signal is generated, the D flip-flop FF2 is cleared, and the output terminal Q becomes a high signal. Therefore, the output terminal of the OR gate OR2 continues to be a high signal. When the output signal of the OR gate OR1 becomes two pulses with the display operation signal DE and the horizontal synchronization signal Hs as shown in (5-6) of FIG. 5, the D-type flip-flop (FF2) at the rising point ) Is operated so that the output terminal Q becomes a low signal as shown in (5-7) of FIG. 5, but the output signal of the oragate OR1 continues to be a high signal. On the other hand, when the output signal of the OR gate OR1 becomes a low signal, the OR gate output signal also becomes a low signal so that a reset signal such as (5-8) of FIG. 5 is supplied to the CRTC 3. . Therefore, since the CRTC 3 is reset by this reset signal RST, the memory address MA starts counting again from the address indicated by the memory start designation register. In this way, the interrupt signal (NMI) is generated every line, and accordingly, the low table in the system memory is written to the memory start designated register in turn, and the characters displayed on the screen of the CRT by resetting the CRTC (3) before displaying the character line are displayed. The line is displayed as the character line indicated by the memory start designation register, so that the character code data of the video RAM is displayed on the screen of the CRT by the low table addressing method.

상기한 바와 같이 본 발명은 스캔라인어드레스로 부터 행이 구분되는 것을 검출하고, 매행이 구분될때마다 인터럽트신호를 발생시켜서 CRTC의 메모리시작지정레지스터의 내용을 로우테이블의 내용에 따라 변경시키며, 문자행을 표시하기전에 CRTC를 리셋트시켜서 매 행이 메모리시작지정레지스터의 내용에 따른 비디오램의 문자코드데이터에 대한 문자행을 CRT의 화면에 표시하도록 되어 있다. 따라서 순차어드레싱만을 할 수 있는 저급 CRTC로 리셋트 기능을 이용하여 로우테이블 어드레싱을 수행하도록 함에 따라 컴퓨터 단말장치의 데이터처리 속도를 증진시킬수 있고, 제품가격을 저렴화할 수 있게 되는 장점이 있다.As described above, the present invention detects that the line is divided from the scan line address, generates an interrupt signal every time the line is divided, and changes the contents of the memory start designated register of the CRTC according to the contents of the row table. Before the display, the CRTC is reset so that every line displays the character line of the character code data of the video RAM according to the contents of the memory start designated register on the screen of the CRT. Therefore, by performing low table addressing using a reset function with a low-level CRTC that can only perform sequential addressing, it is possible to increase the data processing speed of the computer terminal device and to reduce the product price.

Claims (1)

중앙처리장치(1)와 디코더(2) 및 CRTC(3)등으로 구성된 CRT 표시제어장치에 의하여 컴퓨터 본체의 출력을 CRT의 화면에 표시함에 있어서, 행검출부(4)에 의하여 상기 CRTC(3)의 스캔라인어드레스(RA)로 부터 각각의 행이 구분되는 것을 검출하고, 상기 행검출부(4)에서 각 행의 구분이 검출될때마다 인터럽트신호 발생부(5)에서 상기 중앙처리장치(1)에서 인터럽트신호(NMI)를 받을 때마다 상기 CRTC(3)를 칩선택하기 위한 칩선택신호(
Figure kpo00001
)를 출력시키는 동시에 시스템메모리에 있는 로우테이블의 내용을 차례로 하나씩 CRTC(3)내의 메모리시작지정레지스터에 기록시키고, 다음행의 메모리어드레스를 출력시키기 직전에 리셋트 신호발생회로(6)에 의하여 CRTC(3)를 리셋트시켜서 각문자행마다 메모리시작지정레지스터에 기록된 어드레스부터 메모리어드레스(MA)를 카운트하게 하여 순차어드레싱만을 할 수 있는 저급 CRTC로 리셋트 기능을 이용하여 로우 테이블 어드레싱을 할 수 있도록 된 것을 특징으로 하는 저급 CRTC의 리셋트 기능을 이용한 로우테이블 어드레싱방법.
In displaying the output of the computer main body on the screen of the CRT by the CRT display control device composed of the central processing unit 1, the decoder 2, the CRTC 3, and the like, the CRTC 3 by the row detection unit 4; Detect that each row is separated from the scan line address RA, and each time the division of each row is detected by the row detector 4, the interrupt signal generator 5 in the central processing unit 1 Each time the interrupt signal NMI is received, a chip select signal for chip selecting the CRTC 3
Figure kpo00001
At the same time, the contents of the row table in the system memory are written one by one to the memory start designated register in the CRTC (3), and the CRTC is reset by the reset signal generation circuit (6) immediately before the next memory address is output. Reset (3) to count the memory address (MA) from the address recorded in the memory start designation register for each character line so that low table addressing can be performed using the reset function with a low-level CRTC that can only perform sequential addressing. Low table addressing method using a reset function of the low-level CRTC, characterized in that.
KR1019850005336A 1985-07-25 1985-07-25 Low table adressing method KR880001082B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019850005336A KR880001082B1 (en) 1985-07-25 1985-07-25 Low table adressing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019850005336A KR880001082B1 (en) 1985-07-25 1985-07-25 Low table adressing method

Publications (2)

Publication Number Publication Date
KR870001519A KR870001519A (en) 1987-03-14
KR880001082B1 true KR880001082B1 (en) 1988-06-22

Family

ID=19242009

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019850005336A KR880001082B1 (en) 1985-07-25 1985-07-25 Low table adressing method

Country Status (1)

Country Link
KR (1) KR880001082B1 (en)

Also Published As

Publication number Publication date
KR870001519A (en) 1987-03-14

Similar Documents

Publication Publication Date Title
US4714919A (en) Video display with improved smooth scrolling
US4742344A (en) Digital display system with refresh memory for storing character and field attribute data
US4417239A (en) Interactive combination display
US4278973A (en) Video display terminal with partitioned screen
US4404554A (en) Video address generator and timer for creating a flexible CRT display
US4075620A (en) Video display system
US4117469A (en) Computer assisted display processor having memory sharing by the computer and the processor
US4570161A (en) Raster scan digital display system
US4744046A (en) Video display terminal with paging and scrolling
EP0031011B1 (en) Cathode ray tube display apparatus
US4119953A (en) Timesharing programmable display system
US3952296A (en) Video signal generating apparatus with separate and simultaneous processing of odd and even video bits
US4309700A (en) Cathode ray tube controller
US4937565A (en) Character generator-based graphics apparatus
EP0215984B1 (en) Graphic display apparatus with combined bit buffer and character graphics store
KR860001450B1 (en) Graphic display system
EP0525986A2 (en) Apparatus for fast copying between frame buffers in a double buffered output display system
US4868554A (en) Display apparatus
EP0140555B1 (en) Apparatus for displaying images defined by a plurality of lines of data
JPS642955B2 (en)
US4414645A (en) Hardware-firmware CRT display link system
KR880001082B1 (en) Low table adressing method
EP0258825A2 (en) Display control apparatus with improved attribute function
US5317684A (en) Method of storing character data in a display device
JPS6073674A (en) Data display

Legal Events

Date Code Title Description
A201 Request for examination
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: 19970529

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee