JPS6113255B2 - - Google Patents

Info

Publication number
JPS6113255B2
JPS6113255B2 JP53025401A JP2540178A JPS6113255B2 JP S6113255 B2 JPS6113255 B2 JP S6113255B2 JP 53025401 A JP53025401 A JP 53025401A JP 2540178 A JP2540178 A JP 2540178A JP S6113255 B2 JPS6113255 B2 JP S6113255B2
Authority
JP
Japan
Prior art keywords
screen data
data
screen
display device
writing
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
Application number
JP53025401A
Other languages
Japanese (ja)
Other versions
JPS54118735A (en
Inventor
Masahide Nomura
Masahiro Iwamura
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 JP2540178A priority Critical patent/JPS54118735A/en
Publication of JPS54118735A publication Critical patent/JPS54118735A/en
Publication of JPS6113255B2 publication Critical patent/JPS6113255B2/ja
Granted legal-status Critical Current

Links

Description

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

本発明は、プロセス状態表示装置に係り、特に
2次元画像を表示をするに好適なプロセス状態表
示装置の表示方法に関する。 プロセス計算機制御システムとオペレータとの
情報交換手段として、CRT(陰極線管)表示装
置を利用できる。次に、このCRT表示装置につ
いて説明する。 第1図は、CRT表示装置の典型例であり、計
算機1のプロセスの状態に関する情報をCRT6
に文字あるいはパターンとして表示し、キー・ボ
ード9を使用してオペレータがCRT6の表示内
容を変更する。また、キー・ボード9を使用して
データを計算機1に入力する。次に、第1図の
CRT表示装置の構成要素について、詳しく説明
する。 第1図において、インターフエイス・コントロ
ーラ2は、計算機1からの文字あるいはパターン
を表示するための画面データをリフレツシユ・メ
モリ3へ、あるいは、リフレツシユ・メモリ3か
ら計算機1へ送る。画面データは、画素コードと
色コードからなるデータのデータ列からなる。ま
た、キー・ボード9より入力された画面データを
リフレツシユ・メモリ3へ送る。リフレツシユ・
メモリ3は、計算機1とキー・ボード9から入力
された画面データを記憶する。デイスプレイ・コ
ントローラ8は、文字・パターン発生器4、カラ
ー・コントローラ7のタイミング制御を行なう。
文字・パターン発生器4は、リフレツシユ・メモ
リ3から画面データの中の画素コードを順次読出
し、これを文字あるいはパターンを表示するのに
必要なドツト・パターンに変換し、ビデオ信号を
作り出す。第2図は、CRT6のスクリーン上に
表示される文字「A」の画素コードに対応するド
ツト・パターンを列として示したものである。図
で、a1〜a7はドツト・パターンの行を、b1〜b3
列をそれぞれ示す。CRT6のスクリーンに表示
される画面は、第2図のようなドツト・パターン
を単位として、これを2次元的に配列して構成す
る。第3図は、第2図のドツト・パターンに対応
して作られるビデオ信号を示す。第3図では、第
2図で列を示すb1〜b5が時間を示すことになる。
カラー・コントローラ7は、リフレツシユ・メモ
リ3からの画面データの中の色コードに基づいて
色制御信号を作り出す。ビデオ・コントローラ5
は、文字・パターン発生器4からのビデオ信号と
カラー・コントローラ7からの色制御信号を合成
して、CRT6のスクリーンに画素を表示する。 ところで、CRT表示装置を利用してプロセス
計算機制御システムとオペレータがプロセス状態
についての情報交換を行なうために計算機1から
文字あるいはパターンを表示するための画面デー
タをリフレツシユ・メモリ3へ転送する場合、画
面データのリフレツシユ・メモリ3上での位置を
インターフエイス・コントローラ2に知らせてや
る必要がある。従来は、画面データのリフレツシ
ユ・メモリ3への書込み開始位置を計算機1から
インターフエイス・コントローラ2に知らせてや
り、その後書込み指令と画面データを転送すると
書込み開始位置から水平方向に左から右へ
(CRTスクリーンに向つて)順次画面データをリ
フレツシユ・メモリ3へ書込み、CRT6のスク
リーンの右端に対応する位置に来ると1行下の左
端に対応する位置に移り再び水平方向に左から右
へ順次画面データをリフレツシユ・メモリ3へ書
込み、画面データの転送が終了するまで、これを
繰返す。しかしながら、CRT6のスクリーンに
表示する文字あるいはパターンは、2次元的な局
所性があり、書込み開始位置を頻繁にインターフ
エイス・コントローラ2に伝送してやり、行変え
をしなければならない。このため、計算機1の負
荷が大きくなり、処理速度が低くなるという問題
がある。この問題について、次に詳しく説明す
る。 第4図は、CRT6のスクリーンに表示するパ
ターンの例を示す図である。このパターンを
CRT6のスクリーン100に表示するには、パ
ターンに対応する画面データをリフレツシユ・メ
モリ3へ転送しなければならない。第5図に、第
4図のパターンに対応する画面データを示す。こ
の画面データを計算機1からリフレツシユ・メモ
リ3へ転送する手順を次に示す。 (1) 計算機1は画面データD1,D2,……,D5
リフレツシユ・メモリ3への書込み開始位置指
定指令C1と書込み開始位置X,Yをインター
フエイス・コントローラ2に転送する。 (2) 計算機1は画面データ書込み指令C2をイン
ターフエイス・コントローラ2に転送する。 (3) 計算機1は画面データD1,D2,……,D5
インターフエイス・コントローラ2に転送す
る。 (4) インターフエイス・コントローラ2は、リフ
レツシユ・メモリ3のX,YからX,Y+4の
位置に画面データD1,D2,……,D5を転送す
る。 (5) 計算機1は画面データD6,D7,……D10のリ
フレツシユ・メモリ3への書込み開始位置指定
指令C1と書込み開始位置X+1,Y+をイン
ターフエイス・コントローラ2に転送する。 (6) 計算機1は、画面データ書込み指令C2をイ
ンターフエイス・コントローラ2に転送する。 (7) 計算機1は、画面データD6,D7,……,D10
をインターフエイス・コントローラ2に転送す
る。 (8) インターフエイス・コントローラ2は、リフ
レツシユ・メモリ3のX+1,YからX+1,
Y+4の位置に画面データD6,D7,……,D10
を転送する。 (9) 以下、画面データD21,D22,D25をリフレツ
シユ・メモリ3へ転送するまで上記(5),(6),
(7),(8)の処理を繰返す。 このように、計算機1から画面データをリフレ
ツシユ・メモリ3へ転送する場合、従来のCRT
表示装置では2次元的にまとまりがあり局所性の
ある画面データ(プロセス計算制御システムとオ
ペレータがプロセス状態についての情報交換を行
なうときほとんどの画面データがこのような性質
を持つ)を転送するのに画面データ以外の情報
(指令C、位置X,Y)を転送する頻度が多くな
るとともにデータも行単位で分割して転送するの
で、計算機1の負荷が大きくなり、処理速度が低
下するという問題がある。このことは、転送する
画面データが縦方向に細長い程、問題になる。 本発明の目的は、オペレータとプロセス計算機
制御システムとの情報交換手段として利用される
CRT表示装置において、計算機から画面データ
をCRT表示装置に転送する場合、計算機の負荷
を低減し、処理速度を増加させ得るCRT表示装
置を提供するにある。 本発明は、オペレータとプロセス計算機制御シ
ステムとの情報交換主段として利用されるCRT
表示装置において、計算機から画面データを
CRT表示装置に転送する場合、画面データを書
込むリフレツシユ・メモリの書込み開始位置X,
Yと画面データの行と列の長さM,Nを転送し、
その後画面データを順次転送し、これらの情報に
基づいてCRT表示装置が画面データを指定され
たリフレツシユ・メモリの位置に転送することに
より、計算機の負荷を低減し、処理速度を増大さ
せるようにしたことを特徴とする。 以下実施例により本発明を詳細に説明する。 第6a図は、本発明の1実施例を示す図であ
る。実施例では、インターフエイス・コントロー
ラ2に画面データ書込み開始位置ストア用レジス
タRX21,RY22と画面データの行(M)と列
(N)の長さストア用レジスタRM23,RN24
を設け、計算機1から画面データをリフレツシ
ユ・メモリ3に転送する場合、計算機1からイン
ターフエイス・コントローラ2に書込み開始位置
X,Yと画面データの行と列の長さM,Nを転送
すると、インターフエイス・コントローラ2は、
書込み開始位置X,Yと画面データの行と列の長
さM,Nを対応するレジスタにストアし、その
後、計算機1からインターフエイス・コントロー
ラ2に画面データD1,D2,……,DMXN転送する
とインターフエイス・コントローラ2は、レジス
タRX,RY,RM,RNにストアされている書込み
開始位置X,Yと画面データの行と列の長さM,
Nに基づいて、画面データD1,D2,……,DMXN
をリフレツシユ・メモリ3に転送する。これにつ
いて、次に詳しく説明する。 第6図aの本発明の1実施例において、第4図
に示すパターンに対応する第5図の画面データを
計算機1からリフレツシユ・メモリ3へ転送する
手順を次に示す。 (1) 計算機1は、画面データD1,D2,……,D25
のリフレツシユ・メモリ3への書込み開始位置
と画面データの行(M)と列(N)の長さ指定
指令C3、および書込み開始位置X,Y、と画
面データの行と列の長さM,N、をインターフ
エイス・コントローラ2に転送する。 (2) インターフエイス・コントローラ2は、書込
み開始位置X,Y、と画面データの行と列の長
さM(=5)、N(=5)を画面データ書込み
開始位置ストア用レジスタRX21,RY22と
画面データの行と列の長さストア用レジスタ
RM23,RN24にストアする。 (3) 計算機1は、画面データ書込み指令C2をイ
ンターフエイス・コントローラ2に転送する。 (4) 計算機1は、画面データD1,D2,……,D25
をインターフエイス・コントローラ2に転送す
る。 (5) インターフエイス・コントローラ2は、画面
データ書込み開始位置ストア用レジスタRX2
1,RY22と画面データの行と列の長さスト
ア用レジスタRM22,RN24にストアして
いる書込み開始位置X,Yと画面データの行と
列の長さM,Nに基づいて、画面データD1
D2,……,D25をリフレツシユ・メモリ3の
X,YからX,Y+4;X+1、YからX+
1、Y+4;……;X+4、YからX+4,Y
+4の位置に順次転送する。 (1)〜(5)の手順をタイム・チヤートで表したのが
第6図bである。 Aは計算機→インターフエイス・コントロー
ラ、の場合であつて前記手順の(1),(3),(4)が該当
し、Bはインターフエイス・コントローラ→レジ
スタの場合であつて前記手順の(2)が該当し、Cは
インターフエイス・コントローラ→リフレツシ
ユ・メモリの場合であつて前記手順(5)が該当す
る。 また、インターフエイス・コントローラ2にお
ける画面データのリフレツシユ・メモリ3への転
送処理フローを第7図a,bに示す。図におい
て、記号Dは、データ値を表わす。次に、第7
a,7b図についてフローに従つて説明する。先
ず、 7−1ステツプでは送られて来たデータが何か
チエツクする。送られて来たデータが、「書込み
開始位置、行・列指定指令」C3の場合(→)、
次のステツプ、 7−2で書込み開始位置、行・列指定モードを
セツトし、 7−3ステツプでデータ・カウンタをO(J=
0)とする。送られて来たデータが、「書込み開
始位置X,Y、行・列M,N指定データ」の場合
(→)は、 7−4ステツプで書込み開始位置、行・列指定
モードかをチエツクする。そして書込み開始位置
行・列指定モードの場合(YES)は、 7−5ステツプでデータ・カウンタJをカウン
ト・アツプし、 7−6ステツプでデータ・カウンタJが何かを
チエツクする。データ・カウンタJが1の場合
(J=1)は、 7−7ステツプで送られて来たデータを画面デ
ータ書込み開始の行位置ストア用レジスタRX2
1にストアする(X=D)。 データ・カウンタJが2の場合(J=2)は、 7−8ステツプで送られて来たデータを画面デ
ータ書込み開始の列位置ストア用レジスタRY2
2にストアする(Y=D)。 データ・カウンタJが3の場合は、 7−9ステツプで送られて来たデータを画面デ
ータの行の長さストア用レジスタRM23にスト
アする(M=D)。 データ・カウンタJが4の場合は、 7−10ステツプで送られた来たデータを画面
データの列の長さストア用レジスタRN24にス
トアする(N=D)。 次に、 7−11ステツプでデータ・カウンタJと4を
比較する。 データ・カウンタJが4以上()の場合は、 7−12ステツプで書込み開始位置、行・列指
定モードをリセツトする(→)。 送られて来たデータが、画面データ書込み指令
C2の場合は、 7−13ステツプで画面データ書込みモードを
セツトし、 7−14ステツプでデータ・カウンタI=0、
画面データ書込み位置K,Lを画面データ書込み
開始位置X,Yにセツトする(I=0,K=X,
L=Y)。 送られて来たデータが、画面データD1の場合
は、 7−15ステツプで画面データ書込みモードか
チエツクする。 画面データ書込みモードの場合は(YES) 7−16ステツプで画面データをリフレツシ
ユ・メモリの位置K,Lに転送する。 次に、 7−17ステツプでデータ・カウンタIをカウ
ント・アツプし、画面データ書込みの例位置Lを
カウント・アツプする(I=I+1,L=L+
1)。 次に、 7−18ステツプで画面データ書込みの列位置
Lと画面データ書込みの列終端位置(Y+N)と
比較する(L:Y+N)。 画面データ書込みの列位置Lが列終端位置(Y
+N)以上のときは()、 7−19ステツプでデータ・カウンタIと書込
み画面データ数(M×N)を比較する(I:M×
N)。 データ・カウンタIが書込み画面データ数(M
×N)より小さい場合は(<)、 7−20ステツプで画面データ書込みの行位置
Kをカウント・アツプし、画面データ書込みの行
位置Lを書込み開始の列位置Yにセツトする(K
=K+1,L=Y)。 データ・カウンタIが書込み画面データ数(M
×N)以上の場合は()、 7−21ステツプで画面データ書込みモードを
リセツトする(→END)。 以上で説明した本発明の実施例により、オペレ
ータとプロセス計算機制御システムとの情報交換
手段として利用されるCRT表示装置において、
計算機1から画面データをCRT表示装置に転送
する場合、先ず画面データを書込むリフレツシ
ユ・メモリ3の書込み開始位置X,Yと画面デー
タの行と列の長さM,Nをインターフエイス・コ
ントローラ2に転送し、その後画面データを順次
インターフエイス・コントローラ2に転送する
と、インターフエイス・コントローラ2は、書込
み開始位置X,Yと行と列の長さM,Nに基づい
て、画面データを指定されたリフレツシユ・メモ
リ3の位置に転送できる。これにより、計算機1
から2次元的な画面データをCRT表示装置に転
送する場合、行変りを指定する書込み開始位置
X,Yを頻繁に指定する必要がないので、計算機
の負荷を低減し、計算機の処理速度を増大させる
ことができる。例えば第5図の例では行変え指定
回数は1/5、データの長さ指定回数も1/5で済む。
全体ではおよそ1/3の処理時間となる。 以上一実施例について説明したが、いくつかの
他の実施例が考えられる。上記の実施例において
は、画面データ書込み開始位置と画面データの行
と列の長さを一括して指定するようにしたが、画
面データ書込み開始位置と画面データの行と列の
長さを分離して指定するようにしてもよい。すな
わち、計算機1から画面データ書込み開始位置指
定指令と画面データ書込み開始位置をインターフ
エイス・コントローラ2に転送し、その後画面デ
ータの行と列の長さ指定指令と画面データの行と
列の長さを転送する。この場合のインターフエイ
ス・コントローラ2における画面データのリフレ
ツシユ・メモリ3への転送処理フローを第8図
a,b,cに示す。 先ず、 8−1ステツプで送られて来たデータが何かチ
エツクする。 送られて来たデータが、書込み開始位置指定指
令C4の場合は()は、 8−2ステツプで書込み開始位置指定モードを
セツトし、 8−3ステツプでデータ・カウンタJ=0とす
る。 送られて来たデータが、書込み開始位置X,Y
指定データの場合()は、 8−4ステツプで書込み開始位置指定モードか
をチエツクする。 書込み開始位置指定モードの場合(YES)
は、 8−5ステツプでデータ・カウンタJをカウン
ト・アツプ(J=J+1)し、 8−6ステツプでデータ・カウンタJが何かチ
エツクする。 データ・カウンタJが1の場合(J=1)は、 8−7ステツプで送られて来たデータを画面デ
ータ書込み開始の行位置ストア用レジスタRX2
1にストアする(X=D)。 データ・カウンタJが2の場合(J=2)は、 8−8ステツプで送られて来たデータを画面デ
ータ書込み開始の行位置ストア用レジスタRY2
2にストアする(Y=D)。 次に、 8−9ステツプでデータ・カウンタJと2を比
較する。 データ・カウンタJが2以上の場合()は、 8−10ステツプで書込み開始位置指定モード
をリセツトする(→)。 送られて来たデータが、行・列指定指令C5
場合は(第8図C)。 8−11ステツプで行・列指定モードをセツト
し、 8−12ステツプでデータ・カウンタJJ=0と
する。 送られて来たデータが、行・列(M,N)指定
データの場合()は、 8−13ステツプで行・列指定モードかをチエ
ツクする。 行・列指定モードの場合(YES)は、 8−14ステツプでデータ・カウンタJJをカウ
ント・アツプし(JJ=JJ+1)。 8−15ステツプでデータ・カウンタJJが何か
チエツクする。 データ・カウンタJJが1の場合(JJ=1)は、 8−16ステツプで送られて来たデータを画面
データの行の長さストア用レジスタRM23にス
トアする(M=D)。 データ・カウンタJJが2の場合(JJ=2)は、 8−17ステツプで送られて来たデータを画面
データの列の長さストア用レジスタRN24にス
トアする(N=D)。 次に、 8−18ステツプでデータ・カウンタJJと2を
比較する。 データ・カウンタJJが2以上の場合()は、 8−19ステツプで行・列指定モードをリセツ
トする(→)。 送られて来たデータが、画面データ書込み指令
C2の場合は、 8−20ステツプで画面データ書込みモードを
セツトし、 8−21ステツプでデータ・カウンタI=0、
画面データ書込み位置K,Lを画面データ書込み
開始位置X,Yにセツトする(I=0,K=X,
L=Y)。 送られて来たデータが、画面データD1の場合
は、 8−22ステツプで画面データ書込みモードか
らチエツクする。 画面データ書込みモードの場合(YES)は、 8−23ステツプで画面データをリフレツシ
ユ・メモリの位置K,Lに転送する。 次に、 8−24ステツプでデータ・カウンタIをカウ
ント・アツプし、画面データ書込みの列位置Lを
カウント・アツプする(I=I+1,L=L+
1)。 次に、 8−25ステツプで画面データ書込みの列位置
Lと画面データ書込みの列終端位置(Y+N)を
比較する。 画面データ書込みの列位置Lが列終端位置(Y
+N)以上のとき()は、 8−26ステツプでデータ・カウンタIと書込
み画面データ数(M×N)を比較する(I:M×
N)。 データ・カウンタIが書込み画面データ数(M
×N)より小さい場合(<)は、 8−27ステツプで画面データ書込みの列位置
Kをカウント・アツプし、画面データ書込みの列
位置Lを書込み開始の列位置Yにセツトする(K
=K+1,L=Y)。 データ・カウンタIが書込み画面データ数(M
×N)以上の場合()は、 8−28ステツプで画面データ書込みモードを
リセツトする。 第8図に示す。このように、画面データ書込み
開始位置と画面データの行と列の長さを分離して
指定することにより、次に転送する画面データが
前に転送した画面データと行と列の長さが同じ場
合、画面データ書込み開始位置を新たに指定する
だけでよいので計算機1の処理が簡単になる。 実施例においては、計算機1からCRT表示装
置のリフレツシユ・メモリ3に画面データを転送
する場合を扱つたが、逆にCRT表示装置のリフ
レツシユ・メモリ3から計算機1に画面データを
読込む場合も同じように、画面データ読込み開始
位置と画面データの行と列の長さを指定して、そ
の後画面データを読込むようにすればよい。この
場合のインターフエイス・コントローラ2におけ
る画面データの計算機1への転送処理フロー図を
第9図a〜c、第10図a〜dに示す。 第9図は、画面データ読込み開始位置を画面デ
ータの行と列の長さを一括して指定する場合を、
第10図は、画面データ読込み開始位置と画面デ
ータの行と列の長さを分離して指定する場合を示
す。 第9図について説明する。先ず、 9−1ステツプで計算機からのデータ転送指令
は何かチエツクする。 書込み指令C6の場合は、次に、 9−2ステツプで送られて来たデータが何かを
チエツクする。 読込み開始位置、行・列指定指令C7の場合は
(→)、 9−3ステツプで読込み開始位置、行・列指定
モードをセツトし、 9−4ステツプでデータ・カウンタJ=0とす
る。 送られて来たデータが、読込み開始位置X,
Y、行・列M,N指定データの場合は(→)、 9−5ステツプで読込み開始位置、行・列指定
モードかチエツクする。 読込み開始位置、行・列指定モードの場合
(YES)は、 9−6ステツプでデータ・カウンタJをカウン
ト・アツプし(J=J+1)、 9−7ステツプでデータ・カウンタJが何かチ
エツクする。 データ・カウンタJが1の場合は(J=1)、 9−8ステツプで送られて来たデータを画面デ
ータ読込み開始の行位置ストア用レジスタRX′2
5にストアする(X=D)。 データ・カウンタJが2の場合(J=2)は、 9−9ステツプで送られて来たデータを画面デ
ータ読込み開始の列位置ストア用レジスタRY′2
6にストアする(Y=D)。 データ・カウンタJが3の場合は(J=3)、 9−10ステツプで送られて来たデータを画面
データの行の長さストア用レジスタRM′27にス
トアする(M=D)。 データ・カウンタJが4の場合は(J=4)、 9−11ステツプで送られて来たデータを画面
データの列の長さストア用レジスタRN′28にス
トアする(N=D)。 次に、 9−12ステツプでデータ・カウンタJと4を
比較する。 データ・カウンタJが4以上の場合()は、 9−13ステツプで読込み開始位置、行・列指
定モードをリセツトする。 送られて来たデータが、画面データ読込み指令
C8の場合は、 9−14ステツプで画面データ読込みモードを
セツトし、 9−15ステツプでデータ・カウンタI=0、
画面データ読込み位置K,Lを画面データ読込み
開始位置X,Yにセツトする(I=0,K=Y,
L=Y)。 計算機からのデータ転送指令が、読込み指令
C9の場合は、 9−16ステツプで画面データ読込みモードか
チエツクする。 画面データ読込みモードの場合は、 9−17ステツプでリフレツシユ・メモリの位
置K,Lの画面データを計算機に転送する。 次に、 9−18ステツプでデータ・カウンタIをカウ
ント・アツプし、画面データ読込みの列位置Lを
カウント・アツプする(I=I+1,L=L+
1)。 次に、 9−19ステツプで画面データ読込みの列位置
Lと画面データ読込みの列終端位置(Y+N)を
比較する(L:Y+N)。 画面データ読込みの列位置Lが列終端位置(Y
+N)以上のとき()は、 9−20ステツプでデータ・カウンタIと読込
み画面データ数(M×N)を比較する(I:M×
N)。 データ・カウンタIが読込み画面データ数(M
×N)より小さい場合(<)は、 9−12ステツプで画面データ読込みの行位置
Kをカウント・アツプし、画面データ読込みの列
位置Lを読込み開始の列位置Yにセツトする(K
=K+1,L=Y)。 データ・カウンタIが読込み画面データ数(M
×N)以上の場合()は、 9−22ステツプで画面データ読込みモードを
リセツトする。 第9図cは第6図bに対応した図を示す。 第10図a,bについてフローに従つて説明す
る。先ず、 10−1ステツプで計算機からのデータ転送指
令は何かチエツクする。 書込み指令C6の場合は、 次に、 10−2ステツプで送られて来たデータは何か
チエツクする。 送られて来たデータが、読込み開始位置指定指
令C9の場合は(→)、 10−3ステツプで読込み開始位置指定モード
をセツトし、 10−4ステツプでデータ・カウンタJ=0と
する。 送られて来たデータが、読込み開始位置X,Y
指定データの場合は(→)、 10−5ステツプで読込み開始位置指定モード
かチエツクする。 読込み開始位置指定モードの場合(YES)
は、 10−6ステツプでデータ・カウンタJをカウ
ント・アツプし(J=J+1)、 10−7ステツプでデータ・カウンタJが何か
チエツクする。 データ・カウンタJが1の場合は(J=1)、 10−8ステツプで送られて来たデータを画面
データ読込み開始の行位置ストア用レジスタ
RX′25にストアする(X=D)。 データ・カウンタJが2の場合は(J=2)、 10−9ステツプで送られて来たデータを画面
データ読込み開始の列位置ストア用レジスタ
RY′26にストアする(Y=D)。 次に、 10−10ステツプでデータ・カウンタJと2
とを比較する。 データ・カウンタJが2以上の場合()は、 10−11ステツプで読込み開始位置指定モー
ドをリセツトする。 送られて来たデータが、行・列指定指令C11
場合は(→)、 10−12ステツプで行・列指定モードをセツ
トし、 10−13ステツプでデータ・カウンタJJ=0
とする。 送られて来たデータが、行・列M,N指定デー
タの場合は(→)、 10−14ステツプで行・列指定モードかチエ
ツクする。 行・列指定モードの場合(YES)は、 10−15ステツプでデータ・カウンタJJをカ
ウント・アツプ(JJ=JJ+1)。 10−16ステツプでデータ・カウンタJJが何
かチエツクする。 データ・カウンタJJが1の場合は、 10−17ステツプで送られて来たデータを画
面データの行の長さストア用レジスタRM′27に
ストアする(M=D)。 データ・カウンタJJが2の場合は(JJ=2)、 10−18ステツプで送られて来たデータを画
面データの列の長さストア用レジスタRN′28に
ストアする(N=D)。 次に、 10−19ステツプでデータ・カウンタJJと2
を比較する。 データ・カウンタJJが2以上の場合()は、 10−20ステツプで行・列指定モードをリセ
ツトする。 送られて来たデータが、画面データ読込み指令
C8の場合は、 10−21ステツプで画面データ読込みモード
をセツトし、 10−22ステツプでデータ・カウンタI=
0、画面データ読込み位置K,Lを画面データ読
込み開始位置X,Yにセツトする(I=0,K=
X,L=Y)。 計算機からのデータ転送指令が、読込み指令
C9の場合は、 10−23ステツプで画面データ読込みモード
かチエツクする。 画面データ読込みモードの場合は、 10−24ステツプでリフレツシユ・メモリの
位置K,Lの画面データを計算機に転送する。 次に、 10−25ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ読込みの列位置L
をカウント・アツプする(I=I+1,L=L+
1)。 次に、 10−26ステツプで画面データ読込みの列位
置Lと画面データ読込みの列終端位置(Y+N)
を比較する(L:Y+N)。 画面データ読込みの列位置Lが列終端位置(Y
+N)以上()のときは、 10−27ステツプでデータ・カウンタIと読
込み画面データ数(M×N)を比較する(I:M
×N)。 データ・カウンタIが読込み画面データ数(M
×N)より小さい場合(<)は、 10−28ステツプで画面データ読込みの行位
置Kをカウント・アツプし、画面データ読込みの
列位置Lを読込み開始の列位置Yにセツトする
(K=K+1,L=Y)。 データ・カウンタIが読込み画面データ数(M
×N)以上の場合()は、 10−29ステツプで画面データ読込みモード
をリセツトする。 実施例および上記の変形例においては、計算機
1からCRT表示装置のリフレツシユ・メモリ3
に画面データを転送する場合と、CRT表示装置
のリフレツシユ・メモリ3から計算機1に画面デ
ータを転送する場合で、画面データの書込み開始
位置、行・列指定と画面データの読込み開始位
置、行・列指定を分離して扱つたが、画面データ
読・書込み開始位置、行・列指定を共通に扱うよ
うにしてもよい。この場合のインターフエイス・
コントローラ2における計算機1からCRT表示
装置のリフレツシユ・メモリ3への画面データの
転送処理およびCRT表示装置のリフレツシユ・
メモリ3から計算機1への画面データの転送処理
のフローを第11,12図に示す。第11図a〜
cは、画面データ読・書込み開始位置と画面デー
タの行と列の長さを一括して指定する場合を、第
12図a〜dは、画面データ読・書込み開始位置
と画面データの行と列の長さを分離して指定する
場合を示す。 第11図a〜cのフローに従つて説明する。先
ず、 11−1ステツプで計算機からのデータ転送指
令は何かチエツクする。 書込み指令C6の場合は、 次に、 11−2ステツプで送られて来たデータは何か
チエツクする。 送られて来たデータが、位置、行・列指定指令
(C12)の場合は(→)、 11−3ステツプで位置、行・列指定モードを
セツトし、 11−4ステツプでデータ・カウンタJ=0と
する。 送られて来たデータが、書込み・読込み開始位
置X,Y、行・列M,N指定データの場合は(→
)、 11−5ステツプで位置、行・列指定モードか
チエツクする。 位置、行・列指定モードの場合(YES)は、 11−6ステツプでデータ・カウンタJをカウ
ント・アツプし(J=J+1)、 11−7ステツプでデータ・カウンタJが何か
チエツクする。 データ・カウンタJが1の場合は、 11−8ステツプで送られて来たデータを書込
み・読込み開始の行位置ストア用レジスタRX″2
9にストアする(X=D)。 データ・カウンタJが2の場合は、 11−9ステツプで送られて来たデータを書込
み・読込み開始の列位置ストア用レジスタRY″3
0にストアする(Y=D)。 データ・カウンタ(J)が3の場合は、 11−10ステツプで送られて来たデータを画
面データの行の長さストア用レジスタRM″31
にストアする(M=D)。 データ・カウンタJが4の場合は、 11−11ステツプで送られて来たデータを画
面データの列の長さストア用レジスタRN″32に
ストアする(N=D)。 次に、 11−12ステツプでデータ・カウンタJと4
を比較する(J:4)。 データ・カウンタJが4以上の場合は、 11−13ステツプで位置、行・列指定モード
をリセツトする。 送られて来たデータが、画面データ書込み指令
C2の場合は(→)、 11−14ステツプで画面データ書込みモード
をセツトし、 11−15ステツプでデータ・カウンタI=
0、画面データ書込み位置K,Lを画面データ書
込み・読込み開始位置X,Yにセツトする(I=
0,K=X,L=Y)。 送られて来たデータが、画面データD1の場合
は、 11−16ステツプで画面データ書込みモード
かチエツクする。 画面データ書込みモードの場合は、 11−17ステツプで画面データをリフレツシ
ユ・メモリの位置K,Lに転送する。 次に、 11−18ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ書込みの列位置L
をカウント・アツプする(I=I+1,L=L+
1)。 次に、 11−19ステツプで画面データ書込みの列位
置Lと画面データ書込みの列終端位置(Y+N)
を比較する(L:Y+N)。 画面データ書込みの列位置Lが列終端位置(Y
+N)以上のとき()は、 11−20ステツプでデータ・カウンタIと書
込み画面データ数(M×N)を比較する(I:M
×N)。 データ・カウンタIが書込み画面データ数(M
×N)より小さい場合(<)は、 11−21ステツプで画面データ書込みの行位
置Kカウント・アツプし、画面データ書込みの列
位置Lを書込み・読込み開始の列位置Yにセツト
する(K=K+1,L=Y)。 データ・カウンタIが書込み画面データ数(M
×N)以上の場合()は、 11−22ステツプで画面データ書込みモード
をリセツトする。 送られて来たデータが、画面データ読込み指令
C8の場合は、 11−23ステツプで画面データ読込みモード
をセツトし、 11−24ステツプでデータ・カウンタI=
0、画面データ読込み位置K,Lを画面データ書
込み・読込み開始位置X,Yにセツトする(I=
0,K=X,L=Y)。 計算機からのデータ転送指令が、読込み指令
C9の場合は、 11−25ステツプで画面データ読込みモード
かチエツクする。 画面データ読込みモードの場合は、 11−26ステツプでリフレツシユ・メモリの
位置K,Lの画面データを計算機に転送する。 次に、 11−27ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ読込みの列位置L
をカウント・アツプする(I=I+1,L=L+
1)。 次に、 11−28ステツプで画面データ読込みの列位
置Lと画面データ読込みの列終端位置(Y+N)
を比較する(L:Y+N)。 画面データ読込みの列位置Lが列終端位置(Y
+N)以上のとき()は、 11−29ステツプでデータ・カウンタIと読
込み画面データ数(M×N)を比較する(I:M
×N)。 データ・カウンタIが読込み画面データ数(M
×N)より小さい場合(<)は、 11−30ステツプで画面データ読込みの行位
置Kをカウント・アツプし、画面データ読込みの
列位置Lを書込み・読込み開始の列位置Yにセツ
トする(K=K+1,L=Y)。 データ・カウンタIが読込み画面データ数(M
×N)以上の場合は、 11−31ステツプで画面データ読込みモード
をリセツトする。 次に第12図a〜dについて説明する。先ず、 12−1ステツプで計算機からのデータ転送指
令は何かチエツクする。 書込み指令C6の場合は、 次に、 12−2ステツプで送られて来たデータは何か
チエツクする。 送られて来たデータが、位置指定指令C13の場
合は(→)、 12−3ステツプで位置指定モードをセツト
し、 12−4ステツプでデータ・カウンタJ=0と
する。 送られて来たデータが、書込み・読込み開始位
置X,Y指定データの場合は(→)、 12−5ステツプで位置指定モードかチエツク
する。 位置指定モードの場合は、 12−6ステツプでデータ・カウンタJをカウ
ント・アツプし(J=J+1)。 12−7ステツプでデータ・カウンタJが何か
チエツクする。 データ・カウンタJが1の場合は、 12−8ステツプで送られて来たデータを書込
み・読込み開始の行位置ストア用レジスタRX″2
9にストアする(X=D)。 データ・カウンタJが2の場合は、 12−9ステツプで送られて来たデータを書込
み・読込み開始の列位置ストア用レジスタRY″3
0にストアする(Y=D)。 次に、 12−10ステツプでデータ・カウンタJと2
を比較する。 データ・カウンタJが2以上の場合は、 12−11ステツプで位置指定モードをリセツ
トする。 送られて来たデータが、行・列指定指令C14
場合は、 12−12ステツプで行・列指定モードをセツ
トし、 12−13ステツプでデータ・カウンタJJ=0
とする。 送られて来たデータが、画面データの行・列
M,N指定データの場合は、 12−14ステツプで行・列指定モードかチエ
ツクする。 行・列指定モードの場合は、 12−15ステツプでデータ・カウンタJJをカ
ウント・アツプし(JJ=JJ+1)、 12−16ステツプでデータ・カウンタJJが何
かチエツクする。 データ・カウンタJJが1の場合は、 12−17ステツプで送られて来たデータを画
面データの行の長さストア用レジスタRM″31
にストアする(M=D)。 データ・カウンタJJが2の場合は、 12−18ステツプで送られて来たデータを画
面データの列の長さストア用レジスタRN″32に
ストアする(N=D)。 次に、 12−19ステツプでデータ・カウンタJJと2
を比較する。 データ・カウンタJJが2以上の場合は、 12−20ステツプで行・列指定モードをリセ
ツトする。 送られて来たデータが、画面データ書込み指令
C2の場合は、 12−21ステツプで画面データ書込みモード
をセツトし、 12−22ステツプでデータ・カウンタI=
0、画面データ書込み位置K,Lを画面データ書
込み・読込み開始位置X,Yにセツトする(I=
0,K=X,L=Y)。 送られて来たデータが、画面データD1の場合
は、 12−23ステツプで画面データ書込みモード
かチエツクする。 画面データ書込みモードの場合は、 12−24ステツプで画面データをリフレツシ
ユ・メモリの位置K,Lに転送する。 次に、 12−25ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ書込みの列位置L
をカウント・アツプする(I=I+1,L=L+
1)。 次に、 12−26ステツプで画面データ書込みの列位
置Lと画面データ書込みの列終端位置(Y+N)
を比較する(L:Y+N)。 画面データ書込みの列位置Lが列終端位置(Y
+N)以上のときは、 12−27ステツプでデータ・カウンタIと書
込み画面データ数(M×N)を比較する。 データ・カウンタIが書込み画面データ数(M
×N)より小さい場合は、 12−28ステツプで画面データ書込みの行位
置Kをカウント・アツプし、画面データ書込みの
列位置Lを書込み・読込み開始の列位置Yにセツ
トする(K=K+1,L=Y)。 データ・カウンタIが書込み画面データ数(M
×N)以上の場合は、 12−29ステツプで画面データ書込みモード
をリセツトする。 送られて来たデータが、画面データ読込み指令
C8の場合は、 12−30ステツプで画面データ読込みモード
をセツトし、 12−31ステツプでデータ・カウンタI=
0、画面データ読込み位置K,Lを画面データ書
込み・読込み開始位置X,Yにセツトする(I=
0,K=X,L=Y)。 計算機からのデータ転送指令が、読込み指令
C9の場合は、 12−32ステツプで画面データ読込みモード
かチエツクする。 画面データ読込みモードの場合は、 12−33ステツプでリフレツシユ・メモリの
位置K,Lの画面データを計算機に転送する。 次に、 12−34ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ読込みの列位置L
をカウント・アツプする(I=I+1,L=L+
1)。 次に、 12−35ステツプで画面データ読込みの列位
置Lと画面データ読込みの列終端位置(Y+N)
を比較する。 画面データ読込みの列位置Lが列終端位置(Y
+N)以上のときは、 12−36ステツプでデータ・カウンタIと読
込み画面データ数(M×N)を比較する。 データ・カウンタIが読込み画面データ数(M
×N)より小さい場合は、 12−37ステツプで画面データ読込みの行位
置Kをカウント・アツプし、画面データ読込みの
列位置(L)を書込み・読込み開始の列位置
(Y)にセツトする(K=K+1,L=Y)。 データ・カウンタIが読込み画面データ数(M
×N)以上の場合は、 12−38ステツプで画面データ読込みモード
をリセツトする。 実施例においては、指定された長さ(行の長さ
×列の長さ)の画面データを受付けた後、画面デ
ータ書込みモードをリセツトし、その後画面デー
タが転送されてきても受付けないようにしたが、
指定された長さの画面データを受付けた後、画面
データ書込みモードをリセツトしないで、画面デ
ータ書込み開始位置を最後に受付けた画面データ
の次の位置(X+M−1,Y+N)にセツトし、
画面データの行と列の長さはそのままにして、次
に画面データが転送されて来ると、この位置
(X′=X+M−1,Y′=Y+N;X′,Y′は新しく
セツトされた画面データ書込み開始位置)から画
面データの書込みを開始するようにしてもよい。
この場合のインターフエイス・コントローラ2に
おける画面データのリフレツシユ・メモリ3への
転送処理フローを第13図a〜cに示す。また、
ここでは、新しくセツトする画面データ書込み開
始位置X′,Y′を、
The present invention relates to a process state display device, and more particularly to a display method for a process state display device suitable for displaying two-dimensional images. A CRT (cathode ray tube) display can be used as a means of exchanging information between the process computer control system and the operator. Next, this CRT display device will be explained. Figure 1 is a typical example of a CRT display device. Information regarding the process status of computer 1 is displayed on a CRT6.
The contents displayed on the CRT 6 are changed by the operator using the keyboard 9. Additionally, data is input into the computer 1 using the keyboard 9. Next, in Figure 1
The components of the CRT display device will be explained in detail. In FIG. 1, an interface controller 2 sends screen data for displaying characters or patterns from a computer 1 to a refresh memory 3, or from the refresh memory 3 to the computer 1. The screen data consists of a data string consisting of a pixel code and a color code. Also, screen data input from the keyboard 9 is sent to the refresh memory 3. Refreshment・
The memory 3 stores screen data input from the computer 1 and the keyboard 9. The display controller 8 controls the timing of the character/pattern generator 4 and the color controller 7.
The character/pattern generator 4 sequentially reads out pixel codes in the screen data from the refresh memory 3, converts them into dot patterns necessary to display characters or patterns, and creates a video signal. FIG. 2 shows a row of dot patterns corresponding to the pixel code of the letter "A" displayed on the screen of the CRT 6. In FIG. In the figure, a 1 to a 7 indicate the rows of the dot pattern, and b 1 to b 3 indicate the columns, respectively. The screen displayed on the screen of the CRT 6 is constructed by two-dimensionally arranging dot patterns as shown in FIG. 2 as units. FIG. 3 shows a video signal produced corresponding to the dot pattern of FIG. In FIG. 3, the columns b 1 to b 5 shown in FIG. 2 represent time.
Color controller 7 produces color control signals based on the color code in the screen data from refresh memory 3. Video controller 5
combines the video signal from the character/pattern generator 4 and the color control signal from the color controller 7 to display pixels on the screen of the CRT 6. By the way, when screen data for displaying characters or patterns is transferred from the computer 1 to the refresh memory 3 in order for the process computer control system and the operator to exchange information about the process status using a CRT display device, the screen It is necessary to inform the interface controller 2 of the location of the data on the refresh memory 3. Conventionally, the computer 1 notifies the interface controller 2 of the starting position for writing screen data into the refresh memory 3, and then when the writing command and screen data are transferred, the writing starts from the writing starting position horizontally from left to right ( The screen data is sequentially written (towards the CRT screen) to the refresh memory 3, and when it reaches the position corresponding to the right edge of the CRT 6 screen, it moves to the position corresponding to the left edge one line below, and the screen data is sequentially written horizontally from left to right again. The data is written to the refresh memory 3, and this process is repeated until the screen data transfer is completed. However, the characters or patterns displayed on the screen of the CRT 6 have two-dimensional locality, and the writing start position must be frequently transmitted to the interface controller 2 to change lines. Therefore, there is a problem that the load on the computer 1 increases and the processing speed decreases. This problem will be explained in detail next. FIG. 4 is a diagram showing an example of a pattern displayed on the screen of the CRT 6. this pattern
In order to display on the screen 100 of the CRT 6, screen data corresponding to the pattern must be transferred to the refresh memory 3. FIG. 5 shows screen data corresponding to the pattern of FIG. 4. The procedure for transferring this screen data from the computer 1 to the refresh memory 3 will be described below. (1) The computer 1 transfers the write start position designation command C1 and the write start positions X and Y for the screen data D 1 , D 2 , . . . , D 5 to the refresh memory 3 to the interface controller 2 . (2) Computer 1 transfers screen data write command C2 to interface controller 2. (3) The computer 1 transfers the screen data D 1 , D 2 , . . . , D 5 to the interface controller 2. (4) The interface controller 2 transfers the screen data D 1 , D 2 , . . . , D 5 from the positions X, Y of the refresh memory 3 to the positions X, Y+4. (5) The computer 1 transfers the write start position designation command C1 for the screen data D 6 , D 7 , . . . D 10 to the refresh memory 3 and the write start positions X+1, Y+ to the interface controller 2. (6) The computer 1 transfers the screen data write command C2 to the interface controller 2. (7) Calculator 1 uses screen data D 6 , D 7 , ..., D 10
is transferred to the interface controller 2. (8) The interface controller 2 connects the refresh memory 3 from X+1, Y to X+1,
Screen data D 6 , D 7 , ..., D 10 at position Y+4
transfer. (9) From now on, the above ( 5 ), ( 6 ) , and
Repeat steps (7) and (8). In this way, when transferring screen data from computer 1 to refresh memory 3, conventional CRT
Display devices transfer screen data that is two-dimensionally organized and has locality (most screen data has this property when a process calculation control system and an operator exchange information about the process status). As the frequency of transferring information other than screen data (command C, position be. This becomes a problem as the screen data to be transferred is elongated in the vertical direction. An object of the present invention is to use the invention as a means for exchanging information between an operator and a process computer control system.
An object of the present invention is to provide a CRT display device that can reduce the load on a computer and increase processing speed when transferring screen data from a computer to the CRT display device. The present invention is based on a CRT that is used as a main stage for exchanging information between an operator and a process computer control system.
In the display device, screen data is read from the computer.
When transferring to a CRT display device, write start position X of the refresh memory where screen data is written,
Transfer Y and screen data row and column lengths M and N,
The screen data is then transferred sequentially, and based on this information, the CRT display device transfers the screen data to the specified refresh memory location, reducing the load on the computer and increasing processing speed. It is characterized by The present invention will be explained in detail below with reference to Examples. FIG. 6a shows an embodiment of the invention. In the embodiment, the interface controller 2 includes registers RX21 and RY22 for storing the screen data write start position and registers RM23 and RN24 for storing the length of the row (M) and column (N) of the screen data.
When transferring screen data from the computer 1 to the refresh memory 3, if the write start position X, Y and the screen data row and column lengths M, N are transferred from the computer 1 to the interface controller 2, then The interface controller 2 is
Store the writing start positions X, Y and screen data row and column lengths M, N in the corresponding registers, and then transfer the screen data D 1 , D 2 , ..., D from the computer 1 to the interface controller 2. When MXN is transferred, the interface controller 2 receives the write start positions X and Y stored in registers RX, RY, RM, and RN, and the row and column lengths M of the screen data.
Based on N, screen data D 1 , D 2 , ..., D MXN
is transferred to refresh memory 3. This will be explained in detail next. In the embodiment of the present invention shown in FIG. 6a, the procedure for transferring the screen data shown in FIG. 5 corresponding to the pattern shown in FIG. 4 from the computer 1 to the refresh memory 3 will be described below. (1) Computer 1 uses screen data D 1 , D 2 , ..., D 25
command C3 specifying the writing start position to the refresh memory 3 and the length of the row (M) and column (N) of the screen data, and the writing start position X, Y and the length of the row and column of the screen data M, N, to the interface controller 2. (2) The interface controller 2 stores the write start positions X and Y and the screen data row and column lengths M (=5) and N (=5) in screen data write start position storage registers RX21 and RY22. and registers for storing row and column lengths of screen data.
Store in RM23 and RN24. (3) The computer 1 transfers the screen data write command C2 to the interface controller 2. (4) Computer 1 uses screen data D 1 , D 2 , ..., D 25
is transferred to the interface controller 2. (5) Interface controller 2 stores register RX2 for screen data writing start position.
1. Based on the write start positions X, Y and the screen data row and column lengths M and N stored in RY22 and screen data row and column length storage registers RM22 and RN24, screen data D is stored. 1 ,
D 2 , ..., D 25 from refresh memory 3's X, Y to X, Y+4; X+1, Y to X+
1, Y+4;...;X+4, Y to X+4, Y
Sequentially transfer to +4 position. Figure 6b shows the steps (1) to (5) as a time chart. A is the case from computer to interface controller, and steps (1), (3), and (4) above apply, and B is a case from interface controller to register, and step (2) above applies. ) is applicable, and C is the case of interface controller → refresh memory, and the above procedure (5) is applicable. Further, the process flow of transferring screen data to the refresh memory 3 in the interface controller 2 is shown in FIGS. 7a and 7b. In the figure, symbol D represents a data value. Next, the seventh
Figures a and 7b will be explained according to the flow. First, in step 7-1, it is checked what data has been sent. If the data sent is "Write start position, row/column specification command" C3 (→),
In the next step, 7-2, set the write start position and row/column specification mode, and in step 7-3, set the data counter to O (J=
0). If the data sent is "writing start position X, Y, row/column M, N specified data" (→), check whether it is in writing start position, row/column specification mode in step 7-4. . If the writing start position row/column specification mode is selected (YES), the data counter J is counted up in step 7-5, and the value of data counter J is checked in step 7-6. When data counter J is 1 (J = 1), the data sent in step 7-7 is stored in register RX2 for storing the row position at which screen data writing starts.
Store at 1 (X=D). When the data counter J is 2 (J=2), the data sent in steps 7-8 is stored in register RY2 for column position storage at the start of screen data writing.
2 (Y=D). When the data counter J is 3, the data sent in steps 7-9 is stored in the screen data line length storage register RM23 (M=D). When the data counter J is 4, the incoming data sent in steps 7-10 is stored in the screen data column length storage register RN24 (N=D). Next, in step 7-11, data counters J and 4 are compared. If the data counter J is 4 or more (), reset the write start position and row/column specification mode in steps 7-12 (→). The data sent is a screen data write command.
For C 2 , set the screen data write mode in steps 7-13, and set the data counter I = 0,
Set screen data writing positions K and L to screen data writing start positions X and Y (I=0, K=X,
L=Y). If the data sent is screen data D1 , check whether the screen data writing mode is in step 7-15. If the screen data write mode is selected (YES), the screen data is transferred to locations K and L of the refresh memory in steps 7-16. Next, in steps 7-17, the data counter I is counted up, and the example position L for writing screen data is counted up (I=I+1, L=L+
1). Next, in step 7-18, the column position L for screen data writing is compared with the column end position (Y+N) for screen data writing (L:Y+N). The column position L for writing screen data is the column end position (Y
+N) or more, compare the data counter I with the number of written screen data (M x N) in step 7-19 (I:M x
N). Data counter I is the number of screen data written (M
×N), (<), count up the row position K for screen data writing in steps 7-20, and set the row position L for screen data writing to the column position Y for starting writing (K
=K+1, L=Y). Data counter I is the number of screen data written (M
×N) If it is () or more, reset the screen data writing mode in step 7-21 (→END). According to the embodiment of the present invention described above, in a CRT display device used as a means of exchanging information between an operator and a process computer control system,
When transferring screen data from the computer 1 to the CRT display device, first the writing start positions X and Y of the refresh memory 3 where the screen data will be written and the lengths M and N of the rows and columns of the screen data are transferred to the interface controller 2. When the screen data is sequentially transferred to the interface controller 2, the interface controller 2 specifies the screen data based on the write start positions X and Y and the row and column lengths M and N. can be transferred to the refresh memory 3 location. As a result, calculator 1
When transferring two-dimensional screen data from to a CRT display device, there is no need to frequently specify the writing start positions X and Y to specify line breaks, reducing the load on the computer and increasing the processing speed of the computer. can be done. For example, in the example shown in FIG. 5, the number of times line changes can be specified is 1/5, and the number of times data length can be specified can be 1/5.
The total processing time is approximately 1/3. Although one embodiment has been described above, several other embodiments are possible. In the above example, the screen data writing start position and the lengths of the rows and columns of the screen data are specified all at once, but the screen data writing start position and the lengths of the rows and columns of the screen data are separated. It may also be specified by That is, the screen data writing start position designation command and the screen data writing start position are transferred from the computer 1 to the interface controller 2, and then the screen data row and column length designation command and the screen data row and column lengths are transferred. transfer. The processing flow of transferring screen data to the refresh memory 3 in the interface controller 2 in this case is shown in FIGS. 8a, b, and c. First, check what data was sent in step 8-1. If the data sent is a write start position designation command C4 (), the write start position designation mode is set in step 8-2, and the data counter J is set to 0 in step 8-3. The data sent is at the writing start position X, Y
If it is specified data (), check whether it is in writing start position specification mode in step 8-4. In writing start position specification mode (YES)
In step 8-5, data counter J is counted up (J=J+1), and in step 8-6, data counter J is checked. When data counter J is 1 (J = 1), the data sent in step 8-7 is stored in register RX2 for storing the line position at the start of screen data writing.
Store at 1 (X=D). When the data counter J is 2 (J=2), the data sent in step 8-8 is stored in register RY2 for storing the line position at the start of screen data writing.
2 (Y=D). Next, in steps 8-9, data counters J and 2 are compared. If the data counter J is 2 or more (), reset the write start position designation mode in steps 8-10 (→). If the data sent is a row/column designation command C5 (Figure 8C). Set the row/column designation mode in steps 8-11, and set the data counter JJ to 0 in steps 8-12. If the data sent is row/column (M, N) specification data (), check whether it is in the row/column specification mode in steps 8-13. If the row/column specification mode is selected (YES), data counter JJ is counted up in steps 8-14 (JJ = JJ + 1). In step 8-15, data counter JJ checks something. When the data counter JJ is 1 (JJ=1), the data sent in steps 8-16 is stored in the screen data line length storage register RM23 (M=D). When the data counter JJ is 2 (JJ=2), the data sent in steps 8-17 is stored in the screen data column length storage register RN24 (N=D). Next, data counter JJ and 2 are compared in step 8-18. If data counter JJ is 2 or more (), reset the row/column specification mode in steps 8-19 (→). The data sent is a screen data write command.
For C 2 , set the screen data write mode in steps 8-20, and set the data counter I = 0, in steps 8-21.
Set screen data writing positions K and L to screen data writing start positions X and Y (I=0, K=X,
L=Y). If the data sent is screen data D1 , check from the screen data write mode in steps 8-22. If the screen data write mode is selected (YES), the screen data is transferred to locations K and L of the refresh memory in steps 8-23. Next, in steps 8-24, the data counter I is counted up, and the column position L for writing screen data is counted up (I=I+1, L=L+
1). Next, in step 8-25, the column position L for writing screen data is compared with the column end position (Y+N) for writing screen data. The column position L for writing screen data is the column end position (Y
+N) or more (), compare the data counter I and the number of written screen data (MxN) in steps 8-26 (I:Mx
N). Data counter I is the number of screen data written (M
×N), the column position K for screen data writing is counted up in step 8-27, and the column position L for screen data writing is set to the column position Y for writing start (K
=K+1, L=Y). Data counter I is the number of screen data written (M
×N) In the case of () or more, reset the screen data writing mode in steps 8-28. It is shown in FIG. In this way, by specifying the screen data writing start position and the row and column lengths of the screen data separately, you can ensure that the next screen data to be transferred has the same row and column length as the previously transferred screen data. In this case, it is only necessary to newly designate the screen data writing start position, which simplifies the processing of the computer 1. In the embodiment, we have dealt with the case of transferring screen data from the computer 1 to the refresh memory 3 of the CRT display device, but the same applies to the case of reading screen data from the refresh memory 3 of the CRT display device to the computer 1. , the screen data reading start position and the length of the rows and columns of the screen data can be specified, and then the screen data can be read. Flowcharts of the process of transferring screen data to the computer 1 in the interface controller 2 in this case are shown in FIGS. 9a-c and 10a-d. Figure 9 shows the case where the screen data reading start position is specified by the length of the row and column of the screen data all at once.
FIG. 10 shows a case where the screen data reading start position and the lengths of rows and columns of screen data are specified separately. FIG. 9 will be explained. First, in step 9-1, check whether there is a data transfer command from the computer. If the write command is C6 , then check what data is sent in step 9-2. In the case of reading start position, row/column designation command C7 (→), set the reading start position, row/column designation mode in step 9-3, and set data counter J = 0 in step 9-4. The data sent is at the reading start position X,
In the case of Y, row/column M, N specified data (→), check the reading start position and row/column specification mode in step 9-5. If the reading start position, row/column specification mode is selected (YES), count up the data counter J in steps 9-6 (J = J + 1), and check what is on the data counter J in steps 9-7. . When the data counter J is 1 (J=1), the data sent in step 9-8 is stored in register RX'2 for storing the row position at which screen data reading starts.
5 (X=D). When the data counter J is 2 (J=2), the data sent in step 9-9 is stored in the column position storage register RY'2 at which screen data reading starts.
6 (Y=D). When the data counter J is 3 (J=3), the data sent in steps 9-10 is stored in the screen data line length storage register RM'27 (M=D). When the data counter J is 4 (J=4), the data sent in steps 9-11 is stored in the screen data column length storage register RN'28 (N=D). Next, in steps 9-12, data counters J and 4 are compared. If the data counter J is 4 or more (), the reading start position and row/column designation mode are reset in steps 9-13. The sent data is a screen data read command.
For C8 , set the screen data reading mode in steps 9-14, and set the data counter I = 0,
Set screen data reading positions K and L to screen data reading start positions X and Y (I=0, K=Y,
L=Y). Data transfer command from computer is read command
For C9 , check whether the screen data reading mode is selected in steps 9-16. In the screen data reading mode, the screen data at locations K and L in the refresh memory is transferred to the computer in steps 9-17. Next, in steps 9-18, the data counter I is counted up, and the column position L for reading screen data is counted up (I=I+1, L=L+
1). Next, in step 9-19, the column position L for reading the screen data and the column end position (Y+N) for reading the screen data are compared (L:Y+N). The column position L for reading screen data is the column end position (Y
+N) or more (), compare the data counter I with the number of read screen data (M x N) in steps 9-20 (I:M x
N). Data counter I is the number of read screen data (M
×N), the row position K for reading screen data is counted up in steps 9-12, and the column position L for reading screen data is set to the column position Y for starting reading (K
=K+1, L=Y). Data counter I is the number of read screen data (M
×N) In the case of () or more, reset the screen data reading mode in steps 9-22. FIG. 9c shows a view corresponding to FIG. 6b. FIGS. 10a and 10b will be explained according to the flow. First, in step 10-1, check whether there is a data transfer command from the computer. In the case of write command C6 , next, check what data is sent in step 10-2. If the data sent is a reading start position designation command C9 (→), the reading start position designation mode is set in step 10-3, and the data counter J is set to 0 in step 10-4. The sent data is at the reading start position X, Y
If it is specified data (→), check whether it is in reading start position specification mode in step 10-5. In case of reading start position specification mode (YES)
In step 10-6, data counter J is counted up (J=J+1), and in step 10-7, data counter J is checked. When the data counter J is 1 (J = 1), the data sent in 10-8 steps is stored in the register for storing the line position at the start of reading screen data.
Store in RX'25 (X=D). If the data counter J is 2 (J = 2), the data sent in steps 10-9 is stored in the register for storing the column position at the start of reading screen data.
Store in RY'26 (Y=D). Next, in steps 10-10, data counters J and 2
Compare with. If the data counter J is 2 or more (), the reading start position designation mode is reset in steps 10-11. If the data sent is a row/column specification command C 11 (→), set the row/column specification mode in steps 10-12, and set the data counter JJ = 0 in steps 10-13.
shall be. If the data sent is row/column M, N specification data (→), check whether it is in row/column specification mode in steps 10-14. If row/column specification mode is selected (YES), data counter JJ is counted up in 10-15 steps (JJ = JJ + 1). In steps 10-16, data counter JJ checks something. When the data counter JJ is 1, the data sent in steps 10-17 is stored in the screen data line length storage register RM'27 (M=D). When the data counter JJ is 2 (JJ=2), the data sent in steps 10-18 is stored in the screen data column length storage register RN'28 (N=D). Next, in steps 10-19, data counter JJ and 2
Compare. If data counter JJ is 2 or more (), reset the row/column specification mode in steps 10-20. The sent data is a screen data read command.
For C8 , set the screen data reading mode in steps 10-21, and set the data counter I= in steps 10-22.
0, set screen data reading positions K and L to screen data reading start positions X and Y (I=0, K=
X, L=Y). Data transfer command from computer is read command
In case of C9 , check whether it is in screen data reading mode in steps 10-23. In the screen data reading mode, the screen data at locations K and L in the refresh memory is transferred to the computer in steps 10-24. Next, count up the data counter I in steps 10-25, and set the column position L for reading screen data.
Count up (I=I+1, L=L+
1). Next, in steps 10-26, set the column position L for reading screen data and the column end position (Y+N) for reading screen data.
Compare (L:Y+N). The column position L for reading screen data is the column end position (Y
+N) or more (), compare the data counter I with the number of read screen data (M x N) in steps 10-27 (I:M
×N). Data counter I is the number of read screen data (M
×N), the row position K for reading screen data is counted up in 10-28 steps, and the column position L for reading screen data is set to the column position Y for starting reading (K=K+1 , L=Y). Data counter I is the number of read screen data (M
×N) In the case of () or more, reset the screen data reading mode in steps 10-29. In the embodiment and the above-mentioned variations, from the computer 1 to the refresh memory 3 of the CRT display device
and when transferring screen data from refresh memory 3 of a CRT display device to computer 1, screen data write start position, row/column specification and screen data read start position, row/column Although the column designation is handled separately, the screen data read/write start position and row/column designation may be handled in common. In this case, the interface
Processing of transferring screen data from the computer 1 to the refresh memory 3 of the CRT display device in the controller 2 and refreshing the CRT display device.
The flow of the screen data transfer process from the memory 3 to the computer 1 is shown in FIGS. 11 and 12. Figure 11 a~
12c shows the case where the screen data read/write start position and the length of the screen data row and column are specified all at once. Figures 12a to 12d show the screen data read/write start position and the screen data line and column lengths. Indicates when specifying column lengths separately. This will be explained according to the flowcharts in FIGS. 11a to 11c. First, in step 11-1, check whether there is a data transfer command from the computer. In the case of write command C6 , next, check what data is sent in step 11-2. If the data sent is a position, row/column designation command ( C12 ) (→), set the position, row/column designation mode in step 11-3, and set the data counter in step 11-4. Let J=0. If the data sent is data with writing/reading start position X, Y, row/column M, N specified, (→
), check the position, row/column specification mode in step 11-5. In the case of position, row/column designation mode (YES), data counter J is counted up (J=J+1) in step 11-6, and what is on data counter J is checked in step 11-7. If the data counter J is 1, write the data sent in step 11-8 to the row position store register RX''2 at which reading starts.
9 (X=D). If the data counter J is 2, write the data sent in step 11-9 and use the column position store register RY″3 to start reading.
Store to 0 (Y=D). When the data counter (J) is 3, the data sent in steps 11-10 is stored in the screen data line length storage register RM''31.
(M=D). When the data counter J is 4, the data sent in step 11-11 is stored in the screen data column length storage register RN''32 (N=D). Next, 11-12 Step data counter J and 4
Compare (J:4). If the data counter J is 4 or more, reset the position, row and column designation mode in steps 11-13. The data sent is a screen data write command.
For C 2 (→), set the screen data write mode in steps 11-14, and set the data counter I= in steps 11-15.
0, set screen data writing positions K and L to screen data writing/reading start positions X and Y (I=
0, K=X, L=Y). If the data sent is screen data D1 , check whether the screen data writing mode is selected in steps 11-16. In the screen data write mode, the screen data is transferred to locations K and L of the refresh memory in steps 11-17. Next, in steps 11-18, count up the data counter I and set the column position L for writing screen data.
Count up (I=I+1, L=L+
1). Next, in steps 11-19, set the column position L for writing screen data and the column end position (Y+N) for writing screen data.
(L:Y+N). The column position L for writing screen data is the column end position (Y
+N) or more, compare the data counter I with the number of written screen data (M x N) in steps 11-20 (I:M
×N). Data counter I is the number of screen data written (M
×N), the row position K of screen data writing is counted up in steps 11-21, and the column position L of screen data writing is set to the column position Y of writing/reading start (K= K+1, L=Y). Data counter I is the number of screen data written (M
×N) In the case of () or more, reset the screen data writing mode in steps 11-22. The sent data is a screen data read command.
For C8 , set the screen data reading mode in steps 11-23, and set the data counter I= in steps 11-24.
0, set screen data reading positions K and L to screen data writing/reading start positions X and Y (I=
0, K=X, L=Y). Data transfer command from computer is read command
In the case of C9 , check whether it is in screen data reading mode in steps 11-25. In the screen data reading mode, the screen data at locations K and L in the refresh memory is transferred to the computer in steps 11-26. Next, in steps 11-27, the data counter I is counted up and the column position L for reading screen data is set.
Count up (I=I+1, L=L+
1). Next, in steps 11-28, set the column position L for reading screen data and the column end position (Y+N) for reading screen data.
(L:Y+N). The column position L for reading screen data is the column end position (Y
+N) or more (), compare the data counter I with the number of read screen data (M x N) in steps 11-29 (I:M
×N). Data counter I is the number of read screen data (M
×N), the row position K for reading screen data is counted up in steps 11-30, and the column position L for reading screen data is set to the column position Y for starting writing/reading (K =K+1, L=Y). Data counter I is the number of read screen data (M
xN) or more, reset the screen data reading mode in steps 11-31. Next, FIGS. 12a to 12d will be explained. First, in step 12-1, check whether there is a data transfer command from the computer. In the case of write command C6 , next, check what data is sent in step 12-2. If the data sent is a position designation command C13 (→), the position designation mode is set in step 12-3, and the data counter J is set to 0 in step 12-4. If the data sent is data specifying the write/read start position X, Y (→), check whether it is in position specification mode in step 12-5. In the position specification mode, data counter J is counted up in steps 12-6 (J=J+1). At step 12-7, the data counter J checks what it is. When the data counter J is 1, the data sent in step 12-8 is written to the row position store register RX''2 at which reading starts.
9 (X=D). If the data counter J is 2, write the data sent in step 12-9 and use the column position store register RY''3 to start reading.
Store to 0 (Y=D). Next, in steps 12-10, set data counters J and 2.
Compare. If the data counter J is 2 or more, reset the position designation mode in steps 12-11. If the data sent is a row/column designation command C14 , set the row/column designation mode in steps 12-12, and set the data counter JJ = 0 in steps 12-13.
shall be. If the data sent is screen data row/column M, N designation data, check whether it is in row/column designation mode in steps 12-14. In the row/column specification mode, data counter JJ is counted up in steps 12-15 (JJ=JJ+1), and data counter JJ is checked in steps 12-16. When the data counter JJ is 1, the data sent in steps 12-17 is stored in the screen data line length storage register RM''31.
(M=D). When the data counter JJ is 2, the data sent in steps 12-18 is stored in the screen data column length storage register RN''32 (N=D).Next, 12-19 Step data counter JJ and 2
Compare. If data counter JJ is 2 or more, reset the row/column specification mode in steps 12-20. The data sent is a screen data write command.
For C 2 , set the screen data write mode in steps 12-21, and set the data counter I= in steps 12-22.
0, set screen data writing positions K and L to screen data writing/reading start positions X and Y (I=
0, K=X, L=Y). If the data sent is screen data D1 , check in steps 12-23 whether it is in screen data write mode. In the screen data write mode, the screen data is transferred to locations K and L of the refresh memory in steps 12-24. Next, in steps 12-25, count up the data counter I and set the column position L for writing screen data.
Count up (I=I+1, L=L+
1). Next, in steps 12-26, set the column position L for writing screen data and the column end position (Y+N) for writing screen data.
(L:Y+N). The column position L for writing screen data is the column end position (Y
+N) or more, the data counter I and the number of written screen data (M×N) are compared in steps 12-27. Data counter I is the number of screen data written (M
×N), count up the row position K for screen data writing in steps 12-28, and set the column position L for screen data writing to the column position Y for writing/reading start (K=K+1, L=Y). Data counter I is the number of screen data written (M
xN) or more, reset the screen data writing mode in steps 12-29. The sent data is a screen data read command.
For C8 , set the screen data reading mode in steps 12-30, and set the data counter I= in steps 12-31.
0, set screen data reading positions K and L to screen data writing/reading start positions X and Y (I=
0, K=X, L=Y). Data transfer command from computer is read command
For C9 , check whether the screen data reading mode is enabled in steps 12-32. In the screen data reading mode, the screen data at locations K and L in the refresh memory is transferred to the computer in steps 12-33. Next, in steps 12-34, count up the data counter I and set the column position L for reading the screen data.
Count up (I=I+1, L=L+
1). Next, in steps 12-35, set the column position L for reading screen data and the column end position (Y+N) for reading screen data.
Compare. The column position L for reading screen data is the column end position (Y
+N) or more, the data counter I and the number of read screen data (M×N) are compared in steps 12-36. Data counter I is the number of read screen data (M
×N), count up the row position K for reading screen data in steps 12-37, and set the column position (L) for reading screen data to the column position (Y) for starting writing/reading ( K=K+1, L=Y). Data counter I is the number of read screen data (M
xN) or more, reset the screen data reading mode in steps 12-38. In the embodiment, after accepting screen data of a specified length (line length x column length), the screen data writing mode is reset, and even if screen data is transferred thereafter, it will not be accepted. However,
After accepting the screen data of the specified length, without resetting the screen data writing mode, set the screen data writing start position to the next position (X+M-1, Y+N) of the last accepted screen data,
The row and column lengths of the screen data remain the same, and when the next screen data is transferred, this position (X'=X+M-1, Y'=Y+N; Screen data writing may be started from the screen data writing start position).
The processing flow of transferring screen data to the refresh memory 3 in the interface controller 2 in this case is shown in FIGS. 13a to 13c. Also,
Here, the newly set screen data writing start positions X' and Y' are

【表】 〓Y′=Y+N
としたが、次のようにしてもよい。
[Table] 〓Y'=Y+N
However, you can do it like this:

【表】 〓Y′=Y+N−1
あるいは、次のようにしてもよい。
[Table] 〓Y'=Y+N-1
Alternatively, the following may be used.

【表】 〓Y′=Y+N
上で述べたことは、画面データ書込み開始位置
と画面データの行と列の長さを一括して指定する
場合にも適用できると共に、変形例・応用例で述
べる他の実施例にも適用できる。 第13図a〜cに従つて詳細に説明する。先
ず、 13−1ステツプで送られて来たデータが何か
チエツクする。 送られて来たデータが、書込み開始位置指定指
令C4の場合は(→)、 13−2ステツプで書込み開始位置指定モード
をセツトし、 13−3ステツプでデータ・カウンタJ=0と
する。 送られて来たデータが、書込み開始位置X,Y
指定データの場合は(→)、 13−4ステツプで書込み開始位置指定モード
かチエツクする。 書込み開始位置指定モードの場合(YES)
は、 13−5ステツプでデータ・カウンタJをカウ
ント・アツプし(J=J+1)。 13−6ステツプでデータ・カウンタJが何か
チエツクする。 データ・カウンタJが1の場合は、 13−7ステツプで送られて来たデータを画面
データ書込み開始の行位置ストア用レジスタRX
21にストアする(X=D)。 データ・カウンタJが2の場合は、 13−8ステツプで送られて来たデータを画面
データ書込み開始の列位置ストア用レジスタRY
22にストアする(Y=D)。 次に、 13−9ステツプでデータ・カウンタJと2を
比較する。 データ・カウンタJが2以上の場合は、 13−10ステツプでデータ・カウンタJ=0
とする。 送られて来たデータが、行・列指定指令C5
場合は、 13−11ステツプで行・列指定モードをセツ
トし、 13−12ステツプでデータ・カウンタJJ=0
とする。 送られて来たデータが、行・列M,N指定デー
タの場合は(→)、 13−13ステツプで行・列指定モードかチエ
ツクする。 行・列指定モードの場合は、 13−14ステツプでデータ・カウンタJJをカ
ウント・アツプし(JJ=JJ+1)、 13−15ステツプでデータ・カウンタJJが何
かチエツクする。 データ・カウンタJJが1の場合は、 13−16ステツプで送られて来たデータを画
面データの行の長さストア用レジスタRM23に
ストアする(M=D)。 データ・カウンタJJが2の場合は、 13−17ステツプで送られて来たデータを画
面データの列の長さストア用レジスタRN24に
ストアする(N=D)。 次に、 13−18ステツプでデータ・カウンタJJと2
を比較する。 データ・カウンタJJが2以上の場合は、 13−19ステツプでデータ・カウンタJJ=0
とする。 送られて来たデータが、画面データ書込み指令
C2の場合は、 13−20ステツプで画面データ書込みモード
をセツトし、 13−21ステツプでデータ・カウンタI=
0、画面データ書込み位置K,Lを画面データ書
込み開始位置X,Yにセツトする(I=0,K=
X,L=Y)。 送られて来たデータが、画面データD1の場合
は、 13−22ステツプで画面データ書込みモード
かチエツクする。 画面データ書込みモードの場合は、 13−23ステツプで画面データをリフレツシ
ユ・メモリの位置K,Lに転送する。 次に、 13−24ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ書込みの列位置L
をカウント・アツプする(I=I+1,L=L+
1)。 次に、 13−25ステツプで画面データ書込みの列位
置Lと画面データ書込みの列終端位置(Y+N)
を比較する。 画面データ書込みの列位置Lが列終端位置(Y
+N)以上のときは、 13−26ステツプでデータ・カウンタIと書
込み画面データ数(M×N)を比較する。 データ・カウンタIが書込み画面データ数(M
×N)より小さい場合は、 13−27ステツプで画面データ書込みの行位
置Kをカウント・アツプし、画面データ書込みの
列位置Lを書込み開始の列位置Yにセツトする
(K=K+1,L=Y)。 データ・カウンタIが書込み画面データ数(M
×N)以上の場合は、 13−28ステツプでデータ・カウンタI=
0、画面データ書込み開始位置X,Yを画面デー
タ書込み位置K,Lにセツトする(I=0,X=
K,Y=L)。 また、画面データ書込み開始位置と画面データ
の行と列の長さを分離して指定する場合、画面デ
ータが指定された長さ受付けられる前に、画面デ
ータの行と列の長さ指定指令と画面データの行と
列の長さが転送されて来ると最後に受付けた画面
データ位置K,Lの次の位置(K,L+1)を新
しい画面データ書込み開始位置にしてもよい。こ
れは、他の実施例にも適用できる。 実施例においては、画面データ書込み開始位置
X,Yと画面データの行・列の長さM,Nをそれ
ぞれ1対として指定するようにしたが、X,Y,
N,M,Nを分離して指定するようにしてもよ
い。この場合のインターフエイス・コントローラ
2における画面データのリフレツシユ・メモリ3
への転送処理フローを第14図a〜cに示す。こ
れは、他の実施例にも適用できる。 第14図a〜cについて詳細に説明する。先
ず、 14−1ステツプで送られて来たデータが何か
チエツクする。 送られて来たデータが、書込み開始の行位置指
定指令C15の場合は、 14−2ステツプで書込み開始の行位置X指定
モードをセツトする。 送られて来たデータが、書込み開始の行位置X
指定データの場合は、 14−3ステツプで書込み開始の行位置X指定
モードかチエツクする。 書込み開始の行位置X指定モードの場合は、 14−4ステツプで送られて来たデータを画面
データ書込み開始の行位置ストア用レジスタRX
21にストアする(X=D)。 次に、 14−5ステツプ書込み開始の行位置X指定モ
ードをリセツトする。 送られて来たデータが、書込み開始の列位置指
定指令C16の場合は(→)、 14−6ステツプで書込み開始の列位置Y指定
モードをセツトする。 送られて来たデータが、書込み開始の列位置Y
指定データの場合は(→)、 14−7ステツプで書込み開始の列位置Y指定
モードかチエツクする。 書込み開始の列位置Y指定モードの場合は、 14−8ステツプで送られて来たデータを画面
データ書込み開始の列位置ストア用レジスタRY
22にストアする(Y=D)。 次に、 14−9ステツプで書込み開始の列位置Y指定
モードをリセツトする。 送られて来たデータが、画面データの行の長さ
指定指令C17の場合は(→)、 14−10ステツプで画面データの行の長さM
指定モードをセツトする。 送られて来たデータが、画面データの行の長さ
M指定データの場合は(→)、 14−11ステツプで画面データの行の長さM
指定モードかチエツクする。 画面データの行の長さM指定モードの場合は、 14−12ステツプで送られて来たデータを画
面データの行の長さストア用レジスタRM23に
ストアする(M=D)。 次に、 14−13ステツプで画面データの行の長さM
指定モードをリセツトする。 送られて来たデータが、画面データの列の長さ
N指定指令C18の場合は(→)、 14−14ステツプで画面データの列の長さN
指定モードをセツトする。 送られて来たデータが、画面データの列の長さ
N指定データの場合は、 14−15ステツプで画面データの列の長さN
指定モードかチエツクする。 画面データの列の長さN指定モードの場合は、 14−16ステツプで送られて来たデータを画
面データの列の長さストア用レジスタRN24に
ストアする(N=D)。 次に、 14−17ステツプで画面データの列の長さN
指定モードをリセツトする。 送られて来たデータが、画面データ書込み指令
C2の場合は、 14−18ステツプで画面データ書込みモード
をセツトし、 14−19ステツプでデータ・カウンタI=
0、画面データ書込み位置K,Lを画面データ書
込み開始位置X,Yにセツトする(I=0,K=
X,L=Y)。 送られて来たデータが、画面データD1の場合
は、 14−20ステツプで画面データ書込みモード
かチエツクする。 画面データ書込みモードの場合は、 14−21ステツプで画面データをリフレツシ
ユ・メモリの位置K,Lに転送する。 次に、 14−22ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ書込みの列位置L
をカウント・アツプする(I=I+1,L=L+
1)。 次に、 14−23ステツプで画面データ書込みの列位
置Lと画面データ書込みの列終端位置(Y+N)
を比較する。 画面データ書込みの列位置Lが列終端位置(Y
+N)以上のときは、 14−24ステツプでデータ・カウンタIと書
込み画面データ数(M×N)を比較する。 データ・カウンタIが書込み画面データ数(M
×N)より小さい場合は、 14−25ステツプで画面データ書込みの行位
置Kをカウント・アツプし、画面データ書込みの
列位置Lを書込み開始の列位置Yにセツトする。 データ・カウンタIが書込み画面データ数(M
×N)以上の場合は、 14−26ステツプで画面データ書込みモード
をリセツトする。 実施例においては、インターフエイス・コント
ローラ2で、画面データ書込み開始位置、行・列
の長さ、画面データ書込みのそれぞれについて指
定指令と指定データを一括してデータとして扱う
ようにしたが、指定指令を制御指令として扱い、
指定指令と指定データの処理を区別し、計算機1
から指定指令と指定データを対にしてインターフ
エイス・コントローラに伝送するようにしてもよ
い。この場合はインターフエイス・コントローラ
2における画面データのリフレツシユ・メモリ3
への転送処理フローを第15図a〜cに示す。こ
れは、他の実施例にも適用できる。 第15図a〜cのフローに従つて説明する。先
ず、 15−1ステツプで計算機からのデータ転送指
令は何かチエツクする。 計算機からのデータ転送指令が書込み指令C6
の場合は、 15−2ステツプで制御指令は何かチエツクす
る。 制御指令が、書込み・読込み開始の行位置指定
指令C19の場合は(→)。 15−3ステツプで送られて来たデータを画面
データ書込み・読込み開始の行位置ストア用レジ
スタRX″29にセツトする(X=D)。 制御指令が、書込み・読込み開始の列位置指定
指令C20の場合は(→)、 15−4ステツプで送られて来たデータを画面
データ書込み・読込み開始の列位置ストア用レジ
スタRY″30にストアする(Y=D)。 制御指令が、画面データの行の長さ指定指令ド
C21の場合は(→)、 15−5ステツプで送られて来たデータを画面
データの行の長さストア用レジスタRM″31に
ストアする(M=D)。 制御指令が、画面データの列の長さ指定指令
C22の場合は(→)、 15−6ステツプで送られて来たデータを画面
データの列の長さストア用レジスタRN″32にス
トアする(N=D)。 制御指令が、画面データ書込み開始指令C23
場合は(→)、 15−7ステツプでデータ・カウンタI=0、
画面データ書込み・読込み位置K,Lを画面デー
タ書込み・読込み開始位置X,Yにセツトする。 次に、 15−8ステツプで送られて来た画面データを
リフレツシユ・メモリの位置K,Lに転送する。 次に、 15−9ステツプデータ・カウンタIをカウン
ト・アツプし、画面データ書込み・読込みの列位
置Lをカウント・アツプする(I=I+1、L=
L+1)。 次に、 15−10ステツプで画面データ書込み・読込
みの列位置Lと画面データ書込み・読込みの列終
端位置(Y+N)を比較する(L:Y+N)。 画面データ書込み・読込みの列位置Lが列終端
位置(Y+N)以上のときは、 15−11ステツプでデータ・カウンタIと書
込み画面データ数(M×N)を比較する(I:M
×N)。 データ・カウンタIが書込み画面データ数(M
×N)より小さい場合は、 15−12ステツプで画面データ書込み・読込
みの行位置Kをカウント・アツプし、画面データ
書込み・読込みの列位置Lを画面データ書込み・
読込み開始の列位置Yにセツトする(K=K+
1,L=Y)。 制御指令が、画面データ書込み指令C2の場合
は、 15−8〜12の処理を実行する。 計算機からのデータ転送指令が読込み指令C9
の場合は、 15−13ステツプで制御指令は、何かチエツ
クする。 制御指令が、画面データ読込み開始指令C24
場合は、 15−14ステツプでデータ・カウンタI=
0、画面データ書込み・読込み位置K,Lの画面
データ書込み・読込み開始位置X,Yにセツトす
る(I=0,K=X,L=Y)。 次に、 15−15ステツプでリフレツシユ・メモリの
位置K,Lの画面データを計算機に転送する。 次に、 15−16ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ書込み・読込みの
列位置Lをカウント・アツプする。 次に、 15−17ステツプで画面データ書込み・読込
みの列位置Lと画面データ書込み・読込みの列終
端位置Y+Nを比較する(L:Y+N)。 画面データ書込み・読込みの列位置Lが列終端
位置(Y+N)以上のときは、 15−18ステツプでデータ・カウンタIと読
込み画面データ数(M×N)を比較する。 データ・カウンタIが読込み画面データ数(M
×N)より小さい場合は、 15−19ステツプで画面データ書込み・読込
みの行位置Kをカウント・アツプし、画面データ
書込み・読込みの列位置Lを画面データ書込み・
読込み開始の列位置Yにセツトする。 制御指令が、画面データ読込み指令C8の場合
は、 15−15〜19の処理を実行する。 なお、第15図a〜cにおいては、画面データ
書込みと読込みに対応してそれぞれ画面データ書
込み開始指令と画面データ書込み指令、画面デー
タ読込み開始指令と画面データ読込み指令のよう
に2つの指令を設けがが、これらをそれぞれ画面
データ書込み指令、画面データ読込み指令のよう
に1つの指令にして、15−12および15−1
4の処理を画面データ書込み・読込み開始位置
X,Y、画面データの行・列の長さM,Nの指定
すなわち15−3,15−4,15−5,15−
6の処理の後その都度実行するようにしてもよ
い。 実施例においては、画面データの書込みモード
として、2次元データ書込みモードの場合しか扱
わなかつたが、1次元データ書込みモードと2次
元データ書込みモードの2つのモードを設け、イ
ンターフエイス・コントローラ2において前者の
モードのとき従来のやり方で画面データの書込み
を受付け、後者のモードのとき実施例で説明した
やり方で画面データの書込みを受付けるようにし
てもよい。この場合のインターフエイス・コント
ローラ2における画面データのリフレツシユ・メ
モリ3への転送処理フローを第16図a〜cに示
す。これは、他の実施例にも適用できる。 第16図a〜cについてフローに従つて説明す
る。先ず、 16−1ステツプで送られて来たデータが何か
チエツクする。 送られて来たデータが、書込み開始位置、行・
列指定指令C3の場合は(→)、 16−2ステツプで書込み開始位置、行・列指
定モードをセツトし、 16−3ステツプでデータ・カウンタJ=0と
する。 送られて来たデータが、書込み開始位置X,
Y、行・列M,N指定データの場合は(→)、 16−4ステツプで書込み開始位置、行・列指
定モードかチエツクする。 書込み開始位置、行・列指定モードの場合は、 16−5ステツプでデータ・カウンタJをカウ
ント・アツプし、 16−6ステツプでデータ・カウンタJが何か
チエツクする。 データ・カウンタJが1の場合は、 16−7ステツプで送られて来たデータを画面
データ書込み開始の行位置ストア用レジスタRX
21にストアする(X=D)。 データ・カウンタJが2の場合は、 16−8ステツプで送られて来たデータを画面
データ書込み開始の列位置ストア用レジスタRY
22にストアする。 データ・カウンタJが3の場合は、 16−9ステツプで送られて来たデータを画面
データの行の長さストア用レジスタRM23にス
トアする(M=D)。 データ・カウンタJが4の場合は、 16−10ステツプで送られて来たデータを画
面データの列の長さストア用レジスタRN24に
ストアする(N=D)。 次に、 16−11ステツプでデータ・カウンタJと4
を比較する。 データ・カウンタJが4以上の場合は、 16−12ステツプで書込み開始位置、行・列
指定モードをリセツトする。 送られて来たデータが、書込みモード指定指令
C25の場合は、 16−13ステツプで書込みモード指定モード
をセツトする。 送られて来たデータが、書込みモード指定デー
タの場合は、 16−14ステツプで書込みモード指定モード
かチエツクする。 書込みモード指定モードの場合は、 16−15ステツプで書込みモードWMを送ら
れて来たデータにセツトする。 次に、 16−16ステツプで書込みモード指定モード
をリセツトする。 送られて来たデータが、画面データ書込み指令
C2の場合は(→)、 16−17ステツプで画面データ書込みモード
をセツトし、 16−18ステツプでデータ・カウンタI=
0、画面データ書込み位置K,Lを画面データ書
込み開始位置X,Yにセツトする(I=0,K=
X,L=Y)。 送られて来たデータが、画面データD1の場合
は、 16−19ステツプで画面データ書込みモード
かチエツクする。 画面データ書込みモードの場合は、 16−20ステツプで書込みモードは何かチエ
ツクする。 書込みモードが、2次元モードのときは、 16−21ステツプで画面データをリフレツシ
ユ・メモリの位置K,Lに転送する。 次に、 16−22ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ書込みの列位置L
をカウント・アツプする。 次に、 16−23ステツプで画面データ書込みの列位
置Lと画面データ書込みの列終端位置(Y+N)
を比較する。 画面データ書込みの列位置Lが列終端位置(Y
+N)以上のときは、 16−24ステツプでデータ・カウンタIと書
込み画面データ数(M×N)を比較する。 データ・カウンタIが書込み画面データ数(M
×N)より小さい場合は、 16−25ステツプで画面データ書込みの行位
置Kをカウント・アツプし、画面データ書込みの
列位置Lを書込み開始の列位置Yにセツトする
(K=K+1,L=Y)。 データ・カウンタIが書込み画面データ数(M
×N)以上の場合は、 16−26ステツプでデータ・カウンタI=
0、画面データ書込み開始位置X,Yを画面デー
タ書込み位置K,Lにセツトする(I=0,X=
K,Y=L)。 書込みモードが、1次元モードのときは、 16−27ステツプで画面データをリフレツシ
ユ・メモリの位置X,Yに転送する。 次に、 16−28ステツプで画面データ書込み開始の
列位置Yをカウント・アツプする。 次に、 16−29ステツプで画面データ書込み開始の
列位置Yとスクリーンの最大列位置Hを比較す
る。 画面データ書込み開始の列位置Yがスクリーン
の最大列位置Hより大きい場合は、 16−30ステツプで画面データ書込み開始の
列位置Xをカウント・アツプし、画面データ書込
み開始の列位置Y=1とする。 また、画面データの受付けがリフレツシユ・メ
モリ3をはみ出す場合は、第17図に示すよう
に、同じリフレツシユ・メモリ3′が隣接して並
べられているものと考えて、はみ出した画面デー
タが隣接したリフレツシユ・メモリ3′のどの位
置(図ではA)に書込まれるかをチエツクし、そ
の位置(図ではA′)に対応する実際のリフレツ
シユ・メモリ3の位置(図ではA)に画面データ
を転送するようにすればよい。 実施例においては、第18図に示すように画面
データを順次左から右、上から下のように受付け
るようにしたが、これを第19図に示すように、
画面データを順次上から下、左から右のように受
付けるようにしてもよい。前者を水平スキヤン・
モード、後者を垂直スキヤン・モードとして、2
つのスキヤン・モードを取入れた場合のインター
フエイス・コントローラ2における画面データの
リフレツシユ・メモリ3への転送処理フローを第
20図a〜cに示す。 第20図a〜cのフローに従つて説明する。先
ず、 20−1ステツプで送られて来たデータが何か
チエツクする。 送られて来たデータが、書込み開始位置、行・
列指定指令C3の場合は(→)、 20−2ステツプで書込み開始位置、行・列指
定モードをセツトし、 20−3ステツプでデータ・カウンタJ=0と
する。 送られて来たデータが、書込み開始位置X,
Y、行・列M,N指定データの場合は(→)、 20−4ステツプで書込み開始位置、行・列指
定モードかチエツクする。 書込み開始位置、行・列指定モードの場合は、 20−5ステツプでデータ・カウンタJをカウ
ント・アツプし(J=J+1)、 20−6ステツプでデータ・カウンタJが何か
チエツクする。 データ・カウンタJが1の場合は、 20−7ステツプで送られて来たデータを画面
データ書込み開始の行位置ストア用レジスタRX
21にストアする。 データ・カウンタJが2の場合は、 20−8ステツプで送られて来たデータを画面
データ書込み開始の列位置ストア用レジスタRY
22にストアする(Y=D)。 データ・カウンタJが3の場合は、 20−9ステツプで送られて来たデータを画面
データの行の長さストア用レジスタRM23にス
トアする(M=D)。 データ・カウンタJが4の場合は、 20−10ステツプで送られて来たデータを画
面データの列の長さストア用レジスタRN24に
ストアする(N=D)。 次に、 20−11ステツプでデータ・カウンタJと4
を比較する。 データ・カウンタJが4以上の場合は、 20−12ステツプで書込み開始位置、行・列
指定モードをリセツトする。 送られて来たデータが、スキヤン・モード指定
指令C25の場合は(→)、 20−13ステツプでスキヤン・モード指定モ
ードをセツトする。 送られて来たデータが、スキヤン・モード指定
データの場合は(→)、 20−14ステツプでスキヤン・モード指定モ
ードかチエツクする。 スキヤン・モード指定モードの場合は、 20−15ステツプでスキヤン・モードSMを
送られて来たデータにセツトする。 次に、 20−16ステツプでスキヤン・モード指定モ
ードをリセツトする。 送られて来たデータが、画面データ書込み指令
C2の場合は(→)、 20−17ステツプで画面データ書込みモード
をセツトし、 20−18ステツプでデータ・カウンタI=
0、画面データ書込み位置K,Lを画面データ書
込み開始位置X,Yにセツトする(I=0,K=
X,L=Y)。 送られて来たデータが、画面データD1の場合
は、 20−19ステツプで画面データ書込みモード
かチエツクする。 画面データ書込みモードの場合は、 20−20ステツプでスキヤン・モードは何か
チエツクする。 スキヤン・モードが、水平モードのときは、 20−21ステツプで画面データをリフレツシ
ユ・メモリの位置K,Lに転送する。 次に、 20−22ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ書込みの列位置L
をカウント・アツプする。 次に、 20−23ステツプで画面データ書込みの列位
置Lと画面データ書込みの列終端位置(Y+N)
を比較する。 画面データ書込みの列位置Lが列終端位置(Y
+N)以上のときは、 20−24ステツプでデータ・カウンタIと書
込み画面データ数(M×N)を比較する。 データ・カウンタIが書込み画面データ数(M
×N)より小さい場合は、 20−25ステツプで画面データ書込みの行位
置Kをカウント・アツプし、画面データ書込みの
列位置Lを書込み開始の列位置Yにセツトする。 データ・カウンタIが書込み画面データ数(M
×N)以上の場合は、 20−26ステツプで画面データ書込みモード
をリセツトする。 スキヤン・モードが、垂直モードのときは、 20−27ステツプで画面データをリフレツシ
ユ・メモリの位置K,Lに転送する。 次に、 20−28ステツプでデータ・カウンタIをカ
ウント・アツプし、画面データ書込みの行位置K
をカウント・アツプする。 次に、 20−29ステツプで画面データ書込みの行位
置Kと画面データ書込みの行位置終端位置(X+
M)を比較する。 画面データ書込みの行位置Kが行終端位置(Y
+N)以上のときは、 20−30ステツプでデータ・カウンタIと書
込み画面データ数(M×N)を比較する(I:M
×N)。 データ・カウンタIと書込み画面データ数(M
×N)より小さい場合は、 20−31ステツプで画面データ書込みの列位
置Lをカウント・アツプし、画面データ書込みの
行位置Kを書込み開始の行位置Xにセツトする。 データ・カウンタIが書込み画面データ数(M
×N)以上の場合は、 20−32ステツプで画面データ書込みモード
をリセツトする。 また第21〜26図に示すようにそれぞれ画面
データを順次、 左から右、下から上(第21図) 上から下、右から左(第22図) 右から左、上から下(第23図) 下から上、左から右(第24図) 右から左、下から上(第25図) 下から上、右から左(第26図) のように受付けるようなスキヤン・モードを設け
てもよい。また、第27,28,29,30,3
1,32,33,34図に示すように、それぞ
れ、画面データを順次、 右上から左下、左上から右下(第27図) 左上から右下、右上から左下(第28図) 右上から左下、右下から左上(第29図) 左上から右下、左下から右上(第30図) 左下から右上、左上から右下(第31図) 右下から左上、右上から左下(第32図) 左下から右上、右下から左上(第33図) 右下から左上、左下から右上(第34図) のように受付けるようなスキヤン・モードを設け
てもよい。また、第35図に示すように、バツフ
ア・メモリ10を設け、計算機1から画面データ
をバツフア・メモリ10に受付けるのは、実施例
と同様順次左から右、上から下へとし、バツフ
ア・メモリ10からリフレツシユ・メモリ3へ画
面データを転送する場合、第18,19,21〜
34図に示すスキヤン・モードで行なうようにす
ることもできる。この場合、計算機1から画面デ
ータを転送する前にモード指定が必要になる。こ
のようにすることにより画面の移動表示が容易に
なり、計算機の負荷が小さくなる。 以上述べた実施例およびその変形例は、計算機
1からCRT表示装置にデータを伝送する場合、
PCMA方式、すなわち、1データの伝送毎に計算
機1が関与する方式を前提としていたが、第36
図に示すように計算機1とCRT表示装置の間に
チヤネル・コントローラ11を設け、DMA方
式、すなわち1度計算機1がチヤネル・コントロ
ーラ11に伝送指令を与えると計算機1が関与せ
ず計算機1の主記憶メモリ(コア・メモリ)から
チヤネル・コントローラ11がデータを取込みイ
ンターフエイス・コントローラに渡す方式でデー
タ伝送を行なつてもよい。また、DMA方式の場
合、第18,19,21〜34図に示すスキヤ
ン・モードによる画面データの転送をチヤネル・
コントローラ11とインターフエイス・コントロ
ーラ2で分担するようにしてもよい。すなわち、
チヤネル・コントローラ11が、主記憶メモリか
ら画面データを取込むとき、第18,19,21
〜34図のスキヤン・モードで取込み、それと対
応してインターフエイス・コントローラ2がその
画面データをリフレツシユ・メモリの対応する位
置に書込むようにしてもよい。この場合、バツフ
ア・メモリが不要になる。 実施例では、表示装置としてCRT表示装置を
例として用いたが、プラズス・デイスプレイ装置
などのような他の表示装置であつても、画素の組
合せによるキヤラクタ方式の表示装置であれば、
適用できる。 また、実施例では、画面データが画素コードと
色コードから成る例を扱つたが、ブリンク・コー
ド、カーソル・スキツプ・コード、スケール・コ
ードなどリフレツシユ・メモリ3に画面データと
してまとめてストアする場合にも適用できる。 また、計算機1から画面データを転送する場
合、画素コードと色コードを分離して転送するよ
うな方式の場合にも適用できる。 本発明によれば、計算機から画面データを
CRT表示装置に転送する場合、先ず画面データ
を書込むリフレツシユ・メモリの書込み開始位置
X,Yおよび画面データの行と列の長さM,Nを
インターフエイス・コントローラに転送し、その
後画面データを順次転送するとインターフエイ
ス・コントローラは、書込み開始位置X,Yと行
と列の長さM,Nに基づいて、画面データを指定
されたリフレツシユ・メモリの位置に転送できる
ので、計算機から局所的な2次元画面データを
CRT表示装置に転送する場合、行変りを指定す
る書込み開始位置X,Yを頻繁に指定する必要が
ないので、計算機の負荷を低減でき、処理速度を
増大させることができる。
[Table] 〓Y'=Y+N
What has been described above can be applied to the case where the screen data writing start position and the length of rows and columns of screen data are specified all at once, and can also be applied to other embodiments described in the modified examples and applied examples. . This will be explained in detail with reference to FIGS. 13a to 13c. First, check what data was sent in step 13-1. If the data sent is a write start position designation command C4 (→), the write start position designation mode is set in step 13-2, and the data counter J is set to 0 in step 13-3. The data sent is at the writing start position X, Y
If it is specified data (→), check whether it is writing start position specification mode in step 13-4. In writing start position specification mode (YES)
counts up data counter J in 13-5 steps (J=J+1). In step 13-6, the data counter J checks what it is. When data counter J is 1, the data sent in step 13-7 is stored in register RX for storing the line position at the start of screen data writing.
21 (X=D). If the data counter J is 2, the data sent in step 13-8 is stored in the column position storage register RY at the start of screen data writing.
22 (Y=D). Next, in step 13-9, data counters J and 2 are compared. If data counter J is 2 or more, data counter J = 0 in steps 13-10.
shall be. If the data sent is a row/column designation command C5 , set the row/column designation mode in steps 13-11, and set the data counter JJ = 0 in steps 13-12.
shall be. If the data sent is row/column M, N specification data (→), check whether it is in row/column specification mode in steps 13-13. In the row/column specification mode, the data counter JJ is counted up in steps 13-14 (JJ=JJ+1), and the data counter JJ is checked in steps 13-15. When the data counter JJ is 1, the data sent in steps 13-16 is stored in the screen data line length storage register RM23 (M=D). When the data counter JJ is 2, the data sent in steps 13-17 is stored in the screen data column length storage register RN24 (N=D). Next, in steps 13-18, data counter JJ and 2
Compare. If data counter JJ is 2 or more, data counter JJ = 0 in steps 13-19.
shall be. The data sent is a screen data write command.
For C 2 , set the screen data write mode in steps 13-20, and set the data counter I= in steps 13-21.
0, set screen data writing positions K and L to screen data writing start positions X and Y (I=0, K=
X, L=Y). If the data sent is screen data D1 , check in steps 13-22 whether it is in screen data write mode. In the screen data write mode, the screen data is transferred to locations K and L of the refresh memory in steps 13-23. Next, in steps 13-24, count up the data counter I and set the column position L for writing screen data.
Count up (I=I+1, L=L+
1). Next, in steps 13-25, set the column position L for writing screen data and the column end position (Y+N) for writing screen data.
Compare. The column position L for writing screen data is the column end position (Y
+N) or more, the data counter I and the number of written screen data (M×N) are compared in steps 13-26. Data counter I is the number of screen data written (M
×N), in steps 13-27 the row position K for screen data writing is counted up, and the column position L for screen data writing is set to the column position Y for starting writing (K=K+1, L= Y). Data counter I is the number of screen data written (M
×N) or more, data counter I=
0, Set screen data writing start positions X, Y to screen data writing positions K, L (I=0, X=
K, Y=L). In addition, when specifying the screen data write start position and the length of the row and column of the screen data separately, the line and column length specification command of the screen data must be specified before the specified length of screen data is accepted. When the row and column lengths of the screen data are transferred, the position (K, L+1) next to the screen data positions K and L that were last accepted may be set as the new screen data writing start position. This can also be applied to other embodiments. In the embodiment, the screen data writing start positions X, Y and the screen data row/column lengths M, N are each specified as a pair, but X, Y,
N, M, and N may be specified separately. In this case, the screen data refresh memory 3 in the interface controller 2
The flow of the transfer process is shown in FIGS. 14a to 14c. This can also be applied to other embodiments. FIGS. 14 a to 14 c will be explained in detail. First, check what data was sent in step 14-1. If the data sent is a write start line position designation command C15 , the write start line position X designation mode is set in step 14-2. The data sent is at line position X where writing starts.
In the case of specified data, in step 14-3 it is checked whether the writing start line position X specification mode is selected. In the writing start line position X specification mode, the data sent in step 14-4 is stored in the screen data write start line position storage register RX.
21 (X=D). Next, the line position X designation mode for starting writing in step 14-5 is reset. If the data sent is a write start column position designation command C16 (→), the write start column position Y designation mode is set in step 14-6. The data sent is at column position Y to start writing.
If it is specified data (→), check whether it is the column position Y specification mode to start writing in step 14-7. In the write start column position Y specification mode, the data sent in step 14-8 is stored in the screen data write start column position storage register RY.
22 (Y=D). Next, in step 14-9, the write start column position Y designation mode is reset. If the data sent is screen data line length specification command C 17 (→), set the screen data line length M in steps 14-10.
Set the specification mode. If the data sent is screen data line length M specification data (→), in steps 14-11 set the screen data line length M.
Check if specified mode. In the screen data line length M specification mode, the data sent in steps 14-12 is stored in the screen data line length storage register RM23 (M=D). Next, in steps 14-13, determine the line length M of the screen data.
Reset the specification mode. If the sent data is the screen data column length N designation command C 18 (→), in steps 14-14, the screen data column length N is specified.
Set the specification mode. If the sent data is data with a screen data column length N specified, in steps 14-15, change the screen data column length N.
Check if specified mode. In the screen data column length N specification mode, the data sent in steps 14-16 is stored in the screen data column length storage register RN24 (N=D). Next, in steps 14-17, the length N of the screen data column is determined.
Reset the specification mode. The data sent is a screen data write command.
For C 2 , set the screen data write mode in steps 14-18, and set the data counter I= in steps 14-19.
0, set screen data writing positions K and L to screen data writing start positions X and Y (I=0, K=
X, L=Y). If the data sent is screen data D1 , check whether the screen data writing mode is enabled in steps 14-20. In the screen data write mode, the screen data is transferred to locations K and L of the refresh memory in steps 14-21. Next, in steps 14-22, count up the data counter I and set the column position L for writing screen data.
Count up (I=I+1, L=L+
1). Next, in steps 14-23, set the column position L for writing screen data and the column end position (Y+N) for writing screen data.
Compare. The column position L for writing screen data is the column end position (Y
+N) or more, the data counter I and the number of written screen data (M×N) are compared in steps 14-24. Data counter I is the number of screen data written (M
xN), the line position K for screen data writing is counted up in steps 14-25, and the column position L for screen data writing is set to the column position Y at which writing starts. Data counter I is the number of screen data written (M
xN) or more, reset the screen data writing mode in steps 14-26. In the embodiment, the interface controller 2 handles the specified command and specified data collectively as data for each of the screen data writing start position, row/column length, and screen data writing. is treated as a control command,
Distinguish between the processing of specified commands and specified data, and
The designated command and designated data may be sent as a pair to the interface controller. In this case, the screen data refresh memory 3 in the interface controller 2
The flow of the transfer process to is shown in FIGS. 15a to 15c. This can also be applied to other embodiments. This will be explained according to the flowcharts in FIGS. 15a to 15c. First, in step 15-1, check whether there is a data transfer command from the computer. Data transfer command from computer is write command C 6
If so, check what the control command is in step 15-2. If the control command is the line position specification command C19 for starting writing/reading (→). 15-3 Set the data sent in step 3 to the register RX''29 for storing the row position of the screen data writing/reading start (X=D).The control command is the column position specification command C of the writing/reading start. In the case of 20 (→), the data sent in step 15-4 is stored in the column position storage register RY''30 at the start of screen data writing/reading (Y=D). The control command is the line length specification command for the screen data.
In the case of C 21 (→), the data sent in step 15-5 is stored in the screen data line length storage register RM''31 (M=D). Column length specification directive
In the case of C 22 (→), the data sent in step 15-6 is stored in the screen data column length storage register RN''32 (N=D). In the case of start command C 23 (→), data counter I = 0 in step 15-7,
Set screen data write/read positions K and L to screen data write/read start positions X and Y. Next, the screen data sent in step 15-8 is transferred to locations K and L of the refresh memory. Next, 15-9 step data counter I is counted up, and screen data writing/reading column position L is counted up (I=I+1, L=
L+1). Next, in step 15-10, the column position L for writing/reading screen data is compared with the column end position (Y+N) for writing/reading screen data (L:Y+N). When the column position L for writing/reading screen data is greater than or equal to the column end position (Y+N), compare the data counter I with the number of screen data to be written (M x N) in steps 15-11 (I:M).
×N). Data counter I is the number of screen data written (M
×N), count up the line position K of screen data writing/reading in steps 15-12, and count up the column position L of screen data writing/reading.
Set to column position Y to start reading (K=K+
1, L=Y). If the control command is the screen data write command C2 , processes 15-8 to 15-12 are executed. Data transfer command from computer is read command C 9
If so, check what control commands are in steps 15-13. If the control command is the screen data reading start command C24 , the data counter I =
0, screen data writing/reading positions K, L are set to screen data writing/reading start positions X, Y (I=0, K=X, L=Y). Next, in steps 15-15, the screen data at locations K and L in the refresh memory is transferred to the computer. Next, in steps 15-16, the data counter I is counted up, and the column position L for writing and reading screen data is counted up. Next, in steps 15-17, the column position L for writing/reading screen data is compared with the column end position Y+N for writing/reading screen data (L:Y+N). When the column position L for writing/reading screen data is equal to or higher than the column end position (Y+N), the data counter I and the number of read screen data (M×N) are compared in steps 15-18. Data counter I is the number of read screen data (M
×N), count up the screen data write/read line position K in steps 15-19, and set the screen data write/read column position L to screen data write/read.
Set to column position Y to start reading. If the control command is a screen data reading command C8 , processes 15-15 to 19 are executed. In addition, in FIGS. 15a to 15c, two commands are provided corresponding to screen data writing and reading, such as a screen data writing start command and a screen data writing command, and a screen data reading start command and a screen data reading command. However, if these are combined into one command such as a screen data write command and a screen data read command, respectively, 15-12 and 15-1
Specify the screen data writing/reading start position X, Y, screen data row/column length M, N, that is, 15-3, 15-4, 15-5, 15-
The process may be executed each time after the process in step 6. In the embodiment, only the two-dimensional data writing mode was handled as the screen data writing mode, but two modes are provided, a one-dimensional data writing mode and a two-dimensional data writing mode, and the interface controller 2 In the latter mode, writing of screen data may be accepted in the conventional manner, and in the latter mode, writing of screen data may be accepted in the manner described in the embodiment. The processing flow of transferring screen data to the refresh memory 3 in the interface controller 2 in this case is shown in FIGS. 16a to 16c. This can also be applied to other embodiments. FIGS. 16 a to 16 c will be explained according to the flow. First, check what data was sent in step 16-1. The data sent is set to the writing start position, line,
In the case of column designation command C3 (→), the write start position and row/column designation mode are set in step 16-2, and the data counter J is set to 0 in step 16-3. The data sent is at writing start position X,
In the case of Y, row/column M, N specified data (→), check the write start position and row/column specification mode in step 16-4. In the write start position, row/column specification mode, the data counter J is counted up in step 16-5, and what is on the data counter J is checked in step 16-6. When data counter J is 1, the data sent in step 16-7 is stored in register RX for storing the line position at the start of screen data writing.
21 (X=D). When the data counter J is 2, the data sent in step 16-8 is stored in the register RY for storing the column position at the start of screen data writing.
Store in 22. When the data counter J is 3, the data sent in step 16-9 is stored in the screen data line length storage register RM23 (M=D). When the data counter J is 4, the data sent in steps 16-10 is stored in the screen data column length storage register RN24 (N=D). Next, in steps 16-11, data counters J and 4 are
Compare. If the data counter J is 4 or more, the write start position and row/column designation mode are reset in steps 16-12. The data sent is a write mode specification command.
For C25 , set the write mode specification mode in steps 16-13. If the data sent is write mode specification data, check whether it is in write mode specification mode in steps 16-14. In the case of write mode specification mode, set the write mode WM to the data sent in steps 16-15. Next, in steps 16-16, the write mode designation mode is reset. The data sent is a screen data write command.
For C 2 (→), set the screen data write mode in steps 16-17, and set the data counter I = in steps 16-18.
0, set screen data writing positions K and L to screen data writing start positions X and Y (I=0, K=
X, L=Y). If the data sent is screen data D1 , check in steps 16-19 whether the screen data writing mode is enabled. If you are in screen data write mode, check what the write mode is in steps 16-20. When the write mode is the two-dimensional mode, the screen data is transferred to locations K and L of the refresh memory in steps 16-21. Next, in steps 16-22, count up the data counter I and set the column position L for writing screen data.
count up. Next, in steps 16-23, set the column position L for writing screen data and the column end position (Y+N) for writing screen data.
Compare. The column position L for writing screen data is the column end position (Y
+N) or more, the data counter I and the number of written screen data (M×N) are compared in steps 16-24. Data counter I is the number of screen data written (M
×N), count up the row position K for screen data writing in steps 16-25, and set the column position L for screen data writing to the column position Y for starting writing (K=K+1, L= Y). Data counter I is the number of screen data written (M
×N) or more, the data counter I=
0, Set screen data writing start positions X, Y to screen data writing positions K, L (I=0, X=
K, Y=L). When the write mode is one-dimensional mode, screen data is transferred to locations X and Y in the refresh memory in steps 16-27. Next, in steps 16-28, the column position Y at which screen data writing starts is counted up. Next, in steps 16-29, the column position Y at which screen data writing starts is compared with the maximum column position H of the screen. If the screen data writing start column position Y is larger than the maximum screen column position H, count up the screen data writing start column position X in steps 16-30, and set the screen data writing start column position Y=1. do. Furthermore, if the reception of screen data extends beyond the refresh memory 3, it is assumed that the same refresh memories 3' are arranged next to each other, as shown in FIG. Check which position (A in the figure) in the refresh memory 3' is to be written, and write the screen data to the actual position (A in the figure) of the refresh memory 3 corresponding to that position (A' in the figure). All you have to do is transfer it. In the embodiment, screen data is received sequentially from left to right and top to bottom as shown in FIG. 18, but as shown in FIG.
Screen data may be received sequentially from top to bottom and from left to right. Horizontally scan the former
mode, the latter being the vertical scan mode, 2
FIGS. 20a to 20c show a processing flow for transferring screen data to the refresh memory 3 in the interface controller 2 when two scan modes are adopted. This will be explained according to the flowcharts in FIGS. 20a to 20c. First, check what data was sent in step 20-1. The data sent is set to the writing start position, line,
In the case of column designation command C3 (→), the write start position and row/column designation mode are set in step 20-2, and the data counter J is set to 0 in step 20-3. The data sent is at writing start position X,
In the case of Y, row/column M, N specification data (→), check the write start position and row/column specification mode in step 20-4. In the write start position, row/column specification mode, data counter J is counted up in 20-5 steps (J=J+1), and what is on data counter J is checked in 20-6 steps. If the data counter J is 1, the data sent in step 20-7 is stored in the register RX for storing the line position at the start of screen data writing.
Store on 21. When data counter J is 2, the data sent in step 20-8 is stored in register RY for storing the column position at the start of screen data writing.
22 (Y=D). When the data counter J is 3, the data sent in step 20-9 is stored in the screen data line length storage register RM23 (M=D). When the data counter J is 4, the data sent in steps 20-10 is stored in the screen data column length storage register RN24 (N=D). Next, in steps 20-11, data counters J and 4 are
Compare. If the data counter J is 4 or more, the write start position and row/column designation mode are reset in steps 20-12. If the data sent is scan mode designation command C 25 (→), set the scan mode designation mode in steps 20-13. If the data sent is scan mode designation data (→), check whether it is scan mode designation mode in steps 20-14. In the case of scan mode specification mode, scan mode SM is set to the sent data in steps 20-15. Next, in step 20-16, the scan mode specification mode is reset. The data sent is a screen data write command.
For C 2 (→), set the screen data write mode in steps 20-17, and set the data counter I = in steps 20-18.
0, set screen data writing positions K and L to screen data writing start positions X and Y (I=0, K=
X, L=Y). If the data sent is screen data D1 , it is checked in steps 20-19 whether the screen data writing mode is enabled. If you are in screen data write mode, check what the scan mode is in steps 20-20. When the scan mode is horizontal mode, screen data is transferred to locations K and L of the refresh memory in steps 20-21. Next, in steps 20-22, count up the data counter I and set the column position L for writing screen data.
count up. Next, in steps 20-23, set the column position L for writing screen data and the column end position (Y+N) for writing screen data.
Compare. The column position L for writing screen data is the column end position (Y
+N) or more, the data counter I and the number of written screen data (M×N) are compared in steps 20-24. Data counter I is the number of screen data written (M
xN), the screen data writing row position K is counted up in steps 20-25, and the screen data writing column position L is set to the writing start column position Y. Data counter I is the number of screen data written (M
xN) or more, reset the screen data writing mode in steps 20-26. When the scan mode is vertical mode, screen data is transferred to locations K and L of the refresh memory in steps 20-27. Next, in steps 20-28, the data counter I is counted up, and the line position K for writing screen data is determined.
count up. Next, in steps 20-29, the screen data writing line position K and the screen data writing line position end position (X+
Compare M). The line position K for writing screen data is the line end position (Y
+N) or more, compare the data counter I and the number of written screen data (M x N) in 20-30 steps (I:M
×N). Data counter I and number of written screen data (M
xN), the column position L for screen data writing is counted up in steps 20-31, and the row position K for screen data writing is set to the row position X for starting writing. Data counter I is the number of screen data written (M
xN) or more, reset the screen data writing mode in steps 20-32. In addition, as shown in Figures 21 to 26, the screen data is sequentially displayed from left to right, bottom to top (Figure 21), top to bottom, right to left (Figure 22), right to left, top to bottom (Figure 23). (Fig. 24) From bottom to top, left to right (Fig. 24) Right to left, bottom to top (Fig. 25) Bottom to top, right to left (Fig. 26) Good too. Also, the 27th, 28th, 29th, 30th, 3rd
As shown in Figures 1, 32, 33, and 34, the screen data is sequentially displayed from upper right to lower left, upper left to lower right (Figure 27), upper left to lower right, upper right to lower left (Figure 28), upper right to lower left, Lower right to upper left (Figure 29) Upper left to lower right, lower left to upper right (Figure 30) Lower left to upper right, upper left to lower right (Figure 31) Lower right to upper left, upper right to lower left (Figure 32) From lower left A scan mode may be provided that accepts data from the upper right, from the lower right to the upper left (Fig. 33), from the lower right to the upper left, and from the lower left to the upper right (Fig. 34). Further, as shown in FIG. 35, a buffer memory 10 is provided, and the screen data from the computer 1 is received into the buffer memory 10 sequentially from left to right and from top to bottom, as in the embodiment. When transferring screen data from 10 to refresh memory 3, 18th, 19th, 21st to
The scan mode shown in FIG. 34 may also be used. In this case, it is necessary to specify the mode before transferring the screen data from the computer 1. This makes it easier to move the screen and reduce the load on the computer. In the above-described embodiment and its variations, when data is transmitted from the computer 1 to the CRT display device,
It was based on the PCMA method, in which computer 1 is involved in each data transmission, but
As shown in the figure, a channel controller 11 is provided between the computer 1 and the CRT display device, and the DMA method is used. Data transmission may be performed in such a manner that the channel controller 11 takes in data from a storage memory (core memory) and passes it to the interface controller. In addition, in the case of the DMA method, screen data transfer in the scan mode shown in Figures 18, 19, 21 to 34 is
The controller 11 and the interface controller 2 may share the responsibility. That is,
When the channel controller 11 takes in screen data from the main memory, the 18th, 19th, and 21st
It is also possible to take in the screen data in the scan mode shown in FIGS. In this case, buffer memory is not required. In the embodiment, a CRT display device was used as an example of the display device, but other display devices such as plasma display devices can also be used as long as they are character type display devices using a combination of pixels.
Applicable. In addition, in the embodiment, the screen data consists of a pixel code and a color code. can also be applied. Furthermore, when transferring screen data from the computer 1, the present invention can also be applied to a method in which pixel codes and color codes are transferred separately. According to the present invention, screen data can be obtained from a computer.
When transferring data to a CRT display device, first transfer the writing start positions X and Y of the refresh memory into which screen data will be written and the lengths M and N of the rows and columns of the screen data to the interface controller, and then transfer the screen data to the interface controller. Sequential transfer allows the interface controller to transfer screen data to the specified refresh memory location based on the write start positions X, Y and the row and column lengths M, N. 2D screen data
When transferring to a CRT display device, it is not necessary to frequently specify the writing start positions X and Y for specifying line breaks, so the load on the computer can be reduced and the processing speed can be increased.

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

第1図は、CRT表示装置の構成を説明するた
めの図、第2図は、ドツト・パターンの例を示す
図、第3図は、第2図のドツト・パターンから作
り出されるビデオ信号を示す図、第4図は、
CRTのスクリーンに表示するパターンの例を示
す図、第5図は、第4図のパターンに対応する画
面データを示す図、第6図は、本発明の一実施例
を示す図、第7図は、第6図におけるインターフ
エイス・コントローラの処理フロー線図を示す図
である。第8図〜第36図は、本発明の他の実施
例を示す図である。 1……計算機、2……インターフエイス・コン
トローラ、3……リフレツシユ・メモリ、4……
文字パターン発生器、5……ビデオコントロー
ラ、6……CRT、8……デイスプレイコントロ
ーラ。
Figure 1 is a diagram for explaining the configuration of a CRT display device, Figure 2 is a diagram showing an example of a dot pattern, and Figure 3 is a diagram showing a video signal created from the dot pattern in Figure 2. Figure 4 is
FIG. 5 is a diagram showing an example of a pattern displayed on a CRT screen. FIG. 5 is a diagram showing screen data corresponding to the pattern in FIG. 4. FIG. 6 is a diagram showing an embodiment of the present invention. FIG. 7 is a diagram showing a processing flow diagram of the interface controller in FIG. 6. FIG. FIGS. 8 to 36 are diagrams showing other embodiments of the present invention. 1... Computer, 2... Interface controller, 3... Refresh memory, 4...
Character pattern generator, 5...video controller, 6...CRT, 8...display controller.

Claims (1)

【特許請求の範囲】 1 計算機と表示装置からなり、該計算機から該
表示装置に画面データを転送して表示装置に表示
するものにおいて、該計算機から画面データの書
込み開始位置X,Yおよび画面データの行と列の
長さM,Nを該表示装置に転送し、次いで該計算
機から画面データD1,D2,……DMxNを順次該表
示装置に転送し、該表示装置は画面データ書込み
開始位置X,Yと画面データの行と列の長さM,
Nに基づいて画面データを2次元データD11
D12,D13……DMNに組立てこの2次元データに組
立てられた画面データD11,D12,D13……DMN
基づいて画面を表示することを特徴とするプロセ
ス状態表示方法。 2 前記特許請求の範囲第1項記載において、該
計算機に該表示装置から画面データを組込む場合
該計算機から画面データの読込み開始位置X,Y
と画面データの行と列の長さM,Nを該表示装置
に転送し、該表示装置は該画面データ読込み開始
位置X,Yと画面データの行の列の長さM,Nに
基づいて2次元画面データD11,D12,D13……DM
を1次元データD1,D2,D3……DMxNに展開
し、次いで該計算機が該展開された画面データを
順次取込むことを特徴とするプロセス状態表示方
法。 3 前記特許請求の範囲第1項記載において、画
面データ書込み開始位置X,Yを画面データの行
と列の長さM,Nを一括指定して転送することを
特徴とするプロセス状態表示方法。 4 前記特許請求の範囲第2項記載において、画
面データ読込み開始位置X,Yと画面データの行
と列の長さM,Nを一括指定して転送することを
特徴とするプロセス状態表示方法。 5 前記特許請求の範囲第1項記載において、画
面データ書込み開始位置X,Yと画面データの行
と列の長さM,Nを独立に指定転送することを特
徴とするプロセス状態表示方法。 6 前記特許請求の範囲第2項記載において、画
面データ読込み開始位置X,Yと画面データの行
と列の長さM,Nを独立に指定転送することを特
徴とするプロセス状態表示方法。 7 前記特許請求の範囲第1項記載において、画
面データの書込みモードとして1次元データ書込
みモードMD1と2次元データ書込みモードMD2
2つのモードを設け、該プロセス計算機から該表
示装置に表示用画面データを転送する場合、該プ
ロセス計算機から先ず画面データの書込みモード
(MD1あるいはMD2)を該表示装置に指定し、1次
元データ書込みモードMD1の場合は、その後該プ
ロセス計算機から画面データの書込み開始位置
X,Yおよび画面データの長さN′を該表示装置
に転送し、続いて該プロセス計算機から画面デー
タ(1次元データD1,D2,……DN′を順次該表
示装置に転送し、該表示装置は画面データ書込み
開始位置X,Yと画面データの長さN′に基づい
て画面データD1,D2,……,DN′を1次元デー
タの状態で取込み、表示装置のスクリーンの枠を
基準にして画面データD1,D2……,DN′を2次
元データに組立て、この組立てられた画面データ
に基づいて画面を表示し、2次元データ書込みモ
ードMD2の場合は、該プロセス計算機から画面デ
ータの書込み開始位置X,Yおよび画面データの
行と列の長さM,Nを該表示装置に転送し、その
後該プロセス計算機から2次元データD11,D12
……,DMNを1次元データに展開した画面データ
D1,D2,……,DMxNを順次該表示装置に転送
し、該表示装置は画面データ書込み開始位置X,
Yと画面データの行と列の長さM,Nに基づいて
2次元データD11,D12,……,DMNを1次元デー
タに展開した画面データD1,D2,……,DMxN
2次元データD11,D12,……,DMNに組立て、こ
の2次元データに組立てられ画面データD11
D12,……,DMNに基づいて画面を表示すること
を特徴とするプロセス状態表示方法。 8 前記特許請求の範囲第2項において、画面デ
ータの読込みモードとして1次元データ読込みモ
ードMD1′と2次元データ読込みモードMD2′の2
つのモードを設け、該プロセス計算機に該表示装
置から表示用画面データを取込む場合、該プロセ
ス計算機から先ず画面データの書込みモード
MD1′あるいはMD2′を該表示装置に指定し、1次
元データ読込みモードMD1′の場合は、その後該
プロセス計算機から画面データの読込み開始位置
X,Yおよび画面データの長さN′を該表示装置
に転送し、該表示装置は画面データ読込み開始位
置X,Yと画面データの長さN′に基づいて表示
装置のスクリーンの枠を基準にして2次元データ
の画面データを1次元データに転開し、その後該
プロセス計算機が表示装置のスクリーンの枠を基
準にして2次元データの画面データを1次元デー
タに展開した画面データを順次取込み2次元デー
タ読込みモードMD2′の場合は、該プロセス計算
機から画面データの読込み開始位置X,Yおよび
画面データの行と列の長さM,Nを該表示装置に
転送し、該表示装置は画面データ読込み開始位置
X,Yと画面データの行と列の長さM,Nに基づ
いて2次元データの画面データD11,D12,……,
MNを1次元データD1,D2,……,DMxNに展開
し、その後該プロセス計算機が2次元データ
D11,D12,……,DMNを1次元データに展開した
画面データD1,D2,……,DMxNを順次取込むこ
とを特徴とするプロセス状態表示方法。 9 前記特許請求の範囲第1項記載において、該
プロセス計算機から転送されて来た1次元画面デ
ータを該表示装置が2次元データに組立てるモー
ドとして水平スキヤン・モードMDHと垂直スキ
ヤン・モードMDVの2つのモードを設け、該プ
ロセス計算機から該表示装置にスキヤン・モード
を指示し、水平スキヤン・モードMDHの場合
は、画面データ(1次元データ)を左から右、上
から下へ順次2次元データに組立て、垂直スキヤ
ン・モードMDVの場合は、画面データ(1次元
データ)を上から下、左から右へ順次2次元デー
タに組立て表示することを特徴とするプロセス状
態表示方法。 10 前記特許請求の範囲第1項記載において、
該プロセス計算機に転送する画面データを該表示
装置が2次元データから1次元データに展開する
モードとして水平スキヤン・モードMDH′と垂直
スキヤン・モードMDV′の2つのモードを設け、
該プロセス計算機から該表示装置にスキヤン・モ
ードを指示し、水平スキヤン・モードMDHの場
合は、該表示装置が画面データを左から右、上か
ら下へ順次2次元データから1次元データに展開
し、垂直スキヤン・モードMDVの場合は、該表
示装置が画面データを上から下、左から右へ順次
2次元データから1次元データに展開することを
特徴とするプロセス状態表示方法。
[Scope of Claims] 1. In a device comprising a computer and a display device, in which screen data is transferred from the computer to the display device and displayed on the display device, the writing start positions X and Y of the screen data from the computer and the screen data The row and column lengths M and N of are transferred to the display device, and then the screen data D 1 , D 2 , ...D MxN are sequentially transferred from the computer to the display device, and the display device writes the screen data. Starting position X, Y and screen data row and column length M,
Based on N, screen data is converted into two-dimensional data D 11 ,
A process status display method characterized by displaying a screen based on screen data D 11 , D 12 , D 13 . . . D MN assembled into two- dimensional data D 12 , D 13 . 2. In claim 1, when screen data is incorporated into the computer from the display device, the reading start position X, Y of the screen data from the computer
and the lengths M and N of the rows and columns of the screen data are transferred to the display device, and the display device reads the data based on the screen data reading start positions X and Y and the lengths M and N of the rows and columns of the screen data. 2D screen data D 11 , D 12 , D 13 ...D M
A process status display method characterized in that N is expanded into one-dimensional data D 1 , D 2 , D 3 . . . D MxN , and then the computer sequentially imports the expanded screen data. 3. A process status display method as set forth in claim 1, characterized in that the screen data writing start positions X and Y are transferred by collectively specifying the lengths M and N of the rows and columns of the screen data. 4. A process status display method as set forth in claim 2, characterized in that screen data reading start positions X and Y and screen data row and column lengths M and N are collectively specified and transferred. 5. A process status display method as set forth in claim 1, characterized in that screen data writing start positions X, Y and screen data row and column lengths M, N are designated and transferred independently. 6. A process status display method as set forth in claim 2, characterized in that screen data reading start positions X, Y and screen data row and column lengths M, N are designated and transferred independently. 7. In the claim 1, two modes, a one-dimensional data writing mode MD 1 and a two-dimensional data writing mode MD 2 , are provided as screen data writing modes, and screen data can be written from the process computer to the display device for display. When transferring screen data, first specify the screen data writing mode (MD 1 or MD 2 ) from the process computer to the display device, and if the one-dimensional data writing mode is MD 1 , then the screen data is transferred from the process computer. The writing start positions X, Y and the length N' of the screen data are transferred to the display device, and then the screen data (one-dimensional data D 1 , D 2 , . . . D N ') is sequentially displayed from the process computer. The display device captures the screen data D 1 , D 2 , ..., D N ' as one-dimensional data based on the screen data writing start positions X, Y and the screen data length N'. , assemble the screen data D 1 , D 2 . In the case of MD 2 , the screen data writing start position X, Y and screen data row and column lengths M, N are transferred from the process computer to the display device, and then the two-dimensional data D 11 is transferred from the process computer. ,D 12 ,
..., D Screen data expanded into one-dimensional data
D 1 , D 2 , ..., D MxN are sequentially transferred to the display device, and the display device selects the screen data writing start position X,
Screen data D 1 , D 2 , ..., D is obtained by developing two-dimensional data D 11 , D 12 , ..., D MN into one-dimensional data based on Y and the lengths M and N of rows and columns of screen data. MxN is assembled into two-dimensional data D 11 , D 12 , ..., D MN , and screen data D 11 ,
A process status display method characterized by displaying a screen based on D 12 , ..., D MN . 8 In claim 2, there are two screen data reading modes: a one-dimensional data reading mode MD 1 ′ and a two-dimensional data reading mode MD 2 ′.
When reading screen data for display from the display device into the process computer, the process computer first sets the screen data write mode.
Specify MD 1 ′ or MD 2 ′ to the display device, and if the one-dimensional data reading mode is MD 1 ′, then the screen data reading start position X, Y and the screen data length N′ from the process computer. The screen data is transferred to the display device, and the display device converts the two-dimensional screen data into one-dimensional data based on the screen data reading start position X, Y and the length N' of the screen data, with the frame of the screen of the display device as a reference. Then, the process computer sequentially imports the screen data in which the screen data of the two-dimensional data is developed into one-dimensional data based on the frame of the screen of the display device.In the case of the two-dimensional data reading mode MD 2 ', The process computer transfers the screen data reading start positions X, Y and the screen data row and column lengths M, N to the display device, and the display device transfers the screen data reading start positions X, Y and the screen data read start positions Two-dimensional data screen data D 11 , D 12 , ..., based on the row and column lengths M and N
D MN is expanded into one-dimensional data D 1 , D 2 , ..., D MxN , and then the process computer converts it into two-dimensional data.
A process status display method characterized by sequentially capturing screen data D 1 , D 2 , . . . , D MxN obtained by expanding D 11 , D 12 , . 9. In claim 1, the mode in which the display device assembles the one-dimensional screen data transferred from the process computer into two-dimensional data is a horizontal scan mode MD H and a vertical scan mode MD V. The scan mode is instructed from the process computer to the display device, and in the case of horizontal scan mode MD H , screen data (one-dimensional data) is sequentially displayed from left to right and from top to bottom. Assembling into dimensional data, in the case of vertical scan mode MD V , a process status display method characterized by assembling and displaying screen data (one-dimensional data) into two-dimensional data sequentially from top to bottom and from left to right. 10 In claim 1,
Two modes are provided for the display device to develop screen data to be transferred to the process computer from two-dimensional data to one-dimensional data: a horizontal scan mode MD H ′ and a vertical scan mode MD V ′;
The process computer instructs the display device to scan mode, and in the case of horizontal scan mode MD H , the display device sequentially expands the screen data from left to right and top to bottom from two-dimensional data to one-dimensional data. In the case of vertical scan mode MDV , the process status display method is characterized in that the display device sequentially develops screen data from two-dimensional data to one-dimensional data from top to bottom and from left to right.
JP2540178A 1978-03-08 1978-03-08 Process state display method Granted JPS54118735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2540178A JPS54118735A (en) 1978-03-08 1978-03-08 Process state display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2540178A JPS54118735A (en) 1978-03-08 1978-03-08 Process state display method

Publications (2)

Publication Number Publication Date
JPS54118735A JPS54118735A (en) 1979-09-14
JPS6113255B2 true JPS6113255B2 (en) 1986-04-12

Family

ID=12164874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2540178A Granted JPS54118735A (en) 1978-03-08 1978-03-08 Process state display method

Country Status (1)

Country Link
JP (1) JPS54118735A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61256430A (en) * 1985-05-09 1986-11-14 Idec Izumi Corp Multi-function display device

Also Published As

Publication number Publication date
JPS54118735A (en) 1979-09-14

Similar Documents

Publication Publication Date Title
JP4926947B2 (en) GPU rendering to system memory
JP2594897B2 (en) Video image display device
JP3786120B2 (en) Data transfer control device and electronic device
US5345552A (en) Control for computer windowing display
JP2005258575A (en) Data transfer controller and electronic device
JPH0325792B2 (en)
JPS62275291A (en) Computer graphic system
CN102609231A (en) Multi-display output method based on Feiteng processor platform
US20060236012A1 (en) Memory controller, image processing controller, and electronic instrument
US20060055626A1 (en) Dual screen display using one digital data output
JPS6113255B2 (en)
JPH0736443A (en) Display device and frame buffer control method
JPH0252271B2 (en)
JP2002032063A (en) Liquid crystal display device and method for controlling window display magnification
JP3042757B2 (en) Data processing device and printer control device using the same
JP3786121B2 (en) Data transfer control device and electronic device
JPS58169390A (en) Writing for buffer memory
JP2002221952A (en) Image data transmission method, and image display system and display device using the same
TWI361007B (en) Video processing method and video display system
JPS61138329A (en) Display controller
JPS63250688A (en) Display adaptor
JPS61254981A (en) Multiwindow display controller
JPH07334138A (en) Image display device
JP2003167568A (en) Display controller and display control method
JP5575261B2 (en) Drawing apparatus, drawing method and program