JPS6153732B2 - - Google Patents

Info

Publication number
JPS6153732B2
JPS6153732B2 JP53115280A JP11528078A JPS6153732B2 JP S6153732 B2 JPS6153732 B2 JP S6153732B2 JP 53115280 A JP53115280 A JP 53115280A JP 11528078 A JP11528078 A JP 11528078A JP S6153732 B2 JPS6153732 B2 JP S6153732B2
Authority
JP
Japan
Prior art keywords
data
error
circuit
cursor
input
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
JP53115280A
Other languages
Japanese (ja)
Other versions
JPS5541566A (en
Inventor
Katsumi Konnai
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP11528078A priority Critical patent/JPS5541566A/en
Publication of JPS5541566A publication Critical patent/JPS5541566A/en
Publication of JPS6153732B2 publication Critical patent/JPS6153732B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 本発明はCRT表示装置等において、表示デー
タのエラー位置を検出してその位置を表示する表
示装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a display device, such as a CRT display device, that detects an error position in display data and displays the position.

電子計算機の端末装置として用いられるCRT
端末制御装置では、データの入力処理及び入力デ
ータの表示を行い、データエラーがあれば、エラ
ー位置を表示してその訂正ができるようになつて
いる。すなわち、CRT端末制御装置によりデー
タエントリを行い、それを中央処理装置
(CPU)へ送出すると、CPUから入力データの受
入れに対する応答信号がCRT端末制御装置へ送
られてくる。この場合、エントリデータに誤りが
あれば、誤りであることを示す応答信号として、
CPUからエラー情報が送られる。CRT端末制御
装置はこのエラー情報に従つて、例えばエラー文
字をブリンクさせるなどしてエラー表示を行い、
オペレータにエラー文字の訂正を要求する。オペ
レータは、エラー個所に対して訂正データを入力
し、この訂正したデータフイールドについてのみ
エントリデータをCPUへ再送信する。上記エラ
ーフイールドを訂正するには、エラー位置にカー
ソルを移動して正しいデータを再入力する。エラ
ーフイールドが複数個所ある場合には、各エラー
フイールドにカーソルを順次移動させる必要があ
るが、このカーソルの移動は、従来ではオペレー
タが手動操作することによつて行つており、その
操作が非常に面倒であつた。すなわち、従来では
カーソルを上下左右の方向にそれぞれ移動させる
4つの操作釦を備え、各カーソル移動釦を操作す
ることによつてカーソルを最初の訂正位置まで移
動し、その誤り訂正後、再びカーソル移動釦を操
作することによつて次の訂正位置までカーソルを
移動するようにしており、その操作が非常に面倒
である。
CRT used as a terminal device for electronic computers
The terminal control device performs data input processing and displays the input data, and if there is a data error, the error position is displayed so that the error can be corrected. That is, when the CRT terminal control device performs data entry and sends it to the central processing unit (CPU), a response signal in response to acceptance of input data is sent from the CPU to the CRT terminal control device. In this case, if there is an error in the entry data, a response signal indicating the error will be sent to
Error information is sent from the CPU. According to this error information, the CRT terminal control device displays an error by, for example, blinking the error character.
Requests the operator to correct the error character. The operator inputs correction data for the error location and retransmits the entry data only for the corrected data field to the CPU. To correct the above error field, move the cursor to the error location and re-enter the correct data. When there are multiple error fields, it is necessary to move the cursor to each error field in sequence. Conventionally, this cursor movement is done manually by an operator, which is very time-consuming. It was troublesome. That is, in the past, there were four operation buttons that moved the cursor in the up, down, left, and right directions, and by operating each cursor movement button, the cursor was moved to the first correction position, and after the error was corrected, the cursor was moved again. The cursor is moved to the next correction position by operating a button, which is very cumbersome.

本発明は上記の点に鑑みてなされたもので、
CPUからのエラー情報に従つてカーソルをエラ
ー位置に対応した位置に自動的に移動して表示す
ることができる表示装置を提供することを目的と
する。
The present invention has been made in view of the above points, and
It is an object of the present invention to provide a display device that can automatically move and display a cursor to a position corresponding to an error position according to error information from a CPU.

以下図面を参照して本発明の一実施例を説明す
る。まず第1図によりCRT端末制御装置の全体
の構成について説明する。第1図においてDBは
CPU(図示せず)からのデータを伝送するデー
タバスで、このデータバスDBはCPUからの動作
指令によつて動作するインターフエイス1を介
して内部バス2に接続され、この内部バス2に
CRTコントローラ3及びスクリーンメモリ4が
接続される。さらに、上記内部バス2にはゲート
回路G1を介してラインデータメモリ5が接続さ
れると共にゲート回路G2を介してラインコント
ロールメモリ6が接続される。そして、上記
CRTコントローラ3にはCPUから読出し、書込
み指令R/W1、イネーブル信号E1が与えられ
ると共にアドレスバスABを介してアドレスデー
タが入力される。上記CRTコントローラ3は詳
細を後述するがスクリーンメモリ4の読出し、書
込み制御、カーソルの移動制御等を行うもので、
スクリーンメモリ4に読出し、書込み指令R/W
2、ゲート回路G3にゲート信号GS、アドレスレ
ジスタ7にカーソル用アドレスデータ及びアドレ
スレジスタ指定信号ASを与える。アドレスレジ
スタ7にセツトされたデータは、ゲート回路G3
へ入力される。また、ゲート回路G3にはアドレ
スカウンタ10のカウント内容が入力される。ア
ドレスカウンタ10は同期制御回路9から与えら
れる1文字走査毎のパルスによつてカウントアツ
プされる。
An embodiment of the present invention will be described below with reference to the drawings. First, the overall configuration of the CRT terminal control device will be explained with reference to FIG. In Figure 1, DB is
A data bus that transmits data from a CPU (not shown). This data bus DB is connected to internal bus 2 via interface 1 that operates according to operation commands from the CPU.
A CRT controller 3 and screen memory 4 are connected. Furthermore, a line data memory 5 is connected to the internal bus 2 via a gate circuit G1 , and a line control memory 6 is also connected via a gate circuit G2. And above
The CRT controller 3 is given a read/write command R/W1 and an enable signal E1 from the CPU, and address data is also input via the address bus AB. The CRT controller 3 mentioned above performs reading and writing control of the screen memory 4, cursor movement control, etc., which will be described in detail later.
Read/write command R/W to screen memory 4
2. Give the gate signal GS to the gate circuit G3 , and give the cursor address data and address register designation signal AS to the address register 7. The data set in the address register 7 is sent to the gate circuit G 3
is input to. Furthermore, the count contents of the address counter 10 are input to the gate circuit G3 . The address counter 10 is counted up by a pulse given from the synchronization control circuit 9 for each character scan.

上記ゲート回路G3はCRTコントローラ3から
のセレクト信号GSによつて入力を選択し、スク
リーンメモリ4へ与える。このスクリーンメモリ
4は、第2図に示すようにスクリーンデータメモ
リSDMとスクリーンコントロールメモリSCMと
からなつており、例えば1,3,5…2n+1の
奇数番地がスクリーンデータメモリSDMの領
域、0,2,4…2nの偶数番地がスクリーンコ
ントロールメモリSCMの領域となつている。こ
のスクリーンコントロールメモリSCMには例え
ばエラーe、デユブリキツトd、プロテクトpを
示すコントロールデータ及びリバースr、ブリン
クb、ハーフブライトの表示状態を制御するコン
トロールデータが記憶される。しかして、スクリ
ーンメモリ4内のスクリーンデータメモリSDM
に記憶される表示用データは、上記したようにゲ
ート回路G1を介してラインデータメモリ5へ送
られ、スクリーンコントロールメモリSCMに記
憶されるコントロールデータはゲート回路G2
介してラインコントロールメモリ6へ送られる。
ラインデータメモリ5及びラインコントロールメ
モリ6はシフトレジスタで構成され、画面の1ラ
スタ走査毎にそれぞれゲート回路G1,G2を介し
て1循環し、データの記憶保持を行つている。そ
して、ラインデータメモリ5及びラインコントロ
ールメモリ6は、画面の1ライン(文字1行分)
走査毎にスクリーンメモリ4からゲート回路
G1,G2を介して読出される次のライン表地デー
タ及びコントロールデータを記憶する。この場
合、同期制御回路9によつてゲート回路G1,G2
の制御が行なわれる。そして、上記ラインデータ
メモリ5に記憶されたラインデータは、キヤラク
タジエネレータ11へ送られる。このキヤラクタ
ジエネレータ11は、同期制御回路9からの信号
に同期して動作し、入力されるラインデータに対
するキヤラクタデータを発生する。このキヤラク
タデータは、P―S(並列―直列)変換回路12
を介して直列データに変換され、合成回路13へ
送られる。また、ラインコントロールメモリ6に
記憶されたコントロールデータは、検知回路14
において検知され、その検知内容に基ずく制御信
号が合成回路13へ送られて表示用データと合成
される。この合成回路13で合成された信号はビ
デオ信号としてオア回路15を介してCRT表示
部(図示せず)へ送られる。さらに、このCRT
表示部には、同期制御回路9からの信号に従つて
アドレスレジスタ7とアドレスカウンタ10との
内容一致を検出する一致検出回路16の出力がオ
ア回路15を介して入力される。この一致回路1
6によつてカーソル表示の位置検出が行われる。
さらに、CRT表示部には水平同期信号H.SYNC
及び垂直同期信号V.SYNCが与えられる。
The gate circuit G 3 selects an input based on the select signal GS from the CRT controller 3 and supplies it to the screen memory 4 . This screen memory 4 consists of a screen data memory SDM and a screen control memory SCM, as shown in FIG. , 4...2n are the areas of the screen control memory SCM. This screen control memory SCM stores, for example, control data indicating error e, dub kit d, and protect p, and control data for controlling display states of reverse r, blink b, and half bright. Therefore, the screen data memory SDM in screen memory 4
The display data stored in the screen control memory SCM is sent to the line data memory 5 via the gate circuit G1 as described above, and the control data stored in the screen control memory SCM is sent to the line control memory 6 via the gate circuit G2. sent to.
The line data memory 5 and the line control memory 6 are composed of shift registers, and are circulated once through gate circuits G 1 and G 2 for each raster scan of the screen to store and hold data. The line data memory 5 and line control memory 6 store one line of the screen (one line of characters).
Gate circuit from screen memory 4 for each scan
The next line outer material data and control data read out via G 1 and G 2 are stored. In this case, the synchronization control circuit 9 controls the gate circuits G 1 and G 2
control is performed. The line data stored in the line data memory 5 is sent to the character generator 11. This character generator 11 operates in synchronization with a signal from the synchronous control circuit 9, and generates character data for input line data. This character data is transmitted to the P-S (parallel-serial) conversion circuit 12.
The data is converted into serial data via the converter and sent to the synthesis circuit 13. Further, the control data stored in the line control memory 6 is stored in the detection circuit 14.
A control signal based on the detected content is sent to the synthesis circuit 13 and synthesized with the display data. The signal synthesized by the synthesis circuit 13 is sent as a video signal to a CRT display section (not shown) via an OR circuit 15. Furthermore, this CRT
The output of a coincidence detection circuit 16 that detects coincidence of contents between the address register 7 and the address counter 10 in accordance with a signal from the synchronization control circuit 9 is inputted to the display section via an OR circuit 15. This matching circuit 1
6, the position of the cursor display is detected.
Furthermore, the horizontal synchronization signal H.SYNC is displayed on the CRT display.
and a vertical synchronization signal V.SYNC.

次に上記CRTコントローラ3の詳細について
第3図により説明する。CPUからデータバスDB
及びインターフエイス1を介して内部バス2に与
えられたデータは、CRTコントローラ3内の入
力レジスタ21又はカーソルカウンタ22に入力
される。また、CPUからCRTコントローラ3に
送られてくる読出し、書込み指令R/W1、イネ
ーブル信号E1、アドレスデータはアドレスデコ
ーダ23へ入力される。アドレスデコーダ23
は、CPUからのアドレスデータに従つて入力レ
ジスタ21あるいはカーソルカウンタ22を選択
して書込み指令を与える。そして、上記入力レジ
スタ21にセツトされたデータは制御回路24へ
送られると共にゲート回路G4を介してエラービ
ツト検出回路25へ送られる。さらに入力レジス
タ21のセツト内容はゲート回路G5を介して内
部バス2へ戻され、スクリーンメモリ4へ転送さ
れる。上記制御回路24は入力データに従つて前
記した読出し、書込み指令R/W2、ゲート信号
GS、アドレスレジスタ指定信号ASを出力すると
共に出力ラインa〜dからその他の制御信号を出
力する。すなわち、制御回路24の出力ラインa
からはゲート回路G5に対するゲート信号、出力
ラインbからはエラービツトチエツク指令、出力
ラインcからは訂正キーEDが操作された際の指
令信号、出力ラインdからはデータが入力された
際のカーソル移動指令が出力される。そして、制
御回路24の出力ラインbから出力される信号は
ゲート回路G4へゲート信号として入力されると
共にアンド回路26へ入力され、出力ラインcか
ら出力される信号はフリツプフロツプ27のセツ
ト端子Sへ入力される。このフリツプフロツプ2
7の出力はアンド回路26に入力されると共にエ
ンド検出回路28へ動作指令として送られる。こ
のエンド検出回路28はカーソルカウンタ22の
カウント内容が画面の最終アドレス位置に達した
際に検出信号を出力するもので、その出力信号は
エラービツト検出回路25の出力と共にオア回路
29を介してフリツプフロツプ27のリセツト端
子Rに入力される。そして、上記アンド回路26
の出力はオア回路30を介してワンシヨツト回路
31へ送られると共に遅延回路32及びオア回路
30を介してワンシヨツト回路31へ送られる。
このワンシヨツト回路31の出力は、制御回路2
4の出力ラインdから出力される信号と共にオア
回路33を介して+1回路34へ入力される。こ
の+1回路34はオア回路33から信号が与えら
れる毎にカーソルカウンタ22の内容を+1す
る。この場合、スクリーンメモリ4内のスクリー
ンデータメモリSDMは奇数番地によつて構成さ
れているので、アンド回路26から1発のパルス
信号が出力された場合、このパルス信号を直接及
び遅延回路32を介してワンシヨツト回路31に
入力してワンシヨツト回路31から2発のパルス
信号を出力し、カーソルカウンタ22が+2され
るようにしている。また、キー操作により表示用
データが入力された場合は、制御回路24の出力
ラインdから+2の信号を出力してカーソルカウ
ンタ22を+2するようにしている。
Next, details of the CRT controller 3 will be explained with reference to FIG. CPU to data bus DB
The data applied to the internal bus 2 via the interface 1 is input to an input register 21 or a cursor counter 22 in the CRT controller 3. Further, the read/write command R/W1, enable signal E 1 , and address data sent from the CPU to the CRT controller 3 are input to the address decoder 23 . Address decoder 23
selects the input register 21 or the cursor counter 22 according to address data from the CPU and issues a write command. The data set in the input register 21 is sent to the control circuit 24 and also sent to the error bit detection circuit 25 via the gate circuit G4 . Furthermore, the set contents of the input register 21 are returned to the internal bus 2 via the gate circuit G5 and transferred to the screen memory 4. The control circuit 24 generates the read and write commands R/W2 and gate signals according to the input data.
GS, address register designation signal AS, and other control signals from output lines a to d. That is, the output line a of the control circuit 24
From is a gate signal for gate circuit G5 , from output line b is an error bit check command, from output line c is a command signal when the correction key ED is operated, from output line d is a cursor when data is input. A movement command is output. The signal output from the output line b of the control circuit 24 is input to the gate circuit G4 as a gate signal and also input to the AND circuit 26, and the signal output from the output line c is input to the set terminal S of the flip-flop 27. is input. This flipflop 2
The output of 7 is input to the AND circuit 26 and is also sent to the end detection circuit 28 as an operation command. This end detection circuit 28 outputs a detection signal when the count content of the cursor counter 22 reaches the final address position on the screen, and the output signal is sent to the flip-flop 27 via the OR circuit 29 together with the output of the error bit detection circuit 25. It is input to the reset terminal R of. And the AND circuit 26
The output of is sent to the one-shot circuit 31 via the OR circuit 30, and is also sent to the one-shot circuit 31 via the delay circuit 32 and the OR circuit 30.
The output of this one-shot circuit 31 is the control circuit 2
The signal is input to the +1 circuit 34 via the OR circuit 33 along with the signal output from the output line d of No. 4. This +1 circuit 34 increments the contents of the cursor counter 22 by 1 every time a signal is applied from the OR circuit 33. In this case, since the screen data memory SDM in the screen memory 4 is configured with odd addresses, when one pulse signal is output from the AND circuit 26, this pulse signal is transmitted directly and through the delay circuit 32. The pulse signal is input to the one-shot circuit 31, and the one-shot circuit 31 outputs two pulse signals, so that the cursor counter 22 is incremented by two. Further, when display data is input by key operation, a +2 signal is output from the output line d of the control circuit 24 to increment the cursor counter 22 by +2.

次に上記のように構成された本発明の動作を説
明する。例えば在庫管理等に際して売上げデータ
を入力する場合は、例えば第4図に示すように予
め選択指定してCRT表示部に表示した所定のデ
ータフオーマツトに従つてキー入力部からデータ
を入力する。このキー入力部から入力されるデー
タは、スクリーンメモリ4内のスクリーンデータ
メモリSDMに書込まれる。この場合、スクリー
ンコントロールメモリSCMには、第5図に示す
ようにスクリーンデータメモリSDMの記憶デー
タに対応してプロテクトビツト領域P及びエラー
ビツト領域eが設けられ、フオーマツトを構成を
する。例えば「ヒヅケ」,「デンピヨウNo.」,「トク
イサキコード」等の消去してはいけない文字及び
文字間隔部位等に対してはプロテクトビツト領域
Pにプロテクトビツト“1”が書込まれる。ま
た、エラービツト領域eにはCPUからエラー情
報が送られてきた場合にそのエラーフイールドの
先頭位置にエラービツト“1”が書込まれる。し
かして、データフオーマツトに従つてデータ入力
処理を終了すると、エントリキーENTを操作し
てスクリーンデータメモリSCMに記憶している
入力データをCPUへ転送する。この入力データ
の転送に際しては、エントリキーENTの操作に
よつてCPUからインターフエイス1に動作指令
が与えられると共にアドレスバスABから入力
レジスタ21を指定する信号が与えられる。この
ため、エントリキーENTの操作によるデータ転
送命令はデータバスDBを介して入力レジスタ2
1へ入力される。制御回路24では入力レジスタ
21へ入力された命令がデータ転送命令であるこ
とを解読して、信号ASをアドレスレジスタ7へ
与え、信号GSをゲート回路G3へ与える。このた
め、カーソルカウンタ22の値がアドレスレジス
タ7へ転送され、これがスクリーンメモリ4のア
ドレスとなる。カーソルカウンタ22は最初
「0」に設定されており、スクリーンメモリ4は
R/W2信号によつて読み出しに指定されている
ため、スクリーンデータメモリSDMの内容が内
部バス2に読出され、インターフエイス1及びデ
ータバスDBを介してCPUへ転送される。CPUは
データバスDBを介して送られてきたスクリーン
データを個々のフイールドについてあり得ない状
態例えば桁数が設定範囲内であるか否か等をチエ
ツクしてエラーの検出を行う。このデータチエツ
クによりエラーを検出した場合は、エラー情報を
データバスDB及びインターフエイス1を介して
スクリーンメモリ4へ送出し、第5図に示すよう
にスクリーンコントロールメモリSCMのエラー
ビツト領域eにエラービツト“1”を記憶させ
る。この場合エラーフイールドの先頭位置にエラ
ービツト“1”を記憶させる。第5図では担当者
コードと単価のフイールドにエラーがあつた場合
を示している。また、CPUは最初のエラービツ
トすなわち、第5図の例では担当者コードのエラ
ービツトに対応するアドレスデータをインターフ
エイス1を介してCRTコントローラ3に送り、
カーソルカウンタ22にセツトする。この場合、
CPUは書込み指令R/W1、をCRTコントロー
ラ3に送出すると共に、カーソルカウンタ22を
指定するためのアドレスデータをアドレスバス
ABを介してCRTコントローラ3へ送出する。
CRTコントローラ3はCPUからの制御指令に従
つてカーソルカウンタ22を選択指定し、上記し
たように最初のエラービツトに対応するアドレス
データをカーソルカウンタ22にセツトする。さ
らにCRTコントローラ3は、制御回路24から
アドレスレジスタ7へのアドレスレジスタ指定信
号ASを出力し、カーソルカウンタ22の内容を
アドレスレジスタ7へ転送する。そして、このア
ドレスレジスタ10に保持されたカーソルデータ
は、アドレスカウンタ10の内容と共に一致検出
回路16へ送られてその一致が検出される。アド
レスカウンタ10は同期制御回路9からの信号に
よつて一定周期でカウントアツプされ、その内容
が画面のラスタ走査位置、つまり画面上のアドレ
スに対応している。そして、アドレスカウンタ1
0のカウントアツプによつてその内容がアドレス
レジスタ7の内容に一致すると、その一致がとれ
ている間、一致検出回路16から一致検出信号が
出力され、オア回路15を介してCRT表示部へ
送られてカーソル表示される。すなわち、最初の
エラーフイールドである担当者コードの先頭位置
にカーソル表示が行われる。
Next, the operation of the present invention configured as described above will be explained. For example, when inputting sales data for inventory management, etc., the data is input from the key input section according to a predetermined data format that has been selected and designated in advance and displayed on the CRT display section, as shown in FIG. Data input from this key input section is written to the screen data memory SDM in the screen memory 4. In this case, the screen control memory SCM is provided with a protect bit area P and an error bit area e corresponding to the data stored in the screen data memory SDM to form a format, as shown in FIG. For example, a protect bit "1" is written in the protect bit area P for characters that should not be erased, such as "Hizuke", "Denpiyo No.", and "Tokisaki Code", and character spacing parts. Furthermore, when error information is sent from the CPU to the error bit area e, an error bit "1" is written at the beginning position of the error field. After completing the data input process according to the data format, the user operates the entry key ENT to transfer the input data stored in the screen data memory SCM to the CPU. When transferring this input data, an operation command is given from the CPU to the interface 1 by operating the entry key ENT, and a signal designating the input register 21 is given from the address bus AB. Therefore, a data transfer command by operating the entry key ENT is sent to the input register 2 via the data bus DB.
1. The control circuit 24 decodes that the command input to the input register 21 is a data transfer command, and applies a signal AS to the address register 7 and a signal GS to the gate circuit G3 . Therefore, the value of the cursor counter 22 is transferred to the address register 7, and this becomes the address of the screen memory 4. Since the cursor counter 22 is initially set to "0" and the screen memory 4 is designated for reading by the R/W2 signal, the contents of the screen data memory SDM are read to the internal bus 2 and the interface 1 and is transferred to the CPU via the data bus DB. The CPU detects errors by checking the screen data sent via the data bus DB to see if each field is in an impossible state, for example, whether the number of digits is within a set range. If an error is detected by this data check, the error information is sent to the screen memory 4 via the data bus DB and interface 1, and an error bit "1" is written in the error bit area e of the screen control memory SCM as shown in FIG. ” to be memorized. In this case, an error bit "1" is stored at the beginning position of the error field. FIG. 5 shows a case where an error occurs in the field for person in charge and unit price. Further, the CPU sends the address data corresponding to the first error bit, that is, the error bit of the person in charge code in the example of FIG. 5, to the CRT controller 3 via the interface 1.
Set in cursor counter 22. in this case,
The CPU sends a write command R/W1 to the CRT controller 3, and also sends address data for specifying the cursor counter 22 to the address bus.
It is sent to the CRT controller 3 via AB.
The CRT controller 3 selects and designates the cursor counter 22 in accordance with a control command from the CPU, and sets the address data corresponding to the first error bit in the cursor counter 22 as described above. Further, the CRT controller 3 outputs an address register designation signal AS from the control circuit 24 to the address register 7, and transfers the contents of the cursor counter 22 to the address register 7. The cursor data held in the address register 10 is sent to a match detection circuit 16 together with the contents of the address counter 10, and a match is detected. The address counter 10 is counted up at regular intervals by a signal from the synchronization control circuit 9, and its contents correspond to the raster scanning position on the screen, that is, the address on the screen. And address counter 1
When the content matches the content of the address register 7 due to the count up of 0, a match detection signal is output from the match detection circuit 16 while the match is maintained, and is sent to the CRT display section via the OR circuit 15. The cursor will be displayed. That is, a cursor is displayed at the beginning of the person-in-charge code, which is the first error field.

上記の状態において、オペレータはキー入力部
より訂正データを入力する。この訂正データを1
字入力する毎に第6図に示すフローが実行され
る。まず、キー操作によつて入力されるデータ
は、ステツプAに示すようにCRTコントローラ
3内の入力レジスタ21にセツトされる。この時
CPUからは書込み信号R/W1、入力レジスタ
21を指定するアドレスデータが与えられ、入力
レジスタ21にデータがセツトされる。次いで制
御回路24からアドレスレジスタ指定信号ASが
出力され、ステツプBに示すようにカーソルカウ
ンタ22の内容がアドレスレジスタ7に転送され
る。このアドレスレジスタ7にセツトされたアド
レスデータは、CRTコントローラ3の制御に従
つてゲート回路G3を介してスクリーンメモリ4
へ送られ、スクリーンデータメモリSDMの最初
のエラーフイールドの先頭アドレスを指定する。
また、この時、CRTコントローラ3からスクリ
ーンメモリ4に書込み指令R/W2が送られ、ス
テツプCに示すように入力レジスタ21に保持さ
れている訂正データがゲート回路G5を介してス
クリーンデータメモリSDMに書込まれる。次に
制御回路24の出力ラインdからカーソルカウン
タ22のカウントアツプ信号が出力され、ステツ
プDに示すようにカーソルカウンタ22の内容が
+2される。この+2されたカーソルカウンタ2
2の内容は、ステツプEに示すようにアドレスレ
ジスタ7へ転送され、上記エラーフイールドにお
ける次の文字位置がカーソル表示される。以下同
様にしてキー操作により訂正データが1文字入力
される毎にA〜Eの処理ステツプが繰返される。
In the above state, the operator inputs correction data from the key input section. This corrected data is 1
The flow shown in FIG. 6 is executed every time a character is input. First, data input by key operation is set in the input register 21 in the CRT controller 3, as shown in step A. At this time
A write signal R/W1 and address data specifying the input register 21 are given from the CPU, and data is set in the input register 21. Next, the control circuit 24 outputs the address register designation signal AS, and the contents of the cursor counter 22 are transferred to the address register 7 as shown in step B. The address data set in the address register 7 is transferred to the screen memory 4 via the gate circuit G 3 under the control of the CRT controller 3.
and specifies the start address of the first error field in the screen data memory SDM.
Also, at this time, a write command R/W2 is sent from the CRT controller 3 to the screen memory 4, and as shown in step C, the correction data held in the input register 21 is sent to the screen data memory SDM via the gate circuit G5 . written to. Next, the count up signal of the cursor counter 22 is output from the output line d of the control circuit 24, and the contents of the cursor counter 22 are incremented by 2 as shown in step D. This +2 cursor counter 2
The contents of 2 are transferred to the address register 7 as shown in step E, and the next character position in the error field is displayed with a cursor. Similarly, each time one character of correction data is input by key operation, the processing steps A to E are repeated.

しかして、最初のエラーフイールドに対するエ
ラー訂正を終了した後、次のエラーフイールドに
対する訂正を行うために、まず、キー入力部にお
けるエラー訂正キーEDを操作する。このエラー
訂正キーEDが操作されると、第7図に示すフロ
ーによりカーソルが次のエラーフイールドの先頭
位置までシフトされる。すなわち、エラー訂正キ
ーEDが操作され、エラー訂正命令が入力レジス
タ21を介して制御回路24へ送られると、制御
回路24の出力ラインcから“1”信号が出力さ
れ、フリツプフロツプ27がセツトされる。この
フリツプフロツプ27がセツトされると、その出
力がエンド検出回路28へ動作指令として送ら
れ、このエンド検出回路28により第7図のステ
ツプAに示すようにカーソルカウンタ22の内容
が画面の最終アドレスまで達しているか否かが検
出される。カーソルが画面の最終位置まで達して
いなければ、制御回路24の出力ラインbから
“1”信号が出力され、アンド回路26及びオア
回路30を介してワンシヨツト回路31へ送られ
る。この結果ワンシヨツト回路31からワンシヨ
ツトパルスが出力され、オア回路33を介して+
1回路34へ送られてステツプBに示すようにカ
ーソルカウンタ22の内容が+1される。このカ
ーソルカウンタ22の内容は、直ちにアドレスレ
ジスタ7に転送され、このアドレスレジスタ7の
内容によつてスクリーンメモリ4におけるスクリ
ーンコントロールメモリSCMの内容がステツプ
Cに示すように入力レジスタ21に読出される。
この入力レジスタ21に読出されたコントロール
データはゲート回路G4を介してエラービツト検
出回路25へ送られ、ステツプDに示すようにエ
ラービツトの有無が検出される。このステツプD
においてエラービツトが検出されなければフリツ
プフロツプ27がセツト状態に保持される。従つ
て遅延回路32から遅れて出力される信号でワン
シヨツト回路31からワンシヨツトパルスが出力
され、ステツプEに示すようにカーソルカウンタ
22が+1されると、ステツプAに戻る。以下同
様にしてA〜Eのステツプが繰返され、エラービ
ツトが検出されるまで、カーソルが順次進められ
る。そして、カーソルが次のエラーフイールドま
で進められ、ステツプDにおいて、エラービツト
が検出されると、つまりエラービツト検出回路2
5からエラービツト検出信号が出力されると、こ
の検出信号によつて、フリツプフロツプ27がリ
セツトされる。従つて遅延回路32の出力により
ワンシヨツト回路31からワンシヨツトパルスが
出力されてステツプFに示すようにカーソルカウ
ンタ22が+1されると、ここでカーソルのシフ
ト処理が終了する。すなわち、エラー訂正キー
EDを操作することによつて、最初のエラーフイ
ールドに位置していたカーソルが次のエラーフイ
ールドまで自動的にシフトされ、このエラーフイ
ールドの先頭位置でカーソルが停止する。この状
態でキー入力部から訂正データを入力することに
より、最初のエラーフイールドにおけるエラー訂
正と同様にしてエラーの訂正処理が行われる。ま
た、ステツプAにおいて、エンド検出回路28に
よりカーソルカウンタ22の内容が画面の最終位
置に達したことが検出されると、その検出信号に
よつてフリツプフロツプ27がリセツトされてカ
ーソルシフト動作を終了する。
After completing the error correction for the first error field, the user first operates the error correction key ED in the key input section in order to correct the next error field. When this error correction key ED is operated, the cursor is shifted to the beginning position of the next error field according to the flow shown in FIG. That is, when the error correction key ED is operated and an error correction command is sent to the control circuit 24 via the input register 21, a "1" signal is output from the output line c of the control circuit 24, and the flip-flop 27 is set. . When this flip-flop 27 is set, its output is sent as an operation command to the end detection circuit 28, and the end detection circuit 28 changes the contents of the cursor counter 22 up to the final address on the screen as shown in step A of FIG. It is detected whether or not it has been reached. If the cursor has not reached the final position on the screen, a "1" signal is output from the output line b of the control circuit 24 and sent to the one shot circuit 31 via the AND circuit 26 and the OR circuit 30. As a result, a one-shot pulse is output from the one-shot circuit 31, and +
1 circuit 34, and the contents of the cursor counter 22 are incremented by 1 as shown in step B. The contents of the cursor counter 22 are immediately transferred to the address register 7, and based on the contents of the address register 7, the contents of the screen control memory SCM in the screen memory 4 are read out to the input register 21 as shown in step C.
The control data read into the input register 21 is sent to the error bit detection circuit 25 via the gate circuit G4 , and the presence or absence of an error bit is detected as shown in step D. This step D
If no error bit is detected at , flip-flop 27 is held set. Therefore, a one-shot pulse is output from the one-shot circuit 31 using the delayed signal output from the delay circuit 32, and when the cursor counter 22 is incremented by 1 as shown in step E, the process returns to step A. Thereafter, steps A to E are repeated in the same manner, and the cursor is sequentially advanced until an error bit is detected. Then, when the cursor is advanced to the next error field and an error bit is detected in step D, that is, the error bit detection circuit 2
When an error bit detection signal is output from the circuit 5, the flip-flop 27 is reset by this detection signal. Therefore, when a one-shot pulse is output from the one-shot circuit 31 in response to the output of the delay circuit 32 and the cursor counter 22 is incremented by 1 as shown in step F, the cursor shift process ends here. i.e. error correction key
By operating ED, the cursor located at the first error field is automatically shifted to the next error field, and the cursor stops at the beginning position of this error field. In this state, by inputting correction data from the key input section, error correction processing is performed in the same manner as error correction in the first error field. Further, in step A, when the end detection circuit 28 detects that the contents of the cursor counter 22 have reached the final position on the screen, the flip-flop 27 is reset by the detection signal and the cursor shift operation is completed.

以上述べたように本発明によれば、CPUから
のエラー情報に従つてカーソルを誤り訂正位置に
自動的に移動でき、エラーデータの訂正を簡単に
行うことができる。
As described above, according to the present invention, the cursor can be automatically moved to the error correction position according to error information from the CPU, and error data can be easily corrected.

なお、上記実施例ではエラービツトはエラーフ
イールドの先頭に対応する位置に設けたが、その
他例えばエラーフイールドの全域に対応する位置
に設けてもよい。
In the above embodiment, the error bit is provided at a position corresponding to the beginning of the error field, but it may be provided at other positions, for example, corresponding to the entire area of the error field.

また、エラーフイールドはブリンク等によつて
表示すれば、エラーフイールドの位置がより明確
なものとなる。
Furthermore, if the error field is displayed by blinking or the like, the position of the error field will become clearer.

さらに上記実施例では、スクリーンコントロー
ルメモリにエラービツトを記憶させたが、エラー
ビツト記憶用のメモリを独立に設けてもよい。
Further, in the embodiment described above, error bits are stored in the screen control memory, but a memory for storing error bits may be provided independently.

さらに上記実施例では、スクリーンデータメモ
リ内のデータ数と同数のエラービツト記憶領域を
設け、エラーデータの位置とエラービツトの位置
を対応させたが、エラーデータのアドレス値を記
憶するようにしてもよい。訂正時には上記アドレ
ス値がアドレスレジスタへ設定される。
Furthermore, in the embodiment described above, the same number of error bit storage areas as the number of data in the screen data memory are provided, and the positions of error data and error bits are made to correspond to each other, but address values of error data may also be stored. At the time of correction, the above address value is set in the address register.

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

図面は本発明の一実施例を示すもので、第1図
は全体の構成を示すブロツクク図、第2図は第1
図におけるスクリーンメモリの詳細を示す構成
図、第3図は第1図におけるCRTコントローラ
部分の詳細を示す構成図、第4図は表示データの
一例を示す図、第5図は上記スクリーンメモリの
プロテクトビツト及びエラビツトの記憶例を示す
図、第6図及び第7図は動作内容を示すフローチ
ヤートである。 2…内部バス、3…CRTコントローラ、4…
スクリーンメモリ、21…入力レジスタ、22…
カーソルカウンタ、27…フリツプフロツプ。
The drawings show one embodiment of the present invention, FIG. 1 is a block diagram showing the overall configuration, and FIG.
Fig. 3 is a block diagram showing details of the screen memory in Fig. 1; Fig. 4 is a block diagram showing an example of display data; Fig. 5 is a block diagram showing details of the screen memory in Fig. 1; FIGS. 6 and 7, which show examples of bit and error bit storage, are flowcharts showing the operation contents. 2...Internal bus, 3...CRT controller, 4...
Screen memory, 21... Input register, 22...
Cursor counter, 27...flipflop.

Claims (1)

【特許請求の範囲】 1 表示データを記憶する第1の記憶手段と、 上記表示データのうちエラーデータの表示位置
を示すエラー位置データを記憶する第2の記憶手
段と、 エラー訂正時に、上記第2の記憶手段よりエラ
ー位置データを読み出し、このエラー位置データ
に対応してカーソル表示アドレスを設定する設定
手段と、 設定されたカーソル表示アドレスに基づいてカ
ーソルを表示する表示手段と。 を具備し、エラー位置に対応した位置に自動的に
カーソルを移動して表示することを特徴とする表
示装置。
[Scope of Claims] 1. A first storage means for storing display data; a second storage means for storing error position data indicating a display position of error data among the display data; setting means for reading error position data from the storage means of item 2 and setting a cursor display address corresponding to the error position data; and display means for displaying a cursor based on the set cursor display address. A display device characterized in that the cursor is automatically moved and displayed at a position corresponding to an error position.
JP11528078A 1978-09-20 1978-09-20 Error position detection system Granted JPS5541566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11528078A JPS5541566A (en) 1978-09-20 1978-09-20 Error position detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11528078A JPS5541566A (en) 1978-09-20 1978-09-20 Error position detection system

Publications (2)

Publication Number Publication Date
JPS5541566A JPS5541566A (en) 1980-03-24
JPS6153732B2 true JPS6153732B2 (en) 1986-11-19

Family

ID=14658743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11528078A Granted JPS5541566A (en) 1978-09-20 1978-09-20 Error position detection system

Country Status (1)

Country Link
JP (1) JPS5541566A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63278895A (en) * 1987-05-09 1988-11-16 株式会社 半導体エネルギ−研究所 Card having display function and memory capacity

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07117827B2 (en) * 1985-01-18 1995-12-18 キヤノン株式会社 Character generator device
JPS62106528A (en) * 1985-11-01 1987-05-18 Matsushita Electric Ind Co Ltd How to correct input data in online system
JPS63159448U (en) * 1987-04-03 1988-10-19
TWI533194B (en) * 2014-05-07 2016-05-11 金舷國際文創事業有限公司 Methods for generating reflow-content electronic-book and website system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4136395A (en) * 1976-12-28 1979-01-23 International Business Machines Corporation System for automatically proofreading a document

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63278895A (en) * 1987-05-09 1988-11-16 株式会社 半導体エネルギ−研究所 Card having display function and memory capacity

Also Published As

Publication number Publication date
JPS5541566A (en) 1980-03-24

Similar Documents

Publication Publication Date Title
JPH0212570A (en) Picture processor
JP2592124B2 (en) Image retrieval device
JPS6153732B2 (en)
JPS5946397B2 (en) Variable precision trend graph display device
JPS584432A (en) Listing system
JPS5819088B2 (en) data input/output device
JPS58189689A (en) Image display system
JPS5930301B2 (en) Screen information transfer confirmation display method
JP2998453B2 (en) Control execution order display device
JPS61158263A (en) image processing system
JPS6144318B2 (en)
JPS6153735B2 (en)
JPH02235140A (en) Density conversion system at the time of displaying image data
JPH02188787A (en) Cursor display control device
JP2596740B2 (en) Image retrieval device
JPS5935476B2 (en) Hard copy device in multi-terminal display control device
JPS6153734B2 (en)
JP2953703B2 (en) Selection method of overlapping windows
JPH06202612A (en) Graphic editor device
JPS58132828A (en) Character processing device
JPH0329023A (en) Crt display device
JPH0419694A (en) Display control method
JPH01180184A (en) image search device
JPS62115579A (en) Graphic figure display control device
JPS62255989A (en) Transfer system for data between frame buffers