JPH0443394A - Multi-window double buffer system - Google Patents
Multi-window double buffer systemInfo
- Publication number
- JPH0443394A JPH0443394A JP2151867A JP15186790A JPH0443394A JP H0443394 A JPH0443394 A JP H0443394A JP 2151867 A JP2151867 A JP 2151867A JP 15186790 A JP15186790 A JP 15186790A JP H0443394 A JPH0443394 A JP H0443394A
- Authority
- JP
- Japan
- Prior art keywords
- window
- plane
- display
- bank
- 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
Links
- 239000007853 buffer solution Substances 0.000 title claims description 5
- 238000000034 method Methods 0.000 claims abstract description 7
- 239000000872 buffer Substances 0.000 claims description 14
- 230000006870 function Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、グラフィックCRT表示装置による図形表示
装置に係り、マルチウィンドウ表示におけるダブルバッ
ファ方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a graphic display device using a graphic CRT display device, and more particularly to a double buffer method in multi-window display.
本発明は、フレームバッファを1プレーンにつきフロン
トプレーンとハックプレーンの2バンクを持つダブルバ
ッファ方式で表示する図形表示装置において、ビデオメ
モリの高速転送モードを用いて垂直同期信号のブランキ
ング中にフロントプレーンからバックプレーンヘコビー
し、バックプレーン上でデータをモディファイ後再びフ
ロントプレーンヘコピーすることにより表示は恒にフロ
ントプレーン側に固定し、各ウィンドウの表示バンクの
フロントかバックかの管理を必要とせずにかつ描画中の
画面の乱れもなしにマルチウィンドウのダブルバッファ
を実現したものである。The present invention utilizes a high-speed transfer mode of a video memory to display a front plane during blanking of a vertical synchronization signal in a graphics display device that displays a frame buffer in a double-buffer format with two banks of front plane and hack plane per plane. By copying the data from the backplane to the backplane, modifying the data on the backplane, and then copying it to the frontplane again, the display is always fixed to the frontplane side, eliminating the need to manage whether the display bank of each window is front or back. It realizes multi-window double buffering without any screen disturbance during drawing.
グラフィックCRT表示装置では図形の拡大、縮少、移
動を行う場合に、データ変更中の表示画面の乱れをなく
す為にいわゆるダブルバッファ方式を採用している。In a graphic CRT display device, a so-called double buffer system is adopted in order to eliminate disturbances on the display screen during data changes when enlarging, reducing, or moving figures.
第2図は従来−船釣に用いられているダブルバッファ方
式を説明するものである。フレームバッファはフロント
プレーン12とバックプレーン13の2プレーンで構成
され、バンク切換え信号16により一方のプレーンが表
示され、その間に他方のプレーンが変更される。変更が
終わるとバンクを切換えて変更されたプレーンを表示さ
せる。FIG. 2 explains the double buffer system conventionally used in boat fishing. The frame buffer is composed of two planes, a front plane 12 and a back plane 13, and one plane is displayed by a bank switching signal 16, while the other plane is changed. When the change is completed, change the bank and display the changed plane.
これを繰り返し行うことにより図形の動きをなめらかに
見せることができる。By repeating this process, the movement of the figure can be made to appear smooth.
実際にはダブルバッファ構成のフレームバッファを複数
プレーン用意することで多色表示やマルチウィンドウを
実現しているのであるが、この方式においてマルチウィ
ンドウ処理を行う場合、次のような処理が必要となる。In reality, multi-color display and multi-windows are achieved by preparing multiple planes of double-buffered frame buffers, but when performing multi-window processing using this method, the following processing is required. .
第2図では画面上にウィンドウAとウィンドウBが存在
しており各ウィンドウは第3図のようにプレーン0〜3
はウィンドウAに、プレーン4〜5はウィンドウBにア
サインされていると仮定する。各プレーンは独立してバ
ンク切換えが可能であり、ウィンドウAを動かす場合プ
レーン0〜3のみダブルバッファ表示される。In Figure 2, there are window A and window B on the screen, and each window has planes 0 to 3 as shown in Figure 3.
Assume that planes 4 and 5 are assigned to window A and planes 4 to 5 are assigned to window B. Banks can be switched independently for each plane, and when window A is moved, only planes 0 to 3 are displayed in a double buffer.
したがって最終的に表示されている画面上の各ウィンド
ウがフロントプレーンかバックプレーンかを確認した上
で新しいデータ書き込みを行う必要性があった。Therefore, it is necessary to confirm whether each window on the screen that is finally being displayed is a front plane or a back plane before writing new data.
従来の方式の場合、最終的に表示されている画面がフロ
ントプレーンがバックプレーンかを各ウィンドウ単位で
管理する必要がある。したがってウィンドウの数が増え
るほど画面書きかえ時に確認しなければならない情報量
が増加し、ソフトウェアにかかる負荷が大きくなってし
まう。In the case of the conventional method, it is necessary to manage for each window whether the screen that is finally displayed is the front plane or the back plane. Therefore, as the number of windows increases, the amount of information that must be checked when rewriting the screen increases, and the load on the software increases.
本発明は上記問題点を解決するために、フロントプレー
ンとバックプレーン間で垂直同期信号のブランキング中
にコピーを行う機能を設け、たとえばフロントプレーン
は表示専用、バックプレーンは描画専用とした。ここで
第1図においてウィンドウAfを描きかえるとき、まず
前記ウィンドウAfをバックプレーンにコピーし、ウィ
ンドウAbとする。次に前記バックプレーン上でウィン
ドウAbに描画を行い終了したら再び前記フロントプレ
ーン上のウィンドウAfにコピーする。ここでのプレー
ン間コピーは1回の垂直同期信号のブランキング中に行
なわれるため表示されている前記フロントプレーンにコ
ピーした時に画面に乱れは生しない。In order to solve the above-mentioned problems, the present invention provides a function for copying between the front plane and the backplane during blanking of the vertical synchronization signal, and for example, the front plane is used only for display and the back plane is used only for drawing. Here, when redrawing the window Af in FIG. 1, the window Af is first copied onto the backplane and is designated as a window Ab. Next, drawing is done in window Ab on the back plane, and when it is finished, it is copied again to window Af on the front plane. Since the interplane copy here is performed during blanking of one vertical synchronization signal, no disturbance occurs on the screen when copying to the front plane being displayed.
以下図面により本発明の実施例について説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第1図においてはlはフレームバッファにデータを描画
するためのバスであり本実施例ではバックプレーン3に
接続されている。また8はフレームバッファから表示デ
ータを読み出すためのバスであり本実施例ではフロント
プレーン2に接続されている。ここで前記フロントプレ
ーン2と前記バックプレーン3は物理的には同一の25
6Kx4のビデオ用DRAMでありアドレスの最上位ビ
ットがOのときフロントプレーンであり、1のときバッ
クプレーンとなるものである。In FIG. 1, l is a bus for drawing data to a frame buffer, and is connected to the backplane 3 in this embodiment. Further, 8 is a bus for reading display data from the frame buffer, and is connected to the front plane 2 in this embodiment. Here, the front plane 2 and the back plane 3 are physically the same 25
It is a 6Kx4 video DRAM, and when the most significant bit of the address is O, it is the front plane, and when it is 1, it is the back plane.
ここで垂直同期信号のブランキング中にブし/−ン間コ
ピーを実施する方法について説明する。Here, a method for performing inter-blink copying during blanking of the vertical synchronization signal will be described.
第4図は一般的に使用されているIMビットビデオRA
Mの構造を示す図である。RAM部は512X512の
メモリセルであり、SAM部は512×1のレジスタ構
造となっている。前記RAM部と前記SAM部間は51
2ビット単位でブタ転送可能である。第5図はこのRA
M部とSAM部間の転送タイミングの一例を示したもの
でフロントプレーンからバックプレーンヘコピーする場
合のタイミングを表わしている。サイクル1においては
前記ビデオRAMへ与えられる前記アドレス最上位ビッ
トA8は0であり、前記フロントプレーン2のIRoW
分のデータ512ビツトが前記SAM17へ転送される
。またサイクル2においては前記アドレス最上位ビット
A8は1であり、前記SAM17の512ビツトのデー
タが、前記バックプレーン3のI RC)Wへ転送され
る。Figure 4 shows commonly used IM bit video RA
It is a figure showing the structure of M. The RAM portion has a 512×512 memory cell, and the SAM portion has a 512×1 register structure. 51 between the RAM section and the SAM section
Pig transfer is possible in units of 2 bits. Figure 5 shows this RA
This figure shows an example of the transfer timing between the M part and the SAM part, and represents the timing when copying from the front plane to the back plane. In cycle 1, the most significant bit A8 of the address applied to the video RAM is 0, and the IRoW of the front plane 2 is
512 bits of data are transferred to the SAM 17. In cycle 2, the most significant bit A8 of the address is 1, and 512 bits of data in the SAM 17 are transferred to the IRC)W of the backplane 3.
したがって第5図に示し、たサイクルを256回繰り返
すことにより前記フロントプレーン2から前記バックプ
レーン3へ全面コピーすることができる。第5図の例に
おいては、基本クロックtφ−32nSec、 ビデ
オメモリアクセスタイム100nSを前提にしており、
IRoW分のデータコピー時間は512nSとなる。つ
まり前記フロントプレーン2から前記バックプレーン3
へ全面コピーするのに要する時間は、131μsとなる
。Therefore, by repeating the cycle shown in FIG. 5 256 times, the entire surface can be copied from the front plane 2 to the back plane 3. In the example shown in Fig. 5, we assume a basic clock tφ-32nSec and a video memory access time of 100nS.
The data copy time for IRoW is 512 nS. In other words, from the front plane 2 to the back plane 3
The time required to copy the entire area to is 131 μs.
現在グラフィックCR7表示装置で最も一般的に採用さ
れているCRTでは垂直同期信号のブランキング時間T
VBLは約800μsあるのでこの間にプレーン間の
全面コピーをすることが可能となる。In CRT, which is currently most commonly used in graphic CR7 display devices, the vertical synchronization signal blanking time T
Since VBL is approximately 800 μs, it is possible to perform full copy between planes during this time.
本実施例においては第1図のようにデータ描画は前記バ
ックプレーン3へ、CRT9へ転送スる表示データは前
記フロントプレーン2からと、完全に機能を固定してい
る。前記フロントプレーン2に2つのグラフィックウィ
ンドウAf及びBfが存在し、各ウィンドウとプレーン
の関係は第3図のようになっていると仮定する。ここで
ウィンドウAfに描画する場合にはプレーンO〜3のフ
ロントプレーンからバックプレーンへコピーが行なわれ
前記バックプレーン3にウィンドウAbが生成される。In this embodiment, as shown in FIG. 1, the functions are completely fixed: data drawing is transferred to the backplane 3, and display data transferred to the CRT 9 is transferred from the front plane 2. It is assumed that there are two graphic windows Af and Bf on the front plane 2, and the relationship between each window and the plane is as shown in FIG. When drawing on window Af, copies are made from the front plane of planes O to 3 to the back plane, and window Ab is generated on the back plane 3.
ここでプロセッサ0は描画用データバス1を介して前記
ウィンドウAbに描画する。Here, the processor 0 draws on the window Ab via the drawing data bus 1.
描画が終了した後に前記垂直同期信号のブランキング期
間TVBLを使って前記ウィンドウAbから前記ウィン
ドウAfへ再コピーされる。したがって前記ウィンドウ
Afは表示されたままの状態であるが、画面は全く乱れ
ることなく描きかえられることになる。After the drawing is completed, the blanking period TVBL of the vertical synchronization signal is used to re-copy from the window Ab to the window Af. Therefore, although the window Af remains displayed, the screen is redrawn without any disturbance.
本実施例においては描画すべきウィンドウに対応するプ
レーンのみコピーし、ダブルバッファを実現しているが
、全プレーン同時にコピーしても同様の結果を得られる
ことは言うまでもない。In this embodiment, only the plane corresponding to the window to be drawn is copied to achieve a double buffer, but it goes without saying that the same result can be obtained by copying all the planes at the same time.
以上説明したように、本発明では垂直同期信号のブラン
キング期間中にフロントプレーンとバックプレーン間の
コピーを実行する機能を設けることにより表示用プレー
ンと描画用プレーンを固定したままでマルチウィンドウ
のダブルバッファを実現し、従来のように各ウィンドウ
単位で表示バンクのフロントかバックかの管理を不必要
にした点で大きな効果がある。As explained above, in the present invention, by providing a function to execute copying between the front plane and the back plane during the blanking period of the vertical synchronization signal, the display plane and the drawing plane can be fixed, and multi-window double It has a great effect in that it realizes a buffer and eliminates the need to manage whether the display bank is front or back for each window as in the past.
第1図は本発明の詳細な説明するためのブロック図、第
2図は従来のダブルバッファ表示を説明するためのブロ
ック図、第3図は本実施例における各ウィンドウとプレ
ーンの対応を示した図、第4図は一般的なビデオRAM
の構造図、第5図は本発明において垂直同期信号のブラ
ンキング期間中に実行されるプレーン間コピーのタイミ
ングの一例を示す図である。
第1M
2・・・フロントプレーン
3・・・バックプレーン
9 ・ ・ ・ CRT
第 2 図
第
図Fig. 1 is a block diagram for explaining the present invention in detail, Fig. 2 is a block diagram for explaining the conventional double buffer display, and Fig. 3 shows the correspondence between each window and plane in this embodiment. Figure 4 shows a general video RAM
FIG. 5 is a diagram showing an example of the timing of the inter-plane copy executed during the blanking period of the vertical synchronization signal in the present invention. 1st M 2...Front plane 3...Back plane 9... CRT Fig. 2 Fig.
Claims (1)
、ダブルバッファ方式で画面表示を行う図形表示装置の
マルチウィンドウのダブルバッファ方式において、CR
Tの垂直同期信号のブランキング期間で各プレーンのバ
ンク間コピーを完了させる機能を有し、ダブルバッファ
表示をする場合には表示用バンクから描画用バンクへコ
ピーし、描画が終了した後、前記バンク間コピーにより
再び表示用バンクへコピーすることにより表示バンクと
描画バンクを固定することを可能とし、マルチウィンド
ウ処理時において各ウィンドウ単位で表示バンクを管理
する処理を必要としないマルチウィンドウのダブルバッ
ファ方式。CR in the multi-window double-buffer system of a graphics display device that has two banks of frame buffers per plane and displays the screen in a double-buffer system.
It has a function to complete inter-bank copying of each plane during the blanking period of the vertical synchronization signal T, and when performing double buffer display, it copies from the display bank to the drawing bank, and after the drawing is completed, the above Multi-window double buffer that makes it possible to fix the display bank and drawing bank by copying back to the display bank using bank-to-bank copying, and eliminates the need to manage display banks for each window during multi-window processing. method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2151867A JPH0443394A (en) | 1990-06-11 | 1990-06-11 | Multi-window double buffer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2151867A JPH0443394A (en) | 1990-06-11 | 1990-06-11 | Multi-window double buffer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0443394A true JPH0443394A (en) | 1992-02-13 |
Family
ID=15527960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2151867A Pending JPH0443394A (en) | 1990-06-11 | 1990-06-11 | Multi-window double buffer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0443394A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0683304A (en) * | 1992-04-17 | 1994-03-25 | Internatl Business Mach Corp <Ibm> | Window controlling method and raster-display-window controlling system |
JP2007225925A (en) * | 2006-02-23 | 2007-09-06 | Sharp Corp | Image display device |
-
1990
- 1990-06-11 JP JP2151867A patent/JPH0443394A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0683304A (en) * | 1992-04-17 | 1994-03-25 | Internatl Business Mach Corp <Ibm> | Window controlling method and raster-display-window controlling system |
JP2007225925A (en) * | 2006-02-23 | 2007-09-06 | Sharp Corp | Image display device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6088996A (en) | Multiple data window display system | |
EP0647931B1 (en) | High speed method and apparatus for generating animation by means of a three-region frame buffer and associated region pointers | |
EP0525986B1 (en) | Apparatus for fast copying between frame buffers in a double buffered output display system | |
JPH01134524A (en) | Graphic display method and apparatus | |
JPH07140941A (en) | Liquid crystal display conversion device | |
JPH02217893A (en) | Projection type liquid crystal display device | |
KR19990022041A (en) | Computer system with dual-panel liquid crystal display | |
JPH0443394A (en) | Multi-window double buffer system | |
JPS6016634B2 (en) | Graphic generation method in display devices | |
JPH06149533A (en) | Segment quick plotting system for reducing plotting processing for segment outside display area | |
JP3043077B2 (en) | Frame buffer controller | |
JPS60101590A (en) | Display unit | |
JPH0830254A (en) | Display effect generation circuit | |
JPS6032088A (en) | Crt display terminal | |
Barkans | A virtual memory system organization for bit-mapped graphics displays | |
JPS6337388A (en) | Continuous image display system | |
JPS63245716A (en) | Multiwindow display device | |
GB2290207A (en) | Image display system | |
JPS6235394A (en) | General-purpose graphic display unit | |
JPH02304594A (en) | V-ram control system | |
JPS6146978A (en) | Crt display unit | |
JPH0627932A (en) | Frame memory controller | |
JPS60258586A (en) | Pattern display system | |
JPS63245514A (en) | Display control system | |
JPS61264381A (en) | Memory circuit |