JPH0318717B2 - - Google Patents
Info
- Publication number
- JPH0318717B2 JPH0318717B2 JP59043008A JP4300884A JPH0318717B2 JP H0318717 B2 JPH0318717 B2 JP H0318717B2 JP 59043008 A JP59043008 A JP 59043008A JP 4300884 A JP4300884 A JP 4300884A JP H0318717 B2 JPH0318717 B2 JP H0318717B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- image pattern
- memory section
- section
- display
- 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 - Lifetime
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は、電子計算機の出力を、例えば陰極
線管の表示画面上に文字またはイメージ・パター
ン等によつて表示するための表示装置に関するも
のである。[Detailed Description of the Invention] [Technical Field of the Invention] This invention relates to a display device for displaying the output of an electronic computer, for example, as characters or image patterns on a display screen of a cathode ray tube. .
第1図は、従来のこの種の表示装置の構成例を
概略的に示すブロツク図である。この第1図にお
いて、1はビツトマツプメモリ部であつて、例え
ば諸種の複数個の方形イメージパターンが保持さ
れている。2は表示制御部であつて、前記複数個
の方形イメージパターンに関するビツトマツプメ
モリ部1内での位置、サイズ、重ね合せ表示のた
めの表示優先度、前記複数個の方形イメージパタ
ーンが転送されるべきスクリーンメモリ部3上の
位置、および、該スクリーンメモリ部3上での方
形イメージパターンを包囲する枠の枠巾が表示制
御情報として保持されている。3はスクリーンメ
モリ部であつて、陰極線管(以下、CRTと略称)
8の表示画面ドツトに対応するイメージパターン
が記憶されている。4は領域判別部であつて、表
示制御部2内の表示制御情報および変更種別に従
いスクリーンメモリ部3における変更の必要な領
域と、その領域に対応するビツトマツプメモリ部
1内の領域を識別して、その識別された領域に対
するイメージパターン転送操作のダイレクトメモ
リアクセスコントローラ部6(以下DMACと略
称)に指示する役割を果す。5は枠判別部であつ
て、前記領域判別部4とDMAC6とによりスク
リーンメモリ部3の内容が更新された後で、該ス
クリーンメモリ部3に保持されているイメージパ
ターンを包囲する枠領域を算出し、DMAC6に
対しスクリーンメモリ部3上の枠領域を枠パター
ンで塗りつぶすように指示す役割を果す。
DMAC6は、領域判別部4および枠判別部5か
らの指示にしたがつて、ビツトマツプメモリ部1
からスクリーンメモリ部3へのデータ転送や、ス
クリーンメモリ部3における所定領域の部分的な
塗りつぶしを行なう。7はビデオ制御部であつ
て、所定の走査タイミングに従つて上記スクリー
ンメモリ部3から読出された表示すべきイメージ
パターンに対応するビデオ信号を発生させる役割
を果す。
FIG. 1 is a block diagram schematically showing an example of the configuration of a conventional display device of this type. In FIG. 1, reference numeral 1 denotes a bitmap memory section in which, for example, a plurality of various rectangular image patterns are held. Reference numeral 2 denotes a display control unit to which the positions and sizes of the plurality of rectangular image patterns in the bitmap memory unit 1, display priorities for superimposed display, and the plurality of rectangular image patterns are transferred. The position on the screen memory section 3 to be displayed and the width of the frame surrounding the rectangular image pattern on the screen memory section 3 are held as display control information. 3 is a screen memory section, which is a cathode ray tube (hereinafter abbreviated as CRT)
Image patterns corresponding to 8 display screen dots are stored. Reference numeral 4 denotes an area discriminating unit that identifies an area in the screen memory unit 3 that needs to be changed and an area in the bitmap memory unit 1 that corresponds to the area, according to the display control information in the display control unit 2 and the type of change. It plays a role of instructing the direct memory access controller unit 6 (hereinafter abbreviated as DMAC) to perform an image pattern transfer operation for the identified area. Reference numeral 5 denotes a frame discrimination unit which calculates a frame area surrounding the image pattern held in the screen memory unit 3 after the contents of the screen memory unit 3 are updated by the area discrimination unit 4 and the DMAC 6. It plays a role of instructing the DMAC 6 to fill the frame area on the screen memory section 3 with a frame pattern.
The DMAC 6 moves the bitmap memory section 1 according to instructions from the area discriminating section 4 and the frame discriminating section 5.
Data is transferred from the screen memory section 3 to the screen memory section 3, and a predetermined area in the screen memory section 3 is partially filled in. Reference numeral 7 denotes a video control section, which plays the role of generating a video signal corresponding to the image pattern to be displayed read out from the screen memory section 3 in accordance with a predetermined scanning timing.
第2図は、例えば3個の方形イメージパターン
IP1,IP2およびIP3が上記ビツトマツプメモリ部
1に保持されている状態が例示されている説明図
であつて、これらのこの各方形イメージパターン
IPi(i=1,2,3)の左上隅頂点のビツトマツ
プメモリ部1における位置をxi,yiであるとし
て、これがビツトマツプメモリ部1内の方形イメ
ージパターンIPiの位置を表わすものとする。ま
た、上記方形イメージパターンIPi(i=1,2,
3)のx方向サイズを(hi)で表わし、またy方
向サイズを(vi)で表わし、これらを用いて方形
イメージパターンIPiのサイズをhi,viで表わすも
のとするる。さらに重ね合わせ表示の場合の各方
形イメージパターンIPiの表示優先度をPRiとして
いる。そして、PRi<PRjのときには、方形イメ
ージパターンIPiはIPjの下位に表示され、その結
果方形イメージパターンIPiの一部がIPjにかくさ
れたような表示がなされるように構成されてい
る。 Figure 2 shows, for example, three rectangular image patterns.
This is an explanatory diagram illustrating a state in which IP 1 , IP 2 , and IP 3 are held in the bit map memory section 1, and each of these rectangular image patterns
Assuming that the positions of the upper left corner vertices of IP i (i=1, 2, 3) in the bit map memory unit 1 are x i and y i , these represent the positions of the rectangular image pattern IP i in the bit map memory unit 1. shall be taken as a thing. In addition, the above rectangular image pattern IP i (i=1, 2,
3), the size in the x direction is expressed by (h i ), and the size in the y direction is expressed by (v i ), and using these, the size of the rectangular image pattern IP i is expressed by h i and v i . Furthermore, the display priority of each rectangular image pattern IPi in the case of overlapping display is set as PR i . Then, when PR i < PR j , the rectangular image pattern IP i is displayed below IP j , and as a result, a part of the rectangular image pattern IP i is displayed as being hidden in IP j . has been done.
第3図は上記第2図に示されている方形イメー
ジパターンIP1,IP2およびIP3が所定の表示優先
度にしたがつて重ね合わせ表示されていることを
例示する説明図である。いま、これらのイメージ
パターンがPR1<PR2<PR3なる表示優先度を持
つているものとした場合には、上記方形イメージ
パターンIP1,IP2およびIP3はスクリーンメモリ
部3内の所定の位置に、枠付きで表示優先度が低
い順に転送されて、スクリーンメモリ部3内の状
態は、この第3図に示されるようになる。そし
て、各方形イメージパターンIPiの左上隅頂点の
スクリーンメモリ部3内における位置をαi,βiと
し、これをスクリーンメモリ部3内における前記
方形イメージパターンIPiの位置としたものが示
されている。また、これらの方形イメージパター
ンIPiを囲む枠FRiは、前記IPiをスクリーンメモ
リ部3に転送後に、幅Wiで包囲するように枠判
別部5がDMAC6へ指示した結果を示すもので
ある。ここで枠とは、方形イメージパターンに表
示されるデータを単に他の領域から識別するため
のものという意味を持つだけではなく、次のよう
な機能を果たすものである。即ち、ここでの枠
は、方形イメージパターンの領域に対していかな
るオペレーシヨンを実行するかというようなコマ
ンドラインやプルダウンメニユーを一行で表示し
たり、この方形イメージパターン内のデータを拡
大・縮小したり、または、データ全体の中で現に
表示されている位置を視覚的に表示したりすると
いう機能を果たすことができる。従つて、ある所
定の幅W1を単に塗りつぶすというだけではなく、
上記のような種々の情報を表示するための領域と
して使用されるものである。そして、この枠は、
データとは異なり、ビツトマツプメモリ部1には
格納されておらず、表示制御部2の枠用の表示制
御情報に基づいて生成されるものである。 FIG. 3 is an explanatory diagram illustrating that the rectangular image patterns IP 1 , IP 2 and IP 3 shown in FIG. 2 are superimposed and displayed in accordance with a predetermined display priority. Now, if it is assumed that these image patterns have a display priority of PR 1 < PR 2 < PR 3 , then the rectangular image patterns IP 1 , IP 2 and IP 3 are stored in a predetermined area in the screen memory section 3. The images are transferred to the position shown in FIG. 3 with a frame in descending order of display priority, and the state in the screen memory section 3 becomes as shown in FIG. The positions of the upper left corner vertices of each rectangular image pattern IP i in the screen memory unit 3 are α i and β i , and these are the positions of the rectangular image pattern IP i in the screen memory unit 3. ing. Furthermore, the frame FR i surrounding these rectangular image patterns IP i indicates the result of the frame determination unit 5 instructing the DMAC 6 to surround the IP i with a width W i after transferring the IP i to the screen memory unit 3. be. Here, the term "frame" is used not only to simply identify the data displayed in the rectangular image pattern from other areas, but also to perform the following functions. In other words, the frame here displays a command line or pull-down menu in one line that tells you what operation to perform on the area of the rectangular image pattern, or it can enlarge or reduce the data within this rectangular image pattern. or visually display the currently displayed position within the entire data. Therefore, it is not just a matter of filling in a certain predetermined width W 1 ;
It is used as an area for displaying various information as described above. And this frame is
Unlike data, this is not stored in the bitmap memory section 1, but is generated based on the display control information for the frame of the display control section 2.
第4図は、上記第2図に示すビツトマツプメモ
リ部1の状態から上記第3図に示すスクリーンメ
モリ部3の状態を生成するために、上記表示制御
部2が保持する上記制御情報を具体的に記述した
一例である。 FIG. 4 specifically shows the control information held by the display control section 2 in order to generate the state of the screen memory section 3 shown in FIG. 3 from the state of the bitmap memory section 1 shown in FIG. 2 above. This is an example of a description.
こゝで、上述した第2図におけるビツトマツプ
メモリ部1の状態から、上記第3図のスクリーン
メモリ部3の状態を生成するための表示制御部2
およびDMAC6の動作を説明する。 Here, the display control section 2 generates the state of the screen memory section 3 shown in FIG. 3 above from the state of the bitmap memory section 1 shown in FIG. 2 mentioned above.
and the operation of DMAC6 will be explained.
上記表示制御部2は、保持する表示制御情報の
表示優先度PR1,PR2及びPR3を調べ、前述され
たようにPR1<PR2<PR3の関係にあるときは、
表示優先度の最も低い方形イメージパターンIP1
について、以下に記述する処理を行なう。 The display control unit 2 checks the display priorities PR 1 , PR 2 , and PR 3 of the display control information held, and if there is a relationship of PR 1 < PR 2 < PR 3 as described above,
Rectangular image pattern IP 1 with lowest display priority
The following processing is performed for .
先ず、この方形イメージパターンIP1のビツト
マツプメモリ部1からスクリーンメモリ部3への
転送を、上記領域判別部4が上記DMAC6に対
して指示する。なおこの場合、方形イメージパタ
ーンIP1に関する制御情報のうち上記位置x1,y1、
サイズh1,v1およびスクリーンメモリ部3上の位
置α1,β1についての情報はDMAC6に与えられ
て、このDMAC6がビツトマツプメモリ部1内
の方形イメージパターンIP1をスクリーンメモリ
部3内の位置α1,β1に転送するように制御する。 First, the area determining section 4 instructs the DMAC 6 to transfer this rectangular image pattern IP 1 from the bitmap memory section 1 to the screen memory section 3. In this case, among the control information regarding the rectangular image pattern IP 1 , the above positions x 1 , y 1 ,
Information about the sizes h 1 , v 1 and the positions α 1 , β 1 on the screen memory section 3 is given to the DMAC 6, and this DMAC 6 transfers the rectangular image pattern IP 1 in the bitmap memory section 1 into the screen memory section 3. control so that the data is transferred to positions α 1 and β 1 .
また、枠判別部5は表示制御情報のうち、方形
イメージパターンIP1の枠FR1に関する情報、例
えば枠幅W1を読出しDMAC6に対して、スクリ
ーンメモリ部3上の枠FR1に相当する部分を枠パ
ターンで塗りつぶすように指示する。 In addition, the frame determination unit 5 reads information regarding the frame FR 1 of the rectangular image pattern IP 1 from among the display control information, for example, the frame width W 1 , and transmits the information corresponding to the frame FR 1 on the screen memory unit 3 to the DMAC 6. Instructs to fill in the frame pattern.
なお、この場合枠判別部5は方形イメージパタ
ーンIPに関する表示制御情報より、h1,v1,α1,
β1および枠FR1の枠幅W1を読出し、スクリーン
メモリ部3内のα1−W1,β1−W1,α1+h1+W1,
β1で決定される小方形領域、(α1−W1,β1)、
(α1,β1+v1)で決定される小方形領域、(α1+
h1,β1)、(α1+h1+W1,β1+v1)で決定される
小方形領域、(α1−W1,β1+v1)、(α1+h1+W1,
β1+v1+W1)で決定される小方形領域を夫々に
枠パターンで塗りつぶすようにDMAC3へ指示
することにより、スクリーンメモリ部6における
イメージパターンIP1に付随する枠FR1に相当す
る部分が枠パターンとしてスクリーンメモリ部3
上に保持される。 In this case, the frame determination unit 5 determines h 1 , v 1 , α 1 ,
β 1 and the frame width W 1 of the frame FR 1 are read, and α 1 −W 1 , β 1 −W 1 , α 1 +h 1 +W 1 ,
A small rectangular area determined by β 1 , (α 1 −W 1 , β 1 ),
A small rectangular area determined by (α 1 , β 1 +v 1 ), (α 1 +
h 1 , β 1 ), a small rectangular area determined by (α 1 +h 1 +W 1 , β 1 +v 1 ), (α 1 −W 1 , β 1 +v 1 ), (α 1 +h 1 +W 1 ,
By instructing the DMAC 3 to fill in each of the small rectangular areas determined by β 1 +v 1 +W 1 ) with a frame pattern, the portion corresponding to the frame FR 1 attached to the image pattern IP 1 in the screen memory unit 6 is Screen memory section 3 as a frame pattern
held on top.
以上述べたように、上記スクリーンメモリ部3
において、既に転送が完了している方形イメージ
パターンIP1および枠FR1と重なり合うような位
置に方形イメージパターンIP2および枠FR2が転
送される場合には、その重なる部分に関しては
IP2及び枠FR2のイメージパターン部分が優先さ
れ、その部分にすでに保持されていたIP1及び枠
FR1のイメージパターン部分は新たに方形イメー
ジパターンIP2及びFR2によつて置換される。こ
のようにして行なわれる方形イメージパターン
IP2および枠FR2の転送完了後は領域判別部4、
枠判別部5が次の方形イメージパターンIP3およ
び枠FR3について上述したと同様な動作を行つ
て、第3図に示すようなスクリーンメモリ部3の
状態となり、CRT8の表示画面上には、重なり
合つた3個の枠付き方形イメージパターンが表示
されることとなるものである。 As mentioned above, the screen memory section 3
In , when rectangular image pattern IP 2 and frame FR 2 are transferred to a position where they overlap with rectangular image pattern IP 1 and frame FR 1 , which have already been transferred, regarding the overlapping part,
The image pattern part of IP 2 and frame FR 2 takes priority, and the image pattern part of IP 2 and frame FR 2 that was already held in that part takes priority.
The image pattern portion of FR 1 is replaced by a new rectangular image pattern IP 2 and FR 2 . A rectangular image pattern made in this way
After the transfer of IP 2 and frame FR 2 is completed, the area determination unit 4,
The frame discrimination unit 5 performs the same operation as described above for the next rectangular image pattern IP 3 and frame FR 3 , and the screen memory unit 3 becomes in a state as shown in FIG. Three overlapping framed rectangular image patterns are displayed.
次にCRT8の表示画面変更の一例として、上
記第3図に示すスクリーンメモリ部3において方
形イメージパターンIP2及び枠FR2を消去する場
合の領域判別部4および枠判別部5の動作のし方
について説明する。 Next, as an example of changing the display screen of the CRT 8, how the area discriminating section 4 and the frame discriminating section 5 operate when erasing the rectangular image pattern IP 2 and the frame FR 2 in the screen memory section 3 shown in FIG. 3 above. I will explain about it.
第5図は方形イメージパターンIP2および枠
FR2を消去した結果として得られるスクリーンメ
モリ部3の状態を示す図であり、方形イメージパ
ターンIP2及び枠FR2を消去したとき、表示制御
部2は、第3図において上記方形イメージパター
ンIP2に覆われてCRT8の表示画面上に現われて
いなかつた方形イメージパターンIP1及び枠FR1
のの一部を復元し、この第5図に示すスクリーン
メモリ部3の状態を生成するように制御する。 Figure 5 shows rectangular image pattern IP 2 and frame
3 is a diagram showing the state of the screen memory section 3 obtained as a result of erasing the rectangular image pattern IP 2 and the frame FR 2. When the rectangular image pattern IP 2 and the frame FR 2 are erased, the display control section 2 Rectangular image pattern IP 1 and frame FR 1 that are covered by 2 and do not appear on the display screen of CRT8
The screen memory section 3 is controlled so as to restore a part of the screen memory section 3 and generate the state of the screen memory section 3 shown in FIG.
従来、この種の表示装置においては、表示変更
に伴うビツトマツプメモリ部1、スクリーンメモ
リ部3間のデータ転送量を最少にするために、第
6図に示されているように、スクリーンメモリ部
3を各イメージパターンに対応する枠の各辺の延
長線を用いて、相互に重なり合わない小方形に分
割し、領域判別部4が表示制御部2内の表示制御
情報により、変更の必要のある小方形(m1〜
m8)に対してのみ行うようにされている。この
従来例においては、第6図中の小方形m1〜m8に
対してのみ以下の操作を行うよう領域判別部4か
らDMAC6に対して指示がなされる。そして小
方形m1に対しては、ビツトマツプメモリ部1よ
りIP1の相当する部分をm1領域へ転送する。ま
た、小方形m2〜m8に対しては背景パターンで塗
りつぶすようにする。 Conventionally, in this type of display device, in order to minimize the amount of data transferred between the bitmap memory section 1 and the screen memory section 3 due to display changes, a screen memory section is used as shown in FIG. 3 is divided into small rectangles that do not overlap each other using the extension lines of each side of the frame corresponding to each image pattern, and the area discriminator 4 determines the need for change based on the display control information in the display control unit 2. A certain small rectangle (m 1 ~
m8 ). In this conventional example, the area discriminator 4 instructs the DMAC 6 to perform the following operations only on the small rectangles m 1 to m 8 in FIG. Then, for the small rectangle m1 , a portion corresponding to IP1 is transferred from the bitmap memory section 1 to the m1 area. Also, the small rectangles m 2 to m 8 are filled with the background pattern.
次に第7図に示されているような方形イメージ
パターンIP1の枠FR1の一部をなすe1,e2を枠判
別部5が表示制御部2内の表示制御情報により、
スクリーンメモリ部3上の該当する領域を枠パタ
ーンで塗りつぶす。 Next, the frame discriminator 5 determines e 1 and e 2 forming part of the frame FR 1 of the rectangular image pattern IP 1 as shown in FIG.
The corresponding area on the screen memory section 3 is filled with a frame pattern.
この際枠判別部5では表示制御部2内の表示制
御情報より、スクリーンメモリ部3上における各
イメージパターンの4頂点の位置を算出し、さら
に各イメージパターンの表示優先度より、実際に
スクリーンメモリ部3において枠として表示しな
くてはならない部分の位置を算出し、DMAC6
に対し、スクリーンメモリ部3上で算出した位置
情報で定まる領域を枠パターンで塗りつぶすよう
指示する。 At this time, the frame determination unit 5 calculates the positions of the four vertices of each image pattern on the screen memory unit 3 based on the display control information in the display control unit 2, and further calculates the positions of the four vertices of each image pattern on the screen memory unit 3 based on the display priority of each image pattern. Calculate the position of the part that must be displayed as a frame in section 3, and use DMAC6
is instructed to fill in the area determined by the position information calculated on the screen memory unit 3 with a frame pattern.
上述した従来のこの種の装置においては、枠で
囲まれたイメージパターンを、スクリーンメモリ
部3に書込み、CRT8上に表示させ、また、そ
の表示内容を変更する度に、領域判別部4でイメ
ージパターンの変更部分を識別し、続いて枠判別
部5によりイメージパターンを囲む枠領域位置を
算出するように構成されており、同一枠付きイメ
ージパターンに対し、領域判別部4と枠判別部5
において別アルゴリズムにてスクリーンメモリ部
3の変更を計算しなくてはならず、処理が複雑で
時間がかかる欠点があつた。 In the conventional device of this type described above, an image pattern surrounded by a frame is written in the screen memory section 3 and displayed on the CRT 8, and each time the display contents are changed, the image pattern is It is configured to identify the changed part of the pattern, and then calculate the position of the frame area surrounding the image pattern by the frame discrimination unit 5, and for the same framed image pattern, the area discrimination unit 4 and the frame discrimination unit 5
In this case, it is necessary to calculate the change in the screen memory section 3 using a separate algorithm, which has the disadvantage that the processing is complicated and time-consuming.
また、領域判別部4と枠判別部5が別になつて
いるため装置の規模が大きくなる欠点があつた。 Furthermore, since the area discriminating section 4 and the frame discriminating section 5 are separate, there is a drawback that the scale of the apparatus becomes large.
この発明は、これらの欠点を解決するためにな
されたものであつて、表示制御部2内の表示制御
情報をイメージパターン、枠共にスクリーンメモ
リ部3での座標値で取扱い、またスクリーンメモ
リ部3の変更領域をイメージパターン、枠共に同
一アルゴリズムにて判別できるようにし、処理速
度の向上ならびに装置の簡単化を目的とするもの
で、以下図面について詳細に説明する。
The present invention has been made to solve these drawbacks, and handles display control information in the display control section 2 using coordinate values in the screen memory section 3 for both image patterns and frames. The purpose of this invention is to make it possible to determine the changed area of both the image pattern and the frame using the same algorithm, thereby improving the processing speed and simplifying the apparatus.The drawings will be described in detail below.
第8図はこの発明の実施例を示すものである
が、上述した従来例のもの(第1図)と同一符号
は同一構成部分を表わしているから、その説明は
省略する。
FIG. 8 shows an embodiment of the present invention, and since the same reference numerals as in the conventional example (FIG. 1) described above represent the same components, the explanation thereof will be omitted.
こゝで、9は従来例における領域判別部4およ
び枠判別部5に相当する変更判別部である。この
変更判別部9では、スクリーンメモリ部3を、表
示制御部2より読出したイメージパターン、枠の
各頂点座標により、第9図に示されているような
相互に重なり合わない小方形に分割して管理して
いる。 Here, reference numeral 9 denotes a change discriminating section corresponding to the area discriminating section 4 and the frame discriminating section 5 in the conventional example. The change determination unit 9 divides the screen memory unit 3 into small rectangles that do not overlap each other as shown in FIG. are managed.
また、この変更判別部9では、表示制御部2よ
りの変更種別により、第9図に示されている小方
形のどれに対しどのような処理を行なうべきであ
るかを判別して、DMAC6に対し指定され小方
形に関するビツトマツプメモリ部1よりのイメー
ジパターンの転送、または枠パターンによる塗り
つぶしを行なうように指示する。 In addition, the change determination unit 9 determines which of the small rectangles shown in FIG. An instruction is given to transfer the image pattern from the bitmap memory section 1 regarding the designated small rectangle, or to fill it with a frame pattern.
第10図は、上述の変更判別部9の動作を説明
するためのフローチヤートで、上記第3図に示す
スクリーンメモリ部3の状態よりイメージパター
ンIP2とそれに対応する枠FR2とを削除し、第5
図に示すスクリーンメモリ部3の状態に変更する
場合の変更判別部9の動作を表わしたものであ
る。 FIG. 10 is a flowchart for explaining the operation of the above-described change determination section 9, in which image pattern IP 2 and its corresponding frame FR 2 are deleted from the state of the screen memory section 3 shown in FIG. 3 above. , 5th
This figure shows the operation of the change determination unit 9 when changing the state of the screen memory unit 3 shown in the figure.
第11図は、第10図に示すフローチヤートの
処理を実行する直前における表示制御部2内の表
示制御情報を表にして示した図である。そして、
第12図は、イメージパターンIP2とそれに対応
する枠FR2とをスクリーンメモリ部3より削除す
ることに伴つて変更が行なわれる可能性のあるス
クリーンメモリ部3上の変更範囲内の小方形分割
および各頂点を表わしたものである。 FIG. 11 is a table showing the display control information in the display control unit 2 immediately before executing the process of the flowchart shown in FIG. 10. and,
FIG. 12 shows small rectangular divisions within the change range on the screen memory section 3 that may be changed as a result of deleting the image pattern IP 2 and its corresponding frame FR 2 from the screen memory section 3. and represents each vertex.
以下に第10図のフローチヤートの詳細な説明
を行なう。 A detailed explanation of the flowchart shown in FIG. 10 will be given below.
先ず、ステツプ10では、変更されるイメージ
パターン及び枠領域にしたがう変更範囲を、表儒
示制御部2より枠FR2のスクリーンメモリ部3上
の座標を読出すことにより決定する。 First, in step 10, the image pattern to be changed and the range of change according to the frame area are determined by reading the coordinates of the frame FR2 on the screen memory section 3 from the display control section 2.
ステツプ11では、ステツプ10で決定された
変更範囲を表示制御部2内の対応するイメージパ
ターン、枠の頂点座標により、相互に重なり合わ
ない小方形領域に分割する。これらの小方形領域
は、第12図に示されるように、変更範囲の左上
部よりSP1,SP2,…と付番され、一般的にSPjは
j番目の小方形を表わすものとする。 In step 11, the change range determined in step 10 is divided into small rectangular areas that do not overlap each other using the corresponding image pattern in the display control unit 2 and the vertex coordinates of the frame. These small rectangular areas are numbered SP 1 , SP 2 , ... from the upper left of the change range, as shown in Figure 12, and SP j generally represents the j-th small rectangle. .
ステツプ12では、削除するイメージパターン
IP2、枠FR2の表示優先度を表示制御部2より読
出し変更表示優先度をPR2に設定する。 In step 12, the image pattern to be deleted is
The display priority of IP 2 and frame FR 2 is read out from the display control unit 2 and the changed display priority is set to PR 2 .
ステツプ13では、削除するイメージパターン
IP2、枠FR2に関する表示制御情報を表示制御部
2より削除する。 In step 13, select the image pattern to be deleted.
The display control information regarding IP 2 and frame FR 2 is deleted from the display control unit 2.
ステツプ14では、現在何番目の小方形を処理
しているかを示す変数jの初期化を行なう。 In step 14, a variable j indicating which small rectangle is currently being processed is initialized.
ステツプ15では、次の小方形の処理を行なう
ためにjに+1を加算する。 In step 15, +1 is added to j in order to process the next small rectangle.
ステツプ16では、j番目の小方形(SPj)が
どのイメージパターンおよび枠内に含まれている
かを判別する。この判別は、j番目の小方形の左
上隅、右下隅座標を(x1j,y1j)、(x2j,y2j)と
し、任意の枠FRiの左上隅、右下隅座標を(Fai,
Fbi)、(Fci,Fdi)とし、各座標をx軸、y軸の
各成分間で比較することにより行なう。 In step 16, it is determined in which image pattern and frame the jth small square (SP j ) is included. For this determination, let the coordinates of the upper left corner and lower right corner of the j-th small rectangle be (x 1 j, y 1 j), (x 2 j, y 2 j), and the coordinates of the upper left corner and lower right corner of any frame FR i . (Fa i ,
Fb i ), (Fc i , Fd i ), and each coordinate is compared between each component of the x-axis and y-axis.
そして、
Faix1j かつ x2jFci ……
Fbiy1j かつ y2jFdi ……
の双方を同時に満足する枠FRiが表制御情報中に
あれば、小方形SPjはイメージパターンIPiまたは
枠FRiの一部であると判定されることになる。 Then, if there is a frame FR i that simultaneously satisfies both Faix1j and x2jFci ... Fbiy1j and y2jFdi ... in the table control information, it is determined that the small rectangle SP j is part of the image pattern IP i or the frame FR i . will be done.
ステツプ17では、ステツプ16において小方
形SPjが示制御部2内に保持されるすべてのイメ
ージパターンまたは枠に関する表示制御情報に該
当しなかつた場合、小方形SPjは背景であると判
別される。 In step 17, if the small rectangle SP j does not correspond to the display control information regarding all the image patterns or frames held in the display control unit 2 in step 16, the small rectangle SP j is determined to be the background. .
そして、ステツプ18においては、小方形SPj
を背景パターンで塗りつぶすことをDMAC部6
に対して指示する。 Then, in step 18, the small rectangle SP j
DMAC section 6 fills in the background pattern with the background pattern.
give instructions to
ステツプ16で特定のイメージパターンまたは
枠と判別された場合には、ステツプ17よりステ
ツプ19へと処理が進む。 If it is determined in step 16 that the image is a specific image pattern or frame, the process proceeds from step 17 to step 19.
ステツプ19においては、ステツプ12で設定
された変更表示優先度PR2とステツプ16で判別
されたイメージパターンIPi、枠FRiに関する表示
優先度PRiとを比較する。 In step 19, the changed display priority PR2 set in step 12 is compared with the display priority PRi regarding the image pattern IP i and frame FR i determined in step 16.
こゝで、PR2<PRiの場合には、小方形SPjは、
変変更を加えるべきイメージパターンまたは枠よ
り、表示優先度が高いということが示されている
ことになる。すなわち、この場合には、PSjは変
更による影響を受けず、そのままの状態が保持さ
れるということになる。そして、このPR2<PRi
の場合には、制御はステツプ23へと移行され
る。 Here, if PR 2 < PR i , the small rectangle SP j is
This indicates that the display priority is higher than that of the image pattern or frame that should be modified. That is, in this case, PS j is not affected by the change and remains in its current state. And this PR 2 <PR i
If so, control is transferred to step 23.
また、PR2PRiの場合には、小方形SPjはイメ
ージパターンの一部であるか、または、枠パター
ンの一部であるかを判別するステツプ20へ進
む。 In the case of PR 2 PR i , the process proceeds to step 20 in which it is determined whether the small rectangle SP j is part of the image pattern or the frame pattern.
ステツプ20では、小方形SPjの左上隅、右下
隅座標を(x1j,y1j)、(x2j,y2j)とし、任意の
イメージパターンIPiの左上隅、右下隅位置を
(Iai,Ibi)(Ici,Idi)とし
Iaix1j かつ x2jIci ……
Ibiy1j かつ y2jIdi ……
の双方を同時に満足するイメージパターンIPiが
表示制御情報中にあれば、小方形SPjイメージパ
ターンIPiの一部であると判定されて、制御はス
テツプ21へ進む。 In step 20, the coordinates of the upper left corner and the lower right corner of the small rectangle SP j are set as (x 1 j, y 1 j), (x2j, y2j), and the positions of the upper left corner and lower right corner of the arbitrary image pattern IP i are set as (Iai, Ibi) (Ici, Idi), Iaix1j and x2jIci ... Ibiy1j and y2jIdi ... If there is an image pattern IPi in the display control information that simultaneously satisfies both, it is determined that it is part of the small rectangular SPj image pattern IPi. Then, control proceeds to step 21.
ステツプ21では、スクリーンメモリ部3上の
小方形SPj部分にビツトマツプメモリ部1上のス
テツプ20で判別されたイメージパターンの該当
部分のイイメージ転送を行なうことをDMAC6
へ指示する。 In step 21, the DMAC 6 instructs the DMAC 6 to transfer the image of the corresponding part of the image pattern determined in step 20 on the bitmap memory section 1 to the small rectangular SPj section on the screen memory section 3.
Instruct to.
ステツプ22では、上記ステツプ20において
小方形SPjがいずれのイメージパターンの部分で
もないとされた場合に、当該SPjに対する枠パタ
ーンの塗りつぶしをDMAC6に指示する。 In step 22, if it is determined in step 20 that the small rectangle SPj is not part of any image pattern, the DMAC 6 is instructed to fill in the frame pattern for the SPj.
ステツプ23では、上述のある1個の小方形
SPjに対する処理が終了した後、変更範囲内の全
ての小方形に対する処理が終了したがどうかを調
べ、処理すべき小方形がまだ残つていればステツ
プ15へ制御を戻し、そうでなければ変更判別部
9の動作を終了する。 In step 23, one small rectangle mentioned above is
After processing for SPj is completed, check whether processing has been completed for all small rectangles within the change range, and if there are still small rectangles to be processed, control is returned to step 15, otherwise the process is changed. The operation of the determining section 9 ends.
そして、第10図のフローチヤートに記された
処理が終了した後スクリーンメモリ部3は上記第
5図に示されているような状態となる。 After the processing shown in the flowchart of FIG. 10 is completed, the screen memory section 3 is in the state shown in FIG. 5 above.
なお、上記実施例においては、方形イメージパ
ターンが枠により完全に包囲されている場合につ
いて説明したけれども、これに限らず、例えば方
形イメージパターンの上部だけというように、枠
が部分的に存在するようにしても良い。 Although the above embodiment describes the case where the rectangular image pattern is completely surrounded by the frame, the case is not limited to this. You can also do it.
以上述べたように、この発明の表示装置によれ
ば、CRT8の表示画面上の枠付きイメージパタ
ーンの変更に際し、イメージパターン部分、枠部
分を読同一アルゴリズムにより、スクリーンメモ
リ部3上の変更必要な最少領域に対してのみビツ
トマツプメモリ部1よりイメージ転送を行つた
り、枠パターンで塗りつぶすようなDMAC6へ
指示するようにされているのでイメージ、枠の表
示制御情報を統一的に保持でき、スクリーンメモ
リ部3の変更が高速に行なえる優れた効果を有す
るものである。
As described above, according to the display device of the present invention, when changing the framed image pattern on the display screen of the CRT 8, the image pattern portion and the frame portion are read and the same algorithm is used to make necessary changes in the screen memory unit 3. Since the bit map memory unit 1 transfers images only to the minimum area and instructs the DMAC 6 to fill it with a frame pattern, display control information for images and frames can be held uniformly, and the screen This has an excellent effect in that the memory section 3 can be changed at high speed.
第1図は従来のこの種の表示装置を示すブロツ
ク図、第2図は3個の方形イメージパターンがビ
ツトマツプメモリ部1に保持されている状態を示
す図、第3図はスクリーンメモリ部3へビツトマ
ツプメモリ部1のイメージパターンをIP1,IP2,
IP3の順で転送した後のスクリーンメモリ部3の
状態を示す図、第4図は第2図のビツトマツプメ
モリ部1の状態から上記第3図のスクリーンメモ
リ部3の状態を生成するために表示制御部2に保
持する表示制御情報を記述した図、第5図はイメ
ージパターンIP2及び枠FR2を消去した結果得ら
れるスクリーンメモリ部3の状態を示す図、第6
図は従来のやり方によりスクリーンメモリ部3を
各イメージパターンの各辺延長線により分割した
例示図、第7図は従来例において枠パターンで塗
りつぶす部分e1,e2を示す図、第8図は、この発
明の実施例の構成を示すブロツク図、第9図はこ
の発明のアルゴリズムにより、イメージパター
ン、枠パターン各頂点座標によりスクリーンメモ
リ部3を分割したことを示す図、第10図はこの
発明の変更判別部9の動作を示すフローチヤート
図、第11図は第10図に示すフローチヤートが
開始される時点での表示制御部2内の表示制御情
報の表を示す図、第12図はイメージパターン
IP2を削除する際、変更可能性があるスクリーン
メモリ部3上の変更範囲内の小方形分割(SPj)
を示す図である。
図面中1はビツトマツプメモリ部、2は表示制
御部、3はスクリーンメモリ部、4は領域判別
部、5は枠判別部、6はダイレクトメモリアクセ
スコントローラ部(DMAC)、7はビデオ制御
部、8は陰極線管(CRT)、9は変更判別部を表
わすものである。図面中同一符号は同一物を示す
ものである。
FIG. 1 is a block diagram showing a conventional display device of this type, FIG. 2 is a diagram showing three rectangular image patterns held in the bitmap memory section 1, and FIG. 3 is a diagram showing the screen memory section 3. The image patterns in snake map memory section 1 are IP 1 , IP 2 ,
A diagram showing the state of the screen memory section 3 after transfer in the order of IP 3 , FIG. 4 is for generating the state of the screen memory section 3 of FIG. 3 from the state of the bitmap memory section 1 of FIG. 2. 5 is a diagram describing the display control information held in the display control unit 2, FIG. 5 is a diagram showing the state of the screen memory unit 3 obtained as a result of erasing the image pattern IP 2 and the frame FR 2 , and FIG.
The figure shows an example in which the screen memory section 3 is divided by the extension lines of each side of each image pattern according to the conventional method, FIG. 7 shows the parts e 1 and e 2 that are filled with frame patterns in the conventional example, and FIG. , a block diagram showing the configuration of an embodiment of the present invention, FIG. 9 is a diagram showing that the screen memory section 3 is divided according to the vertex coordinates of the image pattern and frame pattern using the algorithm of the present invention, and FIG. 10 is a block diagram showing the configuration of the embodiment of the present invention. FIG. 11 is a flowchart showing the operation of the change determination unit 9, FIG. 11 is a diagram showing a table of display control information in the display control unit 2 at the time when the flowchart shown in FIG. 10 is started, and FIG. image pattern
Small square division (SPj) within the change range on screen memory section 3 that may be changed when deleting IP 2
FIG. In the drawing, 1 is a bitmap memory section, 2 is a display control section, 3 is a screen memory section, 4 is an area discrimination section, 5 is a frame discrimination section, 6 is a direct memory access controller section (DMAC), 7 is a video control section, 8 represents a cathode ray tube (CRT), and 9 represents a change determination section. The same reference numerals in the drawings indicate the same parts.
Claims (1)
1のメモリ部と、表示装置の表示画面のドツトに
対応してイメージパターンとイメージパターンを
囲む枠を記憶する第2のメモリ部と、上記第1の
メモリ部内の所定のイメージパターンを上記第2
のメモリ部内の所定の位置に転送するメモリアク
セスコントローラ部と、イメージパターンおよび
イメージパターンを囲む枠に関する位置情報、優
先度情報等の表示制御情報を保持する表示制御部
と、特定のタイミングに従つて上記第2のメモリ
部から読出した表示すべきイメージパターンに基
づいてビデオ信号を発生させるビデオ制御部とか
ら構成される表示装置において、表示画面の表示
を変更する場合、表示制御部が保持する第1のメ
モリ部に関する位置情報、および第2のメモリ部
に関する方形イメージパターンと、枠位置情報に
基づいて画面を複数領域に分割し、各々の領域に
対して変更の必要が生ずる上記第2のメモリ部内
の領域を求め、その領域に対して優先度情報に基
づいて枠パターまたは上記第1のメモリ部から方
形イメージパターンの必要部分を転送する変更判
別部を設け、枠パターンおよび枠内のイメージパ
ターン双方の表示変更がこの変更判別部だけの動
作に基づいて実施することが可能にされているこ
とを特徴とする表示装置。 2 第1のメモリ部としてビツトマツププメモリ
部を用いたことを特徴とする特許請求の範囲第1
項記載の表示装置。 3 第2のメモリ部としてスクリーンメモリ部を
用いたことを特徴とする特許請求の範囲第1項記
載の表示装置。[Scope of Claims] 1. A first memory section that holds a plurality of rectangular image patterns, and a second memory section that stores image patterns and frames surrounding the image patterns in correspondence with dots on a display screen of a display device. and the predetermined image pattern in the first memory section is transferred to the second memory section.
a memory access controller unit that transfers information to a predetermined position in the memory unit of the image pattern; a display control unit that retains display control information such as position information and priority information regarding the image pattern and the frame surrounding the image pattern; In a display device comprising a video control section that generates a video signal based on the image pattern to be displayed read out from the second memory section, when changing the display on the display screen, the The second memory divides the screen into a plurality of areas based on the positional information regarding the first memory section, the rectangular image pattern regarding the second memory section, and the frame position information, and it is necessary to make changes to each area. A change determination unit is provided which determines an area within the frame and transfers a necessary part of the frame pattern or the rectangular image pattern from the first memory unit to the area based on priority information, and transfers the frame pattern and the image pattern within the frame. A display device characterized in that both display changes can be performed based on the operation of only this change determination section. 2. Claim 1, characterized in that a bitmap memory section is used as the first memory section.
Display device as described in section. 3. The display device according to claim 1, wherein a screen memory section is used as the second memory section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59043008A JPS60188983A (en) | 1984-03-08 | 1984-03-08 | Display unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59043008A JPS60188983A (en) | 1984-03-08 | 1984-03-08 | Display unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60188983A JPS60188983A (en) | 1985-09-26 |
| JPH0318717B2 true JPH0318717B2 (en) | 1991-03-13 |
Family
ID=12651957
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59043008A Granted JPS60188983A (en) | 1984-03-08 | 1984-03-08 | Display unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60188983A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60232596A (en) * | 1984-05-02 | 1985-11-19 | 株式会社日立製作所 | Multi-window display method |
| JPS62200394A (en) * | 1986-02-28 | 1987-09-04 | 横河メデイカルシステム株式会社 | Image display unit |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58189688A (en) * | 1982-04-28 | 1983-11-05 | 富士通株式会社 | Image display system |
-
1984
- 1984-03-08 JP JP59043008A patent/JPS60188983A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60188983A (en) | 1985-09-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4823303A (en) | Display control apparatus for use in composite document processing apparatus | |
| US5321807A (en) | Accelerated graphics display method | |
| JPH0652472B2 (en) | Image processing method | |
| US5798749A (en) | Graphic display control apparatus | |
| US5357601A (en) | Apparatus for processing superimposed image information by designating sizes of superimposed and superimposing images | |
| JP3333642B2 (en) | Map drawing method | |
| JPH0318717B2 (en) | ||
| JPH081548B2 (en) | Image processing device | |
| JPH0318191B2 (en) | ||
| JPS62128369A (en) | Enlarged image displaying method | |
| JP2597102B2 (en) | Screen clipping method and device | |
| JPH0689336A (en) | Image data enlarging and displaying method | |
| JPH0318999Y2 (en) | ||
| JPS6315617B2 (en) | ||
| JPH04160479A (en) | Setting system for character string display position | |
| JPH0869368A (en) | Image output device | |
| JPH0578852B2 (en) | ||
| JPS62256175A (en) | Picture editing processor | |
| JPH05130504A (en) | Image display controller | |
| JP2690692B2 (en) | Drawing method | |
| JP2575636B2 (en) | Graphic display device | |
| JPH0756557A (en) | Image composition method | |
| JPS62287304A (en) | Displaying system in numerical controller | |
| JPH0577229B2 (en) | ||
| JPS6318430A (en) | Drawing display method |