JPH0562349B2 - - Google Patents

Info

Publication number
JPH0562349B2
JPH0562349B2 JP59074431A JP7443184A JPH0562349B2 JP H0562349 B2 JPH0562349 B2 JP H0562349B2 JP 59074431 A JP59074431 A JP 59074431A JP 7443184 A JP7443184 A JP 7443184A JP H0562349 B2 JPH0562349 B2 JP H0562349B2
Authority
JP
Japan
Prior art keywords
display
video
bit
moving image
counter
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 - Lifetime
Application number
JP59074431A
Other languages
Japanese (ja)
Other versions
JPS60217386A (en
Inventor
Kazuhiko Nishi
Takatoshi Ishii
Ryozo Yamashita
Takatoshi Okumura
Narimitsu Yamaoka
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.)
Yamaha Corp
ASCII Corp
Original Assignee
Yamaha Corp
ASCII 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 Yamaha Corp, ASCII Corp filed Critical Yamaha Corp
Priority to JP59074431A priority Critical patent/JPS60217386A/en
Priority to EP85104434A priority patent/EP0163863B1/en
Priority to DE8585104434T priority patent/DE3585558D1/en
Priority to DE198585104434T priority patent/DE163863T1/en
Publication of JPS60217386A publication Critical patent/JPS60217386A/en
Priority to US07/009,095 priority patent/US4864289A/en
Priority to US07/943,706 priority patent/US5416497A/en
Publication of JPH0562349B2 publication Critical patent/JPH0562349B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】[Detailed description of the invention]

〔産業上の利用分野〕 この発明は電子計算機の端末機あるいはビデオ
ゲーム機器等に用いられるデイスプレイコントロ
ーラに係り、特に、一水平走査線上に表示できる
動画パターン数の増加を図つたデイスプレイコン
トローラに関する。 〔従来技術〕 近年、ビデオゲーム機器等の表示装置において
は、動画と静止画とを合わせて表示できるように
なつている。例えば、鳥が飛んでいる動画を表示
する場合、鳥のパターン(このパターンそのもの
は一定である)を8×8画素程度のドツトパター
ンで構成し、これを表示単位として予めメモリに
格納しておき、表示位置を逐次ずらしながら表示
することによつて動画を得ている。また、背景は
静止画として表示しておくことができる。 ところで、従来のデイスプレイコントローラに
おいては、一水平走査線上に表示できる動画パタ
ーンの数が少く(例えば、4パターン)、これが
画面構成上の制約となつていた。 以下、図面を参照してこの理由を説明する。 第1図は、従来のデイスプレイコントローラの
構成を示すブロツク図である。この図において、
1はCPUであり、デイスプレイコントローラ2
を介してCRT表示装置3に所望の画面表示を行
うものである。また、4は各種プログラムおよび
ワークエリア等をCPU1に提供するメモリ、5
はVRAM(ビデオRAM)である。このVRAM5
は、第2図に示すように、静止画パターンをドツ
トパターンの形で記憶する静止画パターンテーブ
ル5aと、静止画パターンの表示位置を記憶する
静止画制御テーブル5bと、各静止画パターンの
カラーコード(4ビツト)を記憶する静止画カラ
ーテーブル5cと、動画パターンを記憶する動画
パターンテーブル5dと、動画パターンの表示位
置を記憶する動画制御テーブル5eとを有してい
る。ここで、前記動画パターンテーブル5dは、
第3図イに示すように、8バイ単位で構成された
256個の動画パターンP0,P1,P2…P255からな
り、動画制御テーブル5eは、同図ロに示すよう
に、4バイト単位で構成された32のテーブルC
0,C1,C2…C31からなつている。そし
て、各動画制御テーブルCk(k=0,1…31)に
は、選択された動画パターンPi(i=0,1,2
…255)の名称(第3バイト目)、この動画パター
ンPiの表示位置のX座標(第2バイト目)とY座
標(第1バイト目)および動画パターンPiの色を
規定するカラーコードと後述するECビツト(第
4バイト目)が記憶されている。なお、上記表示
位置(X,Y)は、第4図に示すように、画面の
左上端を原点(0,0)とし、この原点を基準と
して水平右方向の画素数がX、垂直下方向の画素
数がYとなる位置であり、表示される動画パター
ンPiの左上端を指している。 次に、デイスプレイコントローラ2について説
明する。 まず、タイミング信号発生回路6は、基本クロ
ツクを発生し、これに基づいて水平、垂直同期信
号を形成してCRT表示装置3へ供給するととも
に、水平カウンタ7へヘドツトクロツクパルスを
供給する。この水平カウンタ7は、表示画素の水
平方向の表示位置を決めるもので、そのカウント
値NHが1増加する毎に、画素の表示位置が1ド
ツト分右へ移動する。そして、カウント値NH=
0のとき画面の左端に、NH=255のとき画面の
右端に画素の表示がなされ、NH=256〜340の間
は水平非表示期間となる。またカウント値NH=
340となる毎に垂直カウンタ8へパルスを供給す
る。この垂直カウンタ8は、表示画素の垂直方向
の位置、すなわち、水平走査線の番号を決めるも
ので、そのカウント値NVが1増加する毎に、水
平走査線が1ライン分下へ移動する。そして、カ
ウント値NV=0のとき画面の最上段に、NV=
191のとき画面の最下段に画素の表示がなされ、
VH=192〜261の間は垂直非表示期間となる。 次に、画像データ処理回路9は、インターフエ
ース回路10を介してCPU1に接続される一方、
VRAM5に接続され、CPU1から供給されるデ
ータをVRAM5内の各テーブルに書き込むとと
もに、書き込まれたデータをCPU1の指令によ
つて読み出し、各種の表示制御を行う。すなわ
ち、静止画表示の場合は、垂直非表示期間に静止
画制御テーブル5bに書き込まれた静止画パター
ン名称、表示位置およびカラーコードを表示直前
(8画素分前)に読み出し、これらに基づいて表
示すべきビツトデータを静止画パターンテーブル
5aから抽出して画像データ処理回路9内のシフ
トレジスタにセツトし、表示位置に来たときにこ
のシフトレジスタを1ビツトずつシフトし、その
出力の“1”/“0”に応じたカラーコードをカ
ラーパレツト11へ供給する。カラーパレツト1
1は、このカラーコードをR(赤)、G(緑)、B
(青)の各カラーデータに変換し、DAC(デジタ
ル/アナログ変換器)12を介してCRT表示装
置3へ表示する。 一方、動画表示は、画像データ処理回路9と動
画処理回路13…の協同処理によつて行われる。
すなわち、画像データ処理回路9は、CPU1か
らの指令により、垂直非表示期間に、次のフレー
ムで表示する動画パターンPiの名称、表示位置、
カラーコードおよびECビツトを動画制御テーブ
ルCkに順次設定し、各水平走査期間には、この
動画制御テーブルCkのY座標を順次チエツクし
て、次の水平走査期間に表示すべき動画パターン
の有無を調べ、表示すべき動画パターンを持つ動
画制御テーブルCkを所定のレジスタへ登録し、
各水平非表示期間には、登録された動画制御テー
ブルCkのX座標を動画処理回路13のXカウン
タへ転送するとともに、次の水平走査で表示する
1ライン分のドツトデータを動画パターンテーブ
ル5dの所定番地(これは、垂直カウンタ8のカ
ウント値NVと動画制御テーブルCkのY座標とか
ら求められる)から抽出して、動画処理回路13
内のパターンシフタへセツトする。こうして、各
動画処理回路13内のパターンシフタとXカウン
タには、次の水平走査時に表示される動画パター
ンの1ライン分のドツトデータと、その表示開始
位置Xとが順次セツトされていく。また同時に、
各動画パターンのカラーコードも動画制御テーブ
ルCkの第4バイト目から各動画処理回路13へ
転送される。そして、次の水平走査が開始され、
水平カウンタ7のカウント値NHが1アツプする
毎に各Xカウンタの値が1減じられ、この値が0
になつたときに水平カウンタ7のカウントアツプ
と同期してパターンシフタから1ビツトずつ順次
出力され、これがCRT画面上に表示されていく。
この場合、前記出力が“1”信号のときは、動画
処理回路13からカラーパレツト12へカラーコ
ードが供給され、これに対応するカラーがDAC
12を介してCRT画面に表示され、“0”信号の
ときには何も供給されないので画面は背景の色と
なる。 ところで、上述した従来の装置において、動画
パターンの一部が画面の左方に隠れるような場合
には、この動画パターンの表示位置(X,Y)の
Xが負となつてしまい、Xカウンタの値を1ずつ
減じていつても0にならず、正しい位置指定がで
きなくなつてしまう。そこで、このような場合に
は、第5図に示すように、画面を所定画素m(例
えばm=32)左方へシフトし、この仮想画面の左
端からXカウンタのカウントを開始することによ
り、位置(X,Y)を位置(X―m,Y)にシフ
トし、これによつて動画を左へm画素分シフトし
て表示していた。これを指定するのが上述した動
画制御テーブルCk内のECビツトである。すなわ
ち、ECビツトがオンのときには、Xカウンタの
ダウンカウント開始をmカウント分早め、上記の
処理を行つていた。この方法によれば、上述した
不都合を除きうるものの、Xカウンタのダウンカ
ウント開始をシフト数mだけ早めなければならな
いので、動画処理回路13のXカウンタおよびパ
ターンシフタへのデータセツトも、このカウント
開始までに済ませなければならない。従つて、上
記データセツトに使用できる水平非表示期間内の
時間が、この分だけ減ることになる。例えば、16
×16画素の動画を2倍に拡大して表示する場合を
考えると、シフト数m=32としなければならず、
この場合、水平非表示期間(これは水平カウンタ
7のカウント値NHで256〜340の85カウント間)
の約1/3以上が上記シフトのために取られてしま
う。この結果、動画処理回路13へセツトできる
データ数も減つてしまい、一水平走査線上に表示
できる動画の数も少なくなつてしまう。 〔発明の目的〕 この発明は、上述した事情に鑑みてなされたも
ので、その目的とするところは、一水平走査線上
に表示できる動画パターンの数を増したデイスプ
レイコントローラを提供することころにある。 〔発明の特徴〕 この発明は上述した目的を達成するために、表
示画素に対応した速度のドツトクロツクパルスを
カウントする水平カウンタと、表示すべき動画パ
ターンの水平方向の表示開始位置データを記憶す
る表示開始位置指定手段と、前記動画パターンの
一部が画面の左端に隠れる動画パターンであるか
否かを表す特定情報を記憶する記憶手段と、この
記憶手段に記憶された特定情報の内容に従つて水
平走査開始時に所定ビツト数を前記表示開始位置
指定手段が記憶する表示開始位置データに加算し
表示開始ビツトとしてラツチするラツチ手段と、
このラツチ手段の出力をデコードし前記表示開始
ビツトを指定するデコーダと、前記水平カウンタ
の値と前記表示開始位置指定手段の値とが一致し
たときに前記デコーダの出力が指定するビツトか
ら前記動画パターンのドツトデータを順次出力す
るシフトレジスタとを具備し、このシフトレジス
タから出力されるドツトデータに従つて表示を行
うことにより、一部が画面の左端に隠れる動画パ
ターンをも表示可能にしたことを特徴とする。 〔実施例〕 以下、図面に基づいて本発明の実施例を説明す
る。 第6図は、画像データ処理回路9(第1図参
照)の構成を示すブロツク図である。図におい
て、パルスCW(8ビツト)はCPU1からのデー
タ書込用のバス、バスCR(8ビツト)はCPU1
のデータ読込用のバス、バスAH(10ビツト)お
よびAL(8ビツト)はVRAM5のアドレス指定
用バスで、バスAHが上位10ビツト、バスALが
下位8ビツトを指定する。バスVWはVRAM5
へのデータ書込用のバス、バスVRLはVRAM5
からのデータ読出用のバス、バスClrはカラーコ
ードの乗せられるバスであり、第1図に示すカラ
ーパレツト11に接続されている。 次に、レジスタ群B1は、各テーブル類の先頭
アドレスを格納するレジスタB1a〜B1eから
なる。そして、これらのレジスタB1a〜B1e
には、静止画制御テーブル5b、静止画カラーテ
ーブル5c、静止画パターンテーブル5a、動画
制御テーブル5eおよび動画パターンテーブル5
dの各先頭アドレスが格納され、バスCWを介し
てCPU1から書き替えられるようになつている。
色情報レジスタB2はVRAM5内の静止画カラ
ーテーブルから読み出された2種類の静止画用カ
ラーコードを記憶し、パターンシフタB3から出
力される。“1”/“0”信号によつてそのいず
れか一方が選択出力され、カラーバスClrに乗せ
られる。前記パターンシフタB3は、バスVRL
を介してVRAM5から読み出された画像データ
を並直列変換するシフトレジスタであり、その出
力“1”/“0”を色情報レジスタB2へ供給し
て表示色を決定する。 次に、動画番号カウンタB4は、各動画制御テ
ーブルCkの番号(動画番号)kと、このテーブ
ルCk内のY座標格納アドレス(本実施例では0
バイト目;第3図ロ参照)とを記憶する7ビツト
のカウンタで、上位5ビツトが動画番号kを表わ
し、下位2ビツトがY,Xパターン名称、色情報
のいずれであるかを表わしており、動画テーブル
5eをサーチして次の水平走査線で表示すべき動
画を検出するときに、動画番号kが順次インクリ
メントされるようになつている。このとき、下位
2ビツトは常に“0”で動画テーブルのY座標の
みを示している。このサーチは、表示期間中に、
各動画制御テーブルCkのY座標を調査し、これ
と垂直カウンタ8のカウント値NVとを比較して
行い、表示すべき動画が検出されたときには、そ
のときの動画番号カウンタB4の内容を動画番号
FIF0,B5に登録する。この場合、動画番号k(0
〜31)の若い順に登録していき、8つまで登録す
るとそれ以降は受けつけない。こうして、水平表
示期間中に、次の水平走査線で表示すべき動画番
号kが動画番号FIF0,B5に8つまで登録された
後、水平非表示期間中にこれらが順次読み出さ
れ、動画制御テーブルCkから動画のY座標、X
座標、動画パターンPiの名称、カラーコード、
ECビツトなどを読み出す際のアドレスとなる。
そして、各動画制御テーブルCkから読み出され
たデータが、バスVRLを介して後述する動画処
理回路20(これは8組設けられている)へ転送
され、セツトされる。なお、動画FIF0,B5に入
れなかつた9番目の動画番号は、レジスタB6へ
登録される。 次に、ALU(演算ユニツト)B7は、上述した
垂直カウンタ8のカウント値NVとY座標との比
較、動画の画像データのアドレス計算等を行い、
その演算結果がステータスB8を介してデコーダ
B9へ供給される。デコーダB9は、モードレジ
スタB10の規制のもとに、マイクロプログラム
ROM(以下、μプログラムROMという)B11
から供給される命令を解読し、各バスに乗せるデ
ータのシーケンス制御を行うものである。このμ
プログラムROMB11には、水平カウンタ7、
垂直カウンタ8が接続され、命令の読み出しアド
レスを指定している。 次に、第7図は、動画処理回路20の構成を示
すブロツク図である。この動画処理回路20は、
第1図に示す従来の動画処理回路13に代つて設
けられたもので、本実施例においては8組備えら
れ、その各々がバスVRLを介して画像データ処
理回路9に接続されるとともに、バスClrを介し
てカラーパレツト11に接続されている。ここ
で、前記バスVRLは、8本のラインVRL0〜
VRL7からなり、これらのラインVRLj(j=0,
1…7)は、インバータINVを介して8ビツト
(256進)のXカウンタ21の各ビツト21jのデー
タ入力端Diに接続されるとともに、ラツチ回路
22のラツチ素子22j(ただし、ラインVRL4
対応は未使用)のデータ入力端Diとシフトレジ
スタ23,24の各記憶素子23j,24jの各
データ入力端Diとに接続されている。 そして、各水平走査線の表示が開始される前、
すなわち水平非表示期間中に、Xカウンタ21の
各ビツト21jのロード端LDにロード信号XLが印
加されるとともに、ラツチ回路22の各ラツチ素
子22jのクロツク端CKに信号CLが、シフトレ
ジスタ23,24の各記憶素子23j,24jの
ロード端LDに信号LL,RLが順次印加されると、
前記ラインVRL0〜VRL7を介して各データの
セツトが行われる。 まず、Xカウンタ21には、動画制御テーブル
Ckから値X(これは前述したように、動画パター
ンの表示開始位置を示すものである)がインバー
タINVで反転されて供給され、初期値NX0とし
てセツトされる。この場合、Xカウンタ21は
256進のカウンタであるから、前記初期値NX0
は、 NX0=255−X ……(1) となる。 次に、ラツチ回路22には、動画制御テーブル
Ckの第4バイト目から、カラーコードおよびEC
ビツトが供給され、カラーコードがラツチ素子2
20〜223に、ECビツトがラツチ素子227
に各々セツトされる。 また、シフトレジスタ23,24には、第3図
イに示す動画パターンテーブル5dから表示すべ
きドツトデータが供給され、セツトされる。な
お、シフトレジスタ24にはドツトデータがセツ
トされるのは、動画パターンのサイズが16×16画
素の場合だけであり、このときのみロード信号
RLが印加されるようになつている。 こうして、水平表示開始前に、Xカウンタ21
に初期値NX0が、ラツチ回路22にカラーコー
ドとECビツトが、シフトレジスタ23,24に
表示すべき動画パターンのドツトデータがセツト
される。 そして、水平表示が開始されると、8組の動画
処理回路20において並行処理が行われ、上でセ
ツトされたデータによる動画表示が行われる。 まず、ECビツトがオフの動画処理回路20に
おいては、Xカウンタ21が一斉にアツプカウン
トを開始し、(このアツプカウントは水平カウン
タ7と同期して行われる)、画素の表示位置が第
4図に示す位置(X,Y)に来たときにシフトレ
ジスタ23,24のシフトを開始し、これらにセ
ツトされたドツトデータの表示を行う。 すなわち、各動画処理回路20のXカウンタ2
1の各ビツト21jの入力端Ciは前段ビツトのキ
ヤリイ出力端Cpに接続され、最下位ビツト210の
入力端Ciはカウントスタート信号CSによつてセ
ツトされるSRフリツプフロツプ(以下、SRFF
という)25のQ出力端に、最上位ビツト217の
キヤリイ出力端Cpはアンドゲート26を介して
SRFF27のセツト端Sに各々接続され、水平表
示開始時にカウントスタート信号CSがSRFF2
5をセツトすると、Xカウンタ21は(1)式に示す
初期値NX0(=255−X)から始めて逐次アツプ
カウントを行う。このアツプカウントは、すでに
述べたように水平カウンタ7のアツプカウントと
同期して行われ、画素の表示位置がXになつたと
きに、カウント値NXが255となる。このとき、
すべてのビツト210〜217の出力が“1”となつて
アンドゲート28の出力が“1”となり、これが
シフトコントローラ29へ供給されてシフトレジ
スタ23,24のシフトが開始される。 一方、ECビツトがオンの動画処理回路20に
おいては、まずXカウンタ21の初期値NX0
値32が加算されて初期値の更新が行われ、更新後
の初期値NX0からアツプカウントが行われる。
この結果、動画パターンPiは、位置(X,Y)よ
り32画素分左方へ移動し、位置(X−32,Y)か
ら表示される。 さらに詳述すると、Xカウンタ21のビツト
214のキヤリイ出力端Cpとビツト215の入力端Ciと
の間には、オアゲート30aが介挿され、このオ
アゲート30aのもう一方の入力端にはアンドゲ
ート30bの出力が供給されている。アンドゲー
ト30bは水平表示開始時に供給されるスタート
信号HpとECビツトとの論理積をとるものであ
り、ECビツトがオンのときには、スタート信号
Hp供給時にビツト215の入力端Ciに“1”信号が
供給され、Xカウンタ21に値32が加算される。
この場合、Xカウンタ21の初期値NX0は255−
Xであつたから、32加算後の初期値NX0は、 NX0=255−X+32 ……(2) となる。従つて、X≧32のときには、初期値
NX0は255以下となり、以下、ECビツトがオフの
ときと同様の処理が行われる。 また、X≦31のときには、初期値NX0は256以
上となる。ここでXカウンタ21においては、
「256」=「0」であることを考慮すれば、NX0は、 NX0=256−X+31=31−X ……(3) となるから、値Xが31以下のときには、NX0
0となることが分かる。これは、動画パターンの
一部が画面の左方に隠れる場合に相当し、この加
算時にビツト217のキヤリイ出力端Cpから“1”
信号が出力され、アンドゲート30bの“1”出
力によつて開状態にあるアンドゲート26を介し
てSRFF27がセツトされる。SRFF27がセツ
トされると、このQ出力端からシフトコントロー
ラ29へ“1”信号が供給され、後述するように
シフトレジスタ23,24の途中ビツトからドツ
トデータの送出が行われる。なお、上記構成要素
30a,30bおよび215が加算手段30を構
成している。 次に、Xカウンタ21の下位4ビツト210〜213
の出力は、4ビツトのセレクタ31の各ビツト
310〜313の第1入力端D1…に供給され、最下位
ビツト210を除く下位4ビツトの出力は、前記ビ
ツト310〜313の第2入力端D2…に供給されてい
る。このセレクタ31は、各ビツト310〜313のセ
レクタ端Sに供給されている信号MAGによつて
前記入力データの切替えを行うもので、信号
MAGは、動画パターンの拡大(2倍拡大)を行
うときに“1”、行わないとき(通常表示のとき)
に“0”となる。そして、信号MAGが“0”の
ときにはXカウンタ21の下位4ビツト210〜213
の出力が“1”のときには最下位ビツト210を除
く下位4ビツト211〜214の出力が4ビツトのラツ
チ回路32の各ラツチ素子320〜323の入力
端Dへ供給される。 ラツチ回路32は、そのクロツク端CKに供給
される信号CSaによつて、セレクタ31から供給
されたデータをラツチするものである。信号CSa
は、SRFF27のQ出力が“1”のとき(すなわ
ちECビツトオンかつX≦31のとき)に、カウン
トスタート信号CSに基づいてシフトコントロー
ラ29から出力される。そして、Xカウンタ21
のカウント値NXが(3)式で与えられる初期値NX0
(=31−X)より1増加したとき、すなわち、 NX=32−X ……(4) となつたときに、セレクタ31の出力データがラ
ツチ回路32にラツチされる。 ここで、セレクタ31の出力は、信号MAGが
“0”のときは、前記カウント値NX(=32−X)
の下位4ビツトであり、信号MAGが“1”のと
きには、このカウント値NXの最下位ビツトを除
く下位4ビツトであるから、ラツチ回路32にセ
ツトされる値nは、値Xに対応して第1表のよう
になる。そして、一たんラツチ回路32にセツト
された値nは、次のカウントスタート信号CSに
基づいてシフトコントローラ29から出力される
リセツト信号CSbが各ラツチ素子320〜323
のリセツト端Rに印加されるまで保持される。 こうして、ラツチ回路32に2進符号の形でラ
ツチされた値nは、デコーダ33によつて16進符
号に変換され、n=0,1,2……15の各値に対
応して出力される信号F0,F1,F2…F15がデコ
ーダ33からアンドゲートA0,A1,A2…A
15の各第1入力端へ供給される。一方、アンド
ゲートA0,A1,A7,A8…A15の各第2
入力端には、シフトレジスタ23,24の記憶素
子237,236…230,247…240の各
出力が供給されている。また、アンドゲート
[Industrial Field of Application] The present invention relates to a display controller used in a computer terminal or a video game device, and particularly relates to a display controller that increases the number of moving image patterns that can be displayed on one horizontal scanning line. [Prior Art] In recent years, display devices such as video game machines have become capable of displaying moving images and still images together. For example, when displaying a video of a bird flying, the bird pattern (this pattern itself is constant) is composed of a dot pattern of about 8 x 8 pixels, and this is stored in memory in advance as a display unit. , a moving image is obtained by sequentially shifting the display position. Further, the background can be displayed as a still image. By the way, in conventional display controllers, the number of moving image patterns that can be displayed on one horizontal scanning line is small (for example, four patterns), which is a constraint on the screen configuration. The reason for this will be explained below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a conventional display controller. In this diagram,
1 is the CPU, display controller 2
A desired screen display is performed on the CRT display device 3 via the CRT display device 3. In addition, 4 is a memory that provides various programs and work areas, etc. to the CPU 1;
is VRAM (video RAM). This VRAM5
As shown in FIG. 2, there is a still image pattern table 5a that stores still image patterns in the form of a dot pattern, a still image control table 5b that stores the display position of the still image pattern, and a still image control table 5b that stores the display position of each still image pattern. It has a still image color table 5c that stores codes (4 bits), a video pattern table 5d that stores video patterns, and a video control table 5e that stores display positions of video patterns. Here, the video pattern table 5d is
As shown in Figure 3 A, it is composed of 8 by units.
Consisting of 256 moving image patterns P0, P1, P2...P255, the moving image control table 5e is composed of 32 tables C each consisting of 4 bytes, as shown in FIG.
It consists of 0, C1, C2...C31. Each video control table Ck (k=0, 1...31) contains the selected video pattern Pi (i=0, 1, 2).
...255) name (third byte), the X coordinate (second byte) and Y coordinate (first byte) of the display position of this video pattern Pi, and the color code that specifies the color of the video pattern Pi, which will be described later. The EC bit (4th byte) is stored. As shown in Fig. 4, the above display position (X, Y) has the upper left corner of the screen as the origin (0, 0), and with this origin as a reference, the number of pixels in the horizontal right direction is X, and the number of pixels in the vertical downward direction is This is the position where the number of pixels is Y, and it points to the upper left corner of the displayed video pattern Pi. Next, the display controller 2 will be explained. First, the timing signal generating circuit 6 generates a basic clock, forms horizontal and vertical synchronizing signals based on this, and supplies them to the CRT display device 3, and also supplies head clock pulses to the horizontal counter 7. This horizontal counter 7 determines the display position of the display pixel in the horizontal direction, and each time the count value NH increases by 1, the display position of the pixel moves to the right by one dot. And count value NH=
When NH=0, pixels are displayed at the left end of the screen, when NH=255, pixels are displayed at the right end of the screen, and between NH=256 and 340 there is a horizontal non-display period. Also, count value NH=
A pulse is supplied to the vertical counter 8 every time it reaches 340. This vertical counter 8 determines the vertical position of the display pixel, that is, the number of the horizontal scanning line, and each time the count value NV increases by 1, the horizontal scanning line moves down by one line. Then, when the count value NV=0, NV=
When 191, pixels are displayed at the bottom of the screen,
The period between VH=192 and 261 is a vertical non-display period. Next, the image data processing circuit 9 is connected to the CPU 1 via the interface circuit 10, while
It is connected to the VRAM 5, writes data supplied from the CPU 1 to each table in the VRAM 5, reads the written data according to commands from the CPU 1, and performs various display controls. That is, in the case of still image display, the still image pattern name, display position, and color code written in the still image control table 5b during the vertical non-display period are read out immediately before display (8 pixels before), and the display is performed based on these. The bit data to be displayed is extracted from the still image pattern table 5a, set in a shift register in the image data processing circuit 9, and when the display position is reached, this shift register is shifted one bit at a time, and the output "1" is set. /Supplies the color code corresponding to "0" to the color palette 11. color palette 1
1, this color code is R (red), G (green), B
(blue) and displayed on a CRT display device 3 via a DAC (digital/analog converter) 12. On the other hand, moving image display is performed by cooperative processing between the image data processing circuit 9 and the moving image processing circuit 13.
That is, in response to a command from the CPU 1, the image data processing circuit 9 determines the name, display position, and
The color code and EC bit are set in the video control table Ck in sequence, and in each horizontal scanning period, the Y coordinate of this video control table Ck is sequentially checked to determine whether there is a video pattern to be displayed in the next horizontal scanning period. Examine and register the video control table Ck with the video pattern to be displayed in a predetermined register,
During each horizontal non-display period, the X coordinate of the registered video control table Ck is transferred to the X counter of the video processing circuit 13, and one line of dot data to be displayed in the next horizontal scan is transferred to the video pattern table 5d. Extracted from a predetermined location (which is obtained from the count value NV of the vertical counter 8 and the Y coordinate of the video control table Ck), the video processing circuit 13
Set to the pattern shifter inside. In this way, the pattern shifter and the X counter in each moving image processing circuit 13 are sequentially set with one line of dot data of the moving image pattern to be displayed during the next horizontal scan and its display start position X. At the same time,
The color code of each moving image pattern is also transferred to each moving image processing circuit 13 from the fourth byte of the moving image control table Ck. Then the next horizontal scan starts,
Each time the count value NH of the horizontal counter 7 increases by 1, the value of each X counter is decreased by 1, and this value becomes 0.
When it reaches , the pattern shifter sequentially outputs one bit at a time in synchronization with the count-up of the horizontal counter 7, and this is displayed on the CRT screen.
In this case, when the output is a "1" signal, a color code is supplied from the video processing circuit 13 to the color palette 12, and the corresponding color is sent to the DAC.
The signal is displayed on the CRT screen via 12, and since nothing is supplied when the signal is "0", the screen becomes the background color. By the way, in the above-mentioned conventional device, if a part of the video pattern is hidden on the left side of the screen, the X of the display position (X, Y) of this video pattern becomes negative, and the X counter value becomes negative. Even if you decrease the value by 1, it will not become 0, and you will not be able to specify the correct position. Therefore, in such a case, as shown in FIG. 5, by shifting the screen to the left by a predetermined pixel m (for example, m=32) and starting counting with the X counter from the left end of this virtual screen, The position (X, Y) is shifted to the position (X-m, Y), and thereby the moving image is shifted to the left by m pixels and displayed. This is specified by the EC bit in the video control table Ck mentioned above. That is, when the EC bit is on, the start of down-counting of the X counter is advanced by m counts, and the above processing is performed. According to this method, although the above-mentioned inconvenience can be eliminated, since the start of down-counting of the X counter must be advanced by the shift number m, the data set to the X counter and pattern shifter of the video processing circuit 13 is It must be completed by. Therefore, the time within the horizontal non-display period that can be used for the data set is reduced by this amount. For example, 16
Considering the case where a ×16 pixel video is enlarged twice and displayed, the number of shifts must be m = 32,
In this case, the horizontal non-display period (this is the count value NH of horizontal counter 7 between 256 and 340, 85 counts)
Approximately 1/3 or more of this will be taken away for the above shift. As a result, the number of data that can be set in the moving image processing circuit 13 is reduced, and the number of moving images that can be displayed on one horizontal scanning line is also reduced. [Object of the Invention] This invention was made in view of the above-mentioned circumstances, and its object is to provide a display controller that can increase the number of moving image patterns that can be displayed on one horizontal scanning line. . [Features of the Invention] In order to achieve the above-mentioned object, the present invention includes a horizontal counter that counts dot clock pulses at a speed corresponding to the display pixels, and a horizontal display start position data of a moving image pattern to be displayed. a display start position specifying means for specifying a display start position; a storage means for storing specific information indicating whether or not a part of the video pattern is hidden at the left end of the screen; Therefore, a latch means for adding a predetermined number of bits to the display start position data stored by the display start position specifying means at the start of horizontal scanning and latching it as a display start bit;
A decoder decodes the output of the latch means and specifies the display start bit, and when the value of the horizontal counter and the value of the display start position designation means match, the output of the decoder specifies the video pattern from the bit designated by the output of the decoder. It is equipped with a shift register that sequentially outputs the dot data of Features. [Example] Hereinafter, an example of the present invention will be described based on the drawings. FIG. 6 is a block diagram showing the configuration of the image data processing circuit 9 (see FIG. 1). In the figure, pulse CW (8 bits) is the bus for writing data from CPU1, and bus CR (8 bits) is the bus for writing data from CPU1.
Buses AH (10 bits) and AL (8 bits) for reading data are buses for addressing the VRAM 5, with bus AH specifying the upper 10 bits and bus AL specifying the lower 8 bits. Bus VW is VRAM5
Bus for writing data to, bus VRL is VRAM5
The bus Clr, which is a bus for reading data from the printer, is a bus on which a color code is carried, and is connected to the color palette 11 shown in FIG. Next, the register group B1 consists of registers B1a to B1e that store the start addresses of each table type. And these registers B1a to B1e
includes a still image control table 5b, a still image color table 5c, a still image pattern table 5a, a moving image control table 5e, and a moving image pattern table 5.
Each start address of d is stored and can be rewritten from the CPU 1 via the bus CW.
The color information register B2 stores two types of still image color codes read from the still image color table in the VRAM 5, and is output from the pattern shifter B3. One of them is selectively outputted by a "1"/"0" signal and placed on the color bus Clr. The pattern shifter B3 is connected to the bus VRL.
This is a shift register that converts the image data read from the VRAM 5 from VRAM 5 to parallel to serial, and supplies its output "1"/"0" to the color information register B2 to determine the display color. Next, the video number counter B4 calculates the number (video number) k of each video control table Ck and the Y coordinate storage address (0 in this embodiment) in this table Ck.
This is a 7-bit counter that stores the byte number (see Figure 3 B), the upper 5 bits represent the video number k, and the lower 2 bits represent whether it is the Y or X pattern name or color information. , when searching the moving image table 5e to detect a moving image to be displayed on the next horizontal scanning line, the moving image number k is sequentially incremented. At this time, the lower two bits are always "0" and indicate only the Y coordinate of the moving image table. During the display period, this search
The Y coordinate of each video control table Ck is investigated and this is compared with the count value NV of the vertical counter 8. When a video to be displayed is detected, the content of the video number counter B4 at that time is set to the video number.
Register in FIF0, B5. In this case, video number k(0
- 31) in descending order, and once eight are registered, no further entries will be accepted. In this way, during the horizontal display period, up to eight video numbers k to be displayed on the next horizontal scanning line are registered in video numbers FIF0 and B5, and then these are sequentially read out during the horizontal non-display period to control the video. Y coordinate of video from table Ck, X
Coordinates, video pattern Pi name, color code,
This is the address when reading the EC bit, etc.
The data read from each video control table Ck is transferred to and set in a video processing circuit 20 (8 sets are provided), which will be described later, via the bus VRL. Note that the 9th video number that was not entered into video FIF0, B5 is registered in register B6. Next, the ALU (arithmetic unit) B7 compares the count value NV of the vertical counter 8 with the Y coordinate, calculates the address of the video image data, etc.
The calculation result is supplied to decoder B9 via status B8. The decoder B9 operates under the control of the mode register B10.
ROM (hereinafter referred to as μ program ROM) B11
It decodes the commands supplied from the bus and controls the sequence of data transferred to each bus. This μ
The program ROMB11 includes a horizontal counter 7,
A vertical counter 8 is connected to specify the read address of the instruction. Next, FIG. 7 is a block diagram showing the configuration of the moving image processing circuit 20. This video processing circuit 20 is
This circuit is provided in place of the conventional video processing circuit 13 shown in FIG. It is connected to the color palette 11 via Clr. Here, the bus VRL has eight lines VRL0 to
These lines VRLj (j=0,
1...7) are connected to the data input terminal Di of each bit 21j of the 8-bit (256 base)
The data input terminals Di of the storage elements 23j and 24j of the shift registers 23 and 24 are connected to each other. Then, before each horizontal scan line begins to be displayed,
That is, during the horizontal non-display period, the load signal XL is applied to the load terminal LD of each bit 21j of the X counter 21, and the signal CL is applied to the clock terminal CK of each latch element 22j of the latch circuit 22. When signals LL and RL are sequentially applied to the load terminals LD of the 24 storage elements 23j and 24j,
Each data is set via the lines VRL0 to VRL7. First, the X counter 21 has a video control table.
The value X (which, as mentioned above, indicates the display start position of the moving image pattern) is inverted and supplied from Ck by the inverter INV, and is set as the initial value NX0 . In this case, the X counter 21 is
Since it is a 256 hexadecimal counter, the initial value NX 0
is NX 0 =255−X...(1). Next, the latch circuit 22 includes a video control table.
From the 4th byte of Ck, color code and EC
The bit is supplied and the color code is set to latch element 2.
20 to 223, the EC bit is the latch element 227
are set respectively. Further, the shift registers 23 and 24 are supplied with dot data to be displayed from the moving image pattern table 5d shown in FIG. 3A, and set therein. Note that dot data is set in the shift register 24 only when the size of the video pattern is 16 x 16 pixels, and only in this case the load signal is set.
RL is now applied. In this way, before the horizontal display starts, the X counter 21
The initial value NX0 is set in the latch circuit 22, the color code and EC bit are set in the shift registers 23 and 24, and the dot data of the moving image pattern to be displayed is set in the shift registers 23 and 24. Then, when horizontal display is started, parallel processing is performed in eight sets of moving image processing circuits 20, and moving image display is performed using the data set above. First, in the video processing circuit 20 with the EC bit turned off, the X counters 21 start counting up all at once (this up counting is done in synchronization with the horizontal counter 7), and the display positions of the pixels change as shown in FIG. When the position (X, Y) shown in is reached, shifting of the shift registers 23 and 24 is started, and the dot data set therein is displayed. That is, the X counter 2 of each video processing circuit 20
The input terminal Ci of each bit 21j of 1 is connected to the carry output terminal Cp of the previous stage bit, and the input terminal Ci of the least significant bit 210 is connected to an SR flip-flop (hereinafter referred to as SRFF) set by the count start signal CS.
) 25, the carry output terminal C p of the most significant bit 217 is connected to the Q output terminal of
Each is connected to the set end S of SRFF27, and the count start signal CS is applied to SRFF2 at the start of horizontal display.
5, the X counter 21 sequentially counts up starting from the initial value NX 0 (=255-X) shown in equation (1). As described above, this up-count is performed in synchronization with the up-count of the horizontal counter 7, and when the pixel display position reaches X, the count value NX becomes 255. At this time,
The outputs of all the bits 210 to 217 become "1" and the output of the AND gate 28 becomes "1", which is supplied to the shift controller 29 and shifting of the shift registers 23 and 24 is started. On the other hand, in the video processing circuit 20 with the EC bit on, the value 32 is first added to the initial value NX 0 of the X counter 21 to update the initial value, and an up count is performed from the updated initial value NX 0 . be exposed.
As a result, the moving image pattern Pi moves 32 pixels to the left from the position (X, Y) and is displayed from the position (X-32, Y). More specifically, the bits of the X counter 21
An OR gate 30a is inserted between the carry output terminal Cp of the bit 214 and the input terminal Ci of the bit 215, and the output of the AND gate 30b is supplied to the other input terminal of the OR gate 30a. The AND gate 30b takes the AND of the start signal H p supplied at the start of horizontal display and the EC bit, and when the EC bit is on, the start signal
When H p is supplied, a "1" signal is supplied to the input terminal Ci of the bit 215, and the value 32 is added to the X counter 21.
In this case, the initial value NX 0 of the X counter 21 is 255-
Since it was X, the initial value NX 0 after 32 addition is NX 0 =255−X+32 (2). Therefore, when X≧32, the initial value
NX 0 becomes 255 or less, and the same processing as when the EC bit is off is performed. Further, when X≦31, the initial value NX 0 becomes 256 or more. Here, in the X counter 21,
Considering that "256" = "0", NX 0 becomes NX 0 = 256 - X + 31 = 31 - X ... (3) Therefore, when the value
It can be seen that the value is 0. This corresponds to a case where a part of the video pattern is hidden on the left side of the screen.
A signal is output, and the SRFF 27 is set via the AND gate 26 which is in an open state due to the "1" output of the AND gate 30b. When the SRFF 27 is set, a "1" signal is supplied from the Q output terminal to the shift controller 29, and dot data is sent from intermediate bits of the shift registers 23 and 24, as will be described later. Note that the above-mentioned components 30a, 30b, and 215 constitute the adding means 30. Next, the lower 4 bits 210 to 213 of the X counter 21
The output of each bit of the 4-bit selector 31 is
The outputs of the lower four bits excluding the least significant bit 210 are supplied to the second input terminals D2 of the bits 310 to 313. This selector 31 switches the input data according to the signal MAG supplied to the selector terminal S of each bit 310 to 313.
MAG is "1" when the video pattern is enlarged (2x enlargement), and when it is not enlarged (normal display)
becomes “0”. When the signal MAG is "0", the lower 4 bits 210 to 213 of the X counter 21
When the output is "1", the outputs of the lower 4 bits 211-214 excluding the least significant bit 210 are supplied to the input terminal D of each latch element 320-323 of the 4-bit latch circuit 32. The latch circuit 32 latches the data supplied from the selector 31 in response to the signal CSa supplied to its clock terminal CK. Signal CSa
is output from the shift controller 29 based on the count start signal CS when the Q output of the SRFF 27 is "1" (that is, when the EC bit is on and X≦31). And X counter 21
The count value NX is the initial value NX 0 given by equation (3)
(=31 - Here, when the signal MAG is "0", the output of the selector 31 is the count value NX (=32-X)
When the signal MAG is "1", it is the lower 4 bits excluding the least significant bit of this count value NX, so the value n set in the latch circuit 32 corresponds to the value It will look like Table 1. The value n once set in the latch circuit 32 is determined by the reset signal CSb outputted from the shift controller 29 based on the next count start signal CS to each latch element 320 to 323.
It is held until it is applied to the reset end R of . In this way, the value n latched in the latch circuit 32 in the form of a binary code is converted into a hexadecimal code by the decoder 33, and output corresponding to each value of n=0, 1, 2...15. The signals F0, F1, F2...F15 are sent from the decoder 33 to AND gates A0, A1, A2...A
15 first input terminals. On the other hand, each second gate of AND gates A0, A1, A7, A8...A15
Each output of the storage elements 237, 236...230, 247...240 of the shift registers 23, 24 is supplied to the input terminal. Also, and gate

【表】【table】

【表】 A0〜A7の各出力がオアゲート34aの各入力
端へ、アンドゲートA8〜A15の各出力がオア
ゲート34bの各入力端へ供給され、オアゲート
34a,34bの各出力はオアゲート34cを介
して記憶素子35の入力端Diへ供給されている。
この結果、上記の値nに対応して開放されたアン
ドゲートAnがドツトデータの取り出しゲートと
なり、シフトレジスタ23,24に記憶されたド
ツトデータは、アンドゲートAn→オアゲート3
4a,34b→オアゲート34c→記憶素子35
を経て、この記憶素子35からシリアル信号PT
として出力される。そしてこの信号PTの
“1”/“0”に応じて、ラツチ素子220〜2
23にラツチされているカラーコードがオン/オ
フされ、これが、カラーバスClrを介して第1図
に示すカラーパレツト11に供給され、DAC1
2を介してCRT表示装置3へ表示される。 上記シフトレジスタ23,24は、8ビツトま
たは16ビツトのドツトデータを記憶するもので、
ドツトデータが8ビツトの場合(動画パターンが
8×8画素のとき)は、シフトレジスタ23単独
で、16ビツトの場合(動画パターンが16×16画素
のとき)はシフトレジスタ23とこれに接続され
たシフトレジスタ24とを合わせて使用する。そ
して、すでに述べたように、水平非表示期間中に
シフトコントローラ29からシフトレジスタ23
の各記憶素子230〜237のロード端LDに供
給されるロード信号LLによつて、次の水平表示
期間に表示すべきドツトデータが前記記憶素子2
30〜237にセツトされ(以後、この時点で記
憶素子230〜237にセツトされたドツトデー
タをD0〜D7と呼ぶ)、同様にして、シフトレ
ジスタ24の各記憶素子240〜247には、各
ロード端LDに供給されるロード信号RLによつ
て、上記ドツトデータに引き続いて表示される8
ビツトのドツトデータがセツトされる(以後、こ
の時点で記憶素子240〜247にセツトされた
ドツトデータをE0〜E7と呼ぶ)。そして、水
平表示期間に入ると、これらのドツトデータD0
〜D7,E0〜E7がシフトコントローラ29か
ら供給されるシフト信号Sおよびホールド信号H
によつてコントロールされながら、取り出しゲー
トAnから順次出力される。 まず、SRFF27のQ出力が“0”のとき、す
なわち、動画パターン全体が画面に表示される場
合には、ラツチ回路32にラツチされた値nが0
となりデコーダ33から信号F0が出力される。
従つて、アンドゲートA0が開状態となり、これ
がドツトデータの取り出しゲートとなる。そし
て、Xカウンタ21がXカウントし、そのカウン
ト値NXが255になると、アンドゲート28か
らシフトコントローラ29へ“1”信号が供給さ
れる。これによつて、信号MAGが“0”のとき
には、水平カウンタ7のカウントと同期してシフ
ト信号Sがシフトコントローラ29から出力さ
れ、信号MAGが“1”のときには、Xカウンタ
21のカウント値NXの偶/奇に対応してシフト
信号S/ホールド信号Hが交互にシフトコントロ
ーラ29から出力される。この結果、信号MAG
が“0”のときには、アンドゲートA0からドツ
トデータD7,D6…D0,E7,E6…E0が
順次出力され、これが1水平走査線上の位置Xか
ら順に表示され、信号MAGが“1”のときに
は、アンドゲートA0からドツトデータD7,D
7,D6,D6,…D0,D0,E7,E7,E
6,E6…E0,E0が順次出力されて表示され
る。 次に、SRFF27のQ出力が“1”のとき、す
なわち動画パターンの一部が画面の左方に隠れる
場合には、ラツチ回路32に値n(n=0)がラ
ツチされ、デコーダ33から信号Fnが出力され
る。従つて、アンドゲートAnが開放状態となり、
これがドツトデータの取り出しゲートとなる。そ
して、Xカウンタ21のカウント値NXが1増加
する毎に、信号MAGが“0”のときにはシフト
信号Sがシフトコントローラ29から出力され、
信号MAGが“1”のときにはカウント値NXの
偶/奇に対応してシフト信号S/ホールド信号H
が交互にシフトコントローラ29から出力され
る。この結果、信号MAGが“0”のときには、
アンドゲートAnから第2表に示すドツトデータ
が順次出力され、これらが画面の左端から順に表
示さ
[Table] Each output of A0 to A7 is supplied to each input terminal of OR gate 34a, each output of AND gates A8 to A15 is supplied to each input terminal of OR gate 34b, and each output of OR gates 34a and 34b is supplied to each input terminal of OR gate 34c. It is supplied to the input end Di of the storage element 35.
As a result, the AND gate An opened corresponding to the above value n becomes the gate for taking out the dot data, and the dot data stored in the shift registers 23 and 24 is transferred from the AND gate An to the OR gate 3.
4a, 34b→OR gate 34c→memory element 35
The serial signal PT is output from this memory element 35 through
is output as Then, in response to "1"/"0" of this signal PT, the latch elements 220 to 2
The color code latched in DAC 23 is turned on/off, and this is supplied to the color palette 11 shown in FIG.
2 to be displayed on the CRT display device 3. The shift registers 23 and 24 are for storing 8-bit or 16-bit dot data.
When the dot data is 8 bits (when the video pattern is 8 x 8 pixels), the shift register 23 is used alone, and when the dot data is 16 bits (when the video pattern is 16 x 16 pixels), it is connected to the shift register 23. It is used together with the shift register 24. As already mentioned, during the horizontal non-display period, the shift controller 29 sends the shift register 23 to the shift controller 29.
By the load signal LL supplied to the load terminal LD of each of the memory elements 230 to 237, the dot data to be displayed in the next horizontal display period is transferred to the memory element 2.
30 to 237 (hereinafter, the dot data set in the memory elements 230 to 237 at this point will be referred to as D0 to D7), and similarly, each memory element 240 to 247 of the shift register 24 is set to each load. By the load signal RL supplied to the terminal LD, the 8 data displayed following the above dot data is displayed.
Bit dot data is set (hereinafter, the dot data set in the memory elements 240-247 at this point will be referred to as E0-E7). Then, when entering the horizontal display period, these dot data D0
~D7, E0~E7 are the shift signal S and hold signal H supplied from the shift controller 29
are sequentially output from the take-out gate An while being controlled by the First, when the Q output of the SRFF 27 is "0", that is, when the entire video pattern is displayed on the screen, the value n latched by the latch circuit 32 is 0.
Then, the decoder 33 outputs a signal F0.
Therefore, the AND gate A0 becomes open and serves as a gate for extracting dot data. Then, the X counter 21 counts X, and when the count value NX reaches 255, a "1" signal is supplied from the AND gate 28 to the shift controller 29. As a result, when the signal MAG is "0", the shift signal S is output from the shift controller 29 in synchronization with the count of the horizontal counter 7, and when the signal MAG is "1", the count value NX of the X counter 21 is output. A shift signal S/hold signal H is alternately outputted from the shift controller 29 depending on whether the signal is even or odd. As a result, the signal MAG
When signal MAG is "0", dot data D7, D6...D0, E7, E6...E0 are sequentially output from AND gate A0 and displayed in order from position X on one horizontal scanning line, and when signal MAG is "1", , dot data D7, D from AND gate A0
7, D6, D6, ...D0, D0, E7, E7, E
6, E6...E0, E0 are sequentially output and displayed. Next, when the Q output of the SRFF 27 is "1", that is, when a part of the moving image pattern is hidden on the left side of the screen, the value n (n=0) is latched in the latch circuit 32, and a signal is sent from the decoder 33. Fn is output. Therefore, the AND gate An is in an open state,
This becomes the gate for extracting dot data. Then, each time the count value NX of the X counter 21 increases by 1, a shift signal S is output from the shift controller 29 when the signal MAG is "0".
When the signal MAG is “1”, the shift signal S/hold signal H corresponds to the even/odd of the count value NX.
are alternately output from the shift controller 29. As a result, when the signal MAG is “0”,
The dot data shown in Table 2 is sequentially output from the AND gate An, and these are displayed sequentially from the left edge of the screen.

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

以上説明したように、この発明は、表示画素に
対応した速度のドツトクロツクパルスをカウント
する水平のカウンタと、表示すべき動画パターン
の水平方向の表示開始位置データを記憶する表示
開始位置指定手段と、前記動画パターンの一部が
画面の左端に隠れる動画パターンであるか否かを
表す特定情報を記憶する記憶手段と、この記憶手
段に記憶された特定情報の内容に従つて水平走査
開始時に所定ビツト数を前記表示開始位置指定手
段が記憶する表示開始位置データに加算し表示開
始ビツトとしてラツチするラツチ手段と、このラ
ツチ手段の出力をデコードし前記表示開始ビツト
を指定するデコーダと、前記水平カウンタの値と
前記表示開始位置指定手段の値とが一致したとき
に前記デコーダの出力が指定するビツトから前記
動画パターンのドツトデータを順次出力するシフ
トレジスタとを具備し、このシフトレジスタから
出力されるドツトデータに従つて表示を行うこと
により、一部が画面の左端に隠れる動画パターン
をも表示可能にしたので、水平非表示期間内に設
定できる動画パターンの数が増し、これによつて
一水平走査線に表示できる動画数を増すことが可
能となる利点が得られる。
As described above, the present invention includes a horizontal counter that counts dot clock pulses at a speed corresponding to display pixels, and a display start position specifying means that stores horizontal display start position data of a moving image pattern to be displayed. a storage means for storing specific information indicating whether or not a part of the video pattern is hidden at the left edge of the screen; a latch means for adding a predetermined number of bits to the display start position data stored by the display start position specifying means and latching it as a display start bit; a decoder for decoding the output of the latch means to specify the display start bit; A shift register is provided for sequentially outputting the dot data of the moving image pattern from the bit specified by the output of the decoder when the value of the counter matches the value of the display start position specifying means. By displaying according to the dot data, it is now possible to display video patterns that are partially hidden at the left edge of the screen, increasing the number of video patterns that can be set within the horizontal non-display period. An advantage is obtained that the number of moving images that can be displayed on a horizontal scanning line can be increased.

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

第1図は、従来のデイスプレイ装置の一構成例
を示すブロツク図、第2図は、第1図に示す
VRAM5の内容を示すメモリマツプ、第3図イ
は、第2図に示す動画パターンテーブル5dの記
憶内容の一例を示す概念図、同図ロは、第2図に
示す動画制御テーブル5eの記憶内容の一例を示
す概念図、第4図は、動画パターンPiの表示位置
(X,Y)を示す概念図、第5図はECビツト指定
時の画面シフトを説明するための概念図、第6図
は、本発明の一実施例に係る画像データ処理回路
の構成を示すブロツク図、第7図は同実施例によ
る動画処理回路20の構成を示すブロツク図であ
る。 21……Xカウンタ(カウンタ)、23,24
……シフトレジスタ、30……加算回路(加算手
段)、32……ラツチ回路(ラツチ手段)、33…
…デコーダ、EC……ECビツト(特定ビツト)。
FIG. 1 is a block diagram showing an example of the configuration of a conventional display device, and FIG. 2 is a block diagram showing an example of the configuration of a conventional display device.
A memory map showing the contents of the VRAM 5. FIG. 3A is a conceptual diagram showing an example of the storage contents of the moving image pattern table 5d shown in FIG. Fig. 4 is a conceptual diagram showing an example of the display position (X, Y) of the video pattern Pi, Fig. 5 is a conceptual diagram illustrating the screen shift when specifying the EC bit, and Fig. 6 is a conceptual diagram showing the display position (X, Y) of the video pattern Pi. , a block diagram showing the configuration of an image data processing circuit according to an embodiment of the present invention, and FIG. 7 is a block diagram showing the configuration of a moving image processing circuit 20 according to the same embodiment. 21...X counter (counter), 23, 24
...shift register, 30...addition circuit (addition means), 32...latch circuit (latch means), 33...
...Decoder, EC...EC bit (specific bit).

Claims (1)

【特許請求の範囲】 1 表示画素に対応した速度のドツトクロツクパ
ルスをカウントする水平カウンタと、 表示すべき動画パターンの水平方向の表示開始
位置データを記憶する表示開始位置指定手段と、 前記動画パターンの一部が画面の左端に隠れる
動画パターンであるか否かを表す特定情報を記憶
する記憶手段と、 この記憶手段に記憶された特定情報の内容に従
つて水平走査開始時に所定ビツト数を前記表示開
始位置指定手段が記憶する表示開始位置データに
加算し表示開始ビツトとしてラツチするラツチ手
段と、 このラツチ手段の出力をデコードし前記表示開
始ビツトを指定するデコーダと、 前記水平カウンタの値と前記表示開始位置指定
手段の値とが一致したときに前記デコーダの出力
が指定するビツトから前記動画パターンのドツト
データを順次出力するシフトレジスタとを具備
し、 このシフトレジスタから出力されるドツトデー
タに従つて表示を行うことにより、一部が画面の
左端に隠れる動画パターンをも表示可能にしたこ
とを特徴とするデイスプレイコントローラ。
[Scope of Claims] 1. A horizontal counter that counts dot clock pulses at a speed corresponding to display pixels; Display start position specifying means that stores horizontal display start position data of a moving image pattern to be displayed; a storage means for storing specific information indicating whether or not a part of the pattern is a moving image pattern hidden at the left edge of the screen; a latch means that adds the data to the display start position data stored by the display start position designation means and latches it as a display start bit; a decoder that decodes the output of the latch means and designates the display start bit; and a value of the horizontal counter. and a shift register that sequentially outputs the dot data of the moving image pattern from the bit specified by the output of the decoder when the value of the display start position specifying means matches, and the dot data output from the shift register is Accordingly, a display controller is characterized in that by displaying, it is possible to display even a moving image pattern whose part is hidden at the left end of the screen.
JP59074431A 1984-04-13 1984-04-13 Display controller Granted JPS60217386A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP59074431A JPS60217386A (en) 1984-04-13 1984-04-13 Display controller
EP85104434A EP0163863B1 (en) 1984-04-13 1985-04-11 Video display control system for animation pattern image
DE8585104434T DE3585558D1 (en) 1984-04-13 1985-04-11 VIDEO DISPLAY CONTROL UNIT TO DISPLAY MOVABLE PATTERNS.
DE198585104434T DE163863T1 (en) 1984-04-13 1985-04-11 VIDEO DISPLAY CONTROL UNIT TO DISPLAY MOVABLE PATTERNS.
US07/009,095 US4864289A (en) 1984-04-13 1987-01-23 Video display control system for animation pattern image
US07/943,706 US5416497A (en) 1984-04-13 1992-09-11 Video display control system for animation pattern image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59074431A JPS60217386A (en) 1984-04-13 1984-04-13 Display controller

Publications (2)

Publication Number Publication Date
JPS60217386A JPS60217386A (en) 1985-10-30
JPH0562349B2 true JPH0562349B2 (en) 1993-09-08

Family

ID=13547018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59074431A Granted JPS60217386A (en) 1984-04-13 1984-04-13 Display controller

Country Status (1)

Country Link
JP (1) JPS60217386A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07303739A (en) * 1994-05-12 1995-11-21 Daiichi Shokai Co Ltd Pin ball game machine

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2725062B2 (en) * 1989-08-01 1998-03-09 株式会社リコー Image processing device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5854378A (en) * 1981-09-28 1983-03-31 日本電信電話株式会社 Animation image information providing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5854378A (en) * 1981-09-28 1983-03-31 日本電信電話株式会社 Animation image information providing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07303739A (en) * 1994-05-12 1995-11-21 Daiichi Shokai Co Ltd Pin ball game machine

Also Published As

Publication number Publication date
JPS60217386A (en) 1985-10-30

Similar Documents

Publication Publication Date Title
EP0473391B1 (en) Display of scrolling background images composed of characters
US4864289A (en) Video display control system for animation pattern image
US4951038A (en) Apparatus for displaying a sprite on a screen
EP0278526A2 (en) Graphics diplay controller having clipping function
JPS6055393A (en) Method and apparatus for generating cursor of color raster graphic system
US4835526A (en) Display controller
EP0149188A2 (en) Display control system
JPS6323575B2 (en)
JP3477666B2 (en) Image display control device
US5202672A (en) Object display system
JPH0562349B2 (en)
US5870074A (en) Image display control device, method and computer program product
JP2761335B2 (en) Screen display device
GB2210239A (en) An apparatus for controlling the access of a video memory
US4788536A (en) Method of displaying color picture image and apparatus therefor
EP0323636B1 (en) Object display system
JPS62192865A (en) Graphic display device
JPH051477B2 (en)
JPS62211784A (en) Display controller
KR940006808B1 (en) Cusor generator
GB2210541A (en) Apparatus for displaying a sprite on a screen
JPS5870276A (en) Writing and reading of video memory
JPH0616225B2 (en) Display circuit
JPH06161409A (en) Look-up table memory rewriting method and display device with look-up table memory
JPS58200286A (en) Character display

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term