JPH0762822B2 - Display controller - Google Patents
Display controllerInfo
- Publication number
- JPH0762822B2 JPH0762822B2 JP61065749A JP6574986A JPH0762822B2 JP H0762822 B2 JPH0762822 B2 JP H0762822B2 JP 61065749 A JP61065749 A JP 61065749A JP 6574986 A JP6574986 A JP 6574986A JP H0762822 B2 JPH0762822 B2 JP H0762822B2
- Authority
- JP
- Japan
- Prior art keywords
- display
- start address
- screen
- command
- register
- 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
Links
Landscapes
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] この発明は、表示制御技術さらにはCRT表示装置のよう
な表示装置に対する制御方式に適用して特に有効な技術
に関し、例えばパーソナル・コンピュータのようなグラ
フィック表示システムに使用されるCRTコントローラに
おける表示制御方式に利用して有効な技術に関する。The present invention relates to a display control technique and a technique particularly effective when applied to a control system for a display device such as a CRT display device, for example, a personal computer. Technology effective for display control method in CRT controller used in advanced graphic display system.
[従来の技術] CRT表示装置を備えたグラフィック表示システムは、例
えば第9図に示すように、CPU(マイクロプロセッサ)
1と、メインメモリ2およびCPU1からの指令に基づいて
表示データを形成し、それをフレームバッファと呼ばれ
る画像メモリ3に描画したり、画像メモリ3内から表示
データを読み出してCRT表示装置4の画面上に表示させ
る機能を有するようにされたCRTコントローラ5等によ
り構成されている。この場合、フレームバッファ3は、
第10図に示すようにCRT表示装置4の表示画面よりも大
きな画像記憶領域を有するようにされることが多い。そ
して、CRTコントローラ内部に設けられた表示開始位置
を示すスタートアドレスレジスタに設定されたアドレス
に基づいてフレームバッファ内の所望の一画面分のデー
タを読み出して表示させるようになっている。6,7はバ
ス、また8は、画像メモリ3から読み出されるパラレル
データをシリアルデータに変換し、それをCRTコントロ
ーラ5からの同期信号SYNCに同期してCRT表示装置4に
供給する並直列変換回路である。[Prior Art] A graphic display system equipped with a CRT display device has a CPU (microprocessor) as shown in FIG. 9, for example.
1 and the display data is formed based on the commands from the main memory 2 and the CPU 1 and drawn on the image memory 3 called a frame buffer, or the display data is read from the image memory 3 to display the screen of the CRT display device 4. It is composed of a CRT controller 5 having a function of displaying above. In this case, the frame buffer 3
As shown in FIG. 10, it often has a larger image storage area than the display screen of the CRT display device 4. Then, based on the address set in the start address register which is provided inside the CRT controller and indicates the display start position, the desired one screen of data in the frame buffer is read and displayed. Reference numerals 6 and 7 are buses, and 8 is a parallel-serial conversion circuit that converts parallel data read from the image memory 3 into serial data and supplies the serial data to the CRT display device 4 in synchronization with a synchronization signal SYNC from the CRT controller 5. Is.
上記のようなCRTコントローラとして、例えば[株]日
立製作所製HD63484のようなLSIがある。As such a CRT controller, there is an LSI such as HD63484 manufactured by Hitachi, Ltd., for example.
[発明が解決しようとする問題点] 従来のCRTコントローラにおいては、表示開始位置を示
すスタートアドレスレジスタに対するスタートアドレス
の設定は、CPUが直接スタートアドレスレジスタに書込
みを行なう方式とされている([株]日立製作所、昭和
59年6月発行、「HD63484ACRTC(Advanced CRT Control
ler)ユーザーズマニュアル」参照)。[Problems to be Solved by the Invention] In the conventional CRT controller, the start address is set to the start address register indicating the display start position by a method in which the CPU directly writes to the start address register. ] Hitachi, Showa
Published in June 1984, "HD63484ACRTC (Advanced CRT Control
ler) User's Manual ").
そのため、複数の画面データを描画しつつそれらを交互
に切り換えて表示することにより、例えばアニメーショ
ンやフライトシミュレーションのような動画の表示を行
なう場合、CRTコントローラ内での描画処理終了後にCPU
によるスタートアドレスレジスタの書換えを行なう必要
があった。その結果、画面切換え制御にいちいちCPUが
関与しなければならない。この場合は、また一画面の描
画がいつ終了したかCPUが知るのが難しいため、CPUのオ
ーバーヘッドが大きいと共に、画面の切り換えが遅くな
るという不都合があった。Therefore, for example, when displaying moving images such as animation or flight simulation by drawing and switching between multiple screen data while displaying them, the CPU can be used after the drawing process in the CRT controller is completed.
It was necessary to rewrite the start address register by. As a result, the CPU must be involved in each screen switching control. In this case, since it is difficult for the CPU to know when the drawing of one screen is finished again, there is a disadvantage that the overhead of the CPU is large and the screen switching becomes slow.
この発明の目的は、複数の画面を描画しつつ切り換え表
示する場合におけるCPUのオーバーヘッドを低減し、か
つ表示画面の切換え速度の向上を図ることにある。An object of the present invention is to reduce the overhead of the CPU in the case of switching and displaying while drawing a plurality of screens and to improve the switching speed of the display screens.
この発明の前記ならびにそのほかの目的と新規な特徴に
ついては、本明細書の記述および添附図面から明らかに
なるであろう。The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.
[問題点を解決するための手段] 本願において開示される発明のうち代表的なものの概要
を説明すれば、下記のとおりである。[Means for Solving Problems] An outline of typical ones of inventions disclosed in the present application will be described below.
すなわち、表示開始位置を指定するスタートアドレスレ
ジスタによるアドレスの切換えのためのコマンドを用意
し、かつCRTコントローラには、このコマンドを解読し
てパラメータの形でCPUから与えられる表示開始アドレ
スを描画終了後に速やかにスタートアドレスレジスタに
書き込んでスタートアドレスを変更し、画面切換えを行
なう機能を持たせるものである。That is, a command for switching the address by the start address register that specifies the display start position is prepared, and the CRT controller interprets this command and outputs the display start address given by the CPU in the form of a parameter after drawing. It is provided with the function of promptly writing to the start address register to change the start address and switching the screen.
[作用] 上記手段によれば、予め描画コマンドと描画コマンドと
の間に、表示画面切換え用のコマンドを入れ、それをCP
UからCRTコントローラに渡しておくことによって、ある
画面の描画が終了するとCPUが関与することなく自動的
にスタートアドレスレジスタの変更が行なわれるという
作用により、複数の画面を描画しつつ切り換え表示する
場合におけるCPUのオーバーヘッドを低減し、かつ表示
画面の切換え速度の向上を図るという上記目的を達成す
ることができる。[Operation] According to the above means, a command for switching the display screen is inserted between the drawing command and the drawing command in advance, and the command is changed to CP.
When the display is switched from U to CRT controller, the start address register is automatically changed without CPU involvement when the drawing of a certain screen is finished, so that multiple screens can be switched and displayed. It is possible to achieve the above-mentioned object of reducing the CPU overhead in and reducing the display screen switching speed.
[実施例] 第1図に本発明が適用されるCRTコントローラLSIの全体
構成の一実施例のブロック図が示されている。[Embodiment] FIG. 1 is a block diagram showing an embodiment of the overall configuration of a CRT controller LSI to which the present invention is applied.
特に制限されないが、図中一点鎖線Cで囲まれた各回路
ブロックは単結晶シリコン基板のような一個の半導体チ
ップ上において形成される。Although not particularly limited, each circuit block surrounded by an alternate long and short dash line C in the drawing is formed on one semiconductor chip such as a single crystal silicon substrate.
この実施例のCRTコントローラLSIは、大きく分けると、
描画機能及びLSI全体の制御機能を有するプロセッサ部1
0と、画像メモリからの表示データの読出し機能を有す
る表示制御部20と、LSI内部のタイミング信号及びCRT表
示装置に対する同期信号を形成するタイミング制御回路
30とにより構成されている。The CRT controller LSI of this embodiment is roughly divided into
A processor unit 1 having a drawing function and a control function for the entire LSI
0, a display control unit 20 having a function of reading display data from the image memory, and a timing control circuit that forms a timing signal inside the LSI and a synchronization signal for the CRT display device.
It is composed of 30 and.
このCRTコントローラは、システム・データ・バス6に
よって第9図のようなCPU(中央処理装置)と接続さ
れ、CPUから供給されるコマンドやパラメータなどは、
システム・データ・バス6よりFIFO(ファースト・イン
・ファースト・アウト)バッファ40を介してプロセッサ
部10に供給されるようになっている。またCRTコントロ
ーラには、フレーム・アドレス/データ・バス7を介し
て第9図のようなフレームバッファが接続される。This CRT controller is connected to a CPU (central processing unit) as shown in FIG. 9 by a system data bus 6, and commands and parameters supplied from the CPU are
The data is supplied from the system data bus 6 to the processor unit 10 via a FIFO (first in first out) buffer 40. A frame buffer as shown in FIG. 9 is connected to the CRT controller via the frame address / data bus 7.
プロセッサ部10は、FIFO40を介してCPUからのコマンド
が入るコマンドレジスタ11と、コマンドレジスタ11に取
り込まれたコマンドをデコードするデコーダ12と、CPU
からのコマンドに対応した処理を実行するための種々の
制御信号を形成するマイクロプログラムが格納されたマ
イクロROM(リード・オン・メモリ)13およびALU(演算
論理ユニット)や各種レジスタ等からなる実行ユニット
14とにより構成されている。The processor unit 10 includes a command register 11 for receiving a command from the CPU via the FIFO 40, a decoder 12 for decoding the command fetched in the command register 11, and a CPU.
Execution unit consisting of micro ROM (read-on memory) 13 in which micro programs for forming various control signals for executing commands corresponding to commands from are stored, and ALU (arithmetic logic unit) and various registers
It is composed of 14 and.
プロセッサ部10では、CPUからのコマンドをデコーダ12
によってデコードしてマイクロROM13のマイクロアドレ
スを発生する。これによって対応する一連のマイクロ命
令群が読みだされる。読み出されたマイクロ命令群によ
って実行ユニット14がシーケンシャルに制御され、その
結果として形成される外部のフレームバッファに対する
描画データ及び描画アドレスが、フレームバッファへ供
給される。The processor unit 10 decodes commands from the CPU 12
To generate a micro address of the micro ROM 13. As a result, the corresponding series of microinstructions are read out. The execution unit 14 is sequentially controlled by the read microinstruction group, and drawing data and drawing address for an external frame buffer formed as a result are supplied to the frame buffer.
また、この実施例のCRTコントローラでは、プロセッサ
部10は、マイクロROM13から読み出されたマイクロ命令
によって、表示制御回路20やタイミング制御回路30に対
する制御信号をも形成する。つまり、フレームバッファ
に対する描画機能の他にコントローラ全体の制御をも行
なうようにされている。Further, in the CRT controller of this embodiment, the processor unit 10 also forms a control signal for the display control circuit 20 and the timing control circuit 30 by the micro instruction read from the micro ROM 13. That is, not only the drawing function for the frame buffer but also the control of the entire controller is performed.
さらに、この実施例のCRTコントローラは、CRT表示装置
における表示画面の切り換えを、CPUから前もって与え
られるコマンドによって行なうように構成される。Further, the CRT controller of this embodiment is configured to switch the display screen in the CRT display device by a command given in advance from the CPU.
そのようなコマンドによる画面の切換えを可能にする表
示制御回路20の第1の実施例が、第2図に示されてい
る。A first embodiment of the display control circuit 20 which enables the switching of the screen by such a command is shown in FIG.
第2図の表示制御回路20は、表示開始アドレスが設定さ
れるスタートアドレスレジスタ21と、フレームバッファ
のメモリ幅を規定するデータMWが設定されるメモリ幅レ
ジスタ22を有している。フレームバッファに保持される
表示データは、特に制限されないが、1表示画素に対し
複数ビットとされる。表示画面の各表示ラスタに対応さ
れる表示データは、フレームバッファの連続的な記憶番
地に格納される。メモリ幅データMWは、例えばフレーム
バッファ上の1表示ラスタに相当する表示データが格納
される記憶番地の間隔と一致される。このレジスタ22へ
のメモリ幅MWの設定はCPUによって直接あるいは専用の
コマンドを設定し、かかる専用コマンドの実行によって
行なうことができる。このメモリ幅レジスタ22に設定さ
れたメモリ幅MWは直接加算器23に、供給される。スター
トアドレスレジスタ21には、フレームバッファの表示開
始されるべきアドレスデータがセットされる。このスタ
ートアドレスレジスタ21に設定される表示開始アドレス
SAはセレクタ24を介して加算器23に供給される。加算器
23での加算結果は、一旦テンポラリレジスタ25に保持さ
れてからセレクタ26を介してアドレスインクリメンタ27
に供給される。アドレスインクリメンタ27には、最初の
表示ラスタの表示が可能となるように、言い替えると、
メモリ幅データMWが加算されないアドレスデータがそれ
にセットできるように、スタートアドレスレジスタ21内
の表示開始アドレスSAがセレクタ26を介して直接供給可
能にされている。The display control circuit 20 of FIG. 2 has a start address register 21 in which a display start address is set, and a memory width register 22 in which data MW defining the memory width of the frame buffer is set. The display data held in the frame buffer is not particularly limited, but has a plurality of bits for one display pixel. The display data corresponding to each display raster on the display screen is stored in consecutive storage addresses of the frame buffer. The memory width data MW is made coincident with, for example, an interval of storage addresses where display data corresponding to one display raster on the frame buffer is stored. The memory width MW can be set in the register 22 by the CPU directly or by setting a dedicated command and executing the dedicated command. The memory width MW set in the memory width register 22 is directly supplied to the adder 23. In the start address register 21, the address data to be displayed in the frame buffer should be set. Display start address set in this start address register 21
SA is supplied to the adder 23 via the selector 24. Adder
The addition result in 23 is temporarily held in the temporary register 25 and then passed through the selector 26 to the address incrementer 27.
Is supplied to. The address incrementer 27 can display the first display raster, in other words,
The display start address SA in the start address register 21 can be directly supplied via the selector 26 so that address data to which the memory width data MW is not added can be set.
また、テンポラリレジスタ25に保持される先頭アドレス
データは、2番目以後の表示ラスタに対応するスタート
アドレスデータの形成が可能となるようにセレクタ24を
介して再び加算器23に供給可能にされている。Further, the head address data held in the temporary register 25 can be supplied to the adder 23 again via the selector 24 so that the start address data corresponding to the second and subsequent display rasters can be formed. .
上記のように構成された表示制御回路20においては、コ
マンドレジスタ11に画面切換えコマンドがロードされる
と、このコマンドをデコードするデコーダ22の出力(も
しくはこれによってマイクロROM23から読み出されるマ
イクロ命令)によって、画面切換えコマンドのパラメー
タとしてコマンドと共にFIFOバッファ40に取り込まれて
いた表示開始アドレスデータSAがスタートアドレスレジ
タ21に取り込まれる。In the display control circuit 20 configured as described above, when the screen switching command is loaded in the command register 11, the output of the decoder 22 that decodes this command (or the microinstruction read from the micro ROM 23 by this) causes The display start address data SA that has been fetched in the FIFO buffer 40 together with the command as a parameter of the screen switching command is fetched in the start address register 21.
スタートアドレスレジスタ21に取り込まれた表示開始ア
ドレスデータSAは、先ず最初はアドレスインクリメンタ
27に直接供給される。アドレスインクリメンタ24のアド
レスデータは、次々とインクリメントとされ、表示アド
レスとして出力される。画面1ラスタ分のアドレスデー
タの出力が終了すると、スタートアドレスレジスタ21内
のアドレスデータSAはメモリ幅レジスタ22内のメモリ幅
データMWとともに、加算器23に供給される。これによっ
て、表示画面の2行目のラスタの先頭アドレスが得られ
る。このアドレスはテンポラリレジスタ25に保持される
と共に、アドレスインクリメンタ27に供給される。アド
レスインクリメンタ27の上記と同様な動作によって、2
行目のラスタの表示アドレスが次々と発生されて出力さ
れる。表示画面の2行目の表示が終了すると、セレクタ
24が切り換えられてテンポラリレジスタ25に保持されて
いたアドレス(2行目の先頭アドレス)が加算器23に供
給される。そして、ここでメモリ幅データが再び加算さ
れることにより3行目のラスタの先頭アドレスが得られ
る。The display start address data SA fetched in the start address register 21 is initially the address incrementer.
Supplied directly to 27. The address data of the address incrementer 24 is incremented one after another and output as a display address. When the output of the address data for one raster of the screen is completed, the address data SA in the start address register 21 is supplied to the adder 23 together with the memory width data MW in the memory width register 22. As a result, the start address of the raster on the second line of the display screen is obtained. This address is held in the temporary register 25 and supplied to the address incrementer 27. By the same operation of the address incrementer 27 as described above, 2
The display address of the raster of the line is generated and output one after another. When the second line of the display screen is displayed, the selector
The address (the start address of the second row) held in the temporary register 25 by switching 24 is supplied to the adder 23. Then, the memory width data is added again here to obtain the head address of the raster of the third row.
上記動作を繰り返すことにより、1画面分の表示アドレ
スが発生される。By repeating the above operation, a display address for one screen is generated.
なお、上記実施例の表示制御装置20内の加算器23やアド
レスインクリメンタ27等は、タイミング制御回路30から
イネーブル信号Eが供給されている間だけ動作される。The adder 23, the address incrementer 27, etc. in the display control device 20 of the above embodiment are operated only while the enable signal E is supplied from the timing control circuit 30.
また、セレクタ24及び26の切換えは、表示制御回路20に
よって行なわれるようにされている。Further, the selectors 24 and 26 are switched by the display control circuit 20.
第3図に、上記イネーブル信号Eを形成するタイミング
制御回路30内の対応する部分が示されている。FIG. 3 shows the corresponding part in the timing control circuit 30 which forms the enable signal E.
タイミング制御回路30内には、外部から供給されるシス
テム・クロックCLKを計数する水平同期用カウンタ31
と、このカウンタ31のキャリー信号を計数する垂直同期
用カウンタ32とが設けられている。これらのカウンタ31
と32は、プログラマブルなカウンタとされている。これ
らカウンタのカウント数は、CPUによって任意の値に設
定することができるようにされている。これによって、
例えばカウンタ31と32の計数値を各々mとnとすると、
第4図に示すようなm×nのタイミング空間が形成され
る。表示画面Aはこのタイミング空間において呼び出さ
れる。そのため、第3図のタイミング制御回路30内に
は、水平方向の表示開始タイミングを設定するレジスタ
33sと、水平方向の表示終了タイミングを設定するレジ
スタ33eおよび水平方向の表示開始タイミングと終了タ
イミングをそれぞれ設定するレジスタ34sと34eが設けら
れている。In the timing control circuit 30, a horizontal synchronization counter 31 for counting the system clock CLK supplied from the outside is provided.
And a vertical synchronization counter 32 for counting the carry signal of the counter 31. These counters 31
And 32 are programmable counters. The count number of these counters can be set to any value by the CPU. by this,
For example, if the count values of counters 31 and 32 are m and n respectively,
An m × n timing space as shown in FIG. 4 is formed. Display screen A is called in this timing space. Therefore, in the timing control circuit 30 of FIG. 3, a register for setting the horizontal display start timing is provided.
33s, a register 33e for setting the display end timing in the horizontal direction, and registers 34s, 34e for setting the display start timing and the end timing in the horizontal direction, respectively.
さらに、上記水平同期用カウンタ31の計数値とレジスタ
33sの値を比較するコンパレータ35aが設けられている。
カウンタ31の計数値が水平表示開始タイミングに一致す
るとフリップフロップ36がセットされる。また、カウン
タ31の計数値とレジスタ33eの値を比較するコンパレー
タ35bが設けられている。カウンタ31の計数値が水平表
示終了タイミングに一致すると、上記フリップフロップ
36がリセットされる。このフリップフロップ36の出力Q
は水平表示タイミング信号HDISPとして出力され、CRT表
示装置等に供給される。Furthermore, the count value of the horizontal synchronization counter 31 and the register
A comparator 35a for comparing the value of 33s is provided.
When the count value of the counter 31 coincides with the horizontal display start timing, the flip-flop 36 is set. Further, a comparator 35b for comparing the count value of the counter 31 and the value of the register 33e is provided. When the count value of the counter 31 coincides with the horizontal display end timing, the above flip-flop
36 is reset. Output Q of this flip-flop 36
Is output as a horizontal display timing signal HDISP and supplied to a CRT display device or the like.
また、上記垂直同期用カウンタ32の計数値とレジスタ34
sの値を比較するコンパレータ37aが設けられており、か
かるカウンタ32の計数値が垂直表示開始タイミングに一
致するとフリップフロップ38がセットされる。一方、カ
ウンタ32の計数値とレジスタ34eの値を比較するコンパ
レータ37bが設けられており、カウンタ32の計数値が垂
直表示開始タイミングに一致すると、上記フリップフロ
ップ38がリセットされる。このフリップフロップ38の出
力Qは垂直表示タイミング信号VDISPとして出力され、C
RT表示装置等に供給される。Further, the count value of the vertical synchronization counter 32 and the register 34
A comparator 37a for comparing the value of s is provided, and when the count value of the counter 32 coincides with the vertical display start timing, the flip-flop 38 is set. On the other hand, a comparator 37b for comparing the count value of the counter 32 and the value of the register 34e is provided, and when the count value of the counter 32 coincides with the vertical display start timing, the flip-flop 38 is reset. The output Q of the flip-flop 38 is output as the vertical display timing signal VDISP, and C
It is supplied to RT display devices.
さらに、この実施例では上記水平表示タイミングHDISP
と垂直表示タイミングVDISPとの論理積をとるANDゲート
39が設けられており、このANDゲート39の出力は上記イ
ネーブル信号Eとして表示制御回路20に供給される。こ
れによって、第4図のタイミング空間において画面Aを
表示するタイミングのときだけ第5図に示すようなイネ
ーブル信号Eが表示制御回路20に供給され、画面Aに関
する画像データを読み出す表示アドレスが次々と発生さ
れるようになる。Further, in this embodiment, the horizontal display timing HDISP
AND gate that ANDs vertical display timing VDISP
39 is provided, and the output of the AND gate 39 is supplied to the display control circuit 20 as the enable signal E. As a result, the enable signal E as shown in FIG. 5 is supplied to the display control circuit 20 only at the timing of displaying the screen A in the timing space of FIG. 4, and the display addresses for reading the image data regarding the screen A are successively read. Will be generated.
また、上記垂直同期用カウンタ32のキャリー信号CRTは
プロセッサ内部10にも供給される。プロセッサ部10はこ
の信号によって一画面の走査が終了したことを知り、次
のコマンドをFIFOバッファ40から取り込むなどの処理を
行なうことができる。Further, the carry signal CRT of the vertical synchronization counter 32 is also supplied to the processor internal 10. The processor unit 10 knows that the scanning of one screen is completed by this signal, and can perform the processing such as fetching the next command from the FIFO buffer 40.
上記実施例においては、第6図に示すように、一連の描
画コマンド群CMa1,CMb1,CMa2,‥‥の間に、表示スタ
ートアドレスSAa,SAbをパラメータとして有する画面切
換えコマンドCMc1,CMc2,‥‥を入れたコマンド群が、
予めCPUからFIFOバッファ40に供給される。このように
すれば一画面の描画が終了すると直ちに画面切換えコマ
ンドがロードされてその画面切り換えコマンドに従う制
御が実行される。これにより、第6図のようなコマンド
群のセットに従うと、画面Bの表示中に画面Aの描画が
終了すると速やかに画面BからAへの表示の切換えが行
なわれ、画面の高速切換えが可能になると共に、CPUの
オーバーヘッドが大幅に低減されるようになる。In the above embodiment, as shown in FIG. 6, a screen switching command CMc 1 , which has display start addresses SAa, SAb as parameters between a series of drawing command groups CMa 1 , CMb 1 , CMa 2 ,. The command group including CMc 2 , ...
It is supplied from the CPU to the FIFO buffer 40 in advance. In this way, as soon as the drawing of one screen is completed, the screen switching command is loaded and the control according to the screen switching command is executed. Thus, according to the set of commands as shown in FIG. 6, when the drawing of the screen A is completed while the screen B is being displayed, the display is switched from the screen B to the screen A promptly, and the screen can be switched at high speed. And the CPU overhead will be significantly reduced.
上記実施例においては、描画処理中の画面の描画がかな
り短い時間で終了し、かかる描画終了後に画面切換えコ
マンドが実行されることになるので、それまでの表示画
面が非常に短い時間しか表示されなくなる。In the above embodiment, the drawing of the screen during the drawing process is completed in a very short time, and the screen switching command is executed after the drawing is completed, so that the display screen up to that time is displayed for a very short time. Disappear.
そこで、次の実施例では、第7図に示すように、表示制
御装置20内の表示されるべき画面の繰返し数を設定する
ことによりフレームの間隔を指定するフレーム・インタ
ーバル・レジスタ51と、前記垂直同期用カウンタ32から
のキャリー信号CRYを計数するフレームカウンタ52およ
びこのフレームカウンタ52の計数値と上記フレームイン
ターバル・レジスタ51の設定値とを比較するコンパレー
タ53が設けられている。また、特に制限されないが、前
述した画面切換えコマンドをデコードすることにより形
成されるスタートアドレスレジスタ21への表示開始アド
レスのロード信号LD2によってセットされるフリップフ
ロップ54が設けられている。このフリップフロップ54が
セットされている間、第2図に符号LD1で示されるロー
ド信号によるコマンドレジスタ11への次のコマンドの取
込みを待たせるウェイト信号WAITを発生するようになっ
ている。Therefore, in the next embodiment, as shown in FIG. 7, a frame interval register 51 for designating a frame interval by setting the number of repetitions of the screen to be displayed in the display controller 20, A frame counter 52 for counting the carry signal CRY from the vertical synchronization counter 32 and a comparator 53 for comparing the count value of the frame counter 52 with the set value of the frame interval register 51 are provided. Further, although not particularly limited, a flip-flop 54 is provided which is set by the load signal LD2 of the display start address to the start address register 21 formed by decoding the above-mentioned screen switching command. While the flip-flop 54 is set, a wait signal WAIT for waiting the fetching of the next command into the command register 11 by the load signal indicated by the symbol LD1 in FIG. 2 is generated.
フリップフロップ54は上記コンパレータ53から出力され
る一致検出信号によってリセットされる。これによっ
て、ウェイト信号WAITが消滅し、次のコマンドの取込み
が実行されるようになっている。つまり、垂直同期用カ
ウンタ32から1フレームの終了ごとに出力されるキャリ
ー信号CRYを計数するフレームカウンタ52はフリップフ
ロップ54の出力Qすなわちウェイト信号WAITがハイレベ
ルに変化されると計数を開始し、その計数値がフレーム
インターバル・レジスタ51の設定値と一致すると、コン
パレータ53からの出力信号によってフリップフロップ54
がリセットされ、ウェイト信号WAITがロウレベルに変化
されるようになっている。The flip-flop 54 is reset by the coincidence detection signal output from the comparator 53. As a result, the wait signal WAIT disappears and the fetching of the next command is executed. In other words, the frame counter 52 that counts the carry signal CRY output from the vertical synchronization counter 32 at the end of each frame starts counting when the output Q of the flip-flop 54, that is, the wait signal WAIT is changed to the high level, When the count value matches the setting value of the frame interval register 51, the output signal from the comparator 53 causes the flip-flop 54
Is reset and the wait signal WAIT is changed to low level.
その結果、この実施例では画面切換え後に開始された次
の描画コマンドによる描画が非常に短い時間で終わって
も、次の画面切換えコマンドの取り込みが所定のインタ
ーバルの間だけ待たされるので、ある画面の表示期間が
極めて短くなってしまうようなことがない。As a result, in this embodiment, even if the drawing by the next drawing command started after the screen switching is completed in a very short time, the fetching of the next screen switching command is waited for a predetermined interval, so that a certain screen The display period does not become extremely short.
第8図に本発明の他の実施例を示す。FIG. 8 shows another embodiment of the present invention.
この実施例の表示制御回路20には、表示したい一画面分
の画像データの先頭アドレスを設定する4個のスタート
アドレスレジスタ21a,21b,21c,21dが設けられている。
そして、これらのスタートアドレスレジスタ21a〜21dの
いずれかの表示開始アドレスがマルチプレクサによって
選択されて、セレクタ24を介して加算器23に供給可能に
されている。マルチプレクサ28による表示開始アドレス
の選択は、例えばFIFOバッファ40よりコマンドレジスタ
11にロードされた画面切換えコマンドのコードの一部を
デコードすることにより形成された信号によって行なわ
れるようになっている。The display control circuit 20 of this embodiment is provided with four start address registers 21a, 21b, 21c and 21d for setting the start address of the image data of one screen to be displayed.
The display start address of any of the start address registers 21a to 21d is selected by the multiplexer and can be supplied to the adder 23 via the selector 24. The selection of the display start address by the multiplexer 28 is performed by, for example, the command register from the FIFO buffer 40.
It is performed by a signal formed by decoding a part of the code of the screen switching command loaded in 11.
また、各スタートアドレスレジスタ21a〜21dへの表示開
始アドレスの設定は、CPUがFIFOバッファ40を介して直
接行なえるようにされている。スタートアドレスレジス
タ21a〜21d及びマルチプレクサ28以外の構成は、第2図
の実施例と同様である。Further, the CPU can directly set the display start address in each of the start address registers 21a to 21d via the FIFO buffer 40. The configuration other than the start address registers 21a to 21d and the multiplexer 28 is the same as that of the embodiment shown in FIG.
このような構成によっても第2図の実施例と同じような
作用・効果が得られる。With such a structure, the same operation and effect as those of the embodiment shown in FIG. 2 can be obtained.
以上説明したように、上記実施例においては、表示開始
位置を指定するスタートアドレスレジスタによるアドレ
スの切換えを、CRTコントローラのコマンドとして用意
し、かつCRTコントローラには、このコマンドを解読し
てパラメータの形でCPUから与えられる表示開始アドレ
スを、描画終了後に速やかにスタートアドレスレジスタ
に設定してスタートアドレスを変更して表示を行なう機
能を持たせてなるので、予め描画コマンドと描画コマン
ドとの間に、表示画面切換え用のコマンドを入れてCPU
からCRTコントローラに渡しておくことによって、ある
画面の描画が終了するとCPUが関与することなく自動的
にスタートアドレスレジスタの変更が行なわれるという
作用により、複数の画面を描画しつつ切り換え表示する
場合におけるCPUのオーバーヘッドが低減され、かつ表
示画面の切換え速度が向上されるという効果がある。As described above, in the above embodiment, the address switching by the start address register that specifies the display start position is prepared as a command of the CRT controller, and the CRT controller decodes this command and forms the parameter form. Since the display start address given by the CPU is set in the start address register immediately after the drawing is finished and the start address is changed to perform display, the drawing command and drawing command can be changed in advance. Enter the command for switching the display screen
When the drawing of a certain screen is completed, the start address register is automatically changed without the involvement of the CPU. The CPU overhead is reduced and the display screen switching speed is improved.
以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本発明は上記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲で種々変更可能
であることはいうまでもない。例えば上記実施例の表示
制御回路は、それ自身マイクロプログラムが格納された
マイクロROMと、その制御下にある実行ユニットとを備
え、FIFOバッファより取り込まれた画面切換えコマンド
を表示制御回路内で解読して、上記実施例における表示
開始アドレスの変更及びそれに基づく表示アドレスの発
生と同じような処理を実行ユニットによって行なわせる
ようにすることもできる。従来、[株]日立製作所製HD
63484のようなCRTコントローラでは、表示制御部が上記
のようなマイクロプログラム制御方式のハードウェアで
構成されている。従って、そのようなCRTコントローラ
では、ハードウェアはそのままで表示制御部内のマイク
ロプログラムを前述した画面切換えコマンドを実行でき
るように変更するだけで本発明を実現することができ
る。Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the above embodiments and various modifications can be made without departing from the scope of the invention. Nor. For example, the display control circuit of the above embodiment is provided with the micro ROM itself in which the micro program is stored and the execution unit under its control, and decodes the screen switching command fetched from the FIFO buffer in the display control circuit. Thus, it is possible to cause the execution unit to perform the same processing as the change of the display start address and the generation of the display address based on the change in the display start address in the above embodiment. Conventionally, Hitachi Ltd. HD
In the CRT controller such as 63484, the display control unit is configured by the hardware of the micro program control system as described above. Therefore, in such a CRT controller, the present invention can be realized only by changing the microprogram in the display control unit so that the above-mentioned screen switching command can be executed without changing the hardware.
[発明の効果] 本願において開示される発明のうち代表的なものによっ
て得られる効果を簡単に説明すれば下記のとおりであ
る。[Effects of the Invention] The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows.
すなわち、CPUとCRT表示装置及びCRTコントローラとを
備えたグラフィック表示システムにおいて、描画を行な
いながら次々と表示画面を切り換えるような表示制御を
行なう場合のCPUのオーバーヘッドを低減することがで
きる。これによって、アニメーションやフライトシミュ
レーションのような動画の処理速度の高速化が可能とな
る。That is, in a graphic display system including a CPU, a CRT display device, and a CRT controller, it is possible to reduce CPU overhead when performing display control such that display screens are switched one after another while drawing. As a result, the processing speed of moving images such as animation and flight simulation can be increased.
第1図は、本発明を描画機能を有するCRTコントローラ
に適用した場合の一実施例を示すブロック図、 第2図は、その中の表示制御回路の要部の構成例を示す
ブロック図、 第3図は、タイミング制御回路の構成例を示すブロック
図、 第4図は、表示画面と水平方向及び垂直方向の表示タイ
ミングとの関係を示す説明図、 第5図は、タイミング制御回路で形成される制御信号の
タイミングチャート、 第6図は、CRTコントローラで処理されるコマンドの流
れの一例を示すフローチャート、 第7図は本発明の他の実施例を示すブロック図、 第8図は、本発明の更に他の実施例を示すブロック図、 第9図は、グラフィック表示システムに構成例を示すブ
ロック図、 第10図は、フレームバッファ内の表示画面の位置関係を
示すメモリマップである。 1……CPU(中央処理装置)、2……メインメモリ、3
……フレームバッファ(画像メモリ)、4……CRT表示
装置、5……CRTコントローラ、10……プロセッサ部、1
1……コマンドレジスタ、13……マイクロROM、20……表
示制御回路、21……スタートアドレスレジスタ、33s,33
e,34s,34e……表示タイミング設定用レジスタ。FIG. 1 is a block diagram showing an embodiment in which the present invention is applied to a CRT controller having a drawing function, and FIG. 2 is a block diagram showing a configuration example of a main part of a display control circuit therein. FIG. 3 is a block diagram showing a configuration example of a timing control circuit, FIG. 4 is an explanatory diagram showing a relationship between a display screen and display timings in a horizontal direction and a vertical direction, and FIG. 5 is formed by the timing control circuit. 6 is a timing chart of control signals according to the present invention, FIG. 6 is a flow chart showing an example of the flow of commands processed by the CRT controller, FIG. 7 is a block diagram showing another embodiment of the present invention, and FIG. FIG. 9 is a block diagram showing still another embodiment of the present invention, FIG. 9 is a block diagram showing a structural example of the graphic display system, and FIG. 10 is a memory map showing the positional relationship of display screens in the frame buffer. 1 ... CPU (central processing unit), 2 ... main memory, 3
...... Frame buffer (image memory), 4 ... CRT display device, 5 ... CRT controller, 10 ... Processor section, 1
1 …… Command register, 13 …… Micro ROM, 20 …… Display control circuit, 21 …… Start address register, 33s, 33
e, 34s, 34e …… Display timing setting register.
Claims (4)
ドを前もって取り込んで保持可能なFIFOバッファと、 上記FIFOバッファに取り込まれた描画コマンドに基づい
て表示装置の画面に表示されるべき画像データを形成し
て外部の画像メモリに対して書込みを行なう信号を形成
する描画制御回路と、 上記表示装置の表示画面の大きさに対応して上記画像メ
モリ内の画像データを読み出して出力させる信号を形成
する表示制御回路と、 を有する表示制御装置であって、 上記表示制御回路は、上記画像メモリ内の表示したい画
像データ群の先頭アドレスを指定するレジスタを有し、
このレジスタに対する上記先頭アドレスの設定を、上記
FIFOバッファから読み出された画面切換えコマンドとそ
れに付随するパラメータとにより実行するように構成さ
れているとともに、 上記FIFOバッファに描画コマンドと画面切換えコマンド
および表示先頭アドレスとが取り込まれると、上記描画
制御回路が上記描画コマンドに従った描画処理を実行し
た後、上記表示制御回路が上記表示先頭アドレスに基づ
いて表示画像データ群の読み出しを行なって自動的に表
示画面を切り換えるように構成されていることを特徴と
する表示制御装置。1. A FIFO buffer, which is formed on one semiconductor chip and can previously store and hold a plurality of commands supplied from an external microprocessor, and a display device based on the drawing commands stored in the FIFO buffer. A drawing control circuit for forming image data to be displayed on the screen and forming a signal for writing to an external image memory; and a drawing control circuit in the image memory corresponding to the size of the display screen of the display device. A display control device having a display control circuit for forming a signal for reading and outputting image data, wherein the display control circuit has a register for designating a start address of an image data group to be displayed in the image memory. Then
Set the above start address for this register to the above
It is configured to be executed by the screen switching command read from the FIFO buffer and its accompanying parameter, and when the drawing command, the screen switching command and the display start address are fetched into the FIFO buffer, the drawing control is performed. After the circuit executes the drawing process according to the drawing command, the display control circuit is configured to read the display image data group based on the display start address and automatically switch the display screen. A display control device characterized by.
群の先頭アドレスを指定するレジスタが複数個設けら
れ、これらのレジスタ内のアドレスの選択が上記FIFOバ
ッファから読み出された画面切換えコマンドをデコード
することにより、もしくはそのコマンドのパラメータの
指定によって実行されるように構成されてなることを特
徴とする特許請求の範囲第1項記載の表示制御装置。2. A plurality of registers for designating a start address of an image data group to be displayed in the image memory are provided, and the selection of the addresses in these registers decodes a screen switching command read from the FIFO buffer. The display control device according to claim 1, wherein the display control device is configured to be executed by executing the command or by specifying a parameter of the command.
よって表示を開始させ一画面の最後に達するまで次のコ
マンドの取込みを実行しないように構成されてなること
を特徴とする特許請求の範囲第1項もしくは第2項記載
の表示制御装置。3. The display device according to claim 1, wherein display is started by the start address set in the register and fetching of the next command is not executed until the end of one screen is reached. The display control device according to item 2 or item 3.
よって指示される画面を表示すべき回数を設定する表示
回数レジスタが設けられ、上記画像メモリ内の画像デー
タを読出し回数が上記表示回数レジスタに設定された回
数に達するまで次のコマンドの取込みを実行しないよう
に構成されてなることを特徴とする特許請求の範囲第1
項もしくは第2項記載の表示制御装置。4. A display count register is provided for setting the number of times the screen designated by the start address set in the register is to be displayed, and the number of times the image data in the image memory is read is set in the display count register. Claim 1 is characterized in that the fetching of the next command is not executed until the number of times is reached.
The display control device according to item 2 or item 3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61065749A JPH0762822B2 (en) | 1986-03-26 | 1986-03-26 | Display controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61065749A JPH0762822B2 (en) | 1986-03-26 | 1986-03-26 | Display controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62224822A JPS62224822A (en) | 1987-10-02 |
| JPH0762822B2 true JPH0762822B2 (en) | 1995-07-05 |
Family
ID=13295976
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61065749A Expired - Fee Related JPH0762822B2 (en) | 1986-03-26 | 1986-03-26 | Display controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0762822B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5582349A (en) * | 1978-12-19 | 1980-06-21 | Fujitsu Ltd | Display control system |
| JPS58125091A (en) * | 1982-01-20 | 1983-07-25 | 富士通株式会社 | Display unit |
| JPS5979289A (en) * | 1982-10-29 | 1984-05-08 | 富士ゼロックス株式会社 | Graphic display control system |
-
1986
- 1986-03-26 JP JP61065749A patent/JPH0762822B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62224822A (en) | 1987-10-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3068842B2 (en) | Direct memory access device in image processing device and external storage device used therefor | |
| US6806872B2 (en) | Video signal processing system | |
| JPH0863355A (en) | Program control device and program control method | |
| EP0149188A2 (en) | Display control system | |
| US7793012B2 (en) | Information processing unit, system and method, and processor | |
| JPH0762822B2 (en) | Display controller | |
| GB2258069A (en) | High speed computer graphics bus | |
| EP0099189B1 (en) | High speed cpu/sequencer for video games | |
| JP2653078B2 (en) | Image display control device and electronic device having the same | |
| KR100188374B1 (en) | Processing unit | |
| JPS6330633B2 (en) | ||
| JP2906792B2 (en) | Digital processor and control method thereof | |
| US6598146B1 (en) | Data-processing arrangement comprising a plurality of processing and memory circuits | |
| JPS60173580A (en) | Display controller | |
| AU3063792A (en) | Method and apparatus for updating a clut during horizontal blanking | |
| JP2535841B2 (en) | Display controller | |
| JPH0268672A (en) | Address generating part for picture processing processor | |
| JP2758624B2 (en) | Speed control method of micro program | |
| JPS6085691A (en) | Digital picture signal processor | |
| JP2538388B2 (en) | Pattern conversion device | |
| JP2002258827A (en) | Image display device | |
| JP2504224B2 (en) | Data processing device | |
| JPH10326258A (en) | Data operation system and method | |
| JPH11161255A (en) | Image display device | |
| JP2735072B2 (en) | Image display control device and electronic device having the same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |