JPS61223788A - Clipping control system - Google Patents

Clipping control system

Info

Publication number
JPS61223788A
JPS61223788A JP60064402A JP6440285A JPS61223788A JP S61223788 A JPS61223788 A JP S61223788A JP 60064402 A JP60064402 A JP 60064402A JP 6440285 A JP6440285 A JP 6440285A JP S61223788 A JPS61223788 A JP S61223788A
Authority
JP
Japan
Prior art keywords
address
area
memory
bitmap memory
data
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.)
Pending
Application number
JP60064402A
Other languages
Japanese (ja)
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60064402A priority Critical patent/JPS61223788A/en
Publication of JPS61223788A publication Critical patent/JPS61223788A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概要〕 ビットマツプメモリの或限定された領域内にのみデータ
を書込む場合、その限定された領域の境界をハードウェ
アで検出し、高速に描画することを可能とする。
[Detailed Description of the Invention] [Summary] When data is written only within a limited area of a bitmap memory, the boundary of the limited area can be detected by hardware and drawing can be performed at high speed. do.

〔産業上の利用分野〕[Industrial application field]

本発明はビットマツプメモリに表示内容を展開した後読
出して表示する表示装置に係り、特にウィンド表示の如
く表示領域を限定したビットマツプメモリ内の或領域内
にのみ表示データを書込めるように制御する、所謂クリ
ッピング制御を高速に実施し得る方式に関する。
The present invention relates to a display device that expands display contents in a bitmap memory and then reads and displays them. In particular, the present invention relates to a display device that develops display contents in a bitmap memory and then reads and displays them. In particular, the present invention is controlled so that display data can be written only in a certain area in a bitmap memory that has a limited display area such as a window display. The present invention relates to a method that can perform so-called clipping control at high speed.

情報処理装置の普及に伴い、各種表示装置が開発され、
実用化しているが、一般にビットマツプメモリ上に主記
憶から表示内容を一画面分展開し、これをラスク走査し
て読出し、ブラウン管に表示する表示装置が多く用いら
れている。
With the spread of information processing devices, various display devices have been developed.
In general, many display devices are used that develop one screen of display content from main memory onto a bitmap memory, read it out by rask scanning, and display it on a cathode ray tube.

この表示装置でウィンド表示を行う場合、ビットマツプ
メモリ上の或領域を限定して、その領域内に表示すべき
データを書込み、その領域外にはデータを書込まないよ
うに制御するクリッピング制御が行われている。
When performing window display on this display device, clipping control is used to limit a certain area on the bitmap memory, write data to be displayed within that area, and prevent data from being written outside that area. It is being done.

この場合ウィンド内のデータ書込みは高速に実施出来る
ことが望ましい。
In this case, it is desirable to be able to write data within the window at high speed.

〔従来の技術〕[Conventional technology]

第2図はクリッピング制御方法を説明する図である。 FIG. 2 is a diagram illustrating a clipping control method.

表示装置の表示面にウィンドを設けてウィンド表示を行
う場合、ビットマツプメモリ1の或領域を限定してウィ
ンド領域2を設け、このウィンド領域2の内部にのみデ
ータを書込む。
When displaying a window by providing a window on the display surface of the display device, a certain area of the bitmap memory 1 is limited to provide a window area 2, and data is written only inside this window area 2.

この場合、ビ・7トマツプメモリlのウィンド領域2以
外の領域には、データの書込みを行わないようにクリッ
ピング制御を行う必要がある。例えばウィンド領域2に
円周の一部3を描画するとすれば、点線で示す円周の一
部4は描画してはならない。
In this case, it is necessary to perform clipping control so that data is not written to areas other than the window area 2 of the B-7 map memory l. For example, if a part 3 of the circumference is to be drawn in the window area 2, a part 4 of the circumference indicated by a dotted line must not be drawn.

従来は円周3を描画する時、ソフトウェアによりウィン
ド領域2の境界5及び6を検出し、円周4に該当する部
分の描画動作を行わず、次の描画点の計算を行っている
。即ち1描画点の計算を行う際、必ず描画するか否かの
判定を行っていた。
Conventionally, when drawing the circumference 3, the boundaries 5 and 6 of the window area 2 are detected by software, and the next drawing point is calculated without drawing the portion corresponding to the circumference 4. That is, when calculating one drawing point, it is always determined whether or not to draw.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記の如く、従来は1描画点毎に描画するか否かの判定
が必要なため、処理速度が遅いという問題がある。
As described above, conventional methods have the problem of slow processing speed because it is necessary to determine whether or not to draw for each drawing point.

本発明はこのような問題点に鑑み創作したもので、描画
有効領域の判定をソフトウェアで行わず、ハードウェア
により描画可能領域を設定することで、処理速度を向上
させるクリッピング制御方式の提供を目的としている。
The present invention was created in view of these problems, and aims to provide a clipping control method that improves processing speed by setting the drawable area using hardware instead of determining the drawing effective area using software. It is said that

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の一実施例を示す回路のブロック図であ
る。
FIG. 1 is a block diagram of a circuit showing one embodiment of the present invention.

本発明は第2図に示すウィンド領域2のアドレスエ+、
Y+を示す有効領域開始アドレスレジスタ12と、ウィ
ンド領域2の横方向の長さくx2xl)を示すアドレス
を記憶する横方向距離レジスタ13と、ウィンド領域2
の縦方向の長さくy2  >’I)を示すアドレスを記
憶する縦方向距離レジスタ14と、上記各レジスタ12
,13゜14の出力からウィンド領域2の有効領域を示
すアドレスを送出する有効領域発生回路15を設ける。
The present invention is directed to the address area + of the window area 2 shown in FIG.
an effective area start address register 12 indicating Y+, a lateral distance register 13 storing an address indicating the lateral length (x2xl) of the window area 2;
A vertical distance register 14 that stores an address indicating the vertical length y2 >'I), and each of the above registers 12
.

そしてビットマツプメモリ1に例えば円周3及び4を描
く描画制御回路17の送出するアドレスと該有効領域発
生回路15の送出するアドレスとから、描画判定回路1
6がウィンド領域2内部のアドレスに対してのみ書込信
号を送出する構成とする。
Then, based on the address sent by the drawing control circuit 17 and the address sent from the effective area generation circuit 15, which draw circumferences 3 and 4, for example, in the bitmap memory 1, the drawing judgment circuit 1
6 sends a write signal only to addresses inside the window area 2.

〔作用〕[Effect]

上記の如く構成することにより、有効領域発生回路15
は有効領域開始アドレスレジスタ12の送出するアドレ
スを基準として、縦方向距離レジスタ14と横方向距離
レジスタ13の指示する縦横の長さを示すアドレスから
、ウィンド領域2のビットマツプメモリ1における有効
領域を示すアドレスを描画判定回路16に送出すること
が出来る。
By configuring as described above, the effective area generation circuit 15
calculates the effective area in the bitmap memory 1 of the window area 2 based on the address sent by the effective area start address register 12 and from the address indicating the length and width indicated by the vertical distance register 14 and the horizontal distance register 13. The indicated address can be sent to the drawing determination circuit 16.

従って描画判定回路16はウィンド領域2内部のみ円周
3を書込むことを可能とする書込信号をビットマツプメ
モリ1に送出し、不要な円周4の書込みを防止する。
Therefore, the drawing determination circuit 16 sends a write signal to the bitmap memory 1 that allows the circumference 3 to be written only inside the window area 2, thereby preventing unnecessary writing of the circumference 4.

このようにすることで、1描画点毎に描画の可否を判定
する必要が無く、ビ・ノドマツプメモリ1に円周3を高
速に描画することが可能となる。
By doing so, it is not necessary to determine whether drawing is possible for each drawing point, and it becomes possible to draw the circumference 3 in the bi-nodmap memory 1 at high speed.

〔実施例〕〔Example〕

第1図において、プロセッサ10はビットマツプメモリ
1の第2図に示すウィンド領域2の先頭アドレス8.と
ylを有効領域開始アドレスレジスタ12にセットする
In FIG. 1, the processor 10 is located at the starting address 8.0 of the window area 2 shown in FIG. 2 of the bitmap memory 1. and yl are set in the effective area start address register 12.

そして横方向距離レジスタ13にはウィンド領域2の横
方向の長さを示す(X2  XI)、即ちアドレスの差
を格納する。
The horizontal distance register 13 stores the horizontal length of the window area 2 (X2 XI), that is, the difference in addresses.

又縦方向距離レジスタ14にはウィンド領域2の縦方向
の長さを示す(y2  )’I ) 、即ちアドレスの
差を格納する。
Further, the vertical distance register 14 stores (y2)'I) indicating the vertical length of the window area 2, that is, the difference in addresses.

有効領域発生回路15は有効領域開始アドレスレジスタ
12の送出するアドレスを基準として、横方向距離レジ
スタ13の示すウィンド領域2の横方向の長さと、縦方
向距離レジスタ14の示すウィンド領域2の縦方向の長
さから、ウィンド領域2のを動領域を示すアドレスを描
画判定回路16に送出する。
The valid area generating circuit 15 calculates the horizontal length of the window area 2 indicated by the horizontal distance register 13 and the vertical direction of the window area 2 indicated by the vertical distance register 14 based on the address sent by the effective area start address register 12. Based on the length of , an address indicating the moving area of the window area 2 is sent to the drawing determination circuit 16 .

プロセッサ1はビットマツプメモリlに描画するデータ
を主記憶1)から読出し、描画制御回路17に送出する
。描画制御回路17はこのデータをビットマツプメモリ
1に書込むために指示されたアドレスを描画判定回路1
6に送出すると共に、ビットマツプメモリ1にも送出す
る。又同時にデータもビットマツプメモリlに送出する
The processor 1 reads data to be drawn on the bitmap memory l from the main memory 1) and sends it to the drawing control circuit 17. The drawing control circuit 17 uses the address specified to write this data in the bitmap memory 1 to the drawing judgment circuit 1.
6 and also sends it to bitmap memory 1. At the same time, data is also sent to the bitmap memory l.

描画判定回路16は有効領域発生回路15が送出するア
ドレスと、描画制御回路17の送出するアドレスとを比
較し、ウィンド領域2の内部を示すアドレスの時だけビ
ットマツプメモリlに書込信号を送出する。
The drawing determination circuit 16 compares the address sent by the effective area generation circuit 15 with the address sent by the drawing control circuit 17, and sends a write signal to the bitmap memory l only when the address indicates the inside of the window area 2. do.

従って例えば第2図に示す円周3は描画されるが、円周
4は書込信号が阻止されるため、ビア)マツプメモリl
に描画されない。
Therefore, for example, the circumference 3 shown in FIG. 2 is drawn, but the write signal is blocked for the circumference 4, so the via map memory l
is not drawn.

P/S変換回路18はビットマツプメモリ1の内容をビ
デオ信号に変換し、表示部19に送出して表示する。
The P/S conversion circuit 18 converts the contents of the bitmap memory 1 into a video signal and sends it to the display section 19 for display.

〔発明の効果〕〔Effect of the invention〕

以上説明した如く、本発明は限定された範囲内にのみ描
画する場合、その境界線をハードウェアで判定すること
が可能なため、高速に描画処理を行うことが出来る。
As described above, in the case of drawing only within a limited range, the present invention allows the boundary line to be determined by hardware, so that drawing processing can be performed at high speed.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例を示す回路のブロック図、 第2図はクリッピング制御方法を説明する図である。 図において、 1はビットマツプメモリ、2はウィンド領域、10はプ
ロセッサ、    1)は主記憶、12は有効領域開始
アドレスレジスタ、13は横方向距離レジスタ、 14は縦方向距離レジスタ、 15は有効領域発生回路、 16は描画判定回路、17
は描画制御回路、   18はP/S変換回路、19は
表示部である。 1処き一明の一麟多広砧Lr町鷲雰めブロック1茶 1
 口
FIG. 1 is a block diagram of a circuit showing one embodiment of the present invention, and FIG. 2 is a diagram explaining a clipping control method. In the figure, 1 is a bitmap memory, 2 is a window area, 10 is a processor, 1) is a main memory, 12 is an effective area start address register, 13 is a horizontal distance register, 14 is a vertical distance register, and 15 is an effective area. 16 is a drawing determination circuit; 17 is a generation circuit;
18 is a drawing control circuit, 18 is a P/S conversion circuit, and 19 is a display section. 1st Place Kazuaki's Ichirinta Hiroki Lr Town Washi-atmosphere Block 1 Tea 1
mouth

Claims (1)

【特許請求の範囲】 ビットマップメモリ(1)に表示内容を展開した後読出
して表示する表示装置において、 該ビットマップメモリ(1)の限定された領域(2)の
先頭アドレスを格納する第1の記憶手段(12)と、該
限定された領域(2)の幅方向の長さを示すアドレスを
格納する第2の記憶手段(13)と、該限定された領域
(2)のアドレス方向の長さを示すアドレスを格納する
第3の記憶手段(14)と、前記第1と第2と第3の記
憶手段(12、13、14)の出力に基づき前記限定さ
れた領域(2)の有効領域範囲を示すアドレスを送出す
る有効領域発生手段(15)と、 前記ビットマップメモリ(1)に書込むデータのアドレ
スと該有効領域発生手段(15)の送出するアドレスと
からビットマップメモリ(1)に書込信号を送出する描
画判定手段(16)とを設け、 前記限定された領域(2)内部に前記データを書込むア
ドレスを検出してビットマップメモリ(1)に書込信号
を送出することを特徴とするクリッピング制御方式。
[Scope of Claims] In a display device that expands display content in a bitmap memory (1) and then reads and displays the content, a first memory that stores a start address of a limited area (2) of the bitmap memory (1) is provided. a second storage means (13) for storing an address indicating the length of the limited area (2) in the width direction; the limited area (2) based on the outputs of the third storage means (14) for storing an address indicating the length, and the first, second and third storage means (12, 13, 14); a valid area generating means (15) that sends out an address indicating a valid area range; and a bit map memory (15) based on the address of data to be written to the bit map memory (1) and the address sent by the valid area generating means (15). 1) is provided with a drawing determination means (16) for sending a write signal, and detects an address for writing the data into the limited area (2) and sends a write signal to the bitmap memory (1). A clipping control method characterized by transmitting.
JP60064402A 1985-03-28 1985-03-28 Clipping control system Pending JPS61223788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60064402A JPS61223788A (en) 1985-03-28 1985-03-28 Clipping control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60064402A JPS61223788A (en) 1985-03-28 1985-03-28 Clipping control system

Publications (1)

Publication Number Publication Date
JPS61223788A true JPS61223788A (en) 1986-10-04

Family

ID=13257282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60064402A Pending JPS61223788A (en) 1985-03-28 1985-03-28 Clipping control system

Country Status (1)

Country Link
JP (1) JPS61223788A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63206872A (en) * 1987-02-24 1988-08-26 Agency Of Ind Science & Technol Picture memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63206872A (en) * 1987-02-24 1988-08-26 Agency Of Ind Science & Technol Picture memory

Similar Documents

Publication Publication Date Title
US5276437A (en) Multi-media window manager
JP2002163684A5 (en)
JP2892176B2 (en) Font memory access method
JPS61223788A (en) Clipping control system
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JPS60129789A (en) Display address managing apparatus
JPH0588838A (en) Multi window display device
JPS6217766B2 (en)
JPS6122391A (en) Copy control system for display
JPS5926425Y2 (en) light pen control circuit
JPS59206881A (en) Display unit
JPS63142390A (en) Display device
JPS608891A (en) Character generator control system
JPH0721394A (en) Graphic plotting method
JPS5915287A (en) Display unit
JPS59151186A (en) Character display
JPS6042792A (en) Display control system
JPH035755B2 (en)
JPS61118792A (en) Display unit
JPS59102283A (en) Display
JPH0567983B2 (en)
JPH0548475B2 (en)
JPH036513B2 (en)
JPS6159391A (en) Stil picture moving circuit
JPS61232486A (en) Image data shift system