KR890005311B1 - Protecting method of character's display range - Google Patents

Protecting method of character's display range Download PDF

Info

Publication number
KR890005311B1
KR890005311B1 KR1019860011525A KR860011525A KR890005311B1 KR 890005311 B1 KR890005311 B1 KR 890005311B1 KR 1019860011525 A KR1019860011525 A KR 1019860011525A KR 860011525 A KR860011525 A KR 860011525A KR 890005311 B1 KR890005311 B1 KR 890005311B1
Authority
KR
South Korea
Prior art keywords
area
data
unprotected
video memory
characters
Prior art date
Application number
KR1019860011525A
Other languages
Korean (ko)
Other versions
KR880008134A (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 KR1019860011525A priority Critical patent/KR890005311B1/en
Publication of KR880008134A publication Critical patent/KR880008134A/en
Application granted granted Critical
Publication of KR890005311B1 publication Critical patent/KR890005311B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/153Digital output to display device ; Cooperation and interconnection of the display device with other functional units using cathode-ray tubes

Landscapes

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

Abstract

내용 없음.No content.

Description

문자표시의 보호영역과 비보호영역 처리방법How to handle protected and unprotected areas of character display

제1도는 본 발명의 방법에 따른 플로우 챠트.1 is a flow chart according to the method of the present invention.

제2도는 본 발명의 방법을 실현시키는 일실시예의 회로도.2 is a circuit diagram of one embodiment for realizing the method of the present invention.

제3도는 비보호영역의 데이터를 지우기 위한 예시도이다.3 is an exemplary diagram for erasing data in an unprotected area.

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

OR1: 오아게이트 NR1: 노아게이트OR 1 : Oagate NR 1 : Noagate

SBF : 3상어퍼 BF : 양방향버퍼SBF: 3-phase upper BF: Bi-directional buffer

VM : 비디오메모리VM: Video Memory

본 발명은 컴퓨터본체의 문자출력을 CRT의 화면상에다 표시함에 있어서, 화면상에 표시되는 문자의 보호 영역(Protexted field)과 비보호영역(Unprotected field)을 구분하여 데이터를 처리하는 방법에 관한 것이다.The present invention relates to a method of processing data by distinguishing between protected and unprotected fields of characters displayed on the screen when displaying the character output of the computer main body on the screen of the CRT.

근래 문서처리시스템(Word-processor)의 발달고 말미암아 CRT의 화면상에 표시되는 문자를 보호영역과 비보호영역으로 구분하여 데이터처리하고 있다.Recently, due to the development of the word-processor, the characters displayed on the screen of the CRT are classified into a protected area and an unprotected area to process data.

여기서 보호영역이라함은 화면사에 현재 키어서가 위치하고 있을 지라도 그 위치에 따른 데이터가 입력되지 못하게하여 다른 문자를 다시 쓸수 없는 영역을 의미하고, 비보호영역이라 함은 화면상에 현재 키어서 위치하고 있는 곳에다 데이타를 입력시켜 문자등을 다시 쓸 수 있는 영역을 의미하는 것으로, 일반적으로 자주 사용되는 문서의 형식등을 보호영역에다 표시해 놓고 가변되는 문자의 데이터를 비보호영역에다 표시하여 사용하므로써 문서의 편집을 용이하게 할 수 있게 한다.In this case, the protected area means that the area where the keyer is located in the screen company cannot be rewritten so that other characters cannot be rewritten, and the unprotected area means that the current keyer is located on the screen. It means an area where text can be rewritten by inputting data in a place. Editing a document by displaying the format of a commonly used document in a protected area and displaying data of variable characters in an unprotected area. Makes it easy.

그런데, 종래의 보호영역과 비보호영역의 처리방법은 비디오 메모리의 내용을 중앙처리장치가 직접 읽은 다음 독출된 데이터의 내용이 보호영역의 데이터인가 비보호영역의 데이터인가에 따라 데이터를 처리해주는 방식이기 때문에 비디오메모리 내의 데이터를 모두 읽어봐야 하고, 읽은 데이터의 상태를 일일이 점검하여 보호영역의 데이터인가 비보호영역의 데이터인가를 판단하게 되는 시간만큼 데이터 처리속도가 늦게되었다.However, the conventional method of processing the protected area and the unprotected area is because the central processing unit reads the contents of the video memory directly and then processes the data according to whether the read data is the data of the protected area or the data of the unprotected area. The data processing speed has been slowed down by the time required to read all the data in the video memory and to check whether the data in the read area is checked in the protected area or the unprotected area.

예를들면 80열의 문자열을 표시하는 CRT 표시장치에 있어서, 보호영역의 데이터는 그대로 보존시키고 비보호영역의 데이터만을 지우고자 하는 경우 종래의 방법으로는 각 데이터를 일일이 점검하게 되므로써 보호영역을 제외한 비보호영역의 클리어 동작이 느려지게 되는 결점이 있었다.For example, in a CRT display device displaying an 80-character string, when the data of the protected area is to be preserved as it is and only the data of the unprotected area is to be erased, the conventional method is to check each data one by one. There was a drawback that the operation of clearing becomes slow.

이에 본 발명은 상기한 결점을 개선하여 보호영역을 제외한 비보호영역의 클리어 동작을 빠르게 할 수 있도록 된 것으로, 이하 예시도면을 참조하여 본 발명을 상세히 설명하면 다음과 같다.Thus, the present invention is to improve the above-described defects to facilitate the clear operation of the non-protected area except the protected area, the present invention will be described in detail with reference to the following drawings.

제1도는 본 발명의 방법에 따른 플로우챠트를 나타내는 것으로, 중앙처리 장치에서 화면상에 표시된 문자중 일부 또는 전체 영역에 대해 보호영역의 문자는 그대로 두고 비보호영역의 문자를 지우기 위해서는 비디오메모리에 데이터를 보내기 전에 시스템메모리의 비디오메모리에 해당하는 영역에서 상기 플로우챠트에 도시된 프로그램에 의해 데이터 값을 재배열하고, 재배열된 데이터를 비디오 메모리로 보내도록 하므로써, 비디오메모리의 문자데이터를 일일이 점검하는 것보다 빠르게 보호영역문자를 제외한 문자를 지울수 있게 되는 것이다.1 shows a flowchart according to the method of the present invention. In order to erase the characters of the unprotected region while leaving the characters of the unprotected region for some or all of the characters displayed on the screen in the CPU, data is stored in the video memory. Checking character data in the video memory by rearranging the data values by the program shown in the flowchart in the area corresponding to the video memory of the system memory and sending the rearranged data to the video memory before sending. You can quickly delete characters except protected area characters.

즉 CRT의 화면상에 보호영역과 비보호영역의 문자가 혼재하여 표시되어 있는 상태에서 화면전체 또는 일정범위에 대해 보호영역의 문자는 그대로 두고 비보호영역의 문자를 지우기 위해서는 화면과 1:1로 대칭이 되어 있는 비디오 메모리의 해당영역의 데이터를 재배열하므로서 이루어지게 되는데, 이때 중앙처리장치에서는 비디오 메모리의 해당영역, 즉 비디오 메모리의 지우고자 하는 부분에 대한 시작지점과 끝지점을 읽어들여 그에 따른 시스템메모리의 어드레스를 계산해낸다.In other words, when the characters of the protected area and the unprotected area are mixed on the screen of the CRT, the characters of the protected area are left unchanged for the entire screen or a certain range, and in order to erase the characters of the unprotected area, they are symmetrically 1: 1 with the screen. This is done by rearranging the data of the corresponding area of the video memory. In this case, the central processing unit reads the start point and the end point of the corresponding area of the video memory, that is, the portion of the video memory to be erased, and accordingly the system memory Calculate the address of.

계산된 어드레스는 비디오 메모리의 클리어 영역에 해당하는 시스템메모리의 영역을 지정하게 된다.The calculated address designates an area of the system memory corresponding to the clear area of the video memory.

이와 같이 시스템메모리의 클리어영역이 설정되면 설정된 클리어영역의 데이터와 16진수의 80H(100000002)와를 논리곱으로 계산한다. 이 80H와의 논리곱은 문자 데이터중 보호영역과 비보호영역을 구분하는 비트만을 남겨놓고 나머지 비트를 0으로 만들기 위한 것으로써, 통상 보호영역과 비보호영역을 구분하는 비트를 8개의 비트중 MSB(최상위비트), 즉 8번째 비트로써 표시하기 때문에 8번째 비트의 내용은 그대로 남겨두고 나머지의 비트 내용을 지우기 위하여 시스템 메모리내의 문자데이터와 80H를 논리곱으로 취한다.When the clear area of the system memory is set in this way, the data of the clear area and 80H (10000000 2 ) of the hexadecimal number are calculated by logical AND. The logical product of 80H is to make the remaining bits 0 by leaving only the bits separating the protected area from the unprotected area of the character data. MSB (most significant bit) of the 8 bits In other words, since the 8th bit is displayed, the 80th bit is taken as the logical product of the character data in the system memory and 80H in order to delete the remaining bit contents.

논리곱으로 취한 결과의 데이터는 보호영역과 비보호영역만을 구분할 뿐 아무런 데이터로서의 의미는 없게 된다.The resultant data taken by the logical product distinguishes only the protected area from the unprotected area, and has no meaning as data.

일반적으로 보호영역의 데이터에 대한 MSB는 "1"이며, 비보호영역의 데이터에대한 MSB는 "0"이다.In general, the MSB for data in the protected area is "1", and the MSB for data in the unprotected area is "0".

이와 같이 시스템메모리에 재배열된 데이터를 비디오 메모리로 보내기 위해서는 CRT의 화면상에 아무런 문자도 표시하지 않은 클리어 데이터(일반적으로 스페이스 데이터라함)로 변환시킬 필요가 있는데, 스페이스데이터는 일예로 20H이므로 재배열된 시스메모리의 데이터에다 20H를 가산한다.In order to send the rearranged data in the system memory to the video memory as described above, it is necessary to convert the cleared data (typically called the space data) without displaying any characters on the screen of the CRT. 20H is added to the data of the arranged sheath memory.

이후 중앙처리장치에서는 시스템메모리로부터 비디오 메모리로 변환된 데이터를 보내도록 하게 되는데, 무작정 보내면 비디오 메모리에 기록된 보호영역의 데이터까지 지워지게 되므로 중앙처리장치에서는 시스템메모리의 데이터중에서 보호영역과 비보호영역을 표시하는 MSB의 내용에 따라 포트아웃신호(Port out signal)를 출력시킨다.After that, the central processing unit sends the converted data from the system memory to the video memory, but if it is accidentally sent, the data of the protected area recorded in the video memory is deleted. Therefore, the central processing unit removes the protected area and the unprotected area from the data of the system memory. A port out signal is output according to the contents of the displayed MSB.

즉 MSB의 내용에 따라 보호영역의 데이터인 경우는 하이레벨신호를, 비보호영역의 데이터인 경우는 로우레벨의 신호를 출력시키게 된다.That is, according to the contents of the MSB, a high level signal is output in the case of the data in the protected area, and a low level signal is output in the case of the data in the unprotected area.

따라서 포트아웃신호가 로우레벨일때는 시스템메모리의 스페이스 데이터가 비디오 메모리에 그대로 옮겨져서 화면상에는 문자가 지워진 것으로 표시되게 되고, 포트아웃신호가 하이레벨일 때는 시스템메모리로부터의 스페이스데이터를 차단하여 비디오 메모리에 기록되지 않게 되므로 화면상에는 보호영역의 문자가 계속 표시되게 되는 것이다.Therefore, when the portout signal is low level, the space data in the system memory is transferred to the video memory as it is, and characters are erased on the screen. When the portout signal is high level, the space data from the system memory is blocked and the video memory is blocked. Since the data is not recorded in the screen, the characters of the protected area are continuously displayed on the screen.

상기의 포트 아웃신호에 따라 시스템메모리로부터의 데이터를 비디오메모리에 기록시키기 위한 하드웨어의 구성이 제2도에 도시되어 있다.A configuration of hardware for recording data from the system memory into the video memory in accordance with the port out signal described above is shown in FIG.

비디오메모리(VM)에서 보호영역과 비디오영역을 구분하여 보호영역을 제외한 비보호영역이 클리어될 때 도시하지 않은 중앙처리장치에서는 전술한 동작에 의해 시스템메모리를 재배열한 후 보호영역과 비보호영역의 구분없이 스페이스 데이터를 비디오 메모리(VM)에 보내는 한편, 포트아웃신호(POS)를 전술한 바와 같이 보호영역의 데이터와 비보호영역의 데이터에 따라 하이 또는 로우레벨신호로서 출력시킨다.When the unprotected area excluding the protected area is cleared by dividing the protected area and the video area from the video memory (VM), in the central processing unit (not shown), after rearranging the system memory by the above-described operation, there is no distinction between the protected area and the unprotected area. While the space data is sent to the video memory VM, the port out signal POS is output as a high or low level signal according to the data of the protected area and the data of the unprotected area as described above.

제2도에 있어서, 칩선택신호(CSS)는 비디오메모리(VM)를 선택하기 위한 신호이며 보호영역신호인 포트아웃신호(POS)는 비디오메모리(VM) 내의 보호 영역을 선택하기 위한 신호이다.In FIG. 2, the chip select signal CSS is a signal for selecting the video memory VM, and the port out signal POS, which is a protection region signal, is a signal for selecting a protection region in the video memory VM.

따라서, 제3도에 도시한 바와 같이 CRT 화면(1)상에 보호영역(1A)과 비호보영역(1B)이 함께 설정되어 있을 경우 비보호영역(1B)의 데이터만을 지우고자할때 제2도에 도시한 칩선택신호(CSS)는 비디오메모리(VM)를 선택하기 위한 신호로서 화면 전체(1)의 데이터가 지워질때까지 로우(L) 상태를 유지하고, 포트아웃 신호(POS)역시 로우상태를 유지하게 되므로 비디오메모리(VM)의 번지내에 있는 데이터를 지울수가 있는 바, 이를 좀더 구체적으로 설명하면 다음과 같다.Accordingly, as shown in FIG. 3, when the protected area 1A and the unprotected area 1B are set together on the CRT screen 1, when the data of only the unprotected area 1B is to be erased, FIG. The chip select signal CSS shown in Fig. 3 is a signal for selecting the video memory VM, and remains low until the data of the entire screen 1 is erased, and the port out signal POS is also low. Since it is possible to erase the data in the address of the video memory (VM), which will be described in more detail as follows.

우선, 비보호영역을 선택하고자 할 경우 도시하지 않은 중앙처리장치로부터 입력되는 칩선택신호(CSS)와 포트아웃신호(POS)는 모두 로우상태가 되어 오아게이트(OR1)의 입력단자에 각각 인가된다.First, when the unprotected area is to be selected, both the chip select signal CSS and the port out signal POS input from the central processing unit (not shown) are low and are respectively applied to the input terminals of the OR gate OR 1 . .

이때 오아게이트(OR1)는 이들 두입력신호를 논리조합하여 로우상태의 신호를 출력한다.At this time, the OR gate OR 1 logically combines the two input signals and outputs a low state signal.

오아게이트(OR1)로 부터 출력된 신호는 버퍼(BF)의 칩인에이블단자(CE)에 인가되어 버퍼(BF)를 인에이블시키므로 비디오 메모리(VM)의 번지내에 있는 비보호영역 데이터(제3도의 빗금친 부분)을 지우도록 한다.Since the signal output from the OR gate 1 is applied to the chip enable terminal CE of the buffer BF to enable the buffer BF, the unprotected area data in the address of the video memory VM (see FIG. 3). Erase the hatched area.

한편, 보호영역이 선택되는 경우 칩선택신호(CSS)는 로우 상태를, 포트아웃신호(POS)는 하이상태를 유지하게 되는바, 이때 오아게이트(OR1)의 출력은 하이상태가 되므로 버퍼(BF)는 디스에이블되어 비디오메모리(VM)의 데이터는 지울수가 없게된다.On the other hand, when the protection region is selected, the chip select signal CSS maintains a low state and the port out signal POS maintains a high state. At this time, the output of the oragate OR 1 becomes high and thus the buffer ( BF) is disabled so that data in the video memory VM cannot be erased.

또한 제2도에 있어서는 중앙처리장치에서 비디오 메모리(VM)의 데이터 내용을 알고자 할 경우를 대비해서 노아게이트(NR1)와 3상 버퍼(SBF)를 비디오메모리(VM)의 최상이비트데이터 단자와 중앙처리장치사이에 연결시켰는데, 그에 따라 중앙 처리장치에서는 비디오메모리(VM)의 내용이 보호영역인가 비보호영역인가만을 알 수 있게 되고 문자 데이터를 알기 이해서는 칩선택신호(CSS)와 포트아웃신호(POS)를 강제로 로우레벨로 하여 버퍼(BF)를 인에이블시키면 된다.In addition, in FIG. 2, in the case where the central processing unit wants to know the data contents of the video memory VM, the Noah gate NR 1 and the three-phase buffer SBF are set to the most significant bit data of the video memory VM. The connection between the terminal and the central processing unit allows the central processing unit to know only whether the contents of the video memory (VM) are protected or unprotected, and the chip select signal (CSS) and port to know the character data. The buffer BF may be enabled by forcing the out signal POS to a low level.

상기한 바와 같이 본 발명의 방법에 의하면 일예로 80열을 표시하는 CRT 표시장치에서 보호영역과 비보호영역의 문자데이터 갯수가 동일한 상태에서 비보호영역의 문자만을 지우고자 할 때 종래보다 50퍼센트 정도의 시간밖에 소요되지 않으므로 데이터의 처리 속도를 높일 수 있게 되는 장점이 있다.As described above, according to the method of the present invention, for example, in a CRT display displaying 80 columns, when the number of characters in the protected area and the unprotected area is the same, only 50% of the time is required compared to the conventional method. Since it only takes time, the data processing speed can be increased.

Claims (1)

CRT의 화면상에다 보호영역과 비보호영역을 구분하여 문자를 표시한 후, 일정범위내에 있는 비보호영역만의 문자를 지우도록 함에 있어서 : 화면의 지우고자하는 영역에 대한 비디오메모리의 시작지점과 끝지점을 독출하여 그에 해당하는 시스템메모리의 어드레스를 계산하여 클리어영역을 설정하고 ; 상기 시스템메모리의 클리어영역데이터에다 보호영역 표시용 비트만을 남기기 위한 데이터로 논리곱을 취한 다음 스페이스데이터를 합하며 ; 상기 보호영역표시용 비트에 포트아웃신호를 출력시키면 상기 포트아웃신호에 따라 비디오메모리의 비보호영역에만 상기 스페이스데이터를 기록시켜 비보호영역의 문자만을 지우도록 하는 것을 특징으로 하는 문자표시의 보호영역과 비보호영역 처리방법버After displaying characters on the screen of CRT by distinguishing between protected and unprotected areas, and deleting characters from unprotected areas within a certain range: the start point and the end point of video memory for the area to be erased on the screen. Reads and calculates the address of the corresponding system memory to set the clear area; Performing logical AND on the clear area data of the system memory with data for leaving only the protection area display bits and then adding the space data; When the port out signal is output to the protected area display bit, the space data is written only to the unprotected area of the video memory according to the port out signal to erase only the characters of the unprotected area. Region processing method
KR1019860011525A 1986-12-30 1986-12-30 Protecting method of character's display range KR890005311B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019860011525A KR890005311B1 (en) 1986-12-30 1986-12-30 Protecting method of character's display range

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019860011525A KR890005311B1 (en) 1986-12-30 1986-12-30 Protecting method of character's display range

Publications (2)

Publication Number Publication Date
KR880008134A KR880008134A (en) 1988-08-30
KR890005311B1 true KR890005311B1 (en) 1989-12-20

Family

ID=19254525

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019860011525A KR890005311B1 (en) 1986-12-30 1986-12-30 Protecting method of character's display range

Country Status (1)

Country Link
KR (1) KR890005311B1 (en)

Also Published As

Publication number Publication date
KR880008134A (en) 1988-08-30

Similar Documents

Publication Publication Date Title
KR950012080B1 (en) Display control unit
EP0701206B1 (en) Emulator with function for detecting illegal access to special function register
JPS61102689A (en) Display system
KR890005311B1 (en) Protecting method of character's display range
US5450366A (en) IC memory card
KR870002139B1 (en) Terminal apparatus
JPH0119589B2 (en)
US6449681B1 (en) Memory unit and buffer access control circuit for updating an address when consecutively accessing upper and lower buffers
KR860003531Y1 (en) Hangul(korean character) code selector
JPS60154296A (en) Display system
KR960002974B1 (en) Apparatus for extending windows using z-buffer memory
KR920006870A (en) Data processing device
KR890004916B1 (en) Selective usage method of english-korean (chinese) characters using hangul low byte
KR900010343Y1 (en) Double hight cursor
KR950005823Y1 (en) Multi-language display unit on ibm pc
JPS6411970B2 (en)
KR940002818Y1 (en) Protector for key-scanning code
JPH0750476B2 (en) Data processing device
JPS638951A (en) Information memory device
KR890002003B1 (en) Crt control circuit
KR920008225B1 (en) Memory control circuit and method for storing display character
JPH05334074A (en) Microprocessor
KR890005286B1 (en) Decoding circuit to translate english software into korean one and its processing method
JPS6367215B2 (en)
JPH0352880B2 (en)

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

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee