JPH0350596A - Display controller for image data - Google Patents

Display controller for image data

Info

Publication number
JPH0350596A
JPH0350596A JP1186840A JP18684089A JPH0350596A JP H0350596 A JPH0350596 A JP H0350596A JP 1186840 A JP1186840 A JP 1186840A JP 18684089 A JP18684089 A JP 18684089A JP H0350596 A JPH0350596 A JP H0350596A
Authority
JP
Japan
Prior art keywords
slide
horizontal
image data
memory
raster
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
JP1186840A
Other languages
Japanese (ja)
Inventor
Satoshi Nakamura
聡 中村
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP1186840A priority Critical patent/JPH0350596A/en
Publication of JPH0350596A publication Critical patent/JPH0350596A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To slide an optional raster horizontally by an optional quantity without rewriting image data on a memory by providing registers where slide quantities are set, raster by raster. CONSTITUTION:A slide quantity is set in a slide register 5 for each horizontal scanning line and every time a horizontal/vertical counter 2 counts up a vertical address as a scan is made, a slide register selecting circuit 6 switches slide registers 5 to corresponding scanning lines. Data stored in the slide registers 5 are outputted as address signals indicating scan start horizontal addresses of the horizontal scanning lines to a memory where image data are stored, and the read image data are displayed on a display. Consequently, an optional raster is slid horizontally by an optional quantity and displayed without rewriting the image data on the memory.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、パーソナルコンピュータのCRT等を制御す
るCRTコントローラなどの画像データの表示制御装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to an image data display control device such as a CRT controller that controls a CRT or the like of a personal computer.

〈従来の技術〉 従来、この種の表示制御装置として、例えば第4図に示
すようなCRTコントローラがある。このCRTコント
ローラIIは、図示しないパーソナルコンピュータやゲ
ーム機のCPUで生成された画像データを格納したメモ
リ12に、読み出しのための制御信号Cおよび内蔵のカ
ウンタで生成したアドレス信号Aを出力し、これらの信
号に基づいてクロックCsに同期して読み出した画像デ
ータDpを、パラレル/シリアル変換器13でシリアル
の画像データDsに変換してCRTディスプレイ14(
以下、CRTと略す)に画像として表示させるものであ
る。上記CRTコントローラllは、CRTl 4上の
表示を上下、左右にスクロールさせるべく垂直、水平夫
々1個の図示しないスクロールレジスタを備え、両レジ
スタに設定されたスクロール量に応じて読み出し開始の
行アドレス、列アドレスを変更したアドレス信号Aをメ
モリ12に出力することによって、表示画像のスクロー
ルを可能ならしめている。
<Prior Art> Conventionally, as this type of display control device, there is a CRT controller as shown in FIG. 4, for example. This CRT controller II outputs a control signal C for reading and an address signal A generated by a built-in counter to a memory 12 storing image data generated by a CPU of a personal computer or a game machine (not shown). The image data Dp read out in synchronization with the clock Cs based on the signal is converted into serial image data Ds by the parallel/serial converter 13 and displayed on the CRT display 14 (
The image is displayed as an image on a CRT (hereinafter abbreviated as CRT). The CRT controller 11 is equipped with scroll registers (not shown) each vertically and horizontally to scroll the display on the CRT1 4 vertically, horizontally, and horizontally. By outputting an address signal A with a changed column address to the memory 12, scrolling of the displayed image is made possible.

〈発明が解決しようとする課題〉 ところが、上記従来のCRTコントローラ11は、1組
のスクロールレジスタしか備えていないため、CRT画
面上の特定の領域だけをスクロールあるいはスライド表
示しようとすると、CRTコントローラ11が現在何う
スター目の行アドレス信号を出力しているかをCPUに
よって常時監視し、表示タイミングに合わせてスクロー
ルレジスタの内容を書き換えなければならない。そのた
め、CPUの処理負担か増大し、タイミングの制御時間
が短縮して、表示画面の一部スクロールや一部スライド
が実質上不可能になるという欠点がある。まして、表示
画面の任意のラスターを任意の量だけ水平方向にスライ
ドさせることは、上記CRTコントローラ11によって
は殆ど実現できない。
<Problems to be Solved by the Invention> However, since the conventional CRT controller 11 described above is equipped with only one set of scroll registers, when an attempt is made to scroll or slide only a specific area on the CRT screen, the CRT controller 11 The CPU must constantly monitor which star row address signal is currently being output, and rewrite the contents of the scroll register in accordance with the display timing. Therefore, there are disadvantages in that the processing load on the CPU increases, the timing control time is shortened, and it becomes virtually impossible to partially scroll or partially slide the display screen. Furthermore, it is almost impossible to slide any raster on the display screen by any amount in the horizontal direction using the CRT controller 11 described above.

そこで、本発明の目的は、各ラスターごとにスライド量
を設定するためのレジスタを設けることによって、メモ
リ内の画像データを書き換えることなく任意のラスター
を圧意の量だけ水平方向にスライドでき、高速処理が要
求されるリアルタイム表示のゲーム機などに特に有効な
画像データの表示制御装置を提供することにある。
Therefore, an object of the present invention is to provide a register for setting the sliding amount for each raster, so that any raster can be slid horizontally by a predetermined amount without rewriting the image data in the memory, and at high speed. An object of the present invention is to provide an image data display control device that is particularly effective for real-time display game machines that require processing.

く課題を解決するための手段〉 上記目的を達成するため、本発明の画像データの表示制
御装置は、画像データを格納したメモリに読み出しのた
めのアドレス信号と制御信号を出力し、クロックに同期
してメモリから読み出した画像データをパラレル/シリ
アル変換器を介してディスプレイに表示させるものにお
いて、水平方向のスライド量を各水平走査線ごとに設定
するためのスライドレジスタと、走査に伴う水平、垂直
アドレスをカウントアツプする水平・垂直カウンタと、
この水平・垂直カウンタが垂直アドレスをカウントアツ
プする毎に、対応する水平走査線に上記スライドレジス
タを切り換え、このスライドレジスタに格納されたデー
タをその水平走査線の走査開始水平アドレスを表わすア
ドレス信号として上記メモリに出力するスライドレジス
タ選択回路を備えたことを特徴とする。
Means for Solving the Problems> In order to achieve the above object, an image data display control device of the present invention outputs an address signal and a control signal for reading to a memory storing image data, and synchronizes it with a clock. In devices that display image data read from memory on a display via a parallel/serial converter, a slide register is used to set the horizontal slide amount for each horizontal scanning line, and horizontal and vertical Horizontal and vertical counters that count up addresses,
Every time this horizontal/vertical counter counts up a vertical address, the slide register is switched to the corresponding horizontal scanning line, and the data stored in this slide register is used as an address signal representing the scanning start horizontal address of that horizontal scanning line. The present invention is characterized in that it includes a slide register selection circuit that outputs to the memory.

〈作用〉 表示制御装置のスライドレジスタには、各水平走査線ご
とに水平方向のスライド量が予め設定されている。走査
開始に伴い水平・垂直カウンタが水平、垂直アドレスを
カウントアツプし始めると、スライドレジスタ選択回路
は、第1水平走査線(第1ラスター)にスライドレジス
タを切り換え、このスライドレジスタに格納されたデー
タ即ち第1ラスターの水平方向のスライド量を、第1ラ
スターの走査開始水平アドレスを表わすアドレス信号と
してメモリに出力する。すると、このアドレス信号が指
定するメモリの番地から、第1ラスターの画像データが
パラレルで読み出され、パラレル/シリアル変換器によ
りシリアル画像データに変換されてディスプレイに表示
される。従って、第1ラスターの画像ディスプレイは、
ディスプレイの画面上で本来の位置から上記スライド量
だけ左へずれて表示される。次に、水平・垂直カウンタ
が垂直アドレスを次の第2水平走査線にカウントアツプ
すると、スライドレジスタ選択回路は上述と同様に動作
し、第2ラスターの画像データは、画面上で第2ラスタ
ーのスライドレジスタに設定されたスライド量だけ左へ
ずれて表示される。以上の動作の繰り返しにより、メモ
リ内の画像データを書き換えることなく、任意のラスタ
ーを任意の量だけ水平方向にスライドさせて高速に画面
に表示することができる。
<Operation> In the slide register of the display control device, a horizontal slide amount is set in advance for each horizontal scanning line. When the horizontal and vertical counters start counting up the horizontal and vertical addresses with the start of scanning, the slide register selection circuit switches the slide register to the first horizontal scanning line (first raster) and transfers the data stored in this slide register. That is, the horizontal slide amount of the first raster is output to the memory as an address signal representing the horizontal scanning start address of the first raster. Then, the first raster image data is read out in parallel from the memory address specified by this address signal, converted into serial image data by the parallel/serial converter, and displayed on the display. Therefore, the image display of the first raster is
The image is displayed shifted to the left by the above slide amount from its original position on the display screen. Next, when the horizontal and vertical counters count up the vertical address to the next second horizontal scan line, the slide register selection circuit operates in the same manner as described above, and the image data of the second raster is transferred to the second raster on the screen. The display is shifted to the left by the slide amount set in the slide register. By repeating the above operations, any raster can be displayed on the screen at high speed by sliding it horizontally by any amount without rewriting the image data in the memory.

〈実施例〉 以下、本発明を図示の実施例により詳細に説明する。<Example> Hereinafter, the present invention will be explained in detail with reference to illustrated embodiments.

第1図は、第4図で述べた表示装置のCRTコントロー
ラIIに代えて用いられる本発明の一実施例たるCRT
コントローラを示すブロック図である。このCRTコン
トローラ1は、走査に伴う水平、垂直アドレスをカウン
トアツプする水平・垂直カウンタ2と、同期信号を出力
すべき走査位置データを格納する同期信号設定レジスタ
3と、上記カウンタ2とレジスタ3の値を比較して同期
信号Csを出力する比較器4と、各水平走査線(ラスタ
ー)ごとに水平方向のスライド量を設定するためのn個
(n:画面の水平走査線本数)のレジスタからなるスラ
イドレジスタ5と、上記水平・垂直カウンタ2が垂直ア
ドレスをカウントアツプする毎に、対応する水平走査線
に上記スライドレジスタ5を切り換え、このスライドレ
ジスタに格納されたデータをそのラスターの走査開始水
平アドレスを表わすアドレス信号Aとしてメモリ12(
第4図参照)に出力するスライドレジスタ選択回路6と
、メモリ12に読み出しのための制御信号Cを出力する
メモリインターフェース7から構成される。なお、上記
CRTコントローラlは、表示装置の図示しないCPU
によって制御される。また、上記スライドレジスタ5を
構成するレジスタの数nは、CRTl4(第4図参照)
の解像度が例えば768x512ドツトの場合、512
個とな上記構成のCRTコントローラlの動作について
次に述べる。
FIG. 1 shows a CRT which is an embodiment of the present invention used in place of the CRT controller II of the display device described in FIG.
FIG. 2 is a block diagram showing a controller. This CRT controller 1 includes a horizontal/vertical counter 2 that counts up horizontal and vertical addresses associated with scanning, a synchronization signal setting register 3 that stores scanning position data at which a synchronization signal should be output, and From a comparator 4 that compares values and outputs a synchronization signal Cs, and n registers (n: the number of horizontal scanning lines on the screen) for setting the horizontal slide amount for each horizontal scanning line (raster). Each time the horizontal/vertical counter 2 counts up a vertical address, the slide register 5 is switched to the corresponding horizontal scanning line, and the data stored in this slide register is transferred to the scanning start horizontal line for that raster. The memory 12 (
4), and a memory interface 7 that outputs a control signal C for reading to the memory 12. Note that the CRT controller 1 is a CPU (not shown) of the display device.
controlled by Further, the number n of registers constituting the slide register 5 is CRT14 (see FIG. 4).
For example, if the resolution is 768x512 dots, 512
The operation of the CRT controller 1 having the above configuration will now be described.

CRTコントローラ1のスライドレジスタ5の第1〜第
nレジスタには、表示装置のCPU(図示せず)によっ
て各ラスター毎に水平方向のスライド量(スライドドツ
ト数)が第3図(a)の破線で示すように予め設定され
、メモリ12(第4図参照)には、上記CPUで生成さ
れた例えば第3図(a)の実線で示すような!フレーム
分の画像データが格納されているものとする。
In the first to nth registers of the slide register 5 of the CRT controller 1, the horizontal slide amount (number of slide dots) for each raster is determined by the CPU (not shown) of the display device according to the broken line in FIG. 3(a). The memory 12 (see FIG. 4) stores information generated by the CPU, such as the one shown by the solid line in FIG. 3(a). It is assumed that image data for frames is stored.

走査開始と共に水平・垂直カウンタ2は、第2図に示す
CRTl 4の画面上の第1ラスタR,を指し、これに
よりスライドレジスタ選択回路6は、スライドレジスタ
5を第ルジスタに切り換え、この第ルジスタに格納され
たスライド量を第1ラスターの走査開始水平アドレスを
表わすアドレス信号Aとしてメモリ12に出力する。す
ると、このアドレス信号Aが指定するメモリ12の番地
から、第1ラスターの画像データDPがパラレルで読み
出され、パラレル/シリアル変換器13(第4図参照)
によりシリアル画像データDsに変換されてCRTl 
4に表示される。この場合、第1レジスタには、第3図
(a)の直線R4と破線の交点Pに相当するスライド量
が設定されているので、第1ラスターの画像データは交
点Pから矢印Xの如く読み出され、実際のCRTl 4
画面上での表示は、第3図(b)に示すように本来の位
置から上記スライド量だけ左へずれることになる。
At the start of scanning, the horizontal/vertical counter 2 points to the first raster R on the screen of the CRTl 4 shown in FIG. The slide amount stored in is output to the memory 12 as an address signal A representing the scanning start horizontal address of the first raster. Then, the first raster image data DP is read out in parallel from the address of the memory 12 specified by this address signal A, and the image data DP is read out in parallel to the parallel/serial converter 13 (see FIG. 4).
is converted into serial image data Ds by CRTl
4 will be displayed. In this case, since the slide amount corresponding to the intersection point P of straight line R4 and the broken line in FIG. 3(a) is set in the first register, the image data of the first raster can be read from the intersection point P as shown by arrow The actual CRTl 4
The display on the screen will be shifted to the left by the above slide amount from the original position, as shown in FIG. 3(b).

次に、水平・垂直カウンタ2が垂直アドレスを次の第2
ラスクーR1(第2図参照)にカウントアツプすると、
スライドレジスタ選択回路6が、上述と同様に動作して
、第2ラスターの走査開始水平アドレスはスライドレジ
スタ5の第2レジスタに設定された値になり、第2ラス
ターの画像データも第3図(b)の如くそのスライド量
だけ左へずれて表示される。以上の動作を第nラスター
まで繰り返せば、メモリ12内に第3図(a)の実線の
如く格納された画像データが、スライドレジスタ5に第
3図(a)の破線の如く設定されたスライド量に応じて
左へずらされ、第3図(b)の如<CRTl4の画面に
表示される。
Next, the horizontal/vertical counter 2 sets the vertical address to the next second
When counting up to Rasku R1 (see Figure 2),
The slide register selection circuit 6 operates in the same manner as described above, and the scanning start horizontal address of the second raster becomes the value set in the second register of the slide register 5, and the image data of the second raster also becomes the value shown in FIG. As shown in b), the display is shifted to the left by the amount of the slide. By repeating the above operations up to the nth raster, the image data stored in the memory 12 as shown by the solid line in FIG. 3(a) will be transferred to the slide set in the slide register 5 as shown in the broken line in FIG. It is shifted to the left according to the amount and displayed on the screen of the CRT14 as shown in FIG. 3(b).

つまり、スライドレジスタ5の任意のレジスタに任意の
スライド量を設定することにより、メモリ12内の画像
データを書き換えることなく、CRTl4の画面上で任
意のラスターを任意量だけ水平方向にスライドさせて表
示でき、第3図(a)のようにまっすぐの道をカーブし
た道に表示したり、画像を波のようにゆらして表示でき
、高速処理が要求されるリアルタイム表示のゲーム機等
に適用すれば著しい効果を奏する。
In other words, by setting an arbitrary slide amount in an arbitrary register of the slide register 5, an arbitrary raster can be displayed by sliding it horizontally by an arbitrary amount on the screen of the CRTl4 without rewriting the image data in the memory 12. It is possible to display a straight road as a curved road as shown in Figure 3 (a), or to display an image wave-like, and if applied to real-time display game consoles that require high-speed processing. It has a remarkable effect.

なお、本発明が図示の実施例に限られないのはいうまで
もない。
It goes without saying that the present invention is not limited to the illustrated embodiment.

〈発明の効果〉 以上の説明で明らかなように、本発明の画像データの表
示制御装置は、スライドレジスタに各水平走査線ごとに
水平方向のスライド量を設定し、走査に伴って水平・垂
直カウンタが垂直アドレスをカウントアツプする毎に、
スライドレジスタ選択回路により上記スライドレジスタ
を対応する水平定査線に切り換え、このスライドレジス
タに格納されたデータをその水平走査線の走査開始水平
アドレスを表わすアドレス信号として画像データを格納
するメモリに出力し、アドレス信号に基づいてメモリか
ら読み出した画像データをディスプレイに表示させるよ
うにしているので、メモリ内の画像データを書き換える
ことなく、ディスプレイの画面上で任意のラスターを任
意量だけ水平方向にスライドさせて表示でき、高速処理
が要求される表示装置などに適用すれば顕著な効果を奏
する。
<Effects of the Invention> As is clear from the above description, the image data display control device of the present invention sets the horizontal slide amount for each horizontal scanning line in the slide register, and adjusts the horizontal and vertical slide amounts along with scanning. Every time the counter counts up a vertical address,
A slide register selection circuit switches the slide register to a corresponding horizontal constant scanning line, and outputs the data stored in this slide register to a memory that stores image data as an address signal representing a scanning start horizontal address of that horizontal scanning line. Since the image data read from the memory is displayed on the display based on the address signal, it is possible to slide any raster horizontally by any amount on the display screen without rewriting the image data in the memory. If applied to display devices that require high-speed processing, significant effects will be produced.

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

第1図は本発明の一実施例たるCRTコントローラを示
すブロック図、第2図はCRTのラスター構成を示す図
、第3図はメモリおよびスライドレジスタの記憶内容を
CRT画面で示す図、第4図は従来のCRTコントロー
ラを含む表示装置のブロック図である。 ■・・・CRTコントローラ、 2・・・水平・垂直カウンタ、 5・・・スライドレジスタ、 6・・・スライドレジスタ選択回路、12・・・メモリ
、13・・・パラレル/シリアル変換器、14・・・C
RTSA・・・アドレス信号、C・・・制御信号、Cs
・・・同期信号、Dp・・・パラレル画像データ、 Ds・・・シリアル画像データ。
FIG. 1 is a block diagram showing a CRT controller as an embodiment of the present invention, FIG. 2 is a diagram showing the raster configuration of the CRT, FIG. 3 is a diagram showing the contents of the memory and slide register on the CRT screen, and FIG. The figure is a block diagram of a display device including a conventional CRT controller. ■...CRT controller, 2...Horizontal/vertical counter, 5...Slide register, 6...Slide register selection circuit, 12...Memory, 13...Parallel/serial converter, 14...・・C
RTSA...address signal, C...control signal, Cs
...Synchronization signal, Dp...Parallel image data, Ds...Serial image data.

Claims (1)

【特許請求の範囲】[Claims] (1)画像データを格納したメモリに読み出しのための
アドレス信号と制御信号を出力し、クロックに同期して
メモリから読み出した画像データをパラレル/シリアル
変換器を介してディスプレイに表示させる画像データの
表示制御装置において、水平方向のスライド量を各水平
走査線ごとに設定するためのスライドレジスタと、走査
に伴う水平、垂直アドレスをカウントアップする水平・
垂直カウンタと、この水平・垂直カウンタが垂直アドレ
スをカウントアップする毎に、対応する水平走査線に上
記スライドレジスタを切り換え、このスライドレジスタ
に格納されたデータをその水平走査線の走査開始水平ア
ドレスを表わすアドレス信号として上記メモリに出力す
るスライドレジスタ選択回路を備えたことを特徴とする
画像データの表示制御装置。
(1) Output address signals and control signals for reading to the memory that stores image data, and display the image data read from the memory on the display via a parallel/serial converter in synchronization with the clock. In a display control device, there is a slide register for setting the horizontal slide amount for each horizontal scanning line, and a horizontal register for counting up the horizontal and vertical addresses associated with scanning.
Every time the vertical counter and this horizontal/vertical counter count up the vertical address, the slide register is switched to the corresponding horizontal scanning line, and the data stored in this slide register is transferred to the scanning start horizontal address of that horizontal scanning line. 1. A display control device for image data, comprising a slide register selection circuit that outputs an address signal representing the image data to the memory.
JP1186840A 1989-07-18 1989-07-18 Display controller for image data Pending JPH0350596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1186840A JPH0350596A (en) 1989-07-18 1989-07-18 Display controller for image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1186840A JPH0350596A (en) 1989-07-18 1989-07-18 Display controller for image data

Publications (1)

Publication Number Publication Date
JPH0350596A true JPH0350596A (en) 1991-03-05

Family

ID=16195553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1186840A Pending JPH0350596A (en) 1989-07-18 1989-07-18 Display controller for image data

Country Status (1)

Country Link
JP (1) JPH0350596A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61277991A (en) * 1985-05-30 1986-12-08 インタ−ナショナル・ビジネス・マシ−ンズ・コ−ポレ−ション Smooth scrolling method and apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61277991A (en) * 1985-05-30 1986-12-08 インタ−ナショナル・ビジネス・マシ−ンズ・コ−ポレ−ション Smooth scrolling method and apparatus

Similar Documents

Publication Publication Date Title
EP0473391B1 (en) Display of scrolling background images composed of characters
JPS642955B2 (en)
JPH0350596A (en) Display controller for image data
KR920005607B1 (en) Character display apparatus
JP3322109B2 (en) Display control device
JP2765141B2 (en) External synchronization control device
JPH11161255A (en) Image display unit
JP2002258827A (en) Image display device
JP2506960B2 (en) Display controller
JPS644187B2 (en)
JPS63225288A (en) Character display device
JPS6322593B2 (en)
JP2000098996A (en) Image display device
JPH02277097A (en) Automatic scrolling device
JPS6323191A (en) Graphic display unit
JPS6146978A (en) Crt display unit
JPH03296097A (en) Graphic display device
JPS63155184A (en) Display controller
JPS62272321A (en) Display system
JPH06149206A (en) Screen divisional display controller
JPS62262088A (en) Character display system
JPS61241790A (en) Display unit
JPS607477A (en) Image display
JPS6120985A (en) Controller for crt display unit
JPS63313229A (en) Display device