JP2954589B2 - Information processing device - Google Patents

Information processing device

Info

Publication number
JP2954589B2
JP2954589B2 JP62212989A JP21298987A JP2954589B2 JP 2954589 B2 JP2954589 B2 JP 2954589B2 JP 62212989 A JP62212989 A JP 62212989A JP 21298987 A JP21298987 A JP 21298987A JP 2954589 B2 JP2954589 B2 JP 2954589B2
Authority
JP
Japan
Prior art keywords
data
address
memory
graphic memory
write
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
Application number
JP62212989A
Other languages
Japanese (ja)
Other versions
JPS6457292A (en
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62212989A priority Critical patent/JP2954589B2/en
Publication of JPS6457292A publication Critical patent/JPS6457292A/en
Application granted granted Critical
Publication of JP2954589B2 publication Critical patent/JP2954589B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は文字や図形等の画素データを処理する情報処
理装置に係り、特にワードプロセツサやパーソナルコン
ピユータ等で用いられているCRTや液晶による表示ある
いはプリンタによつて記録紙に記録する装置における文
字や図形等の表示データをグラフイツクメモリ上で高速
に読出し書込みを行ない、かつ、高速に変更を行なうた
めの読出し書込み表示制御に関する。 〔従来の技術〕 近年、日本語ワードプロセツサやパーソナルコンピユ
ータ等では、CRTや液晶表示画面に文字や図形等を表示
するために、表示内容の自由度が大きい、表示画素の1
ドツトに1ビツトの記憶要素が対応するグラフイツクメ
モリを用いたビツトマツプ表示方式を採用した表示装置
が多く用いられるようになつてきた。 ビツトマツプ表示方式の欠点は、1表示画面分の表示
画像を1ドツト対応でグラフイツクメモリに書込まなけ
ればならず表示内容変更速度が遅いこと、そして表示内
容を頻繁に変更する場合はこの書込み処理を制御するプ
ロセツサ(以下CPUという)の負荷が増加して他の制御
のための処理が遅れることである。 このために、グラフイツクメモリへの表示データの書
込み処理を高速化し、しかもこの処理のためのCPUの負
荷を低減する方法が提案されている。特開昭60−260989
号公報に記載された表示方式は、書込み(更新)データ
のグラフイツクメモリへの書込みの際のビツトシフト処
理や背景データとの合成処理においてCPUの負荷を軽減
する方式を提案するものである。 〔発明が解決しようとする問題点〕 しかしながら上記従来の表示方式は、合成のための表
示データをグラフイツクメモリから読出すためや合成後
の表示データをグラフイツクメモリへ書込むためのメモ
リアクセス方法、また、表示変更のための書込みデータ
量の低減方法およびグラフイツクメモリのうち表示画像
データ用メモリとして使用されないメモリの有効利用方
法について考慮していなかつた。 例えば、画面書替時の画像のちらつきを防止するため
にタイムシエアリング方式によるグラフイツクメモリへ
のアクセス方式を採用する装置において、画面が1024ド
ツト×512ドツトの場合、最低16ビツト幅構成のグラフ
イツクメモリが必要となる。64キロビツト×4ビツト構
成のDRAMを4個用いて1つのグラフイツクメモリを構成
すると、グラフツクメモリは128キロバイトの容量を持
つことになる。ところが、表示画面の容量は64キロバイ
トであるので、残りの64キロバイトのグラフイツクメモ
リの部分は表示画像データ用としては利用されないこと
になる。 さらに、従来の表示データ処理方法では、画面のスク
ロール処理においては画面全体のデータの書替え処理が
必要であり、この時にビツトシフトによつて語境界を越
えたデータを更新対象とする場合には、このデータのた
めに複数回の書込み処理を必要とし、処理スピードが遅
くなってしまうという問題を有していた。 従つて本発明の目的は、グラフイツクメモリのデータ
更新処理の高速化とグラフイツクメモリの有効活用をは
かることにある。 〔問題点を解決するための手段〕 本発明は、この目的を達成するため、表示装置と、該
表示装置が動作するためのプログラムやデータを記憶す
るプログラムメモリと、語単位のデータおよび該データ
の転送位置を示す語アドレスを発生するデータ転送手段
と、前記プログラムメモリとは別に設けられたグラフィ
ックメモリと、前記表示装置へ画面表示するために前記
グラフィックメモリからデータを読出すためのアドレス
を発生する表示アドレス発生部と、前記データ転送手段
および表示アドレス発生部とグラフィックメモリの間に
接続され、該グラフィックメモリに記憶するデータを書
込む書込み手段と該グラフィックメモリに記憶されてい
るデータを読出す読出し手段とを含むグラフィックメモ
リ制御回路とを備えた情報処理装置において、前記グラ
フィックメモリ制御回路は、前記グラフィックメモリを
画面表示領域とCPUデータ領域に分割する境界が設定さ
れるグラフィックメモリ境界設定回路と、前記画面表示
領域に対する前記データ転送手段からのアドレスをラス
タスキャン方向に変化する横アドレスまたはラスタ順方
向に変化する縦アドレスに変換する第1のアドレス変換
手段と、前記CPUデータ領域に対する前記データ転送手
段からのアドレスを、第1のアドレス変換手段によるア
ドレス変換と独立して、ラスタスキャン方向に変化する
横アドレスに固定して変換する第2のアドレス変換手段
と、前記画面表示領域を更に複数に分割してその1つを
ループ状にアドレスして指定されたメモリブロック内で
ラウンドアップスクリーンを構成するように前記表示ア
ドレス発生部からのアドレスを変換する第3のアドレス
変換手段を備え、画面スクロール時には新たに表示する
データのみを書替えると共に画面表示開始アドレスを変
更するようにしたことを特徴とする。 〔作用〕 グラフィックメモリ境界設定回路にはグラフィックメ
モリを画面表示領域とCPUデータ領域に分割して使用す
る境界が設定され、これにより該グラフィックメモリは
表示装置の画面表示用データ格納領域の他、CPUデータ
格納領域にも利用でき、該グラフィックメモリを有効に
活用することができる。 そして第1のアドレス変換手段は、画面表示領域に対
応するグラフィックメモリのアドレスの変化の方向を横
アドレスと縦アドレスに変え、第2のアドレス変換手段
は、CPUデータ領域に対応するグラフィックメモリのア
ドレスの変化の方向を第1のアドレス変換手段によるア
ドレス変換と独立して横アドレスに固定しているので、
画面表示領域に対するデータ転送手段からの表示データ
格納処理とCPUデータ領域に対するデータ格納処理を高
速化することができる。 更に第3のアドレス変換手段は、下面表示領域を更に
複数に分割してその1つをループ状にアドレスしてラウ
ンドアップスクリーンを構成するように表示アドレス発
生部からのアドレスを変換するので、画面スクロールは
新しい領域の描画処理だけでよく、従ってデータ転送手
段によるデータ更新処理負荷を軽減する。 〔実施例〕 以下、本発明の一実施例を図面により説明する。 本発明になる表示装置は第2図のごとく、表示装置の
制御を行ない1バイトを単位として周辺のメモリ等とデ
ータの交換を行なうCPU100と、表示装置が動作するため
のプログラムやデータを格納するプログラムメモリ101
と、CRTモニター108に表示する第8図に示すごとき文字
パターンデータを格納するキヤラクタジエネレータ(以
下CGという)102と、グラフイツクメモリ105,106からCR
Tモニター108へ表示するデータを読出すためのアドレス
や同期信号を発生するCRTコントローラ103と、CPU100が
グラフイツクメモリ105,106の任意の位置にCRTモニター
108へ表示するパターンデータを書込むときに該パター
ンデータをシフト処理し、グラフイツクメモリ105,106
に対するアクセスアドレスを発生し、書込みアドレスに
書込んである旧パターンデータと論理処理して新パター
ンデータを発生し、該新パターンデータをグラフイツク
メモリ105,106に書込む処理と、CRTモニター108にパタ
ーンを表示するためにグラフイツクメモリ105,106から
データを読出す処理とを行なう周辺制御回路104と、CRT
モニター108に表示するパターンデータを格納するグラ
フイツクメモリ105,106と、外部装置から信号線110を介
して該表示装置に送られてくる表示データや命令をCPU1
00に受信せしめ、またCPU100からの応答を外部装置に発
信せしめるための入出力制御部107と、文字や図形等の
パターン等を表示するCRTモニター108と、前記CPU100と
プログラムメモリ101,CG102,CRTコントローラ103、周辺
制御回路104および入出力制御装置107とを接続する内部
配線路(CPUバス)109を備えている。 第1図は第2図における周辺制御回路104の内部構成
を示すものである。 第1図において、制御信号発生回路1はCPUアクセス
信号および動作クロツク信号CLKに基づいて該周辺制御
回路104内の制御データラツチ(A)6や制御データラ
ツチ(B)16あるいはCRTCアドレス変換器18のいずれか
1つにレジスタ選択信号を送出し、制御データラツチ
(A)6や制御データラツチ(B)16あるいはCRTCアド
レス変換器18のいずれか1つにCPU100からのデータを書
込ませ、あるいは背景データラツチ14やデータバツフア
13に対してデータラツチ信号やデータ出力信号を送出す
ると共にアドレスセレクタ(A)4,(B)5に対してCP
Uアドレス選択信号を送出し、同時にグラフイツクメモ
リ105,106に対する制御信号を発生し、グラフイツクメ
モリ105,106にCPU100からのデータを書込ませ、あるい
は背景データラツチ14やデータバツフア15に対してデー
タラツチ信号やデータ出力信号を送出すると共にアドレ
スセレクタ(A)4,(B)5に対してCPUアドレス選択
信号を送出し、同時にグラフイツクメモリ105,106に対
する制御信号を発生し、CPU100にグラフイツクメモリ10
5,106からのデータを読込ませ、あるいはアドレスセレ
クタ(A)4,(B)5に対してCRTアドレス選択信号を
送出し、同時にグラフイツクメモリ105,106に対する制
御信号と、シフト部17に対するデータラツチ信号を発生
し、CRTモニター108で表示すべき映像信号をシフト部17
に書込むものである。 グラフイツクメモリ105,106に対するアクセスは第3
図に示すごとく1回の表示データ読出しアクセスで読出
したデータを映像信号としてCRTモニター108に送出して
いる時間を、次の表示データ読出し時間とCPUアクセス
時間の2つの時分割し、各々で独立したアドレスのグラ
フイツクメモリに対してアクセスし、次の表示データと
CPUによるグラフイツクメモリに対する書込みあるいは
読出しを行なうものである。 アドレス変換器2は、第4図に示す様に横1024ドツト
(128バイト)、縦1024ドツトに構成されているグラフ
イツクメモリ105,106をCRTモニター108の表示の縦方向
の大きさが512ドツトを超えない場合は、縦512ドツトの
境界で領域0と領域1に分割し、CRTモニター108に表示
するデータを格納する領域として用いる領域0を文字等
の表示処理が高速化可能なバイトアドレスが縦方向に順
次増加する縦型アドレス構成とし、またCPU100がプログ
ラム実行中に用いるデータの格納領域として用いる領域
1はバイトアドレスが横方向に順次増加する横型アドレ
ス構成とすることを可能とし、またCRTモニター108の表
示の縦方向の大きさが512ドツトを超えた場合は、グラ
フイツクメモリ105,106のすべての領域をCRTモニター10
8に表示するデータを格納する領域として用い、文字等
の表示データの書込み処理が高速可能なようにバイトア
ドレスが縦方向に順次増加する縦型アドレス構成とする
ことを可能とするもので、CPU100からのアドレス信号を
グラフイツクメモリ105,106に与えるアドレス信号CA0〜
CA16に変換するものである。該アドレス変換器2は、第
6図に示すようにCPU100からのアドレス信号A0〜A16を
アドレス変換後アドレス(以下実バイトアドレスとい
う)CA0〜CA16に変換するためにアドレスクロス(A)2
01とアドレスクロス(B)202およびデータセレクタ203
によつて構成されており、データセレクタ203には制御
データラツチ(A)6のDC,VS0,VS1およびCPUアドレス
信号のA16がコントロール信号として入力されている。
アドレスクロス(A)201とアドレスクロス(B)202は
各々第5図に示すアドレス変換対応表のうち縦アドレス
(A)と縦アドレス(B)に対応するようにCPU100から
のアドレス信号A0〜A16を実バイトアドレスCA0〜CA16に
変換するものであり、この結果CPU100から見たグラフイ
ツクメモリ105,106のバイトアドレスは第7図のように
各々の変換モードによつてグラフイツクメモリ105,106
の横方向に順次増加するように構成された実バイトアド
レスから変換されるものである。逆言すると、CPU100か
ら見たグラフイツクメモリ105,106のアドレスが縦方向
アドレスであり、CPU100がそれに対応するアドレスを発
生したとしても、該アドレス変換器2の出力である実バ
イトアドレスCA0〜CA16はグラフイツクメモリ105,106の
横方向に順次増加するように構成されたアドレスとなつ
ているものである。 加算器3は前記実バイトアドレスのCA1〜CA16とCA0を
加算するものであり、CPU100が送出したグラフイツクメ
モリ105,106へのアドレス信号から変換された実バイト
アドレスが奇数となつた場合に偶数アドレスグラフイツ
クメモリ105に対して該アドレスの増加方向に隣接する
グラフイツクメモリの偶数アドレスを発生するものであ
る。このとき奇数アドレスグラフイツクメモリ106には
前記バイトアドレスのCA1〜CA16がそのまま印加され
る。 実バイトアドレスが偶数の場合はCA0が0のため偶数
アドレスグラフイツクメモリ105および奇数アドレスグ
ラフイツクメモリ106には前記実バイトアドレスのCA1〜
CA16がそのまま印加される。以上により、前記実バイト
アドレスが偶数の場合、該実バイトアドレスが指示する
偶数アドレスメモリとアドレスの増加方向に隣接する奇
数アドレスメモリを一括して16ビツト選択し、前記実バ
イトアドレスが奇数の場合、該実バイトアドレスが指示
する奇数アドレスメモリとアドレスの増加方向に隣接す
る偶数アドレスメモリを一括して16ビツト選択可能とな
る。 CRTCアドレス変換器18は、第18図に示すようにCRTモ
ニター108の表示画面を分割し、該分割画面内でラウン
ドアツプスクリーンを構成するために、CRTコントロー
ラ103からの画面リフレツシユアドレス信号(ra)をア
ドレスセレクタ(A)4、アドレスセレクタ(B)5に
与えるモデイフアイアドレス(mra)に変換するもので
ある。 該CRTCアドレス変換器18は、第17図に示すように、後
述する分割画面内においてランウドアツプスクリーン構
成の動作を行なわせしめるために必要なアドレスデータ
を記憶するためのCRTCアドレス変換制御レジスタ172,17
3,174,175と、CPUアクセス信号に基づいて上記CRTCアド
レス変換制御レジスタ172,173,174,175のいずれか1つ
にレジスタ選択信号を送出し、上記CRTCアドレス変換制
御レジスタ172,173,174,175のいずれか1つにCPU100か
らのアドレスデータを書込ませるための制御信号を発生
するデコーダ171と、CRTコントローラ103からの画面リ
フレツシユアドレス信号(ra)をCRTCアドレス変換制御
レジスタ172,173,174,175にセツトされたアドレスによ
り画面内においてラウンドアツプスクリーン構成の動作
を行なわせしめるためのモデイフアイアドレス(mra)
にアドレス変換を行なう加算器182,183,185と減算器18
1,184およびセレクタ186,187からなつている。 171はCPUバスから与えられるCPUの指示をデコードし
選択して各レジスタに与えるためのデコーダである。17
2は画面分割された下方画面の開始アドレス(CRTコント
ローラ103の出力アドレスの値)を記憶するレジスタ(S
Aと呼ぶ)である。173はグラフイツクメモリ105,106上
の表示領域での画面分割された上方画面の表示のための
読出し開始アドレスを記憶するためのレジスタ(DSA1と
呼ぶ)である。174はグラフィツクメモリ105,106上の表
示領域での画面分割された下方画面の表示のための読出
し開始アドレスを記憶するためのレジスタ(DSA2と呼
ぶ)である。175はグラフイツクメモリ105,106上での画
面分割された上方画面の領域の最初のアドレスを記憶す
るレジスタ(VSAと呼ぶ)である。 加算機182,183,185と減算器181,184およびセレクタ18
6,187は必要なビツト数だけ用意されている。減算器は
入力A,Bに対して出力(A−B)とボロー出力Bを出力
する。加算器は入力A,Bに対して出力(A+B)とキヤ
リー出力Cを出力する。セレクタはDAとDBの入力に対し
てSの入力が1ならばDAを、0ならばDBを選択して出力
するものである。 アドレスセレクタ(A)4および(B)5は各々偶数
アドレスグラフイツクメモリ105および奇数アドレスグ
ラフイツクメモリ106に印加するアドレス信号を生成す
るものであり、前記制御信号発生回路1からの信号によ
り前記CPU100からの実アドレスあるいはCRTCアドレス変
換器18からのモデイフアイアドレス(mra)のいずれか
一方を選択し、グラフイツクメモリ105,106のロウアド
レス,カラムアドレスに時分割して印加するものであ
る。 グラフイツクメモリ境界設定回路7はCPU100のアドレ
ス信号と制御データラツチ(A)6の各制御信号をもと
にCPU100がグラフイツクメモリ105,106の前記領域1に
対してアクセスした場合に、後述するデータシフト合成
部のデータシフトおよび合成処理を強制的にシフト量を
0とし、合成は行なわずCPU100のデータをそのまま出力
するモードにする信号(以下データスルー信号という)
を発生するものである。 該グラフイツクメモリ境界設定回路7は、第20図に示
すように、CPU100からのアドレス信号と制御データラツ
チ(A)6内の切替アドレス指定レジスタ(DC,DT0,DT
1)の値を比較し前記のデータスルー信号を発生する比
較器(A)701と、CPU100からのアドレス信号と前記領
域0あるいは1を縦アドレスあるいは横アドレスに設定
する横アドレス指定レジスタ(VS0,VS1)の値を比較し
前記横アドレス指定信号を発生する比較器(B)703
と、前記データスルー信号と前記横アドレス指定信号の
論理和を取るロジツク702からなつている。 前記の強制的にシフト量を0とし、合成を行なわずCP
U100のデータをそのまま出力するモードは、制御データ
ラツチ(B)16の各制御信号と前記データスルー信号の
論理和あるいは論理積をとつた信号を後述のシフト部
(A)9,シフト部(B)10,シフト部(C)11と書込み
データ合成部12へ送出する構成をとることにより設定可
能となる。 制御データラツチ(B)16は、データシフト合成部の
データシフト量ないし合成方式を選択する制御値をラツ
チしておくデータラツチ群であり、FCは合成方式を指示
するデータラツチであり、DNは第10図に示すようにCPU1
00からグラフイツクメモリ105,106へ書込むデータのグ
ラフイツクメモリ105,106の語境界からのシフト量を指
示するデータラツチであり、RSNは第9図に示すようにC
PU100がグラフイツクメモリ105,106から読出すデータの
グラフイツクメモリ105,106の語境界からのシフト量を
指示するデータラツチであり、WSNは第13図に示すよう
にCPU100からグラフイツクメモリ105,106へ書込むデー
タのデータ開始位置をCPU100の語境界からのシフト量と
して指示するデータラツチであり、WNは第12図に示すよ
うにCPU100からグラフイツクメモリ105,106へ書込むデ
ータのデータ幅をビツト数で指示するデータラツチであ
る。 書込みドツト指示パターン発生器8は制御データラツ
チ(B)16のデータラツチWNの値にしたがつて第12図に
示すようにd0からd7に向かう1ビツトから8ビツトまで
の1のデータ列である書込みドツト指示パターンMDを発
生するものである。第12図において斜線部 が1を示す。 シフト部(A)9は、16ビツトのデータローテイタで
あり制御データラツチ(B)16のデータラツチDNの値と
グラフイツクメモリ実バイトアドレスのCA0の値にした
がつて第12図に示すように書込みドツト指示パターンMD
をd0からd15の方向に向かつてローテイトしデータ書込
み位置指示パターンSMDを生成するものである。実バイ
トアドレスCA0が0の場合は第12図(a)のようにd0か
らデータラツチDNの値だけシフトした位置にローテイト
し、実バイトアドレスCA0が1の場合は第12図(b)の
ようにd8からデータラツチDNの値だけシフトした位置に
ローテイトするものである。 シフト部(B)10は、16ビツトのデータローテイタで
あり制御データラツチ(B)16のデータラツチDN,WSNの
値とグラフイツクメモリ実バイトアドレスのCA0の値に
したがつて第13図に示すように書込みデータWDをd0から
d15の方向に向かつてローテイトし書込みデータローテ
イトパターンSWDを生成するものである。実バイトアド
レスCA0が0の場合は第13図の(a)のようにd0からデ
ータラツチDN−WSNの値だけシフトした位置にローテイ
トし、実バイトアドレスCA0が1の場合は第13図の
(b)のようにd8からデータラツチDN−WSNの値だけシ
フトした位置にローテイトするものである。これによ
り、書込みデータの開始位置が前記データ書込み位置指
示パターンSMDと一致する。 背景データラツチ14は制御信号発生回路1から送出さ
れる信号により、第3図に示すCPUアクセス時間でグラ
フイツクメモリ105,106より読出された16ビツトの背景
データRDをラツチするものである。 書込みデータ合成部12は前記シフト部(A)9,シフト
部(B)10および背景データラツチ14の出力であるデー
タ書込み位置指示パターンSMD、書込みデータローテイ
トパターンSWDおよび背景データRDと制御データラツチ
(B)16のデータラツチFCの値に基づいてSWDとRDをSMD
が1の部分について論理積や論理和や排他的論理和等の
合成 を行い、他の部分はRDをそのまま出力する 処理を行ないグラフイツクメモリ105,106に書込む書込
みデータを生成し、出力するものである。これにより、
実バイトアドレスCA0が0の場合は第14図の(a)のよ
うにd0からデータラツチDNの値だけローテイトした位置
にCPU100の書込みデータが位置し、実バイトアドレスCA
0が1の場合は第14図の(b)のようにd8からデータラ
ツチDNの値だけローテイトした位置にCPU100の書込みデ
ータが位置するものである。 シフト部(C)11は、16ビツトのデータローテイタで
あり制御データラツチ(B)16のデータラツチRSNの値
とグラフイツクメモリ実バイトアドレスのCA0の値にし
たがつて第11図に示すようにグラフイツクメモリ105,10
6より読出した背景データRDをd15からd0の方向に向かつ
てローテイトしCPUリードデータSRDを生成するものであ
る。実バイトアドレスCA0が0の場合は第14図の(a)
のようにd0に向けてデータラツチRSNの値だけビツトロ
ーテイトし、実バイトアドレスCA0が1の場合は第14図
の(b)のようにd0に向けてRSN+8ビツトローテイト
するものである。これにより、CPUリードデータSRD上で
読込みデータの開始位置がd0と一致する。 シフト部17は制御信号発生回路1から送出される信号
により、第3図に示す表示データ読出し時間でグラフイ
ツクメモリ105,106より2回に分けて読出された32ビツ
トの表示データをラツチし順次シフトしシリアルデータ
に変換して出力するものである。 なお、信号線に付した数字は線数を意味する。 次に以上の構成を持つ表示装置の動作について説明す
る。 入出力制御部107に外部装置から信号線110を介して表
示データと表示コマンドが入力されると、CPU100はこれ
を検知して表示コマンドを解析し表示動作を開始する。 CG102に格納されている文字パターンの表示動作のと
きは、CG102に格納されている文字パターンのアドレス
と、表示すべきパターンデータを書込むグラフイツクメ
モリ105,106の書込みアドレスと、シフト値DNと、合成
指示値FCと、書込みデータ先頭位置指示値WSNと、書込
みデータ幅指示値WNを算出し、次にシフト値DNと、合成
指示値FCと、書込みデータ先頭位置指示値WSNと、書込
みデータ幅指示値WNをそれぞれ制御データラツチ(B)
16内の該当するデータラツチに書込む。次にCG102の該
当アドレスからグラフイツクメモリ105,106に書込むべ
きパターンデータを読出し、周辺制御回路104を経由し
てグラフイツクメモリ105,106の該当するアドレスへ書
込む。このとき周辺制御回路104は、第3図のように時
分割してグラフイツクメモリ105,106にアクセスしてい
るCPUアクセス時間にグラフイツクメモリ105,106に対し
て、次のように書込み動作を行なう。 アドレス変換器2においてグラフイツクメモリ105,10
6への書込み実バイトアドレスnを生成する。 加算器3とアドレスセレクタ(A)4、アドレスセレ
クタ(B)5より、 (a)nが偶数の場合は偶数アドレスグラフイツクメモ
リ105にnを、奇数アドレスグラフイツクメモリ106には
n+1を印加する。 (b)nが奇数の場合は偶数アドレスグラフイツクメモ
リ105にn+1を、奇数アドレスグラフイツクメモリ106
にはnを印加する。 これにより、前記実バイトアドレスnが偶数の場合、
該実バイトアドレスnが指示する偶数アドレスグラフイ
ツクメモリ105とアドレスの増加方向に隣接する奇数ア
ドレスグラフイツクメモリ106を一括して16ビツト選択
し、前記実バイトアドレスnが奇数の場合、該実バイト
アドレスが指示する奇数アドレスグラフイツクメモリ10
6とアドレスの増加方向に隣接する偶数アドレスグラフ
イツクメモリ105を一括して16ビツト選択する。 グラフイツクメモリ105,106に対してアクセス信号RAS
とCASを送出し、上記で選択したアドレスから背景デ
ータを読出し、背景データラツチ14にラツチし、背景デ
ータRDを得る。 前記と同時に、書込みパターン発生器8、シフト部
(A)9、シフト部(B)10、書込みデータ合成部12に
より、第14図に示すごとく、 (a)nが偶数の場合はd0から始まる16ビツトに対し
て、d0からDNビツトシフトした位置に前記書込みパター
ンが位置するデータを生成する。 (b)nが奇数の場合はd8から始まる16ビツトに対し
て、d8からDNビツトシフトした位置に前記書込みパター
ンが位置するデータを生成する。 前記の背景データラツチ動作が終了するとデータバ
ツフア13を経由して、グラフイツクメモリ105,106に
で生成した書込みデータを送出し、同時にグラフイツク
メモリ105,106にデータ書込み信号WEを送出し、で生
成したデータを書込む。 以上により第16図に示すように、CPU100が実バイトア
ドレスnに対して書込んだパターンデータが、語境界に
対してシフトしている場合でも、書込みパターンデータ
が実バイトアドレスnおよびn+1に対して同時に書込
まれる。これにより、従来第15図のように実バイトアド
レスnとn+1に対して2回に分けて書込んでいた動作
が1回で済むようになり、書込み処理の高速化が可能と
なり、書込み位置によらず同一速度が得られるようにな
る。 次に、グラフイツクメモリ105,106内に格納されてい
るパターンを他の位置へ表示する表示動作のときは、グ
ラフイツクメモリ105,106内に格納されているパターン
のアドレスと、表示すべきパターンを書込むグラフイツ
クメモリ105,106の書込みアドレスと、シフト値Dnと、
合成指示値FCと、書込みデータ先頭位置指示値WSNと、
書込みデータ幅指示値WNと、読込みパターンデータの有
効開始位置指示値RSNを算出し、次にシフト値DNと、合
成指示値FCと、書込みデータ先頭位置指示値WSNと、書
込みデータ幅指示値WNと、有効開始位置指示値RSNをそ
れぞれ制御データラツチ(B)16内の該当するデータラ
ツチに書込む。次にグラフイツクメモリ105,106の該当
アドレスから周辺制御回路104を経由して移動表示する
パターンを読出し、周辺制御回路104を経由してグラフ
イツクメモリ105,106の該当するアドレスへ書込む。こ
のとき周辺制御回路104は、第3図のように時分割して
グラフイツクメモリ105,106にアクセスしているCPUアク
セス時間にグラフイツクメモリ105,106に対して、次の
ように読出し動作を行ない、前述の書込み動作によりパ
ターンデータを書込む。 アドレス変換器2においてグラフイツクメモリ105,10
6への読込み実バイトアドレスmを生成する。 加算器3とアドレスセレクタ(A)4、アドレスセレ
クタ(B)5より、 (a)mが偶数の場合は偶数アドレスグラフイツクメモ
リ105にmを、奇数アドレスグラフイツクメモリ106には
m+1を印加する。 (b)mが奇数の場合は偶数アドレスグラフイツクメモ
リ105にm+1を、奇数アドレスグラフイツクメモリ106
にはm+1を印加する。 これにより、前記実バイトアドレスmが偶数の場合、
該実バイトアドレスmが指示する偶数アドレスグラフイ
ツクメモリ105とアドレスの増加方向に隣接する奇数ア
ドレスグラフイツクメモリ106を一括して16ビツト選択
し、前記実バイトアドレスmが奇数の場合、該実バイト
アドレスが指示する奇数アドレスグラフイツクメモリ10
6とアドレスの増加方向に隣接する偶数アドレスグラフ
イツクメモリ105を一括して16ビツト選択する。 グラフイツクメモリ105,106に対してアクセス信号RAS
とCASを送出し、上記で選択したアドレスからデータ
を読出し、背景データラツチ14にラツチし、背景データ
RDを得る。 シフト部(C)11により、第11図に示すごとく、 (a)mが偶数の場合はd0から始まる16ビツトに対し
て、d0からRSNビツトシフトした位置のパターンを8ビ
ツト読込みデータとして生成する。 (b)mが奇数の場合はd8から始まる16ビツトに対し
て、d8からRSNビツトシフトした位置のパターンを8ビ
ツト読込みデータとして生成する。 で生成した読込みデータをデータバツフア15を介し
てCPU100に送出する。 以上により第9図および第11図に示すように、CPU100
が実バイトアドレスmから読込むパターンが、語境界に
対してシフトしている場合でも、読込みパターンが実バ
イトアドレスmおよびm+1から同時に読込まれる。こ
れにより、従来第15図のように実バイトアドレスmとm
+1に対して2回に分けて読込む動作が1回で済むよう
になり、読込み処理の高速化が可能となり、読込み位置
によらず同一速度が得られるようになる。以上の読込み
動作と、前述の書込み動作により表示画面上での表示の
移動や、グラフイツクメモリ105,106内に格納してある
パターンのデータの表示処理の高速化が可能となる。 次にグラフイツクメモリ105,106の一部(第4図にお
ける領域0)を表示領域として利用し、グラフイツクメ
モリ105,106の残りの部分(第4図における領域1)をC
PU100のデータエリヤとして用いる時の動作について説
明する。CPU100のデータエリヤとしてグラフイツクメモ
リ105,106の領域1を用いる場合はCPU100のデータを語
境界に対しシフト量を0にして、該領域の読出しや書込
み動作を行なわなくてはならない。この場合CPU100は、
制御データラツチ(A)6内の制御値DCを1、VS0を
1、DT0を0、VS1を0、DT1を1になるよう制御データ
ラツチ(A)6にデータを書込む。これにより、グラフ
イツクメモリ105,106はCPU100からみて、第4図に示す
ように領域0と領域1の2つの領域に分割される。領域
0は縦方向にアドレスが増加し、かつ前述のデータシフ
ト合成処理を行なう領域となり、領域1は横方向にアド
レスが増加し、かつ前述のデータシフト合成処理を行な
わずデータがスルーされる領域となる。 CPU100が領域0に対して描画処理のためにアクセスす
る場合を考えると、CPU100にとつては、24×24ビツトの
文字パターンを扱うとき、ラスタスキヤン方向には3バ
イトの深さ、ラスタ順の方向に対しては24バイトの深さ
になり、CPU100として使われる8086,8088では順アドレ
スの繰返し処理に対してストリング命令(所定のレジス
タに指定した源アドレスから、行先アドレスへ指定され
たバイト数の転送が、最小の命令ステツプと、最短の処
理時間で行われるもの。この処理方式において最大の効
果を得るには、1回の転送バイト数を大きく取るのが有
効である。)が用意されているので、CPU100より見たグ
ラフイツクメモリ105,106のアドレスはラスタ順方向に
並ぶべきである。 一方全画面クリアのごとき連続したラスタを含む大き
な領域に対して同じ動作をなすときは従来のようなラス
タスキヤン方向のアドレス並びは処理の切り換えの頻度
を少なくすることができるので、両者を切り換えできる
ことは多種の処理に対して好ましい構成となる。 CPU100による画面への文字の表示は、キヤラクタジエ
ネレータより指定された文字のパターンを表示すべきグ
ラフイツクメモリ105,106のバイトアドレスへトスリン
グ命令を用いて書込むことにより行なわれる。ところ
で、半角文字は横幅が1.5バイトになるので、文章の中
に半角文字が1文字でも入ると、グラフイツクメモリ10
5,106の中では文字パターンのビツト位置が4ビツトず
れても整合しない事態が発生する。 このとき前記の書込み読出し手段を有さない構成で
は、キヤラクタジエネレータからグラフイツクメモリ10
5,106への文字パターンの転送処理において1バイト転
送する毎にビツト処理をしなければならなかつたため、
ストリング命令によるメモリ移動が利用できなかつた。 本装置にあつては、前記読出し書込み手段を備えるこ
とで、CPU100に替わりビツトシフト処理、マスク処理等
を行なうことができるので、前記ストリング命令を利用
してグラフイツクメモリ105,106への書込みを高速に行
なうことができる。 次に、CPU100が領域1に対してアクセスすると、グラ
フイツクメモリ境界設定回路7がCPU100のアドレス信号
A0〜A16より該CPUアクセスが領域1に対するものである
ことを検出し、制御データラツチ(B)16に対してCPU
データスルー信号を送出する。制御データラツチ(B)
16は、該データスルー信号により制御データラツチ
(B)16から出力している値FC,DN,RSN,WSN,WNを強制的
に各々シフト量を0とし、合成は行なわずCPU100のデー
タをそのまま入出力する値とし、出力する。これによ
り、領域1に対するCPU100のアクセスは、そのデータに
何の影響を受けることがなくなるため、領域1をデータ
エリヤとして使用可能となり、グラフイツクメモリ105,
106の有効活用が可能となる。 ところで、図示実施例においては、前記領域0と領域
1の分割と縦アドレス、横アドレスおよび各領域のデー
タスルー状態の設定をレジスタとグラフイツクメモリ設
定回路7によつて行なう場合を例示したが、上記縦アド
レス、横アドレスおよび各領域のデータスルー状態の設
定は、第21図に示すようにグラフイツクメモリ105,106
をCPU100のアドレス領域22上に複数(221,222)持ち、
各々を例えば、領域221は横アドレスおよびデータスル
ー状態に、領域222は縦アドレスおよひデータシフト動
作状態に、各々の領域の状態を固定し、CPU100がグラフ
イツクメモリ105,106の表示領域にアクセスするときは
領域222に対してアクセスし、CPU100がグラフイツクメ
モリ105,106のデータ領域にアクセスするときは領域221
に対してアクセスするように構成しても、上記実施例と
同様の効果が得られる。 次に第17図に示す回路図を参照しながら、グラフイツ
クメモリ105,106と表示画面の関係を模式化して示す第1
8図および第19図に基づき、分割画面内においてラウン
ドアツプスクリーンを構成する場合の動作について説明
する。 ここで上方画面はテキスト領域であり、下方画面はシ
ステム領域に利用される。 第18図にあつてはラウンドアツプスクリーンを構成す
る動作を行なつていない場合を示しており、表示開始領
域を示すDSA1レジスタ173とDSA2レジスタ174の内容によ
り第18図(a)に模式的に示すグラフイツクメモリ105,
106のデータが読出されてCRTモニタ108上に表示画面を
第18図(b)のように形成する。第18図(b)にAで示
した画面の内容の下部に相当する部分を見るために上方
向に画面をスクロールさせると、CPUはDSA1レジスタ173
の内容を、第18図(a)の下方に向かう領域を示すアド
レスに書替えて、新規に表示されるべきグラフイツクメ
モリ105,106の部分にテキスト(例えば、新規表示のテ
キスト1行分)を描画する。 次にスクロールを更に続けて行なうと、ついにはA領
域とB領域が重なる。このとき、第19図に示すように、
A領域はDSA2レジスタ174に記憶されているアドレス値
でカツトされて、その次には領域Cが表示される。すな
わち、このようなスクロール処理時にはDSA1レジスタ17
3をセツトしてC領域に当たる部分に新規データを描画
すればよい。そして、第19図(a)に示すグラフイツク
メモリ領域は、表示画面上では第19図(b)のようにな
る。 これらの関係を満たすために、CRTCアドレス変換器18
において、セレクタ187の出力モデイフアイアドレス(m
ra)と、各々のレジスタの内容(第17図〜第19図におい
て、レジスタ名を小文字で表わしたものをレジスタの内
容値とする)と、減算器181ならびに加算器183の入力端
子Aへの入力であるCRTCアドレス(ra)の関係式は次の
ようになつている。 ra<sa,ra−sa<0;A領域 mra=ra+dsa1 ra≧sa,ra−sa≧0;B領域 mra=(ra−sa)+dsa2 ra+dsa1≧dsa2 ra−(dsa2−dsa1)≧0;C領域 mra=((ra+dsa1)−dsa2)+vsa =vsa+ra−(dsa2−dsa1) 以上により、画面リフレツシユ方式としてビツトマツ
プリフレツシユ方式を採用し、かつ表示画面を複数の領
域とに分割する方式を採用する表示制御装置において、
高速処理を要求される画面スクロール時は、表示開始ア
ドレスの変更と新規描画により一つの領域のスクロール
動作がなされる。これを、図示実施例に当てはめていえ
ば、画面スクロール時、CPUは、描画処理として、DSA1
レジスタ173の書替えと、新規表示部分の描画のみでス
クロール動作を済ませることができ、従来における画面
スクロール処理のように表示データの全てを指示された
方向へ移動させるといつた必要性はなくなり、従来より
も格段に少ないデータ処理量で画面スクロールを行なう
ことができる。 なお、第18図および第19図に対応して、従来形表示装
置(すなわち、画面リフレツシユ方式としてビツトマツ
プフレツシユ方式を採用し、かつ表示画面を複数の領域
に分割する方式を採用する表示装置)の画面スクロール
処理について検討してみると、上記した従来形の表示制
御装置によつても、一方の領域(第18図および第19図の
符号A参照)が他方の領域(第18図および第19図の符号
B参照)に重ならなければ、画面スクロールは可能であ
るが、一方の領域に対応するビツトマツプメモリの領域
が他方の領域に対応するビツトマツプメモリの領域に重
なつた場合は、ビツトマツプメモリ上での大量データ移
動は避けられず、結局は一方の領域に相当する表示デー
タの全てを指示された方向へブロツク移動させることに
より、スクロール速度が決まることになる。 ところで、図示実施例においては、複数領域に分割さ
れた各画面のうち、上方領域における画面領域をループ
状にアドレス変換して、指定されたメモリブロツク内で
ラウンドアツプスクリーンを構成する場合について例示
したが、上記したごとき画面スクロール処理は複数領域
全ての領域で行なうことについて問題はない。 [発明の効果〕 以上のように本発明は、グラフィックメモリを画面表
示領域とCPUデータ領域に分割したので、表示装置の画
面表示用データ格納領域の他、CPUデータ格納領域にも
利用でき、グラフィックメモリを有効に活用することが
でき、しかも、第1のアドレス変換手段は、画面表示領
域に対応するグラフィックメモリのアドレスの変化の方
向を横アドレスまたは縦アドレスに変換し、第2のアド
レス変換手段は、CPUデータ領域に対応するグラフィッ
クメモリのアドレスの変化の方向を、第1のアドレス変
換手段によるアドレス変換と独立して、横アドレスに固
定して変換してグラフィックメモリをアクセスするよう
にしたので、画面表示領域に対する表示データ格納処理
において自由に縦・横アドレスに切り換えて使用するこ
とにより、この処理を高速に行なうことができるととも
に、CPUデータ領域に対するデータ格納処理において余
分なアドレス処理が不要となり(アドレス方向が画面表
示領域のアドレスの切り替えによって切り替わると、そ
の都度アドレス処理が必要で、処理が複雑、かつ処理時
間が長くなる)、CPUデータ領域に対するデータ格納処
理を高速かつ正確に行なうことができ、また、第3のア
ドレス変換手段は、画面表示領域を更に複雑に分割して
その1つの領域をラウンドアップスクリーンを構成する
ように表示アドレス発生部からのアドレスを変換して該
グラフィックメモリをアクセスするようにしたので、画
面スクロール時の表示データの更新は表示データを書込
むだけで済むようになり、データ転送手段によるデータ
転送処理量を軽減してスクロール動作を早くすることが
できる効果がえられる。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an information processing apparatus for processing pixel data such as characters and figures.
Equipment, especially word processors and personal computers.
There is a display on the CRT or liquid crystal used in the pyuta etc.
Or on a device that records on recording paper by a printer.
High speed display data such as characters and figures on graphic memory
To read and write data and make changes at high speed.
Read / write display control. [Prior art] In recent years, Japanese word processors and personal computers
Data, etc., display characters and figures on the CRT and LCD screen
In order to achieve this, the degree of freedom of the display content is large,
A graphical method in which a 1-bit storage element corresponds to a dot
Display device adopting bit map display method using moly
Has become widely used. The disadvantage of the bitmap display method is that one display screen is displayed.
Images must be written to the graphic memory in one-dot correspondence
The display content change speed must be slow, and in the display
If the content is changed frequently, the program that controls this
Other control by increasing the load on the processor (hereinafter referred to as CPU)
Is delayed. To do this, the display data must be written to the graphics memory.
Speeds up the load processing, and also reduces the CPU load for this processing.
Methods for reducing the load have been proposed. JP-A-60-260989
The display method described in Japanese Patent Publication No.
Bit shift processing when writing to the graphic memory
Reduces CPU load in synthesis processing with processing and background data
It proposes a method to do it. [Problems to be Solved by the Invention] However, the conventional display method described above is
Display data from graphic memory or after synthesis
To write the display data of
Reaccess method and write data for display change
Display method of graphic memory
Effective use of memory not used as data memory
I did not consider the law. For example, to prevent the image from flickering when rewriting the screen
To graphic memory by time sharing method
Screen using a 1024-dot screen
In the case of dots x 512 dots, a graph with a minimum configuration of 16 bits
A read memory is required. 64 kilobits x 4 bits
One graphic memory using four DRAMs
Then, the graph memory has a capacity of 128 kilobytes.
It will be one. However, the display screen capacity is 64 kilobytes.
The remaining 64 kilobytes of graphic memos
The part of リ is not used for display image data
become. Furthermore, in the conventional display data processing method, the screen
In roll processing, data rewriting of the entire screen
Required at this time, crossing word boundaries by bit shifting.
If the data obtained is to be updated,
Requires multiple write operations and slows down the processing speed.
There was a problem that it became worse. Therefore, the object of the present invention is to
How to speed up the update process and effectively use the graphic memory
To be able to [Means for Solving the Problems] In order to achieve this object, the present invention provides a display device,
Stores programs and data for operating the display device
Program memory, data in word units, and the data
Transfer means for generating word address indicating transfer position of data
And a graphic provided separately from the program memory.
Memory and the display device for displaying a screen on the display device.
Address for reading data from graphic memory
Display address generating unit for generating
And between the display address generator and the graphic memory
Connected to write data to be stored in the graphic memory.
Writing means and the graphic data stored in the graphic memory.
Graphic means including reading means for reading data
An information processing apparatus comprising a
The physical memory control circuit stores the graphic memory.
The boundary for dividing the screen display area and CPU data area is set.
Graphic memory boundary setting circuit and screen display
The address from the data transfer means for the area is
Horizontal address or raster order changing in the scan direction
Address conversion for converting to vertically changing vertical addresses
Means and the data transfer means for the CPU data area.
The address from the first stage is converted to the address by the first address conversion means.
Changes in the raster scan direction independently of the dress conversion
Second address translation means for translating while fixing the address to a horizontal address
And further dividing the screen display area into a plurality of
Within a specified memory block addressed in a loop
The display interface is configured to form a round-up screen.
Third address for converting the address from the address generator
Equipped with conversion means, when scrolling the screen, a new display
Rewrite only the data and change the screen display start address.
It is characterized in that it is modified. [Action] The graphic memory boundary setting circuit
Memory is divided into a screen display area and a CPU data area.
Boundaries are set so that the graphics memory
CPU data in addition to the screen display data storage area of the display device
It can also be used as a storage area, making the graphic memory effective
Can be used. Then, the first address translating means corresponds to the screen display area.
The direction of the corresponding graphic memory address change
Address and vertical address, and a second address conversion means.
Is the graphic memory address corresponding to the CPU data area.
The direction of change of the address is determined by the first address conversion means.
Since it is fixed to the horizontal address independently of the dress conversion,
Display data from the data transfer means for the screen display area
Enhanced storage processing and data storage processing for CPU data area
Can be faster. Further, the third address conversion means further includes a lower display area.
Divide into multiple parts and address one of them in a loop
Display address to compose the
Because the address from the raw part is converted, the screen scroll
You only need to draw the new area, and
Reduce the data update processing load due to steps. Hereinafter, one embodiment of the present invention will be described with reference to the drawings. The display device according to the present invention is, as shown in FIG.
Control is performed and data is stored in peripheral memory etc. in 1-byte units.
CPU 100 that exchanges data and the display device operate
Program memory 101 for storing various programs and data
And the characters shown on the CRT monitor 108 as shown in FIG.
Character generator that stores pattern data (hereinafter
CR from the lower CG) 102 and graphic memory 105, 106
Address for reading data to be displayed on T monitor 108
And CRT controller 103 that generates synchronization signals and CPU 100
CRT monitor at any position of graphic memory 105, 106
When writing pattern data to be displayed on 108,
Shifts the graphics data and stores them in the graphics memories 105 and 106.
To the write address
Logically process the written old pattern data to create a new pattern.
Generate new pattern data and graphically display the new pattern data.
The process of writing to the memories 105 and 106 and the pattern
From the graphics memory 105, 106 to display the
A peripheral control circuit 104 for performing a process of reading data and a CRT
A graph that stores pattern data to be displayed on the monitor 108
Via the signal lines 110 from the external memories and the flash memories 105 and 106.
Display data and instructions sent to the display device
00 and receive a response from the CPU 100 to an external device.
An input / output control unit 107 for communicating with characters and figures, etc.
A CRT monitor 108 for displaying patterns, etc., and the CPU 100
Program memory 101, CG102, CRT controller 103, peripherals
Internal connection between control circuit 104 and input / output control device 107
A wiring path (CPU bus) 109 is provided. FIG. 1 is an internal configuration of the peripheral control circuit 104 in FIG.
It shows. In FIG. 1, a control signal generating circuit 1
Peripheral control based on signals and operation clock signal CLK
The control data latch (A) 6 in the circuit 104 and the control data latch
Either switch (B) 16 or CRTC address converter 18
Send a register selection signal to one
(A) 6, control data latch (B) 16, or CRTC add
Data from the CPU 100 to one of the
Or background data latch 14 or data buffer
Send data latch signal and data output signal to 13
And address selectors (A) 4 and (B) 5
Send U address selection signal and simultaneously
Generates control signals for the
Write data from CPU 100 to memory 105, 106, or
Data against the background data latch 14 and data buffer 15.
Sends a touch signal or data output signal and
CPU address selection for selectors (A) 4 and (B) 5
Signal and simultaneously send it to the graphics memories 105 and 106.
Generates a control signal to
Read data from 5,106 or select address
CRT address selection signal to the (A) 4 and (B) 5
And simultaneously control the graphics memories 105 and 106.
Control signal and data latch signal for shift unit 17
The video signal to be displayed on the CRT monitor 108 is
Is to be written. Access to the graphics memories 105 and 106 is the third
Read by one display data read access as shown
And sends the data to the CRT monitor 108 as a video signal.
Time, the next display data read time and CPU access
Time-divided two times, each with an independent address graph
Accesses the memory and reads the next display data.
Writing to graphic memory by CPU or
This is for reading. The address translator 2 has a width of 1024 dots as shown in FIG.
(128 bytes), graph composed of 1024 vertical dots
The vertical direction of the display on the CRT monitor 108
If the size does not exceed 512 dots,
Divide into area 0 and area 1 at the boundary and display on CRT monitor 108
Area 0 used as an area for storing data to be written
Byte addresses that can speed up display
The vertical address configuration will increase next, and the CPU 100
Area used as storage area for data used during execution of RAM
1 is a horizontal address in which the byte address sequentially increases in the horizontal direction.
Configuration of the CRT monitor 108.
If the vertical size of the display exceeds 512 dots,
CRT monitor 10 for all areas of flash memory 105, 106
Used as an area to store data to be displayed in 8, characters, etc.
Byte data so that the display data can be written at high speed.
Vertical address configuration where dresses increase sequentially in the vertical direction
Address signal from the CPU 100.
Address signals CA0 to CA given to the graphic memories 105 and 106
It is converted to CA16. The address translator 2
As shown in FIG. 6, address signals A0 to A16 from CPU 100 are
Address after address conversion (hereinafter called real byte address)
U) Address cross (A) 2 for conversion to CA0 to CA16
01 and address cross (B) 202 and data selector 203
The data selector 203 is controlled by
DC, VS0, VS1 and CPU address of data latch (A) 6
The signal A16 is input as a control signal.
Address cross (A) 201 and address cross (B) 202
Each of the vertical addresses in the address conversion correspondence table shown in FIG.
(A) and vertical address (B) from CPU100
Address signals A0 to A16 to real byte addresses CA0 to CA16
Is converted, and as a result
The byte addresses of the stick memories 105 and 106 are as shown in Fig. 7.
Graphic memories 105 and 106 according to each conversion mode.
Real byte address configured to increase sequentially in the horizontal direction
Is converted from the address. In other words, CPU 100
Addresses of graphic memories 105 and 106 viewed from the vertical direction
Address, and the CPU 100 issues the corresponding address.
Even if it is generated, the real
The write addresses CA0 to CA16 are stored in the graphic memories 105 and 106.
Addresses configured to increase sequentially in the horizontal direction
Is what it is. The adder 3 calculates the real byte addresses CA1 to CA16 and CA0.
This is to add the graph
Real bytes converted from address signals to memories 105 and 106
Even address graph when address becomes odd
Adjacent to the memory 105 in the increasing direction of the address.
Generates an even address of the graphic memory.
You. At this time, the odd address graphic memory 106
The byte addresses CA1 to CA16 are applied as they are.
You. If the real byte address is even, CA0 is 0 and even
Address graphic memory 105 and odd address groups
The rough memory 106 stores the real byte addresses CA1 to CA4.
CA16 is applied as it is. From the above, the actual byte
If the address is even, the real byte address indicates
Odd address memory adjacent to even address memory
16 bits are selected at once from several address memories, and the actual
If the byte address is odd, the real byte address indicates
Adjacent to the odd address memory
16-bit selectable even address memory
You. The CRTC address converter 18, as shown in FIG.
Splits the display screen of the
CRT control to configure door-to-screen
Screen refresh address signal (ra) from
Dress selector (A) 4 and address selector (B) 5
To give the modifiy address (mra)
is there. The CRTC address converter 18, as shown in FIG.
In the split screen to be described,
Data required to perform the following operations
Address conversion control registers 172 and 17 for storing
3,174,175 and the above CRTC address based on the CPU access signal
One of the address conversion control registers 172, 173, 174, 175
Sends the register selection signal to the
Control register 172, 173, 174, 175
Generates a control signal to write the address data
Decoder 171 and the screen
CRTC address conversion control of fresh address signal (ra)
According to the address set in registers 172, 173, 174, 175
Operation of round-up screen configuration
Modified Eye Address (mra)
Adders 182, 183, 185 and subtractor 18
1,184 and selectors 186,187. 171 decodes the CPU instruction given from the CPU bus
This is a decoder for selecting and giving to each register. 17
2 is the start address (CRT control)
Register (S) that stores the value of the output address of the roller 103)
A). 173 is on graphic memory 105,106
For the display of divided upper screen in the display area of
Register (DSA1 and DSA1) for storing the read start address
Call). 174 is a table on the graphics memory 105, 106
For display of the lower screen divided into screens in the display area
Register for storing the start address (called DSA2).
). 175 is the image on the graphics memory 105, 106
Stores the first address of the upper screen area divided into planes
(Referred to as VSA). Adders 182, 183, 185, subtractors 181, 184 and selector 18
6,187 are prepared for the required number of bits. The subtractor is
Output (AB) and borrow output B for inputs A and B
I do. The adder outputs (A + B) to input A and B and
And outputs a lead output C. Selector operates on DA and DB inputs
If the input of S is 1, select DA and if 0, select DB and output
Is what you do. Address selectors (A) 4 and (B) 5 are even numbers
Address graphic memory 105 and odd address groups
An address signal to be applied to the rough memory 106 is generated.
And a signal from the control signal generation circuit 1.
The real address from the CPU 100 or the CRTC address change
Any of the Modified Eye Address (mra) from exchanger 18
Select one of them and load the row of graphic memories 105 and 106.
Address and column address in a time-sharing manner.
You. The graphic memory boundary setting circuit 7 is an address of the CPU 100.
Signal and the control signal of the control data latch (A) 6
Then, the CPU 100 enters the area 1 of the graphic memories 105 and 106.
When data is accessed for
Data shift and compositing process
Set to 0, output the data of CPU100 as it is without performing synthesis
Signal to set the mode (hereinafter referred to as data through signal)
Is to occur. The graphic memory boundary setting circuit 7 is shown in FIG.
Address signal from CPU 100 and control data
(A) 6 (DC, DT0, DT
Compare the value of 1) to generate the data through signal.
(A) 701, an address signal from the CPU 100,
Set area 0 or 1 to vertical address or horizontal address
Compare the values of the horizontal address specification registers (VS0, VS1)
Comparator (B) 703 for generating the horizontal address designation signal
Between the data through signal and the horizontal addressing signal.
It consists of a logic 702 that performs a logical sum. The shift amount is forcibly set to 0, and the synthesis is not performed.
The mode to output U100 data as it is is the control data
Of each control signal of the latch (B) 16 and the data through signal.
The signal obtained by taking the logical sum or logical product
(A) 9, shift part (B) 10, shift part (C) 11 and write
Can be set by sending data to data synthesis unit 12
It works. The control data latch (B) 16 is a data shift synthesizing unit.
A control value for selecting the data shift amount or the synthesis method
Data latches to be touched, FC indicates the synthesis method
Data latch, and DN is CPU1 as shown in FIG.
The group of data to be written from 00 to the graphic memories 105 and 106
Specify the shift amount from the word boundary of the rough memories 105 and 106.
The data latch shown in FIG.
PU100 reads data from graphic memories 105 and 106.
The amount of shift from the word boundary of the graphic memories 105 and 106
This is the data latch to be instructed, and the WSN is as shown in FIG.
Data to be written from the CPU 100 to the graphic memories 105 and 106
Data start position and the shift amount from the word boundary of CPU100.
Data latch, and WN is shown in Fig. 12.
Data to be written from CPU 100 to graphic memories 105 and 106.
Data latch that indicates the data width of the data by the number of bits.
You. The write dot instruction pattern generator 8 controls the control data
(B) in FIG. 12 according to the value of the data latch WN of 16.
From 1 bit to d7 going from d0 to d7 as shown
The write dot instruction pattern MD which is the data string of 1 is issued.
It is the one that produces it. Shaded area in Fig. 12 Indicates 1. The shift section (A) 9 is a 16-bit data rotator.
With control data latch (B) 16 data latch DN value and
Changed to the value of CA0 of the graphic memory real byte address
As shown in FIG. 12, the write dot instruction pattern MD
Is rotated in the direction from d0 to d15 and data is written.
Only the position indication pattern SMD is generated. Real buy
If the address CA0 is 0, the address CA0 is d0 as shown in FIG.
Rotate to the position shifted by the value of data latch DN
When the real byte address CA0 is 1,
To the position shifted by the value of the data latch DN from d8
It is something to rotate. The shift unit (B) 10 is a 16-bit data rotator
With control data latch (B) 16 data latch DN, WSN
Value and the value of CA0 of the graphic memory real byte address
Accordingly, as shown in FIG. 13, the write data WD is changed from d0.
Rotate in the direction of d15 and rotate the write data
This is for generating a light pattern SWD. Real byte ad
If the address CA0 is 0, as shown in FIG.
Rotate to the position shifted by the value of DN-WSN
If the real byte address CA0 is 1,
As shown in (b), only the data latch DN-WSN value is transferred from d8.
It is to rotate to the position where it was shifted. This
The start position of the write data is the data write position
Match the indicated pattern SMD. The background data latch 14 is transmitted from the control signal generation circuit 1.
Signal in the CPU access time shown in FIG.
16-bit background read out from the memory 105 and 106
This is for latching the data RD. The write data synthesizing unit 12 includes the shift unit (A) 9
(B) 10 and the data output from the background data latch 14.
Data write position indication pattern SMD, write data rotation
Pattern SWD, background data RD and control data latch
(B) SWD and RD are SMD based on the value of 16 data latch FC
Is a logical product, a logical sum, an exclusive logical sum, etc.
Synthesis And the other parts output RD as is Write to perform processing and write to graphic memories 105 and 106
It generates and outputs only data. This allows
If the real byte address CA0 is 0, it is shown in FIG.
Position rotated from d0 by the value of data latch DN
The write data of CPU 100 is located at
If 0 is 1, the data from d8 is read as shown in FIG.
Write data of CPU100 to the position rotated by the value of switch DN.
Data is located. The shift unit (C) 11 is a 16-bit data rotator.
Yes Data latch RSN value of control data latch (B) 16
And the value of CA0 of the graphic memory real byte address
Therefore, as shown in FIG.
The background data RD read from 6 is directed from d15 to d0 and
To rotate to generate CPU read data SRD.
You. When the real byte address CA0 is 0, (a) in FIG.
The data latch RSN value toward d0
Figure 14 when the real byte address CA0 is 1
RSN + 8 bit rotation toward d0 as shown in (b)
Is what you do. As a result, on the CPU read data SRD
The start position of the read data matches d0. The shift unit 17 is a signal transmitted from the control signal generation circuit 1.
As a result, the display data read time shown in FIG.
32 bits read twice from the stick memories 105 and 106
Latch and serially shift the display data of
Is converted and output. The number attached to the signal line means the number of lines. Next, the operation of the display device having the above configuration will be described.
You. Display to the input / output control unit 107 from the external device via the signal line 110
When the display data and display command are input, the CPU 100
Is detected, the display command is analyzed, and the display operation is started. Display of character patterns stored in CG102
Is the address of the character pattern stored in CG102
And write the pattern data to be displayed
Write address of memory 105, 106, shift value DN, and synthesis
Indication value FC, write data head position instruction value WSN, and write
Only the data width indication value WN is calculated, and then combined with the shift value DN.
Indication value FC, write data head position instruction value WSN, and write
Control data latch (B)
Write to the corresponding data latch in 16. Next, the CG102
Write to the graphic memory 105, 106 from this address
Pattern data and read it through the peripheral control circuit 104.
To the corresponding address in the graphics memory 105, 106
Put in. At this time, the peripheral control circuit 104 operates as shown in FIG.
Access to graphic memories 105 and 106
CPU access time to graphics memory 105, 106
Then, the write operation is performed as follows. In the address converter 2, the graphic memories 105, 10
Generate a real byte address n for writing to 6. Adder 3, address selector (A) 4, address selector
(A) When n is an even number, an even address graphic memo
N in the memory 105, and the odd address graphic memory 106
Apply n + 1. (B) Even address graph graph memo when n is odd
N + 1 in the memory 105 and the odd-numbered address graphic memory 106
Is applied with n. Thereby, when the real byte address n is an even number,
Even address graph indicated by the real byte address n
The odd number address adjacent to the memory 105 and the address
Select 16 bits for the dress graph memory 106
If the real byte address n is an odd number,
Odd address graphic memory 10 specified by address
Even address graph adjacent to 6 in the address increasing direction
A 16-bit selection is made for all of the push memories 105 at a time. Access signal RAS to graphic memories 105 and 106
And CAS and send background data from the address selected above.
Reads the data, latches it on the background data latch 14, and
Data RD. At the same time as the above, the write pattern generator 8, the shift unit
(A) 9, shift unit (B) 10, write data synthesizing unit 12
From FIG. 14, as shown in FIG. 14, (a) when n is an even number, 16 bits starting from d0
The write pattern at the position shifted by DN bit from d0.
Generate the data where the button is located. (B) When n is odd, for 16 bits starting from d8
The write pattern at a position shifted by DN bit from d8.
Generate the data where the button is located. When the background data latch operation is completed, the data
To the graphic memory 105, 106 via the server 13
Send the write data generated in
Sends data write signal WE to memories 105 and 106,
Write the generated data. Thus, as shown in FIG. 16, the CPU 100
The pattern data written for dress n
Write pattern data even when shifting
Is simultaneously written to real byte addresses n and n + 1
I will. As a result, the actual byte address is
Operation of writing to the n and n + 1 in two separate steps
Only needs to be performed once, and the writing process can be sped up.
The same speed can be obtained regardless of the writing position.
You. Next, it is stored in the graphic memories 105 and 106.
When the display operation is to display the pattern
Patterns stored in rough memories 105 and 106
Address to write the pattern to be displayed
Write addresses of the memory 105, 106, the shift value Dn,
A synthesis instruction value FC, a write data head position instruction value WSN,
Write data width indication value WN and read pattern data
The effective start position indication value RSN is calculated, and then the shift value DN
Write instruction FC, write data start position instruction WSN,
Data width indication value WN and effective start position indication value RSN.
The corresponding data latch in the control data latch (B) 16
Write to Tsuchi. Next, the corresponding graphics memory 105, 106
Move and display from the address via the peripheral control circuit 104
Read the pattern and graph it via the peripheral control circuit 104
The data is written to the corresponding addresses of the topic memories 105 and 106. This
In this case, the peripheral control circuit 104 performs time division as shown in FIG.
CPU access to the graphics memory 105, 106
Access time to the graphics memory 105, 106
The read operation is performed as described above, and the
Write turn data. In the address converter 2, the graphic memories 105, 10
Generate a read real byte address m to 6. Adder 3, address selector (A) 4, address selector
(A) If m is an even number, even address graph memo
M in the memory 105, and the odd-numbered address graphic memory 106
Apply m + 1. (B) When m is odd, even address graph
M + 1 in the memory 105 and the odd address graphic memory 106
Is applied to m + 1. Thereby, when the real byte address m is an even number,
Even address graph indicated by the real byte address m
The odd number address adjacent to the memory 105 and the address
Select 16 bits for the dress graph memory 106
If the real byte address m is an odd number,
Odd address graphic memory 10 specified by address
Even address graph adjacent to 6 in the address increasing direction
A 16-bit selection is made for all of the push memories 105 at a time. Access signal RAS to graphic memories 105 and 106
And CAS and send data from the address selected above.
Is read out and latched to the background data latch 14, and the background data
Get RD. As shown in FIG. 11, (a) when m is an even number, the shift unit (C) 11
The pattern at the position RSN bit shifted from d0 is
Generated as the title read data. (B) If m is odd, for 16 bits starting from d8
The pattern at the position shifted by dsn from d8 to 8 bits
Generated as the title read data. The read data generated by the
To the CPU 100. Thus, as shown in FIGS. 9 and 11, the CPU 100
Is read from the real byte address m.
The read pattern is not
Are simultaneously read from the site addresses m and m + 1. This
As a result, as shown in FIG.
Read operation is divided into two for +1 only once.
And the reading process can be sped up, and the reading position
The same speed can be obtained regardless of the above. Read more
Operation and the display operation on the display screen
Moved and stored in the graphics memory 105, 106
It is possible to speed up the display processing of the pattern data. Next, a part of the graphic memories 105 and 106 (see FIG. 4)
Area 0) as the display area
The remaining portions of the limbs 105 and 106 (region 1 in FIG. 4)
Explanation of operation when used as data area of PU100
I will tell. Graphic memo as data area of CPU100
When using the area 1 of the memory 105, 106,
Set the shift amount to 0 for the boundary, and read or write the area
Operation must be performed. In this case, the CPU 100
The control value DC in the control data latch (A) 6 is 1, and VS0 is
Control data to set 1, DT0 to 0, VS1 to 0, DT1 to 1
Write data to the latch (A) 6. This allows the graph
FIG. 4 shows the read memories 105 and 106 as viewed from the CPU 100.
Is divided into two areas, area 0 and area 1. region
0 indicates that the address increases in the vertical direction and the data shift
Area to perform the data synthesis processing, and area 1 is added in the horizontal direction.
And the data shift combining process described above is performed.
It is just an area through which data is passed. CPU 100 accesses area 0 for drawing processing
Considering the case where the CPU 100 is a 24 × 24 bit
When handling character patterns, three lines
Site depth, 24 bytes deep in raster order direction
In the 8086 and 8088 used as CPU 100,
String instruction (predetermined register
From the source address specified in the
The transfer of the number of bytes reduces the minimum instruction step and the shortest processing time.
What is done at a reasonable time. The maximum effect of this processing method
In order to obtain the result, it is necessary to take a large number of bytes for one transfer.
It is effective. ) Is prepared, so the
The addresses of the rough memories 105 and 106 are in the raster forward direction.
Should be lined up. On the other hand, large size including continuous raster such as clearing the whole screen
When performing the same operation on an
The address arrangement in the Tuscan direction is the frequency of process switching
Can be switched between the two.
This is a preferable configuration for various kinds of processing. Character display on the screen by the CPU 100 is
Group to display the character pattern specified by the
Tosling to byte address of rough memory 105, 106
This is performed by writing using a programming instruction. Place
Because half-width characters are 1.5 bytes wide,
If one half-width character is entered in the
Bit position of character pattern is not 4 bits in 5,106
Inconsistent situations occur even if they are done. At this time, in a configuration having no write / read means,
Is the graphic memory 10 from the character generator.
1 byte transfer in character pattern transfer processing to 5,106
Bit processing must be performed each time it is sent,
Memory movement by string instructions has not been available. The device should be equipped with the read / write means.
Bit shift processing, mask processing, etc. instead of CPU 100
Use the string instruction
Write to the graphics memory 105, 106 at high speed
Can be. Next, when the CPU 100 accesses the area 1, the
The memory boundary setting circuit 7 generates the address signal of the CPU 100.
From A0 to A16, the CPU access is to area 1
That the control data latch (B) 16
Sends a data through signal. Control data latch (B)
16 is a control data latch by the data through signal.
(B) Force FC, DN, RSN, WSN, WN output from 16
The shift amount is set to 0 for each, and the data of CPU 100 is not
The value is input and output as it is and output. This
Access of area 100 by CPU 100
Since area 1 is not affected,
It can be used as an area, and the graphic memory 105,
106 can be used effectively. By the way, in the illustrated embodiment, the area 0 and the area
1 and the vertical address, horizontal address and data of each area
Register settings and graphics memory settings.
Although the case where the setting is performed by the constant circuit 7 has been exemplified,
Address, horizontal address and data through status of each area
The settings are as shown in FIG. 21.
In the address area 22 of the CPU 100 (221,222),
For example, each area 221 has a horizontal address and a data address.
Area 222, the vertical address and data shift
The state of each area is fixed to the operation state, and the CPU 100
When accessing the display area of the memory 105, 106
The area 222 is accessed, and the CPU 100
When accessing the data areas of the memories 105 and 106, the area 221 is used.
Even if it is configured to access
Similar effects can be obtained. Next, referring to the circuit diagram shown in FIG.
The first diagrammatically shows the relationship between the memory 105 and 106 and the display screen.
Based on Fig. 8 and Fig. 19,
Explanation of the operation when configuring a door-to-screen
I do. Here, the upper screen is a text area, and the lower screen is a text area.
Used for stem region. Fig. 18 shows a round-up screen.
Is not being performed, the display start area
The contents of the DSA1 register 173 and DSA2 register 174
The graphic memory 105, which is schematically shown in FIG.
106 data is read and the display screen is displayed on the CRT monitor 108.
It is formed as shown in FIG. Indicated by A in FIG. 18 (b)
To see the lower part of the screen content
When the screen is scrolled in the direction, the CPU
Is added to the area pointing downward in FIG. 18 (a).
Graph to be newly displayed
Text (for example, new display text)
(For one line of text). Next, if you continue scrolling, the A
The area and the B area overlap. At this time, as shown in FIG.
Area A is the address value stored in DSA2 register 174
The area C is displayed next. sand
That is, during such scroll processing, the DSA1 register 17 is used.
Set 3 to draw new data in the area corresponding to area C
do it. Then, the graphic shown in FIG.
The memory area is displayed on the display screen as shown in FIG.
You. To satisfy these relationships, the CRTC address converter 18
At the output modifiable address (m
ra) and the contents of each register (see FIGS. 17-19)
The lowercase letter of the register name
And the input terminals of the subtractor 181 and the adder 183.
The relational expression of CRTC address (ra) which is the input to child A is
It is like that. ra <sa, ra-sa <0; A region mra = ra + dsa1 ra ≧ sa, ra−sa ≧ 0; B region mra = (ra−sa) + dsa2 ra + dsa1 ≧ dsa2 ra− (dsa2-dsa1) ≧ 0; C region mra = ((ra + dsa1)-dsa2) + vsa = vsa + ra-(dsa2-dsa1) From the above, the bitmap is used as the screen refresh method.
Uses the pre-fresh method and displays the screen in multiple areas.
In the display control device adopting the method of dividing into
When scrolling the screen that requires high-speed processing, the display start
Scroll one area by changing dress and new drawing
Action is taken. This can be applied to the illustrated embodiment.
For example, when scrolling the screen, the CPU
Only by rewriting register 173 and drawing the new display part
The crawl operation can be completed and the conventional screen
All display data was instructed as in scrolling
Moving in the direction eliminates the need
Screen scrolling with much less data processing
be able to. Note that the conventional display device corresponds to FIGS. 18 and 19.
(That is, bit pine as a screen refresh method)
Uses the Pleasure method and displays the screen in multiple areas
Screen scrolling of display device that adopts the method of dividing into
Considering the processing, the conventional display system described above
According to the control device, one region (FIG. 18 and FIG. 19)
The other area (see reference numeral A in FIG. 18)
Screen scrolling is possible if it does not overlap
Bit map memory area corresponding to one area
Overlaps the bit map memory area corresponding to the other area.
If a failure occurs, transfer a large amount of data on the bitmap memory.
Movement is inevitable, and eventually the display data corresponding to one area
Block all of the data in the direction indicated.
Thus, the scroll speed is determined. By the way, in the illustrated embodiment, the area is divided into a plurality of areas.
Loop through the screen area in the upper area of each screen
Address in the specified memory block
Example when configuring a round-up screen
However, the screen scrolling process as described above requires multiple areas.
There is no problem in performing in all areas. [Effect of the Invention] As described above, according to the present invention, the graphic memory is displayed on the screen.
Display area and CPU data area.
In addition to the screen display data storage area, the CPU data storage area
Available and make effective use of graphic memory
And the first address conversion means is provided on the screen display area.
Of the address of the graphic memory corresponding to the area
Direction is converted to a horizontal address or a vertical address, and the second address is
Means for converting the graphics corresponding to the CPU data area.
The direction of the address change of the memory is determined by the first address change.
Independent of the address conversion by the conversion means, fixed to the horizontal address.
To convert and access graphics memory
Display data storage processing for the screen display area
Switch to vertical / horizontal address
With this, this process can be performed at high speed
In addition, in the data storage process for the CPU data area,
No special address processing is required (address direction
When the display area is switched by switching the address,
Address processing is required each time, processing is complicated and
The data storage process for the CPU data area.
Processing can be performed quickly and accurately.
The dress conversion means divides the screen display area into more complicated
One of these areas constitutes a round-up screen
The address from the display address generator is converted as
Since the graphics memory is accessed,
To update the display data when scrolling the screen, write the display data
The data transfer means.
Faster scrolling by reducing the amount of transfer processing
The effect that can be obtained is obtained.

【図面の簡単な説明】 第1図は本発明になる周辺制御回路のブロツク図、第2
図は本発明になる表示装置のブロツク図、第3図は周辺
制御回路がグラフイツクメモリへアクセスする時の各々
の動作を説明するタイミング図、第4図はグラフイツク
メモリの領域分割を説明するための説明図、第5図は本
発明になるアドレス変換器の動作を説明するためのアド
レス変換対応テーブルの説明図、第6図は本発明になる
アドレス変換器のブロツク図、第7図は本発明になるア
ドレス変換器の変換動作によるアドレス変換説明図、第
8図は文字パターンの説明図、第9図はパターンの読出
し位置の説明図、第10図はパターンの書込み位置の説明
図、第11図はシフト部(C)の動作の説明図、第12図は
シフト部(A)の動作の説明図、第13図はシフト部
(B)の動作の説明図、第14図は書込みデータ合成部の
動作の説明図、第15図は従来の方式によるデータの書込
み読出し方式の説明図、第16図は本発明によるデータの
書込み読出し方式の説明図、第17図はCRTCアドレス変換
器のブロツク図、第18図(a)ならびに(b)および第
19図(a)ならびに(b)はそれぞれグラフイツクメモ
リとCRTモニター(表示画面)との関係を模式化して示
す説明図、第20図はグラフイツクメモリ境界設定回路の
ブロツク図、第21図は本発明の変形例のグラフイツクメ
モリのCPUから見たアドレス付けの説明図である。 1……制御信号発生回路、2……アドレス変換器、3…
…加算器、4……アドレスセレクタ(A)、5……アド
レスセレクタ(B)、6……制御データクラツチ
(A)、7……グラフイツクメモリ境界設定回路、8…
…書込みドツト指示パターン発生器、9……シフト部
(A)、10……シフト部(B)、11……シフト部
(C)、12……書込みデータ合成部、14……背景データ
ラツチ、16……制御データラツチ(B)、18……CRTア
ドレス変換器、105……偶数アドレスグラフイツクメモ
リ、106……奇数アドレスグラフイツクメモリ。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a peripheral control circuit according to the present invention, FIG.
FIG. 3 is a block diagram of the display device according to the present invention, FIG. 3 is a timing chart for explaining the respective operations when the peripheral control circuit accesses the graphic memory, and FIG. 4 is a diagram for explaining the area division of the graphic memory. FIG. 5 is an explanatory view of an address translation correspondence table for explaining the operation of the address translator according to the present invention, FIG. 6 is a block diagram of the address translator according to the present invention, and FIG. FIG. 8 is an explanatory diagram of an address translation by the translation operation of the address translator according to the present invention, FIG. 8 is an explanatory diagram of a character pattern, FIG. 9 is an explanatory diagram of a pattern reading position, FIG. 11 is an explanatory diagram of the operation of the shift unit (C), FIG. 12 is an explanatory diagram of the operation of the shift unit (A), FIG. 13 is an explanatory diagram of the operation of the shift unit (B), and FIG. FIG. 15 is an explanatory diagram of the operation of the data synthesizing unit, and FIG. FIG. 16 is an explanatory diagram of a data write / read method according to the present invention, FIG. 16 is an explanatory diagram of a data write / read method according to the present invention, FIG. 17 is a block diagram of a CRTC address converter, and FIGS. 18 (a) and (b). And the first
19 (a) and (b) are explanatory diagrams schematically showing the relationship between a graphic memory and a CRT monitor (display screen), FIG. 20 is a block diagram of a graphic memory boundary setting circuit, and FIG. FIG. 11 is an explanatory diagram of addressing as viewed from a CPU of a graphic memory according to a modified example of the present invention. 1 ... Control signal generation circuit, 2 ... Address converter, 3 ...
... Adder, 4 ... Address selector (A), 5 ... Address selector (B), 6 ... Control data clutch (A), 7 ... Graphic memory boundary setting circuit, 8 ...
... Write dot instruction pattern generator, 9... Shift unit (A), 10... Shift unit (B), 11... Shift unit (C), 12... Write data synthesizing unit, 14. ... Control data latch (B), 18 ... CRT address converter, 105 ... Even address graphic memory, 106 ... Odd address graphic memory.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 宮崎 一男 茨城県日立市東多賀町1丁目1番1号 株式会社日立製作所多賀工場内 (72)発明者 阿部 幸雄 茨城県日立市東多賀町1丁目1番1号 株式会社日立製作所多賀工場内 (56)参考文献 特開 昭62−237490(JP,A) 特開 昭60−21085(JP,A) 特開 昭57−41753(JP,A) 特開 昭59−52286(JP,A) 特開 昭61−246790(JP,A) 特開 昭60−22184(JP,A)   ────────────────────────────────────────────────── ─── Continuation of front page    (72) Inventor Kazuo Miyazaki               1-1-1 Higashitagacho, Hitachi City, Ibaraki Prefecture               Inside the Taga Factory of Hitachi, Ltd. (72) Inventor Yukio Abe               1-1-1 Higashitagacho, Hitachi City, Ibaraki Prefecture               Inside the Taga Factory of Hitachi, Ltd.                (56) References JP-A-62-237490 (JP, A)                 JP-A-60-21085 (JP, A)                 JP-A-57-41753 (JP, A)                 JP-A-59-52286 (JP, A)                 JP-A-61-246790 (JP, A)                 JP-A-60-22184 (JP, A)

Claims (1)

(57)【特許請求の範囲】 1.表示装置と、該表示装置が動作するためのプログラ
ムやデータを記憶するプログラムメモリと、語単位のデ
ータおよび該データの転送位置を示す語アドレスを発生
するデータ転送手段と、前記プログラムメモリとは別に
設けられたグラフィックメモリと、前記表示装置へ画面
表示するために前記グラフィックメモリからデータを読
出すためのアドレスを発生する表示アドレス発生部と、
前記データ転送手段および表示アドレス発生部とグラフ
ィックメモリの間に接続され、該グラフィックメモリに
記憶するデータを書込む書込み手段と該グラフィックメ
モリに記憶されているデータを読出す読出し手段とを含
むグラフィックメモリ制御回路とを備えた情報処理装置
において、前記グラフィックメモリ制御回路は、前記グ
ラフィックメモリを画面表示領域とCPUデータ領域に分
割する境界が設定されるグラフィックメモリ境界設定回
路と、前記画面表示領域に対する前記データ転送手段か
らのアドレスをラスタスキャン方向に変化する横アドレ
スまたはラスタ順方向に変化する縦アドレスに変換する
第1のアドレス変換手段と、前記CPUデータ領域に対す
る前記データ転送手段からのアドレスを、第1のアドレ
ス変換手段によるアドレス変換と独立して、ラスタスキ
ャン方向に変化する横アドレスに固定して変換する第2
のアドレス変換手段と、前記画面表示領域を更に複数に
分割してその1つをループ状にアドレスして指定された
メモリブロック内でラウンドアップスクリーンを構成す
るように前記表示アドレス発生部からのアドレスを変換
する第3のアドレス変換手段を備え、画面スクロール時
には新たに表示するデータのみを書替えると共に画面表
示開始アドレスを変更するようにしたことを特徴とする
情報処理装置。 2.特許請求の範囲第1項において、前記書込み手段と
読出し手段は、前記データ転送手段へのデータの前記グ
ラフィックメモリからの読出し位置を前記グラフィック
メモリの語境界からのビット数で指示する第1指示手段
と、前記グラフィックメモリから前記データ転送手段へ
のデータ転送経路中に設けられ前記グラフィックメモリ
からのデータを前記第1指示手段による読出し位置情報
にしたがってシフトする第1データシフト手段と、この
第1データシフト手段でシフトされたデータを前記デー
タ転送手段に送出する読出し回路と、前記データ転送手
段からのデータの前記グラフィックメモリへの書込み位
置を前記グラフィックメモリの語境界からのビット数で
指示する第2指示手段と、前記データ転送手段から前記
グラフィックメモリへのデータ転送経路中に設けられ前
記データ転送手段からのデータを前記第2指示手段によ
る書込み位置情報にしたがってシフトする第2データシ
フト手段と、この第2データシフト手段でシフトされた
データを前記グラフィックメモリに書込む書込み回路を
備えたことを特徴とする情報処理装置。 3.特許請求の範囲第1項において、前記グラフィック
メモリは互いに独立して同時にアクセスできる奇数語ア
ドレスのデータを格納する奇数アドレスメモリ部と偶数
語アドレスのデータを格納する偶数アドレスメモリ部と
を備え、前記読出し手段と書込み手段は、前記データ転
送手段へのデータの前記グラフィックメモリからの読出
し位置を前記グラフィックメモリの語境界からのビット
数で指示する第1指示手段と、前記グラフィックメモリ
から前記データ転送手段へのデータ転送経路中に設けら
れ前記グラフィックメモリからのデータを前記第1指示
手段による読出し位置情報にしたがってシフトする第1
データシフト手段と、この第1データシフト手段でシフ
トされたデータを前記データ転送手段に送出する読出し
回路と、前記データ転送手段からのデータの前記グラフ
ィックメモリへの書込み位置を前記グラフィックメモリ
の語境界からのビット数で指示する第2指示手段と、前
記データ転送手段から前記グラフィックメモリへのデー
タ転送経路中に設けられ前記データ転送手段からのデー
タを前記第2指示手段による書込み位置情報にしたがっ
てシフトする第2データシフト手段と、この第2データ
シフト手段でシフトされたデータを前記グラフィックメ
モリに書込む書込み回路と、前記奇数アドレスメモリ部
からの読込みデータと前記偶数アドレスメモリ部からの
読込みデータを前記第1データシフト手段に与え、該第
1データシフト手段から出力されたデータから前記デー
タ転送手段に送出するデータを発生する読込みデータ発
生手段と、前記書込み回路に前記第2データシフト手段
から出力されたデータから前記奇数アドレスメモリ部へ
の書込みデータと前記偶数アドレスメモリ部への書込み
データを発生する書込みデータ発生手段と、さらに前記
データ転送手段から与えられた前記奇数アドレスメモリ
部と偶数アドレスメモリ部のいずれか一方のメモリ部に
対する語アドレスから該メモリ部に対するアクセスアド
レスと他方のメモリ部に対するアクセスアドレスを発生
するアクセスアドレス発生手段とを備え、前記一方のメ
モリ部から前記アクセスアドレス発生手段からのアクセ
スアドレスにしたがって前記データを読出し、同時にシ
フトによって語境界を越えたデータを他方のメモリ部か
ら読出し、前記一方のメモリ部に前記アクセスアドレス
発生手段からのアクセスアドレスにしたがって前記デー
タを書込み、同時にシフトによって語境界を越えたデー
タを前記他方のメモリ部に書込むことを特徴とする情報
処理装置。 4.特許請求の範囲第3項において、前記第1および第
2データシフト手段は2語に相当するローテイトビット
幅のデータローテイタを備えたことを特徴とする情報処
理装置。 5.特許請求の範囲第3項において、前記書込み回路
は、前記データシフト手段から出力されたデータと前記
グラフィックメモリから読出されたデータを入力して書
込みデータを発生するリードモディファイライト手段を
備えたことを特徴とする情報処理装置。 6.特許請求の範囲第1項において、前記第3のアドレ
ス変換手段は加算器と減算器およびセレクタから成るこ
とを特徴とする情報処理装置。
(57) [Claims] A display device, a program memory for storing a program or data for operating the display device, a data transfer unit for generating data in word units and a word address indicating a transfer position of the data, and separately from the program memory. A graphic memory provided, and a display address generator for generating an address for reading data from the graphic memory for displaying a screen on the display device;
A graphic memory connected between the data transfer means and the display address generating section and the graphic memory, the writing means for writing data stored in the graphic memory, and the reading means for reading data stored in the graphic memory; In an information processing apparatus including a control circuit, the graphic memory control circuit includes: a graphic memory boundary setting circuit in which a boundary for dividing the graphic memory into a screen display area and a CPU data area is set; A first address conversion means for converting an address from the data transfer means into a horizontal address changing in a raster scan direction or a vertical address changing in a raster forward direction, and an address from the data transfer means for the CPU data area, Ad by address conversion means Independently of the scan conversion, a second converting fixed laterally address changes in raster scan direction
Address converting means, and an address from the display address generating section so that the screen display area is further divided into a plurality of sections, one of which is addressed in a loop to form a round-up screen in a specified memory block. An information processing apparatus comprising: a third address conversion unit that converts a data to be displayed, and rewrites only data to be newly displayed and changes a screen display start address when the screen is scrolled. 2. 2. The first indicating means according to claim 1, wherein said writing means and reading means indicate a reading position of data to said data transfer means from said graphic memory by a bit number from a word boundary of said graphic memory. First data shift means provided in a data transfer path from the graphic memory to the data transfer means for shifting data from the graphic memory according to read position information by the first instruction means; A read circuit for sending the data shifted by the shift means to the data transfer means; and a second circuit for designating a write position of the data from the data transfer means to the graphic memory by the number of bits from a word boundary of the graphic memory. Instruction means, and from the data transfer means to the graphic memory A second data shift means provided in a data transfer path for shifting data from the data transfer means in accordance with write position information by the second instruction means, and transferring the data shifted by the second data shift means to the graphic memory An information processing apparatus, comprising: a writing circuit that writes data into a memory. 3. 2. The graphic memory according to claim 1, wherein the graphic memory comprises an odd address memory unit for storing data of an odd word address and an even address memory unit for storing data of an even word address which can be accessed independently and simultaneously. Reading means and writing means, first indicating means for indicating the position at which data to the data transfer means is read from the graphic memory by the number of bits from a word boundary of the graphic memory; and data transfer means from the graphic memory to the data transfer means. A data transfer path for shifting data from the graphic memory according to read position information by the first instruction means.
A data shift means, a read circuit for sending the data shifted by the first data shift means to the data transfer means, and a write position of the data from the data transfer means to the graphic memory, a word boundary of the graphic memory. Second instruction means for instructing by the number of bits from the data transfer means, and data provided from the data transfer means in the data transfer path from the data transfer means to the graphic memory are shifted according to the write position information by the second instruction means. A write circuit for writing the data shifted by the second data shift means into the graphic memory, and a read data from the odd address memory section and a read data from the even address memory section. The first data shift means is provided to the first data shift means. Read data generating means for generating data to be sent to the data transfer means from the data output from the data transfer means; write data to the odd address memory portion from the data output from the second data shift means to the write circuit; Write data generating means for generating write data to an even address memory section, and further from a word address for one of the odd address memory section and the even address memory section provided from the data transfer means, And an access address generating means for generating an access address to the other memory section. The data is read from the one memory section according to the access address from the access address generating means, and a word boundary is simultaneously shifted by shifting. Exceeded data Reading from the other memory unit, writing the data to the one memory unit in accordance with the access address from the access address generating means, and simultaneously writing data that exceeds a word boundary by shifting to the other memory unit. Information processing device. 4. 4. An information processing apparatus according to claim 3, wherein said first and second data shift means include a data rotator having a rotate bit width corresponding to two words. 5. 3. The method according to claim 3, wherein the write circuit includes read-modify-write means for inputting data output from the data shift means and data read from the graphic memory to generate write data. Characteristic information processing device. 6. 2. An information processing apparatus according to claim 1, wherein said third address conversion means comprises an adder, a subtractor, and a selector.
JP62212989A 1987-08-28 1987-08-28 Information processing device Expired - Fee Related JP2954589B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62212989A JP2954589B2 (en) 1987-08-28 1987-08-28 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62212989A JP2954589B2 (en) 1987-08-28 1987-08-28 Information processing device

Publications (2)

Publication Number Publication Date
JPS6457292A JPS6457292A (en) 1989-03-03
JP2954589B2 true JP2954589B2 (en) 1999-09-27

Family

ID=16631621

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62212989A Expired - Fee Related JP2954589B2 (en) 1987-08-28 1987-08-28 Information processing device

Country Status (1)

Country Link
JP (1) JP2954589B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4742507B2 (en) * 2003-03-31 2011-08-10 セイコーエプソン株式会社 Image display device
JP4742508B2 (en) * 2003-03-31 2011-08-10 セイコーエプソン株式会社 Image display device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5741753A (en) * 1980-08-26 1982-03-09 Mitsubishi Electric Corp Arithmetic device
JPS5952286A (en) * 1982-09-20 1984-03-26 株式会社東芝 Video ram writing control system
JPS6022184A (en) * 1983-07-19 1985-02-04 沖電気工業株式会社 Display control system
JPS61246790A (en) * 1985-04-25 1986-11-04 三菱電機株式会社 Address control system for frame memory

Also Published As

Publication number Publication date
JPS6457292A (en) 1989-03-03

Similar Documents

Publication Publication Date Title
JPS6026395A (en) Display unit
KR860002872A (en) Image memory peripherals
JPH07181941A (en) Frame buffer device provided with high-speed copying means and execution method of double-buffered animation using said device
US4924432A (en) Display information processing apparatus
JP2954589B2 (en) Information processing device
JPS5952290A (en) Video ram writing controller
JPS6330633B2 (en)
JPH0325684A (en) Picture drawing controller
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JP2007183377A (en) Display control device
JPH077262B2 (en) Display device
JPS63223970A (en) Information processor
JPS63149690A (en) Information processor
JPS5828588B2 (en) Graphics
JPS60251431A (en) Memory display device
JPS63304293A (en) Display memory control circuit
JPS5971086A (en) Crt display
JP2829051B2 (en) Character display method
JPS62229188A (en) Display controller
JPS61109094A (en) Cursor display unit
JPS6213690B2 (en)
JPH0550013B2 (en)
JPS6156392A (en) Image memory writing/reading controller
JPH0438582A (en) Image processor
JPH07311567A (en) Method and device for outputting image

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees