[go: up one dir, main page]

CN1021381C - raster scan display system - Google Patents

raster scan display system Download PDF

Info

Publication number
CN1021381C
CN1021381C CN 85101358 CN85101358A CN1021381C CN 1021381 C CN1021381 C CN 1021381C CN 85101358 CN85101358 CN 85101358 CN 85101358 A CN85101358 A CN 85101358A CN 1021381 C CN1021381 C CN 1021381C
Authority
CN
China
Prior art keywords
data
color
display
memory
image
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN 85101358
Other languages
Chinese (zh)
Other versions
CN85101358A (en
Inventor
岩见知行
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to CN 85101358 priority Critical patent/CN1021381C/en
Publication of CN85101358A publication Critical patent/CN85101358A/en
Application granted granted Critical
Publication of CN1021381C publication Critical patent/CN1021381C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

本发明所提供的光栅扫描显示系统用于组成多帧彩色图象。其中分别存有第一、第二帧彩色图象的第一帧缓冲存贮器(5)和第二帧同存贮缓冲器(6),是以与CRT同步的方式被存取的。接下来,分别从第一、第二帧缓冲存贮器给出第一、第二彩色象素数据流(8),(9),随后,把第一彩色象素数据流与预定色(14)比较,在比较时若指出两种颜色不同,则第一彩色象素数据流被送到CRT上;若指出两种颜色相同,则第二彩色象素数据被送到CRT上。因此,第一彩色图象除去带预定色部分外,都重叠在第二彩色图象上。这样第一彩色图象中的预定色部分好象就成为透明的了。

The raster scanning display system provided by the present invention is used to compose multi-frame color images. The first frame buffer memory (5) and the second frame buffer memory (6), which respectively store the first and second frame color images, are accessed in a synchronous manner with the CRT. Next, the first and second color pixel data streams (8), (9) are respectively provided from the first and second frame buffer memory, subsequently, the first color pixel data stream is combined with the predetermined color (14 ) comparison, if pointing out that the two colors are different when comparing, then the first color pixel data flow is sent on the CRT; if pointing out that the two colors are the same, then the second color pixel data is sent on the CRT. Therefore, the first color image is superimposed on the second color image except for the portion with the predetermined color. In this way, the predetermined color portion in the first color image appears to be transparent.

Description

本发明涉及一种光栅扫描显示系统,该系统以与光栅扫描同步的方式从一个存贮器中读出显示数据,并把它们显示在一个CRT(阴极射线管)或类似的装置上。本发明尤其是与一个能以各种方式进行显示的光栅扫描显示装置有关。The present invention relates to a raster scan display system which reads display data from a memory in synchronization with raster scan and displays them on a CRT (cathode ray tube) or similar device. In particular, the invention relates to a raster scan display device capable of displaying in various ways.

光栅扫描显示系统是用于把一帧字符或图象数据存贮在一个存贮器中并通过对该存贮器取数,把一段文字或一幅图象显示在CRT或类似装置上。近来,人们提出合成数个图象来形成多种多彩的图象画面。The raster scan display system is used to store a frame of character or image data in a memory and display a piece of text or an image on a CRT or similar device by fetching data from the memory. Recently, it has been proposed to synthesize several images to form a variety of colorful image frames.

日本公开的第185085/83号专利申请书中阐述了一例,题为“图象显示”,其中,在把从外部存贮器,如一个软磁盘驱动器,输出的显示数据写入一个图象存贮器之前,规定有禁止色,在分配给禁止色的存贮单元中,原有的显示数据保留不变,而其它的存贮单元中则重新写入来自软磁盘驱动器的显示数据。这种做法就能够通过合成多幅图象去组成更富于变化的画面。例如,有这样一种情况,把图5B所示的汽车图象存在一个图象存贮器中,假定车身为红色而车胎是黑色的,这两种颜色被规定为禁止色。然后,把代表图5A所示风景的图象数据从一个磁盘驱动器写入上述存贮器,这就实现了在图象存贮器中存贮一帧组合图象(如图5C所示)的数据。该组合图象可显示在一个CRT或类似装置上。An example is set forth in Japanese Laid-Open Patent Application No. 185085/83, entitled "Image Display", in which display data output from an external memory, such as a floppy disk drive, is written into an image memory Before the device, it is stipulated that there are prohibited colors. In the storage units assigned to the prohibited colors, the original display data remains unchanged, while the display data from the floppy disk drive is rewritten in other storage units. In this way, multiple images can be synthesized to form a more varied picture. For example, there is a case where an image of a car shown in FIG. 5B is stored in an image memory, assuming that the vehicle body is red and the tires are black, these two colors are specified as prohibited colors. Then, the image data representing the scenery shown in Figure 5A is written into the above-mentioned memory from a disk drive, and this has just realized storing a frame of combined images (as shown in Figure 5C) in the image memory data. The combined image can be displayed on a CRT or similar device.

如果打算以这种常规方法去进行更为复杂的图象处理,如动画处理,就会产生困难。即如果打算显示行驶中的汽车,比如说一辆在图5C中从左向右运动的汽车,而作为背景的风景保持静止,这就要求对代表背景图象的数据进行连续的处理。由此将导致程序的复杂化,并且降低处理速度。Difficulties arise if one intends to perform more complex image processing, such as animation, in this conventional manner. That is, if it is intended to display a moving car, say a car moving from left to right in Figure 5C, while the background scenery remains stationary, this requires continuous processing of the data representing the background image. This complicates the program and reduces the processing speed.

另一些与本发明有关的常规例子,在日本公开专利申请书第161839/79号题为“图象发生器”和题为“CRT图片重写显示的控制系统”的第167079/82号专利申请书中,都做了叙述。Other conventional examples related to the present invention are found in Japanese Laid-Open Patent Application No. 161839/79 entitled "Image Generator" and No. 167079/82 entitled "Control System for CRT Picture Overwriting Display" In the book, it is all described.

题为“图象发生器”的第161839/79号日本专利申请,其内容阐述了通过组合许多基本几何图形产生一个组合图象的技术,在这一技术中,那些基本几何图形是分别由不同参数来代表的,而且对一个给定参数提供一个透明性特征,以使背景在与给定参数的透明性特征有关的区域显露出来,这也就是说,使背景透过相应的一个或数个基本几何图形。因此,一个或数个基本几何图形的移动就能使相应的背景区域出现,即没有将程序复杂化也没有降低处理速度。但由于该专利发明是以基本几何图形的组合来形成组合图象,因此它的应用受到限制。它不能形成图5中所示图象。Japanese Patent Application No. 161839/79, entitled "Image Generator", describes a technique for generating a combined image by combining many basic geometric figures, in which those basic geometric figures are formed by different parameters, and provide a transparency feature for a given parameter, so that the background is exposed in the area related to the transparency feature of the given parameter, that is to say, make the background see through the corresponding one or several Basic geometry. Therefore, the movement of one or several basic geometric figures can make the corresponding background area appear, that is, without complicating the program or reducing the processing speed. But because this patent invention is to form the combination image with the combination of basic geometry figure, so its application is limited. It could not form the image shown in Fig.5.

题为“CRT图片重写显示的控制系统”的第 167079/82号日本专利申请。其内容阐述了一种进行图片显示工厂流程且时时变化流程图象的技术。在这一技术中,把工厂流程分解为类似堆栈存贮器的流程单元,对于这些单元中的每一个都准备了一个帧存贮器。在每一个帧存贮器中,将预定的显示数据写入与分解出的流程单元相应的存贮单元中,而另外的存贮区域则为无数据区域。对这些帧存贮器规定了优先次序,而其中的同一个存贮单元就是根据给定的次序被反复检测的。在检测中,无数据存贮区域被让过,而当测到第一个显示数据时,就将其传送到一个显示装置上,如一个CRT。当然,对于显示数据的这种探测和传送是以于CRT同步的方式在所有存贮单元中进行的。Titled "Control System for CRT Picture Rewriting Display" Japanese Patent Application No. 167079/82. Its content describes a technology for displaying factory processes in pictures and changing process images from time to time. In this technique, the factory process is decomposed into process units like stack memories, and a frame memory is prepared for each of these units. In each frame memory, predetermined display data is written into the storage unit corresponding to the decomposed flow unit, while the other storage area is a data-free area. A priority order is specified for these frame memories, and the same memory location therein is repeatedly checked according to the given order. During detection, no data storage area is passed, and when the first display data is detected, it is transferred to a display device, such as a CRT. Of course, this detection and transfer of display data is done in all memory locations in a CRT-synchronized manner.

这样的系统用于移动和显示每个单元时,很便利,因为不必考虑其它单元(背景)。然后可以看出,在同时要求显示时,这种做法难以显示被每一单元遮住的文字或图象,也难以使每个单元的图象透明,因此它的使用也限制在一定范围内。Such a system is convenient for moving and displaying each cell, because other cells (the background) do not have to be considered. Then it can be seen that when displaying is required at the same time, it is difficult for this method to display the words or images covered by each unit, and it is also difficult to make the image of each unit transparent, so its use is also limited to a certain extent.

本发明是鉴于上述情况而做出的,其目的是提供一种光栅扫描显示装置,这种显示装置易于对运动的图象进行合成并能以各种方法改变合成的方式。The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a raster scan display device which can easily synthesize moving images and can change the manner of synthesis in various ways.

根据本发明,光栅扫描显示系统包括下列部分:According to the present invention, a raster scan display system includes the following parts:

许多用于存贮显示数据的存贮装置,其中的每一个存贮装置都能够存贮许多帧彩色中图象中的一帧图象;a plurality of storage devices for storing display data, each of which is capable of storing one of a plurality of frames of images in color;

用于从上述多个存贮装置中同时检索许多显示数据流的存贮器存取装置;memory access means for simultaneously retrieving a plurality of display data streams from said plurality of storage means;

用于设置一种或多种参考色的装置,其中该颜色的部分在上述许多帧彩色图象的至少一帧中,显示成该部分为透明状;means for setting one or more reference colors, wherein a portion of the color is displayed as transparent in at least one of the above-mentioned plurality of frames of color images;

用于对上述许多显示数据流中的至少一个数据与上述一种或多种参考色进行比较的装置;means for comparing at least one of said plurality of display data streams with said one or more reference colors;

根据比较从上述许多显示数据流中选出彩色数据,并把选出的数据送到一个显示器的装置。Means for selecting color data from the above plurality of display data streams based on the comparison and sending the selected data to a display.

因此,如果将前景画面中具有与参考色相一致颜色的区域,用背景画面来代替话则能很容易地合成出图5C中的图象,而且无需考虑背景图象,即使在进行动画显示时也是如此。Therefore, if the area in the foreground picture that has the same color as the reference hue is replaced by the background picture, the image in Figure 5C can be easily synthesized, and there is no need to consider the background image, even during animation display. in this way.

此外,当用于图象显示的是一个字符发生系统而不是一个毕特图系统时,就能够根据文字章节的颜色或类似标志以多画面去显示的许多文章。In addition, when a character generation system instead of a bitmap system is used for image display, it is possible to display many articles in multiple screens according to the color of text chapters or the like.

下面,参照附图,对本发明应用于微机系统的实施例进行说明。Next, an embodiment in which the present invention is applied to a microcomputer system will be described with reference to the accompanying drawings.

参照图1,图中示出了第一个实施例,一个CPU(中央处理器),例如是一个8088微处理器,它通过数据总线2、地址总线3以及图上没有示出的控制总线,联接到图上没有示出的各种输入/输出装置或一个存贮装置上。这些输入/输出和存贮装置是为了便于说明而从图上去掉的。With reference to Fig. 1, the first embodiment has been shown among the figure, a CPU (central processing unit), for example is an 8088 microprocessor, it passes the control bus not shown on the figure bus 2, address bus 3 and the figure, It is connected to various input/output devices not shown in the figure or a storage device. These input/output and storage devices are removed from the figure for ease of illustration.

地址控制电路4,分别由CPU1和CRT控制电路7提供地址和控制信号,同时对图象存贮器54和副存贮器6寻址,因此它可以根据垂直和水平同步对图象存贮器5和副存贮器6进行存取。Address control circuit 4 provides address and control signal by CPU 1 and CRT control circuit 7 respectively, simultaneously image memory 54 and sub-memory 6 are addressed, so it can store images according to vertical and horizontal synchronization The device 5 and the secondary memory 6 are accessed.

图象存贮器5可由一个64k字节、每字节8毕特的RAM(随机存取存贮器)构成,并通过数据总线2将显示数据写入。显示数据是以毕特图的形式存在图象存贮器中的,而且对于一个象素,举例来说,可分配4毕特。因此,有16(=24)种颜色能够进行显示。图象存贮器5中的数据,在地址控制电路4的控制下,按字节或按8毕特被逐个读出,并传送到后级的并/串转换电路8中。如上所述,一个象素由4毕特组成,而从图象存贮器5读出的数据有8毕特,或者说是两个象素。因此,并/串转换电路并行地读出两个象素,而串行地送到后一级。The image memory 5 can be composed of a 64k byte RAM (random access memory) with 8 bits per byte, and the display data is written through the data bus 2. Display data is stored in the image memory in the form of a bit map, and for one pixel, for example, 4 bits can be allocated. Therefore, 16 (=2 4 ) colors can be displayed. The data in the image memory 5, under the control of the address control circuit 4, is read out one by one by byte or by 8 bits, and sent to the parallel/serial conversion circuit 8 of the subsequent stage. As described above, one pixel is composed of 4 bits, and the data read out from the image memory 5 has 8 bits, or two pixels. Therefore, the parallel/serial conversion circuit reads out two pixels in parallel and sends them to the subsequent stage in series.

副存贮器6具有与图象存贮器5类似的结构(例如,为8毕特32k字节),尽管图中只示出了一个副存贮器6,但如采用多个副存贮器6则更为适宜,副存贮器6的输出数据传送到另一个并/串转换电路9中,这个电路与并/串转换电路8相同。Sub-memory 6 has a structure similar to image memory 5 (for example, is 8 bits 32k bytes), although only one sub-memory 6 is shown in the figure, if adopting a plurality of sub-memory The device 6 is more suitable, and the output data of the secondary storage 6 is sent to another parallel/serial conversion circuit 9, which is the same as the parallel/serial conversion circuit 8.

来自并/串联转换电路8和9的两对4毕特象素数据,由多路转换器10馈送至调色电路11,在那儿把它们转换为图象信号R、G、B和I,这些信号通过缓冲电路12送至CRT。至于调色电路11,将在后面介绍。Two pairs of 4-bit pixel data from the parallel/serial conversion circuits 8 and 9 are fed by the multiplexer 10 to the color correction circuit 11, where they are converted into image signals R, G, B, and I, which The signal is sent to the CRT through the buffer circuit 12. As for the toning circuit 11, it will be introduced later.

多路转换器10的开关动作是由透明色选择电路13和开关控制电路14来控制的。即由透明色选择电路13通过数据总线2接收和寄存透明色数据P。并把它们传送到开关控制电路14。透明色选择电路13,通过对数据总线送到的数据译码,获得PR信号(判优信号)和EN信号(透明色方 式允许信号),并把它们馈送至后一级的开关控制电路14。PR是一个一毕特信号,它指出来自图象存贮器5,或是副存贮器6中的哪些象素数据,应予以优先处理。例如,PR信号如果是“1”,通常情况下,图象存贮器5中的象素数据从多路转换器10中送出。相反,如果PR信号是“0”,通常则是将副存贮器6中的象素数据优先送出,EN信号透明色方式能否使能。关于透明色方式,后面还要详述。The switching action of the multiplexer 10 is controlled by the transparent color selection circuit 13 and the switch control circuit 14 . That is, the transparent color data P is received and registered by the transparent color selection circuit 13 through the data bus 2 . And send them to the switch control circuit 14. The transparent color selection circuit 13 obtains the PR signal (arbitration signal) and the EN signal (transparent color square) by decoding the data sent by the data bus. type permission signal), and feed them to the switch control circuit 14 of the subsequent stage. PR is a one-bit signal which indicates which pixel data from the image memory 5 or the sub-memory 6 should be processed with priority. For example, if the PR signal is "1", the pixel data in the image memory 5 is normally sent out from the multiplexer 10. On the contrary, if the PR signal is "0", usually the pixel data in the sub-memory 6 is sent first, and the EN signal transparent color mode can be enabled. Regarding the transparent color method, it will be described in detail later.

开关控制电路14把开关信号SW馈送到多路转换器10。例如,开关信号SW如果是“1”,图象存贮器5中的象素数据送至后一级,而如果该信号是“0”,则将副存贮器6中的象素数据送至后一级。开关控制电路14不仅由透明色选择电路13输入透明色数据P、PR信号和EN信号,还分别从图象存贮器5和副存贮器6输入象素数据。它把这两对象素数据分别与透明色数据比较,然后根据比较结果,PR信号和EN信号来发出如表1和表2所指出的开关信号“1”或“0”,在这两张表中,比较输出“1”表示比较结果相一致,而“0”则表示不一致,表1和表2还指出从多路转换器10传送来的象素数据的类别(图象存贮器=V,副存贮器=S)。The switch control circuit 14 feeds the switch signal SW to the multiplexer 10 . For example, if the switch signal SW is "1", the pixel data in the image memory 5 is sent to the next stage, and if the signal is "0", the pixel data in the sub-memory 6 is sent to the next stage. to the next level. Switch control circuit 14 not only receives transparent color data P, PR signal and EN signal from transparent color selection circuit 13, but also inputs pixel data from image memory 5 and sub memory 6, respectively. It compares the two pairs of pixel data with the transparent color data, and then sends out the switch signal "1" or "0" as indicated in Table 1 and Table 2 according to the comparison result, PR signal and EN signal. In these two tables, Comparison output "1" represents that the comparison result is consistent, while "0" represents inconsistency, and Table 1 and Table 2 also indicate the category of the pixel data sent from multiplexer 10 (image memory=V, vice versa memory = S).

表1(EN=“1”;透明色方式)Table 1 (EN = "1"; transparent color mode)

比较输出    开关信号SWComparison output Switching signal SW

图象存贮器    副存贮器    PR=“1”    PR=“0”Image memory Sub-memory PR = "1" PR = "0"

0    0    1(V)    0(S)0 0 1(V) 0(S)

0    1    0(S)    1(V)0 1 0(S) 1(V)

1    0    1(V)    0(S)1 0 1(V) 0(S)

1    0(S)    1(V)1 0(S) 1(V)

表2(EN=“0”;非透明色方式)Table 2 (EN = "0"; non-transparent color mode)

比较输出    开关信号SWComparison output Switching signal SW

图象存贮器    副存贮器PR=“1”PR=“0”Image memory Sub-memory PR = "1" PR = "0"

0    0    1(V)    0(S)0 0 1(V) 0(S)

0    1    1(V)    0(S)0 1 1(V) 0(S)

1    0    1(V)    0(S)1 0 1(V) 0(S)

1    1    1(V)    0(S)1 1 1(V) 0(S)

以下,参照图2,对构成图1中的透明色选择电路的一例进行描述。Hereinafter, an example of the configuration of the transparent color selection circuit in FIG. 1 will be described with reference to FIG. 2 .

参照图2,透明色选择电路13具有一个透明色寄存器15和一个译码器16,例如,执行一段程序选择电路13,可通过数据总线2接收透明色选择数据。透明色选择数据中的透明色数据P,例如为4毕特,被准备送往透明色寄存器15。另一方面,译码器16检测透明色选择数据的传送。并向寄存器15发送一个写信号WE以使其存贮透明色数据P。Referring to FIG. 2 , the transparent color selection circuit 13 has a transparent color register 15 and a decoder 16 , for example, the selection circuit 13 can receive transparent color selection data through the data bus 2 by executing a program. The transparent color data P in the transparent color selection data, for example 4 bits, is prepared to be sent to the transparent color register 15 . On the other hand, the decoder 16 detects the transmission of the transparent color selection data. And send a write signal WE to the register 15 to store the transparent color data P.

译码器16接收通过数据总线2送来的显示方式开关数据,这些数据中的信息包括,图象存贮器5或副存贮器6中的哪一个具有优先权,以及是否采取透明色方式,然后,译码器16发出PR和EN信号。Decoder 16 receives the display mode switching data sent by data bus 2, the information in these data includes, which one has priority in image memory 5 or secondary memory 6, and whether to adopt transparent color mode , and then, the decoder 16 sends PR and EN signals.

参照图3,对图1中的开关控制电路14进行描述,如图3中所示,开关控制电路14由两个比较器电路17和18、一个锁存器19和一个开关信号发生电路20组成。比较器电路17和18各有一个输入端馈入来自透明色选择电路13(见图2)中透明色寄存器的透明色数据P。并/串转换电路8通过锁存器21向比较器电路17的另一个输入端提供图象存贮器5中的象素数据。同样地,副存贮器6中的象素数据,由另一个并/串转换电路9,通过锁存器22提供给另一个比较器18的另一个输入端。来自比较器电路17和18的比较输出信号“1”或“0”,通过锁存器19馈送到开关信号发生电路20。With reference to Fig. 3, switch control circuit 14 in Fig. 1 is described, as shown in Fig. 3, switch control circuit 14 is made up of two comparator circuits 17 and 18, a latch 19 and a switch signal generating circuit 20 . Each of the comparator circuits 17 and 18 has an input terminal fed with transparent color data P from the transparent color register in the transparent color selection circuit 13 (see Fig. 2). The parallel/serial conversion circuit 8 supplies the pixel data in the image memory 5 to the other input terminal of the comparator circuit 17 through the latch 21 . Similarly, the pixel data in the sub-memory 6 is supplied to another input terminal of another comparator 18 through a latch 22 from another parallel/serial conversion circuit 9 . The comparison output signals "1" or "0" from the comparator circuits 17 and 18 are fed to the switching signal generating circuit 20 through the latch 19 .

与此同时,来自透明色选择电路13中译码器16的PR和EN信号也馈送到开关信号发生电路20,并根据上述的表1和表2把开关信号馈送到多路转换器10,多路转换器根据开关信号进行开关的方式,已在表1和表2中指出。At the same time, the PR and EN signals from the decoder 16 in the transparent color selection circuit 13 are also fed to the switch signal generation circuit 20, and the switch signal is fed to the multiplexer 10 according to the above-mentioned Table 1 and Table 2, and multiple The way the converter switches according to the switching signal has been indicated in Table 1 and Table 2.

图1中略去了锁存器21、22、23和24。Latches 21, 22, 23 and 24 are omitted from FIG. 1 .

参照图4,对图1中的调色电路11进行描述。参照图4,调色电路11由译码器25、调色寄存器261-26n、门电路271-27n和一个“或”电路28组成。来自多路转换器10的象素数据,一经锁存器29锁定,即送到译码器25,译码器25有几条输出线,例如输出线251-25n可为16条线,并根据4毕特的象素数据产生输出,轮流地由一个输出端向外输出。译码器的输出线251联接在调色寄存器261的一个写信号输入端和门电路271的一个门信号输入端上,而其它输出线252-25n,类似地联接在相应的调色寄存器262-26n和门电路272-27n上,调色寄存器261-26n通过数据总线2输入调色数据。Referring to FIG. 4 , the toning circuit 11 in FIG. 1 will be described. Referring to FIG. 4 , the toning circuit 11 is composed of a decoder 25 , toning registers 26 1 -26 n , gate circuits 27 1 -27 n and an OR circuit 28 . From the pixel data of multiplexer 10, once locked by latch 29, promptly send to decoder 25, decoder 25 has several output lines, for example output lines 25 1 -25 n can be 16 lines, And generate output according to 4-bit pixel data, which is output from one output terminal in turn. The output line 25 1 of the decoder is connected to a write signal input end of the color palette register 26 1 and a gate signal input end of the gate circuit 27 1 , while other output lines 25 2 -25 n are similarly connected to corresponding Toning registers 26 2 -26 n and gate circuits 27 2 -27 n , and toning registers 26 1 -26 n input toning data through data bus 2 .

调色寄存器261-26n的内容是这样放置的,输入来自多路转换器10的,预定象素数据,该象素触发251-25n中相应于它的一条输出线,然后将来自数据总线2的数据存入261-26n中一个相应的寄存器。例如,被传送的调色数据是靠触发输出线251存入寄存器261中的。在这样把数据写入调色寄存器261-26n之后,如果又通过多路转换器10向译码器25提供象素数据。则门电路271-27n中相应的一个门选通,并把相应的调色数据通过“或”电路28提供给CRT。The content of palette register 26 1-26 n is placed like this, input comes from multiplexer 10, predetermined pixel data, and this pixel triggers one output line corresponding to it in 25 1-25 n , then will come from Data from data bus 2 is stored in a corresponding register in 26 1 - 26 n . For example, the transmitted toning data is stored in the register 261 via the trigger output line 251 . After thus writing the data into the color palette registers 26 1 - 26 n , if the pixel data is provided to the decoder 25 through the multiplexer 10 again. Then a corresponding one of the gate circuits 27 1 - 27 n is strobed, and the corresponding toning data is provided to the CRT through the OR circuit 28 .

由于在调色数据寄存期间,相应于261-26n中一个预备置数的寄存器的门电路271-27n中的一个也被选通。这就有可能把调色数据传送到CRT上,造成不良显示。因此,调色数据的寄存是在CRT回扫描期间进行的。调色寄存器261-26n可以是5毕特或更长些。调色数据当然也是5毕特或更长些。在这种情况下,可设置32(=25)种或更多种颜色。其中的16种颜色可同时显示。Because during the registration of the toning data, one of the gate circuits 27 1 - 27 n corresponding to a pre-set register in 26 1 - 26 n is also strobed. This has the potential to transfer the toning data to the CRT, resulting in a bad display. Therefore, the registration of the toning data is performed during the rescan of the CRT. The palette registers 26 1 - 26 n may be 5 bits or longer. Of course, the grading data is also 5 bits or longer. In this case, 32 (=2 5 ) or more colors can be set. 16 of these colors can be displayed simultaneously.

现在,参照图5C或5D中的图象对这一实施例的工作情况进行描述。通常,这一工作是由一个应用程序来执行的。Now, the operation of this embodiment will be described with reference to the images in Fig. 5C or 5D. Typically, this work is performed by an application program.

首先,把代表图5B中汽车的图象数据写入图1中的图象存贮器5。这些数据是从一个外部存贮器,例如一个软磁盘驱动器输入的。在图5中,背景和车窗的颜色是蓝色的,而车身和车胎分别是红色和黑色的。然后,把图5A中的风景图象数据写入图1中的副存贮器6。副存贮器6与图象存贮器5相类似。此后,设置透明色数据P。透明色数据P假定为蓝色。在地址控制电路4的控制下对图象存贮器5和副存贮器6取数,从而由每一个存贮单元得到相应于图5B和5A的象素数据,并将其传送到到开关控制电路14。如果PR信号是“1”并且EN信号也是“1”,在此情况下,当对图象存贮器5中相应于背景和车窗的存贮单元取数时,则来自图象存贮器5的象素数据与透明色数据P相一致,使得开关控制电路14产生“0”的输出信号。因此,副存贮器6中的象素数据被送到后级的调色电路11,以显示相应的图象。对此,请参照前面的表1。由于来自图象存贮器5的其它存贮单元的象素数据与透明色数据不一致,所以开关信号是“1”,图象存贮器5中这些象素数据被送到调色电路11,因此,在CRT上显示的数据为图5C中的图象。First, the image data representing the car in FIG. 5B is written into the image memory 5 in FIG. 1. FIG. These data are input from an external memory such as a floppy disk drive. In Figure 5, the color of the background and car windows is blue, while the car body and car tires are red and black, respectively. Then, the landscape image data in FIG. 5A is written into the sub memory 6 in FIG. 1. FIG. The sub memory 6 is similar to the image memory 5 . Thereafter, transparent color data P is set. The transparent color data P is assumed to be blue. Under the control of the address control circuit 4, the image memory 5 and the secondary memory 6 are fetched, thereby obtaining the pixel data corresponding to Fig. 5B and 5A by each storage unit, and sending it to the switch control circuit 14. If the PR signal is "1" and the EN signal is also "1", in this case, when the storage unit corresponding to the background and the window in the image memory 5 is fetched, then from the image memory The pixel data of 5 coincides with the transparent color data P, so that the switch control circuit 14 generates an output signal of "0". Therefore, the pixel data in the sub-memory 6 is sent to the color correction circuit 11 of the subsequent stage to display the corresponding image. For this, please refer to Table 1 above. Since the pixel data from other storage units of the image memory 5 is inconsistent with the transparent color data, the switching signal is "1", and these pixel data in the image memory 5 are sent to the color correction circuit 11, Therefore, the data displayed on the CRT is the image in Fig. 5C.

如果改变透明色数据,例如改为红色,则会显示出图5D中的图象。可以相信,对于这点用不着再做进一步的说明。If the transparent color data is changed, for example, to red, the image in Fig. 5D will be displayed. It is believed that no further elaboration is required on this point.

如果“PR”信号是“0”,则图5B中的汽车图象成为背景,而图5A中的风景成为前景。如果把风景中树的绿色规定为透明色,则会显示出透过树看到汽车的景象。如果EN信号变为“0”,则只显示出优先级别高的图象或前景图象。也说是说,所采用的不再是透明色方式。If the "PR" signal is "0", the car image in Fig. 5B becomes the background, and the landscape in Fig. 5A becomes the foreground. If the green color of the trees in the landscape is specified as a transparent color, it will show the car seen through the trees. If the EN signal becomes "0", only a picture with a high priority or a foreground picture is displayed. In other words, the transparent color method is no longer used.

上述工作过程只表述了一个例子,当然对于种类繁多的图象都可以显示。The above-mentioned work process has only expressed an example, certainly can display for the image of various types.

现在,参照图6对本发明的第二个实施例进行描述。在图6中,同样的数字指示出与图1相同的部件,对于这些部件,在此就不再详述了。Now, a second embodiment of the present invention will be described with reference to FIG. 6. FIG. In FIG. 6, the same numerals indicate the same components as those in FIG. 1, and these components will not be described in detail here.

这一实施例所采取的做法,是在一个“或”电路30、“与”电路31和“异或”电路32中,对来自图象存贮器5和副存贮器6的图象单元数据进行处理,并把这些电路的输出以及来自多路转换器10的输出,馈送到另一个多路转换器33,并且在预定的控制之下交替进行显示。这样做就能进一步进行更为多变的显示。The way that this embodiment is taken is in an "or" circuit 30, "and" circuit 31 and "exclusive OR" circuit 32, for the picture elements from the picture memory 5 and the secondary memory 6 The data is processed and the outputs of these circuits and the output from the multiplexer 10 are fed to another multiplexer 33 and displayed alternately under predetermined control. By doing so, a more varied display can be further performed.

本发明并不限制于上述的那些实施例,它可以各种方式出现。The present invention is not limited to those embodiments described above, and it can appear in various ways.

例如,它可以应用一个字符发生系统或是一个毕特图/字符发生组合系统。此外,可通过对许多透明色同时置数,来规定出透明色区域。For example, it can apply a character generation system or a bitmap/character generation combination system. In addition, the transparent color area can be specified by setting numbers of many transparent colors at the same time.

如上所述,本发明通过选择透明色,能够在一幅图象中,将预定区域规定为透明色区域,并能进行各种显示。例如,可通过对图象合成来形成一个变化的组合图象,图象上增加的动态运动也易于表现。它可应用于一个多画面屏面,以集中显示各种文字和图片。As described above, in the present invention, by selecting a transparent color, it is possible to define a predetermined area in one image as a transparent color area, and to perform various displays. For example, a changing combined image can be formed by synthesizing images, and dynamic motion added to the image can also be easily represented. It can be applied to a multi-picture screen to centrally display various text and pictures.

附图简述:Brief description of the drawings:

图1示出的是本发明第一个实施例的原理方框图。Fig. 1 shows a schematic block diagram of the first embodiment of the present invention.

图2是图1中透明色选择电路结构的方框示意图。FIG. 2 is a schematic block diagram of the structure of the transparent color selection circuit in FIG. 1 .

图3是图1中开关控制电路结构的方框示意图。FIG. 3 is a schematic block diagram of the structure of the switch control circuit in FIG. 1 .

图4是图1中调色电路结构的方框示意图。FIG. 4 is a schematic block diagram of the structure of the toning circuit in FIG. 1 .

图5是显示装置上的显示方式的示意图。Fig. 5 is a schematic diagram of a display mode on a display device.

图6是本发明第二个实施例的方框示意图。Fig. 6 is a schematic block diagram of a second embodiment of the present invention.

4……地址控制电路;5……图象存贮器;6……副存贮器;10……多路转换器;13……透明色选择电路;14……开关控制电路;17、18……比较器电路。4...address control circuit; 5...image memory; 6...secondary memory; 10...multiplexer; 13...transparent color selection circuit; 14...switch control circuit; 17, 18 ...the comparator circuit.

Claims (3)

1、将存贮的多个图象组成为一帧图象,并把这帧图象在显示装置上显示的光栅扫描显示系统,其特征在于:1. A plurality of stored images are formed into a frame image, and the raster scanning display system for displaying this frame image on a display device is characterized in that: 用于存贮显示数据的第一和第二存贮装置,每一个这样的存贮装置都能存贮多帧彩色图象中的一帧图象,first and second storage means for storing display data, each of which is capable of storing one of a plurality of color images, 用与同时从上述的第一和第二存贮装置中读出数据从而分别提供用于在一个光栅扫描显示装置上进行显示的象素数据组流的存取装置,accessing means for simultaneously reading data from said first and second storage means to provide respectively streams of pixel data sets for display on a raster scan display means, 开关控制装置,该装置与上述的二个存贮器相连,从而接收上述的数据流;该装置还与一个数据处理装置相连,从而从该数据处理装置接受一个表示一个选定的元素值并且具有一个输出承载信号的数据组;该输出承载信号指示出一个选定的上述数据流中的每个象素组与上述的选定象素值数据之间是相等还是不等的,以及A switch control device, which is connected to the above-mentioned two memory stores, thereby receiving the above-mentioned data stream; the device is also connected to a data processing device, so as to receive a value representing a selected element from the data processing device and has an output data set bearing a signal indicating whether each pixel set in a selected said data stream is equal or not equal to said selected pixel value data, and 第一多路转换器,它接收上述的数据流并具有一个控制输入端,该第一多路转换器相应于上述输出端,根据相应的指示信号在每一个数据流中每对对应的象素组中选择一个或者另外一个数据组,并使选出的数据组通过上述的第一多路转换器,送往上述的光栅扫描显示装置。A first multiplexer, which receives the above-mentioned data streams and has a control input, corresponding to the above-mentioned output terminals, for each pair of corresponding pixels in each data stream according to the corresponding indication signal One or another data group is selected from the group, and the selected data group is sent to the above-mentioned raster scan display device through the above-mentioned first multiplexer. 2、根据权利要求1所述的光栅扫描系统,其中还包括:2. The raster scanning system of claim 1, further comprising: 用于从上述多个显示数据流中,选出一个或多个数据流,供在上述比较装置中与上述参考色进行比较的装置。A means for selecting one or more data streams from the plurality of display data streams for comparison with the reference color in the comparison means. 3、根据权利要求1所述的光栅扫描系统,其中,每一个色彩数据都是由上述存贮装置中的预定的毕特数所代表的,而且上述色彩数据在从上述存贮装置送到上述显示装置的过程中,由彩色图装置转换为一组相应的彩色成分信号。3. The raster scanning system according to claim 1, wherein each color data is represented by a predetermined number of bits in said storage device, and said color data is sent from said storage device to said In the process of displaying the device, it is converted into a set of corresponding color component signals by the color map device.
CN 85101358 1985-04-01 1985-04-01 raster scan display system Expired - Fee Related CN1021381C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 85101358 CN1021381C (en) 1985-04-01 1985-04-01 raster scan display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 85101358 CN1021381C (en) 1985-04-01 1985-04-01 raster scan display system

Publications (2)

Publication Number Publication Date
CN85101358A CN85101358A (en) 1987-01-31
CN1021381C true CN1021381C (en) 1993-06-23

Family

ID=4791793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 85101358 Expired - Fee Related CN1021381C (en) 1985-04-01 1985-04-01 raster scan display system

Country Status (1)

Country Link
CN (1) CN1021381C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1063217C (en) * 1988-12-06 2001-03-14 出光兴产株式会社 Lubricating oil for compression type refrigerator
CN1108361C (en) * 1999-03-30 2003-05-14 恒运集团石油股份有限公司 Antioxidative compositte of lubricating oil and its application in lubricating oil of internal combustion engine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1063217C (en) * 1988-12-06 2001-03-14 出光兴产株式会社 Lubricating oil for compression type refrigerator
CN1108361C (en) * 1999-03-30 2003-05-14 恒运集团石油股份有限公司 Antioxidative compositte of lubricating oil and its application in lubricating oil of internal combustion engine

Also Published As

Publication number Publication date
CN85101358A (en) 1987-01-31

Similar Documents

Publication Publication Date Title
KR890002958B1 (en) Raster scan display system
CN1164079C (en) Video display device with on-screen display rotation function
CN1070383C (en) Background picture display apparatus and external storage used therefor
US4979738A (en) Constant spatial data mass RAM video display system
CN1127049C (en) Bit-mapped screen display device for television receiver
CN1495616A (en) graphic system
US5345554A (en) Visual frame buffer architecture
CN1130653C (en) Hardware rotation of image on computer display unit
JPH03500692A (en) video display system
CN1871636A (en) Video combining circuit
CN1130075C (en) Graphical on-screen display system
JP3166447B2 (en) Image processing apparatus and image processing method
JPH07113818B2 (en) Method and apparatus for displaying image portion selected by operator
EP1507249A1 (en) Display controller for rotation of display image
CN1021381C (en) raster scan display system
CN1258171A (en) Image synthesis apparatus and image processing apparatus
CN1822657A (en) Method and device for displaying frame rate converted video on interlaced display device
JPS62271184A (en) Access system for picture memory
CN1097814C (en) Screen display system
JP2647348B2 (en) Clipping plane data storage system and method
JP3992269B2 (en) Image processing apparatus and method
CN1225706C (en) Micro computer, bus controller and bus control method
JPS58138163A (en) Picture signal rotating system
JP2820068B2 (en) Image data synthesis display device
JPS61234474A (en) Picture image storage device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee