KR880001217B1 - Setting method of image generator - Google Patents

Setting method of image generator Download PDF

Info

Publication number
KR880001217B1
KR880001217B1 KR1019850003689A KR850003689A KR880001217B1 KR 880001217 B1 KR880001217 B1 KR 880001217B1 KR 1019850003689 A KR1019850003689 A KR 1019850003689A KR 850003689 A KR850003689 A KR 850003689A KR 880001217 B1 KR880001217 B1 KR 880001217B1
Authority
KR
South Korea
Prior art keywords
image
data
ram
video
generators
Prior art date
Application number
KR1019850003689A
Other languages
Korean (ko)
Other versions
KR860009338A (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 KR1019850003689A priority Critical patent/KR880001217B1/en
Publication of KR860009338A publication Critical patent/KR860009338A/en
Application granted granted Critical
Publication of KR880001217B1 publication Critical patent/KR880001217B1/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

Abstract

The method sets only the data necessary for an image generator by allocating an I/O port for controlling the image generator in a CPU. A CRT controller (1) allocates an address of the data to a video image RAM (2) and a video characteristic RAM (3) for displaying an image on a screen. The video image RAM stores image code data necessary for setting the image generators (4-6) in an address region. The video characteristic RAM (2) stores chip selecting datas for the image generators. A programmable image data (I DATA) is set on the image generators after they are set on the recording mode by the port signals (PR,PG,PE) and the record enable signal (WE) processed by OR gates (OR4-6).

Description

프로그램 가능한 이미지 발생기의 셋팅 방법How to set up a programmable image generator

제 1도는 본 발명의 1실시예에 따른 회로 구성을 나타내는 블록 회로도.1 is a block circuit diagram showing a circuit configuration according to an embodiment of the present invention.

제 2도는 제 1도에 도시된 본 발명의 회로구성에 대한 동작을 설명하기 위한 플로우챠트이다.FIG. 2 is a flowchart for explaining the operation of the circuit configuration of the present invention shown in FIG.

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

1 : CRT 콘트롤러 2 : 비디오 이미지램1: CRT Controller 2: Video Image

3 : 비디오 속성램 4, 5, 6 : 이미지 발생기3: Video Property RAM 4, 5, 6: Image Generator

7 : 문자 이미지 발생기 BF1∼BF6: 버퍼7: Character image generator BF 1 to BF 6 : Buffer

Figure kpo00001
: 포트신호 I DATA : 이미지 데이터
Figure kpo00001
: Port Signal I DATA: Image Data

본 발명은 프로그램가능한 이미지발생기의 셋팅방법에 관한 거승로, 특히 컴퓨터본체에서 출력되는 여러가지 모양과 문자라던지 도형등을 CRT표시장치에다 표시해 주는 경우 이미지데이터를 발생시키는 이미지발생기 내에 CRT표시장치의 화면상에 표시하고자 하는 모양에 대한 이미지데이터를 셋팅시키는 프로그램가능한 이미지발생기의 셋팅방법에 관한 것이다.The present invention relates to a method of setting a programmable image generator, in particular, when displaying various shapes, characters, figures, etc. output from a computer main body on a CRT display device, the screen of the CRT display device in the image generator generating image data. A method of setting a programmable image generator for setting image data for a shape to be displayed on an image.

일반적으로 컴퓨터본체에서는 CRT표시장치의 화면상에다 문자라던지 도형등을 표시하기 위해 각 문자 혹은 도형등의 이미지에 대한 코드데이트르 생성출력해주고, 이렇게 출력된 코드데이터에 의해 CRT표시제어 장치의 이미지발생기가 어드레스지정됨에 따라 이미지 발생기에서는 각각의 문자나 도형에 대한 이미지데이터를 출력시켜 CRT의 화면상에 여러가지 모양의 문자 혹은 도형등을 표시되게 해 주고 있는바, 여기서 문자나 도형에 대한 이미지데이터를 출력시키는 이미지발생기는 프로그램이 가능한 램(RAM)으로 구성됨에 따라 CRT의 화면상에 표시하고자 하는 모양에 대한 이미지데이터를 프로그램적으로 이미지발생기에 셋팅시킬 수 있게 되므로 CRT의 화면상에는 프로그램된 이미지데이터에 따라 여러가지 다양한 문자 혹은 도형의 모양이 표시되게 된다. 그런데, 상기한 바와 같은 이미지발생기에 각각의 문자나 도형등에 대한 이미지데이터를 셋팅시키고자 할 경우 종래에는 컴퓨터본체의 중앙처리장치에서 상기 이미지발생기의 번지수에 이미지데이터를 기록해 주도록 되어 있는바, 이 경우 중앙처리장치에서 이미지발생기에 어드레스를 지정하여 엑세스하고자 하면 중앙처리장치의 입출력포트를 통해 어드레스버스를 직접 사용하게 되므로 예컨대 2K바이트(byte)정도의 이미지발생기에다 이미지데이터를 프로그램적으로 셋팅시키고자 한다면 중앙처리장치에서는 많은 어드레스버스를 할당해 주어야만 되었고, 더군다나 이미지발생기에 이미지 데이터를 셋팅시킨 후에는 중앙처리장치에서 이미지발생기를 억세스할 필요없이 CRT콘트롤러에 의해 어드레스지정해서 이미지데이터를 출력시키기만 하면 되므로 중앙처리장치에서 이미지발생기에 많은 입출력포트어드레스를 할당할 필요가 없게 됨에도 불구하고 종래에는 중앙처리장치에서 이미지발생기에 대해 불필요하게 많은, 입출력포트어드레스를 할당해 주고 있었다.In general, the computer main body generates and outputs code data for images of each character or figure in order to display characters or figures on the screen of the CRT display device. As the generator is addressed, the image generator outputs image data for each character or figure so that various shapes of characters or figures are displayed on the screen of the CRT. As the image generator to be output is composed of programmable RAM, it is possible to programmatically set the image data of the shape to be displayed on the screen of the CRT to the image generator. Depending on the appearance of various characters or figures It is good. By the way, in the case where the image data for each character or figure is set in the image generator as described above, the image data is recorded in the address number of the image generator in the central processing unit of the computer body. In this case, if the central processing unit wants to access the image generator by addressing, the address bus is directly used through the input / output port of the central processing unit. Therefore, for example, to set the image data programmatically in the image generator of about 2K bytes. If the central processing unit had to allocate a lot of address buses, furthermore, after setting the image data in the image generator, the central processing unit would need to address the image generator and output the image data without accessing the image generator.Therefore, although the central processing unit does not need to allocate many input / output port addresses to the image generator, the CPU has conventionally assigned an unnecessary number of input / output port addresses to the image generator.

본 발명은 상기와 같은 종래의 결점들을 개선시키기 위한 것으로, CRT표시제어장치의 비디오이미지램(Video image RAM)을 이용하여 이미지발생기를 엑세스함과 더불어, 중앙처리장치에서는 각각의 이미지발생기를 제어하기 위한 입출력포트만을 할당하여 이미지발생기에 필요한 데이터를 셋팅시킴으로써 중앙처리장치의 입출력포트수를 절약하도록 된 프로그램가능한 이미지발생기의 셋팅방법을 제공하고자 함에 그 목적이 있다.The present invention is to improve the above-mentioned drawbacks, and to access the image generator using the video image RAM (Video image RAM) of the CRT display control device, the central processing unit to control each image generator It is an object of the present invention to provide a method of setting a programmable image generator which saves the number of input / output ports of a central processing unit by allocating only input / output ports for data and setting data necessary for the image generator.

이하 본 발명을 예시도면에 의거하여 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

본 발명은 CRT콘트롤러(1)의 제어하에 비디오이미지램(2)과 비디옥속성램(3)의 어드레스로 지정하여 CRT의 화면상에 이미지플 표시할 때 CRT의 화면상에 표시되지 않는 비디오이미지램(2)의, 소정어드레스영역에 이미지발생기(4)(5)(6)의 이미지데이터에 대한 코드데이터를 기록하고, 비디오이미지램(2)과 대칭되는 비디오 속성램(3)의 소정어드레스영역에 이미지발생기(4)(5)(6)를 침선택하기 위한 칩선택신호(

Figure kpo00002
)의 데이터를 기록하며, 수직귀선기간에서 중앙처리장치의 입출력포트로 부터의 포트신호(
Figure kpo00003
)와 기록이네이블신호(
Figure kpo00004
)를 오아처리해서 이미지발생기(4)(5)(6)를 기록동작으로 설정해서 프로그램처리되어 인가되는 이미지데이터(IDATA)를 셋팅시키는 프로그램가능한 이미지발생기의 셋팅방법을 제공하게 된다.According to the present invention, the video image is not displayed on the screen of the CRT when the image is displayed on the screen of the CRT by designating the addresses of the video image RAM (2) and the vidio attribute RAM (3) under the control of the CRT controller (1). Predetermined addresses of the video attribute RAM 3 which record code data of the image data of the image generators 4, 5 and 6 in the predetermined address area of the RAM 2 and are symmetrical with the video image RAM 2. Chip select signal for needle picking the image generators (4) (5) (6)
Figure kpo00002
Data) and the port signal from the I / O port of the central processing unit
Figure kpo00003
) And the recording enable signal (
Figure kpo00004
) And a method of setting a programmable image generator for setting image generators 4, 5, 6 to a recording operation to set image data IDATA to be processed and applied.

제 1도는 상기와 같은 방법에 관한 동작을 수행하능 CRT표시제어장치의 1실시예를 나타낸 것으로, 제 2에 도시된 플로우챠트를 참조해서 이미지데이터의 셋팅방법에 관해 설명하면 다음과 같다.FIG. 1 shows an embodiment of a CRT display control apparatus capable of performing the operation relating to the above method. A method of setting image data will now be described with reference to the flowchart shown in FIG.

먼저, CRT콘트롤로(1)는 도시되지 않는 중앙처리장치의 제어데이터(DATA)에 따라 비디오이미지램(2)및 비디오속성램(3)에 기록된 이미지(도형, 문자)데이터에 대한 코드데이터를 어드레스지정해서 도시되지 않은 CRT표시장치에 표시되도록 제어해 주고 되고, 비디오이미지램(2)에서는 중앙처리장치로부터 인가되는 데이터(CUP DATA)를 버퍼(BF1)를 매개해서 CRT표시장치에 표시되는 어드레스에 코드데이터로서 배치 기억하게 되는 한편, 비디오속성램(3)에 기록된 침 선택데이터를 기초로 상기 CRT콘트럴러(1)의 어드레스지정에 의해 코드데이터에 대한 이미지발생기(4)(5)(6) 또는 무자이미지 발생기(7)로 부터ㅌ 이미지(도형, 문자)데이터를 출력해서 CRT표시장치에 디스플레이될 수 있도록 해 주게 된다. 이에 대해 보다 상세히 설명하면, 상기 비디오이미지램(2)과 비디오속성램(3)에는 CRT표시장치에 표시되는 대응위치에다 표시시킬 이미지데이터가 배치되는 어드레스영역 이외에도 표시되지 않는 영역이 존재하게 되는바, 비디오이미지램(2)의 상기 표시되지 않는 영역에는 이미지발생기(4)(5)(6)에 기록될 이미지데이터에 대한 코드데이트를 중앙처리장치로 부터 인가되는 데이터(CUP DATA)로서 인가받아 기록시켜 두는 한편, 비디오속성램(3)의 상기 표시되지 않는 영역에는 이미지발생기(4)(5)(6)를 침선택하기 위한 침선택데이터를 기록시켜 두게 된다.First, the CRT controller 1 is code data for image (figure, character) data recorded in the video image RAM 2 and the video attribute RAM 3 according to the control data DATA of the central processing unit (not shown). Is controlled to be displayed on the CRT display device (not shown), and the video image RAM 2 displays the data (CUP DATA) applied from the central processing unit via the buffer BF 1 on the CRT display device. On the basis of the address selection data stored in the video attribute RAM 3, the image generator 4 and the image generator 4 and 5 are stored by the address of the CRT controller 1 on the basis of the needle selection data recorded in the video attribute RAM 3. 6) or image (data) data from the imageless image generator 7 to be displayed on the CRT display device. In more detail, the video image RAM 2 and the video attribute RAM 3 have an area not displayed in addition to the address area where image data to be displayed is located at a corresponding position displayed on the CRT display device. In the non-displayed area of the video image RAM 2, code data for image data to be recorded in the image generators 4, 5 and 6 is received as data (CUP DATA) applied from the central processing unit. On the other hand, the needle selection data for needle selection of the image generators 4, 5 and 6 is recorded in the non-displayed area of the video attribute RAM 3.

이어, CRT콘트롤러(1)의 어드레스지정에 의해 상기 비디오이미지램(2)과 비디오속성램(3)에 기록된 선행데이터를 CRT표시장치에 표시한던중 CRT표시장치의 수직귀선기간이 되면 중앙처리장치로 부터는 이미지발생기(4)(5)(6)를 지정하기 위한 포트신호(

Figure kpo00005
)와 기록이네이블신호(
Figure kpo00006
)가 인가되어 오아게이트(OR1, OR2, OR3)에서 오아처리되어 이미지발생기(4)(5)(6)의기록 제어신호(
Figure kpo00007
)의 입출측에 인가됨과 더불어 프로그램적으로 처리되는 이미지데이터(I DATA), 즉 도형이라던지 특정형태의 문자에 관한 데이터가 인가되어 버퍼(BF4, BF5, BF6)를 통해 이미지발생기(4)(5)(6)에 인가되어지게 된다. 이 경우 상기 이미지데이터(I DATA)는 포트신호(
Figure kpo00008
)의 조합(000∼111)에 따라 선택되는 이미지발생기(4 : 적색)(5 : 녹색)(6 : 청색)에서 상기 비디오이미지램(2)에 기록된 코드데이터에 대응되게 기록되어지게 된다.Subsequently, when the preceding data recorded in the video image RAM 2 and the video attribute RAM 3 is displayed on the CRT display device by addressing the CRT controller 1, when the vertical return period of the CRT display device reaches the center, From the processing unit, the port signal for designating the image generators (4) (5) (6) (
Figure kpo00005
) And the recording enable signal (
Figure kpo00006
) Is applied to the oragate (OR 1 , OR 2 , OR 3 ) and processed by the write control signal of the image generators 4, 5, and 6.
Figure kpo00007
Image data (I DATA) that is applied to the entry / exit side of the PC), i.e., data about a character such as a figure or a specific type, is applied to the image generator (BF 4 , BF 5 , BF 6 ). 4) (5) (6). In this case, the image data (I DATA) is a port signal (
Figure kpo00008
) Is recorded corresponding to the code data recorded in the video image RAM 2 in the image generator 4 (red) (5: green) (6: blue) selected according to the combination (000 to 111).

이와같이 CRT표시장치에 수직귀선기간에 이미지발생기(4)(5)(6)에 기록된 이미지데이트터를 독출해서 표시하는 경우에는 중앙처리장치에서 인가되는 제어데이터(DATA)에 따라 CRT콘트롤러(1)가 비이오이미지램의 소정어드레스영역에 기록된 이미지데이터의 코드데이트를 지정해서 CRT표시장치에 표시될 위치에 배치해 주게 됨과 더불어 비디오속성램(3)의 소정어드레스영역에 기록된 침선택데이터를지정해 주는 한편, 버퍼(BF3)를 통해 이미지발생기(4)(5)(6)에 기록된 이미제데이터에 대한 어드레스를 지정해 주게 되므로 이미지발생기(4)(5)(6)에 기록된 이미지데이터가 버퍼(BF2)를 통해 출력되어 비디오이미지램(2)에 기록된 코드데치터에 대응되게 CRT표시장치에 인가되어 이미지발생기(4)(5)(6)에 기록된 프로그램적으로 형성되어져 있는 이미지데이터가 표시되게 된다. 그리고, 문자이미지생기(7)는 통상 다수의 문자에 대한 돗트데이터가 미리 기록되어 CRT콘트롤로(1)로 부터 버퍼(BF3)를 통해 인가되는 어드레스와 비디오 속성램(3)으로 부터의 침선택신호 (

Figure kpo00009
)에 의해 선택되어 해당어드레스에 대한 폰트(font)데이터가 비디오이미지램(2)을 통해 CRT표시장치에 표시되게 된다.As described above, when the image data recorded in the image generators 4, 5, and 6 is read out and displayed on the CRT display device in the vertical retrace period, the CRT controller 1 according to the control data DATA applied from the central processing unit. ) Designates the code data of the image data recorded in the predetermined address area of the BIO image RAM and arranges it at the position to be displayed on the CRT display device, and the needle selection data recorded in the predetermined address area of the video attribute RAM 3. In addition, the address of the image data recorded in the image generators 4, 5, and 6 is designated through the buffer BF 3 . The image data is output through the buffer BF 2 and applied to the CRT display device corresponding to the code determinator recorded in the video image RAM 2, and programmatically recorded in the image generators 4, 5, 6. The formed image data is a table It will be In addition, the character image generator 7 normally writes the dot data for a plurality of characters in advance, and applies the address from the CRT controller 1 through the buffer BF 3 and from the video attribute RAM 3. Selection signal (
Figure kpo00009
Font data for the corresponding address is displayed on the CRT display device through the video image RAM 2.

상기한 바와 같이 본 발명은 이미지발생기에 이미지 데이터를 프로그램하여 셋팅시킬 때 중앙처리장츠의 입출력포트의 어드레스를 사용하지 않고, 비디오이미지램과 비디오속성램을 이용하여 어드레스지정하므로써 이미지발생기를 제어하기 위한 3개의 포트만을 사용하여 프로그램가능한 이미지발생기에 이미지데이터를 셋팅시킬 수 있는 장점이 있다.As described above, the present invention does not use an address of an input / output port of a central processing device when programming and setting image data in an image generator, and controls the image generator by specifying the address using a video image RAM and a video attribute RAM. The advantage is that only three ports can be used to set the image data on the programmable image generator.

Claims (1)

CRT콘트롤러(1)의 제어하에 비디오이미지램(2)과 비디오속성램(3)의 어드레스를 지정하여 CRT장치의 화면상에 문자라던지 도형 이미지데이터를 표시할때 CRT의 화면상에 표시되지 않는 비디오이미지램(2)의 소정어드레스영역에 이미지발생기(4)(5)(6)에 셋트시킬 이미지데이터에 대한 코드데이터를 기록시켜 두고, 상기 비디오이미지램(2)과 대칭이 되는 비디오속성램(3)의 소정어드레스 영역에 이미지발생기(4)(5)(6)를 칩선택시키기 위한 데이터를 기록해두며, 수직귀선기간에서 중앙처리장치의 입출력포트를 통해 인가되는 포트신호(
Figure kpo00010
)와 기록이네이블신호(
Figure kpo00011
)를 오아게이트(OR1∼OR2)에 의해 오아처리해서 이미지발생기(4)(5)(6)를 기록동작으로 설정해준다음 이미지발생기(4)(5)(6)에다 도형이라던지 문자의 모양의 대한 프로그램처리되는 이미지데이터(I DATA)를 셋팅시켜 주는 것을 특징으로 하는 프로그램가능한 이미지발생기의 셋팅방법.
Under the control of the CRT controller 1, the address of the video image RAM 2 and the video property RAM 3 is specified so that characters or graphic image data are not displayed on the screen of the CRT device. In the predetermined address area of the video image RAM 2, the code data for the image data to be set in the image generators 4, 5 and 6 is recorded, and the video attribute RAM which is symmetric to the video image RAM 2 is recorded. In the predetermined address area of (3), data for chip selection of the image generators 4, 5, and 6 is recorded, and a port signal applied through the input / output port of the central processing unit in the vertical retrace period (
Figure kpo00010
) And the recording enable signal (
Figure kpo00011
) Is orally processed by the OR gates OR 1 to OR 2 to set the image generators 4, 5, and 6 to the recording operation, and then to the image generators 4, 5, and 6, Method for setting a programmable image generator, characterized in that for setting the image data (I DATA) to be programmed for the shape of.
KR1019850003689A 1985-05-25 1985-05-25 Setting method of image generator KR880001217B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019850003689A KR880001217B1 (en) 1985-05-25 1985-05-25 Setting method of image generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019850003689A KR880001217B1 (en) 1985-05-25 1985-05-25 Setting method of image generator

Publications (2)

Publication Number Publication Date
KR860009338A KR860009338A (en) 1986-12-22
KR880001217B1 true KR880001217B1 (en) 1988-07-11

Family

ID=19241121

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019850003689A KR880001217B1 (en) 1985-05-25 1985-05-25 Setting method of image generator

Country Status (1)

Country Link
KR (1) KR880001217B1 (en)

Also Published As

Publication number Publication date
KR860009338A (en) 1986-12-22

Similar Documents

Publication Publication Date Title
US4101879A (en) Cursor movement control device for screen-segmented display apparatuses
US4742344A (en) Digital display system with refresh memory for storing character and field attribute data
US4710767A (en) Method and apparatus for displaying multiple images in overlapping windows
EP0149746A2 (en) Display interface apparatus
CA1253258A (en) Memory access modes for a video display generator
US4622547A (en) Memory access control apparatus
US4800380A (en) Multi-plane page mode video memory controller
US4620186A (en) Multi-bit write feature for video RAM
EP0525986A2 (en) Apparatus for fast copying between frame buffers in a double buffered output display system
EP0147542B1 (en) A multiple window display system
US4748442A (en) Visual displaying
EP0349145B1 (en) Flat panel display attribute generator
US4876533A (en) Method and apparatus for removing an image from a window of a display
KR880001217B1 (en) Setting method of image generator
JPS60158482A (en) Control system of crt display unit
JPS61162085A (en) Image display unit
JPS628192A (en) Cursor control circuit
JPS58129473A (en) Memory control system
JPS61226794A (en) Desired pattern insertion display system for scan type display unit
KR950002087Y1 (en) Font rom circuit for displaying korean character and chinese character
KR880001082B1 (en) Low table adressing method
JPS61273584A (en) Display unit
EP0272006A2 (en) Display controller for data processing apparatuses
EP0473789A1 (en) Bit map display controller
JPS6228792A (en) Scroll control system for character data containing rule

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

Year of fee payment: 16

LAPS Lapse due to unpaid annual fee