JPS61193190A - Display controller - Google Patents

Display controller

Info

Publication number
JPS61193190A
JPS61193190A JP60033561A JP3356185A JPS61193190A JP S61193190 A JPS61193190 A JP S61193190A JP 60033561 A JP60033561 A JP 60033561A JP 3356185 A JP3356185 A JP 3356185A JP S61193190 A JPS61193190 A JP S61193190A
Authority
JP
Japan
Prior art keywords
address
register
cpu
data
contents
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
JP60033561A
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP60033561A priority Critical patent/JPS61193190A/en
Publication of JPS61193190A publication Critical patent/JPS61193190A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 産業上の利用分野 本発明は表示制御装置に関するもので、%に映像データ
の記憶部への書込み回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a display control device, and more particularly to a circuit for writing video data into a storage unit.

従来の技術 従来、この種の表示制御装置は第4図に示すように、中
央処理装置(CPU)IKそれぞれ接続するデータレジ
スタ3と、アドレスレジスタ5と、これらの両者に接続
する映像データ記憶部6とからなり、映像データ記憶部
6への書込みは、CPU1が映像データの書込み単位毎
に、毎回アドレスおよびデータをアドレスレジスタ5お
よびデータレジスタ3に送り、画面書換えの必要がある
すべての部分についてCPU lのアクセスが必要であ
った。すなわち画藺書き換えに必要なデータ量を1回の
書換え単位データ量で割った値の回数だけデータの内容
にかかわらずCPU1のアクセス介入が必要とされた。
2. Description of the Related Art Conventionally, as shown in FIG. 4, this type of display control device has a central processing unit (CPU), a data register 3 connected to each IK, an address register 5, and a video data storage section connected to both. 6, when writing to the video data storage unit 6, the CPU 1 sends the address and data to the address register 5 and data register 3 every time for each writing unit of video data, and writes data to the video data storage unit 6 for all parts that require screen rewriting. CPU l access was required. In other words, access intervention by the CPU 1 is required as many times as the amount of data required for image rewriting divided by the amount of data per unit of rewriting, regardless of the content of the data.

そのためにcruxは映像データの転送処理に費やされ
、その間他のプログラムの実行が中断されるという欠点
があった。
For this reason, crux has the disadvantage that the time is spent on transferring video data, and during this time the execution of other programs is interrupted.

発明が解決しようとする問題点 本発明の目的は、上記の欠点、すなわちCPUが映像デ
ータの転送処理に費やされる時間が長くなるという問題
点を解決した表示制御装置を提供することにある。
Problems to be Solved by the Invention An object of the present invention is to provide a display control device that solves the above-mentioned drawback, that is, the amount of time the CPU spends on transferring video data.

問題点を解決するための手段 本発明は上述の問題点を解決するために%CPUから送
出されるデータを保持するデータレジスタと、このデー
タレジスタの内容を入力とし表示装置上に表示する映像
データを記憶する映像データ記憶部と、データレジスタ
の内容を映像データ記憶部に書込むアドレスを保持する
アドレスレジスタと、データレジスタの内容を連続して
書込む最後のアドレスを保持するエンドアドレスレジス
タと、エンドアドレスレジスタとアドレスレジスタとの
内容の一致検出を行う比較回路と、比較回路の結果によ
ってリセットされるフリップ7C1yプと、アドレスレ
ジスタに加える値を保持するアドレススペースレジスタ
と、アドレスレジスタとアドレススペースレジスタの内
容を加算する加算回路と、加算回路の出力結果とCPU
より送られる映像データ記憶部のアドレスとを入力とし
アリツブフロップの内容(よりこれら2つの入力のいず
れかを選択しアドレスレジスタの入力へ送る選択回路と
からなる構成を採用するものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention provides a data register for holding data sent from the CPU, and video data to be displayed on a display device using the contents of this data register as input. an address register that holds an address for writing the contents of the data register into the video data storage section; and an end address register that holds the last address for sequentially writing the contents of the data register; A comparison circuit that detects a match between the contents of the end address register and the address register, a flip 7C1y that is reset by the result of the comparison circuit, an address space register that holds a value to be added to the address register, and an address register and an address space register. An adder circuit that adds the contents of , and the output result of the adder circuit and the CPU
A configuration is adopted in which the input is the address of the video data storage section sent from the flop, and the contents of the Aritz flop (and a selection circuit that selects one of these two inputs and sends it to the input of the address register).

作用 本発明は上述のようKll成し九ので、画像データ情報
に連続パターンがある場合、この最終アドレス値をエン
ドアドレスレジスタにセットし、アドレススペースレジ
スタに1をセットし、遂次加算回路でアドレスを加算し
、アドレスレジスタの値が最終アドレス忙一致するまで
制御装置内処理を行い、映像データ記憶部に書込み、ま
た交互パ・ターンの場合、同様にエンドアドレスレジス
タに最終アドレスをセットし、アドレススペースレジス
タに2t−セットして同様に加算を行い、制御装置内処
理を行って映像データ記憶部に書込むようにするため、
その間CPUへ負担をかけることがない。
Operation The present invention has a Kll construction as described above, so if there is a continuous pattern in the image data information, this final address value is set in the end address register, 1 is set in the address space register, and the address is added by the sequential addition circuit. Processing is performed within the control device until the value of the address register matches the final address, and the data is written to the video data storage section.In the case of an alternating pattern, the final address is similarly set in the end address register, and the address In order to set 2t- in the space register, perform addition in the same way, perform processing within the control device, and write to the video data storage unit.
During this time, no load is placed on the CPU.

実施例 次に本発明の実施例について図面を参照して説明する。Example Next, embodiments of the present invention will be described with reference to the drawings.

本発明の一実施例をブロック図で示す第1図を参照する
と、本発明の表示装置は、CPUIに接続するデータレ
ジスタ3と、エンドアドレスレジスタ7と、アドレスス
ペースレジスタ10と、選択回路13を介して接続する
アドレスレジスタ5と、アドレスレジスタ5とエンドア
ドレスレジスタ7の出力を比較するアドレス比較回路8
と、この比較回路8の比較結果が一致し、CPUIから
の信号16によりてセットされるフリップ70ツブ9と
、アドレスレジスタ5とアドレススペースレジスタ10
の出力を加算する加算回路11と、加算回路11の出力
17とアドレスバス4とを7リツプフロツプ9の出力で
選択してアドレスレジスタ5へ入力させる選択回路13
と、アドレスレジスタ5の出力と映像データ読み出しア
ドレス発生回路12の出力とを選択する選択回路19と
、データレジスタ3の出力と選択回路19の出力とを入
力する映像データ記憶部6とからなっている・次に、C
B、Tの画面に映し出したい情報の一例として第2図を
参照すると、この場合、従来は各 。
Referring to FIG. 1, which shows a block diagram of an embodiment of the present invention, the display device of the present invention includes a data register 3 connected to a CPUI, an end address register 7, an address space register 10, and a selection circuit 13. and an address comparison circuit 8 that compares the outputs of the address register 5 and the end address register 7.
When the comparison result of the comparator circuit 8 matches, the flip 70 knob 9, the address register 5, and the address space register 10 are set by the signal 16 from the CPUI.
an adder circuit 11 that adds the outputs of the adder circuit 11 and a selector circuit 13 that selects the output 17 of the adder circuit 11 and the address bus 4 using the output of the 7-lip flop 9 and inputs the selected data to the address register 5.
, a selection circuit 19 that selects the output of the address register 5 and the output of the video data read address generation circuit 12, and a video data storage section 6 that receives the output of the data register 3 and the output of the selection circuit 19. There/Next, C
Referring to FIG. 2 as an example of the information desired to be displayed on the B and T screens, in this case, conventionally each

データ毎にCPUからのアクセスが必要で、この図の場
合35回のCPUのアクセスが必要となる。
An access from the CPU is required for each piece of data, and in the case of this figure, 35 accesses from the CPU are required.

この図において、データ5及び8は同じ値が連続して表
示慣れている。本発明によると、データ1〜4.6,7
,9,10の書込みに関しては従来通シCPUからのア
クセスが必要であるが、データ5゜8は連続しているた
め、従来は各々13.14回のCPUからのアクセスを
必要としたものが、各々1回のアクセスで済むことにな
!り、CPUK負担をかけることなく、高速に映像デー
タ記憶部へ格納される。
In this figure, data 5 and 8 are used to display the same value continuously. According to the invention, data 1-4.6,7
, 9, and 10 conventionally require access from the CPU, but since data 5°8 is continuous, the data that conventionally required access from the CPU 13.14 times each , you only need to access each one once! The video data is stored in the video data storage unit at high speed without imposing a burden on the CPUK.

次に第3図を参照すると、同一データの連続ではなく、
データ5,6及びデータ8,9の交互パターンとなって
いる。このような場合には、データ5のパターンをアド
レススペースレジスタ1Gに2を設定し、1つおきにデ
ータ5を映像データ記憶部6へ書込み、次にアドレスを
セットし直してデータ6を同じように1つおきに映像デ
ータ記憶部へ書くことKより、CPUからのアクセスを
減らすことができる。第3図の場合のデータ8゜9の交
互パターンも同様の書込み方法を実施する。
Next, referring to Figure 3, it is not a series of the same data,
This is an alternating pattern of data 5 and 6 and data 8 and 9. In such a case, set the pattern of data 5 to 2 in the address space register 1G, write every other data 5 to the video data storage unit 6, then reset the address and write data 6 in the same way. By writing every other data to the video data storage section, the number of accesses from the CPU can be reduced. A similar writing method is applied to the alternating pattern of data 8°9 in the case of FIG.

従ってCPUIはこの間映倫データ書込み以外の処理を
実行することが可能となり、全体の処理効率を上げるこ
とができ、特に第2図、第3図のような規則性のある映
倫データの書込みに関しては、多大な効果が期待できる
Therefore, the CPU can perform processes other than writing Eirin data during this time, increasing overall processing efficiency, especially when writing Eirin data with regularity as shown in Figures 2 and 3. Great effects can be expected.

次に第1図に示す具体的ハードウェアを参照して説明す
る。従来の動作はCPUIからデータバス2を介して映
像データを送り、データレジスタ3へ格納される。また
映像データのアドレスはアドレスバス4を経てアドレス
レジスタ5ヘセツトされる。その後映像データ記憶部6
へ送られて書込み動作が完了する。この従来方法による
と、第2図のCPUアクセス回数は35回となる。第2
図の映像データを映像データ記憶部6へ格納する場合、
本発明においては、データ1〜4,6,7゜9.10は
従来と同じであるが、データ5の場合、データレジスタ
3にはデータ5の値がセットされ、またデータ5のアド
レス値としてアドレスレジスタ5へ5番目の5の値がセ
ットされる。またデー続 り5は5番目から177番目で連像しているので、その
最終アドレス値17がエンドアドレスレジスタ7へセッ
ト信号14によりセットされる。更にCPUIによりア
ドレス間隔として1なる値が、アドレススペースレジス
タ10へ信号15を通してセットされる。この状態によ
りデータレジスタ3及びアドレスレジスタ5によ゛シ映
偉データ記憶部6へ書込まれると同時に、アドレスレジ
スタ5とエンドアドレスレジスタ7の内容の一致検出が
比較回路8で行われ、一致した場合7リツプフロツプ9
がリセットされる。もし一致しなければ、フリップフロ
ップ9はリセットされない。このフリップ70ツブ9が
リセットされると、連続パターン書込みは終了と看做さ
れ、CPUIへ信号15を通して通知され、アドレスの
選択回路13の切替もアドレスバス4を選択するように
駆動される。
Next, explanation will be given with reference to specific hardware shown in FIG. In the conventional operation, video data is sent from the CPU via the data bus 2 and stored in the data register 3. Further, the address of the video data is set in the address register 5 via the address bus 4. After that, the video data storage unit 6
to complete the write operation. According to this conventional method, the number of CPU accesses shown in FIG. 2 is 35. Second
When storing the video data shown in the figure in the video data storage unit 6,
In the present invention, data 1 to 4, 6, 7°9.10 are the same as the conventional data, but in the case of data 5, the value of data 5 is set in the data register 3, and the address value of data 5 is set. The fifth value of 5 is set in address register 5. Further, since data continuation 5 is consecutively imaged from the 5th to the 177th, its final address value 17 is set to the end address register 7 by the set signal 14. Additionally, a value of 1 is set as the address interval by the CPU to the address space register 10 through signal 15. In this state, data is written into the video data storage section 6 by the data register 3 and address register 5, and at the same time, a comparison circuit 8 detects a match between the contents of the address register 5 and the end address register 7, and a match is detected. case 7 lipflop 9
is reset. If they do not match, flip-flop 9 will not be reset. When the flip 70 knob 9 is reset, the continuous pattern writing is deemed to have ended, and the CPU is notified through the signal 15, and the address selection circuit 13 is also driven to select the address bus 4.

また連続モードにする時は、CPUIより信号16を通
してフリップフロップ9をセットすることにより開始さ
れる。すなわち通常CPUアクセスが必要な場合は、本
7リツプフロツプ9はリセットしており、連続アクセス
モード時にセット信号16により7リツプ70ツブ9は
セットされる。
The continuous mode is started by setting the flip-flop 9 through the signal 16 from the CPU. That is, when normal CPU access is required, the 7-lip flop 9 is reset, and the 7-lip flop 9 is set by the set signal 16 in the continuous access mode.

更に連続アクセスモード時は、アドレスレジスタ5の内
容とアドレス間隔として1なる値がセットされたアドレ
ススペースレジスタ10の内容が加算器11において加
算され、その結果17が選択回路13へ送られる。いま
連続アクセスモード時であるので、選択回路13は信号
15により加算結果信号17を選択し、アドレスレジス
タ5へ送られ、アドレス更新が映像データ3を映像デー
タ記憶部6へ書込む度に行われる。このようにアドレス
更新、終了検出を映像データ書込み側で行うととくより
、CPUへの負担をなくし、高速書込みが実現できる。
Furthermore, in the continuous access mode, the contents of the address register 5 and the contents of the address space register 10, which is set to a value of 1 as the address interval, are added in an adder 11, and the result 17 is sent to the selection circuit 13. Since we are currently in the continuous access mode, the selection circuit 13 selects the addition result signal 17 using the signal 15 and sends it to the address register 5, and the address is updated every time the video data 3 is written to the video data storage section 6. . By performing address updating and end detection on the video data writing side in this way, the load on the CPU can be eliminated and high-speed writing can be realized.

。 以上第2図の場合にりいて説明したが、第3図における
交互パターン時には、アドレススペースレジスタ10に
2の値をセットすることくより可能となる。また映像デ
ータ読出しアドレス発生回路12は、CR,Tモニタ1
8へ映し出す時に読出しアドレスを送出し、セレクタ1
9を通して映像データ記憶部6の内容をCRT18へ送
るためのものである。
. The above description has been made with reference to the case of FIG. 2, but in the case of the alternating pattern in FIG. Further, the video data read address generation circuit 12 is connected to the CR, T monitor 1
When displaying to 8, send the read address and selector 1
9 to send the contents of the video data storage section 6 to the CRT 18.

発明の詳細 な説明したように、本発明によれば、連続パターンの範
囲及びアドレス間隔をセットすることにより、規則性の
ある連続パターンの映像データ記憶部への書込みが高速
に、かつCPUの介在なしで実現でき、システムとして
の処理効率が向上するという効果がある。
As described in detail, according to the present invention, by setting the continuous pattern range and address interval, regular continuous patterns can be written to the video data storage unit at high speed and without the intervention of the CPU. This has the effect of improving the processing efficiency of the system.

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

第1図は本発明の一実施例を示す具体的ノ)−ドウエア
のブロック図、第2図、第3図は映像データの配置を示
すCRT画面の図、第4図は従来例のハードウェアのブ
ロック図である。
Fig. 1 is a block diagram of specific hardware showing an embodiment of the present invention, Figs. 2 and 3 are diagrams of a CRT screen showing the arrangement of video data, and Fig. 4 is a conventional example of hardware. FIG.

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置(以下CPUという)とCRT表示装置と
の間に接続され、前記CPUより送出されるデータを保
持するデータレジスタと、このデータレジスタの内容を
入力とし前記表示装置上に表示する映像データを格納す
る映像データ記憶部と、前記CPUに接続され前記デー
タレジスタの内容を前記映像データ記憶部へ書込むアド
レスを保持するアドレスレジスタとからなる表示制御装
置において、前記CPUに接続され前記データレジスタ
の内容を連続して書込む最後のアドレスを保持するエン
ドアドレスレジスタと、このエンドアドレスレジスタの
内容と前記アドレスレジスタの内容との一致検出を行う
比較回路と、通常リセットされていて連続パターン書込
み開始時にセットされ、前記比較回路の比較結果により
リセットされるフリップフロップと、前記CPUに接続
され、前記アドレスレジスタに加える値を保持するアド
レススペースレジスタと、前記アドレスレジスタと前記
アドレススペースレジスタの内容を加算する加算回路と
、この加算回路の加算結果とCPUより送出される映像
データ記憶部のアドレスを入力とし前記フリップフロッ
プの内容により前記入力のいずれかを選択し前記アドレ
スレジスタの入力へ送る選択回路とより構成されること
を特徴とする表示制御装置。
A data register connected between a central processing unit (hereinafter referred to as CPU) and a CRT display device and holding data sent out from the CPU, and video data to be displayed on the display device using the contents of this data register as input. and an address register that is connected to the CPU and holds an address for writing the contents of the data register to the video data storage section, an end address register that holds the last address whose contents are to be written continuously; a comparison circuit that detects a match between the contents of this end address register and the contents of the address register; a flip-flop that is set at the same time and reset by the comparison result of the comparison circuit; an address space register that is connected to the CPU and holds a value to be added to the address register; and the contents of the address register and the address space register are added. a selection circuit which receives the addition result of the addition circuit and the address of the video data storage unit sent from the CPU as input, selects one of the inputs according to the contents of the flip-flop, and sends it to the input of the address register; A display control device comprising:
JP60033561A 1985-02-21 1985-02-21 Display controller Pending JPS61193190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60033561A JPS61193190A (en) 1985-02-21 1985-02-21 Display controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60033561A JPS61193190A (en) 1985-02-21 1985-02-21 Display controller

Publications (1)

Publication Number Publication Date
JPS61193190A true JPS61193190A (en) 1986-08-27

Family

ID=12389958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60033561A Pending JPS61193190A (en) 1985-02-21 1985-02-21 Display controller

Country Status (1)

Country Link
JP (1) JPS61193190A (en)

Similar Documents

Publication Publication Date Title
JPS5987569A (en) Automatic continuous processing circuit of data
JPH0355832B2 (en)
US5530458A (en) Image memory control device
JPS61193190A (en) Display controller
JPH02310592A (en) Screen scroll control system
JPS6067990A (en) Picture information processor having density converting function
JPS5818652B2 (en) CRT display control device
JPS59177594A (en) Display memory control system
JPS58107589A (en) Screen clearing system for display unit
JPH03188545A (en) Picture memory controller
JPH01243184A (en) Picture display device
JPS61109094A (en) Cursor display unit
JPS60129786A (en) Image memory
JPS6294893A (en) graphic display device
JPS6175936A (en) Ram monitor device
JPH01224882A (en) Displaying control device
JPS61174592A (en) Image data display unit
JPH01114961A (en) Directory memory access controller
JPH01118885A (en) Video interface conversion system
JPH01304490A (en) display control device
JPS61188588A (en) graphic display device
JPS6165292A (en) Graphic display unit
JPS62255989A (en) Transfer system for data between frame buffers
JPS58203489A (en) Display unit
JPS61212889A (en) Display unit