JPS592028B2 - display terminal device - Google Patents
display terminal deviceInfo
- Publication number
- JPS592028B2 JPS592028B2 JP14420976A JP14420976A JPS592028B2 JP S592028 B2 JPS592028 B2 JP S592028B2 JP 14420976 A JP14420976 A JP 14420976A JP 14420976 A JP14420976 A JP 14420976A JP S592028 B2 JPS592028 B2 JP S592028B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- data
- control
- register
- character
- 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
Links
Description
【発明の詳細な説明】
本発明はプログラム制御によるディスプレイ端末装置に
係り、処理時間を短縮することにより多重制御動作を容
易にするためにダイレクトメモリフクセス(以下DMA
と呼ぷ)により記憶回路に記憶されている文字内の検出
、および記憶回路への任意文字の反復書き込み処理を行
なう装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a program-controlled display terminal device, and uses direct memory access (hereinafter referred to as DMA) to facilitate multiple control operations by shortening processing time.
The present invention relates to a device for detecting characters stored in a memory circuit and repeatedly writing arbitrary characters to the memory circuit.
一般にディスプレイ端末装置では、いろいろな入出力装
置(プリンタ、カセット磁気テープ装置、その他)が接
続され、変復調装置を介してコンピュータと接続された
構成をとつているため、入出力装置の構成の変更、コン
ピュータとの制御手順の変更、画面の編集機能の変更に
容易に対処できるようにするためプログラム制御方式が
広く用いられている。In general, display terminal devices have a configuration in which various input/output devices (printers, cassette magnetic tape devices, etc.) are connected and are connected to a computer via a modem, so changes in the configuration of input/output devices, A program control method is widely used in order to easily handle changes in control procedures with computers and changes in screen editing functions.
一般にディスプレイ端末装置の画面上の編集機能として
、表示画面全体あるいは一部分に対応する記憶回路に同
一文字で反復書き込む(たとえば’’00”で全体をク
リアするとか、アスタリスクで区分け線を入れる場合な
ど)とか、表示画面上の指定領域を決める指定文字を検
出する機能が多く使われるため従来の逐次制御であるプ
ログラム制御方式ではワイヤロジック方式に比べ処理時
間がかかり、入出力装置計算センターからの回線などを
接続した構成で多重制御する上で非常に効率の悪いもの
となる。Generally, as an on-screen editing function of a display terminal device, the same character is repeatedly written into the memory circuit corresponding to the entire display screen or a portion thereof (for example, when clearing the entire screen with ``00'' or inserting a dividing line with an asterisk). Because the function of detecting specified characters that determine a specified area on the display screen is often used, the program control method, which is conventional sequential control, takes longer to process than the wire logic method, and the line from the input/output device calculation center etc. In a configuration in which these are connected, multiplex control becomes extremely inefficient.
本発明の目的は指定文字の検出および文字の反復書き込
みにダイレクト・メモリ・アクセス(DMA)を用いて
(プログラム制御によらず)直接メモリ内のデータを操
作することにより行ない処理効率を高め多重制御の効率
を良くするディスプレイ端末装置を提供することにある
。An object of the present invention is to detect specified characters and repeatedly write characters by using direct memory access (DMA) to directly manipulate data in memory (not under program control), thereby increasing processing efficiency and achieving multiple control. An object of the present invention is to provide a display terminal device that improves efficiency.
次に、本発明を具体的な一実施例をあげて説明する。Next, the present invention will be explained by giving a specific example.
第1図は、ディスプレイ端末装置の一構成例である。従
来のプログラム制御方式のディスプレイ端末装置は、文
字の表示を行う為の表示部1と、文字発生回路2と、表
示制御回路3と、けん盤、変復調装置、入出力装置など
の外部機器との接続を行う入出力制御部6と、そして全
体の回路を制御する共通制御部5と、制御プログラム及
び各種データの1時記憶を行う記憶回路4から構成され
る。この装置では、通常、以下に示す様な処理を行なう
事となる。FIG. 1 shows an example of the configuration of a display terminal device. A conventional program-controlled display terminal device has a display unit 1 for displaying characters, a character generation circuit 2, a display control circuit 3, and connections with external equipment such as a keyboard, modem, input/output device, etc. It is composed of an input/output control section 6 for controlling the entire circuit, a common control section 5 for controlling the entire circuit, and a storage circuit 4 for temporarily storing control programs and various data. This device usually performs the following processing.
(1)けん盤からの入力データに従つて画面へのデータ
表示及び画面制御(後述)を行なう。(2)画面表示デ
ータを変復調装置を介して回線へ送出し、或いは出力機
器へ転送する。(3唆復調装置を介して回線より送られ
てきたデータ或いは入力機器からの入力データに従い、
画面へのデータ書き込み及び対応する画面制御を行う。
ところで、デイスプレイ端末装置の画面制御には、画面
全体或いは一部に対する同一文字の書き込み及び記憶回
路4内のデータ移送処理が多く、同一処理を文字数分だ
け繰り返して行う事となり、プログラム制御の場合、多
くの処理時間を要する事となる。又、装置の操作性の向
上、及びシステム全体の転送効率を増す為に、画面上を
いくつかの領域、例えば、けん盤からのデータ入力許可
部分、センターからの表示データの保護部分(けん盤か
らのデータに対して)、センターへの送信データ部分、
数字だけの入力部分等と分割して使用する方式が最近広
く用いられているが、この方式を適用した場合は、前記
のデータ転送時、及び画面制御を行うに際して、該当画
面部分の性格をその都度事前に調べる必要があり、第2
図に示す様にその画面の性格を規定している[指示文字
」21,22,23,24をまず探し出さなくてはなら
ない。(1) Display data on the screen and control the screen (described later) in accordance with input data from the keyboard. (2) Send screen display data to a line via a modem or transmit it to an output device. (According to the data sent from the line via the 3-way demodulator or the input data from the input device,
Writes data to the screen and performs corresponding screen control.
By the way, screen control of a display terminal device often involves writing the same character on the entire screen or a part of the screen and transferring data within the memory circuit 4, and the same process is repeated for the number of characters.In the case of program control, This requires a lot of processing time. In addition, in order to improve the operability of the device and increase the transfer efficiency of the entire system, we have created several areas on the screen, such as the area where data input from the keyboard is permitted, and the area where display data from the center is protected (for example, the area where data input from the keyboard is permitted). data), the data part sent to the center,
Recently, a method has been widely used in which the input section is divided into numbers, etc., but when this method is applied, the character of the relevant screen section must be determined according to the character of the relevant screen section when transferring data and performing screen control. It is necessary to check in advance each time, and the second
As shown in the figure, the [instruction characters] 21, 22, 23, and 24 that define the character of the screen must first be found.
従つてこの場合も同一文字の反復書き込み処理と同様、
目的の文字を検出するまで繰り返し記憶回路からの読み
出しを行う事となり、多大な処理時間を要することとな
り、装置全体の処理能力を減少させる事となる。そこで
、本発明では、特定文字の反復書き込み、及び指定文字
の検出に要する時間を短縮する為、第1図7に示す「D
MA制御回路」を設け、これらの処理をプログラムによ
る制御ではなく、DMA転送処理で短時間で実行させる
様にした。Therefore, in this case as well, like the repeated writing process of the same character,
Reading from the memory circuit is repeated until the target character is detected, which requires a large amount of processing time and reduces the processing capacity of the entire device. Therefore, in the present invention, in order to reduce the time required for repeatedly writing a specific character and detecting a specified character, the "D" shown in FIG.
An MA control circuit was provided to execute these processes in a short time using DMA transfer processing rather than program control.
第3図に本回路の構成例を示す。第3図においてアドレ
スカウンタ31は、記憶回路の読み出し或いは書き込み
番地を指定するもので、処理開始に先だつて反復書き込
み、或いは指定文字の検出を行う範囲の開始番地をセツ
トしておく。終了アドレスレジスタ32は、反復書き込
み或いは、指定文字の検出を行う範囲の最終番地をセヅ
トしておくレジスタである。一致回路33は、アドレス
カウンタと終了アドレスレジスタの内容の一致を検出す
るもので、処理が終了番地まで達した事を知らせる回路
である。データレジスタ34は、反復書き込を行う文字
のコード、或いは記憶回路からの読み出しデータをセツ
トするレジスタである。コード検出回路35は、指定文
字の検出時にデータレジスタの内容を調べ、該当コード
が記憶回路から読み出された事を検出する回路である。
コマンドレジスタ36は、本DMA制御回路に対して何
の処理を行なわすか指定する為に、共通制御部から送ら
れてきたコマンドコードを記憶しておく為のレジスタで
ある。FIG. 3 shows an example of the configuration of this circuit. In FIG. 3, an address counter 31 specifies a read or write address in the memory circuit, and prior to starting processing, the start address of a range for repeated writing or detection of a specified character is set. The end address register 32 is a register that sets the final address of a range in which repeated writing or specified character detection is performed. The match circuit 33 detects a match between the contents of the address counter and the end address register, and is a circuit that notifies that the processing has reached the end address. The data register 34 is a register in which the code of a character to be repeatedly written or data read from the memory circuit is set. The code detection circuit 35 is a circuit that checks the contents of the data register when a designated character is detected, and detects that the corresponding code has been read out from the storage circuit.
The command register 36 is a register for storing a command code sent from the common control unit in order to specify what processing is to be performed on the DMA control circuit.
状態表示レジスタ37は、その処理がどの様な終了条件
で終結したかを示すレジスタである。タイマ38は、D
MA制御による反復文字書き込み及び指定文字の検出処
理をある時間で区切つて実行させた場合に、その時間を
カウントする為に用いるものである。最後に、制御部3
9は、全体の回路を総合的に制御する部分である。以下
指定文字の検出動作を例にして処理の手順を説明する。The status display register 37 is a register indicating under what termination conditions the process was terminated. The timer 38 is D
This is used to count the time when repeated character writing and specified character detection processing under MA control is executed in intervals of a certain period of time. Finally, the control section 3
9 is a part that comprehensively controls the entire circuit. The processing procedure will be explained below using the specified character detection operation as an example.
まず、指定文字の検出を行う記憶回路の範囲を指定する
為に、その開始番地及び終了番地を各々アドレスカウン
タ、終了アドレスレジスタにセツトする。尚、この際あ
る一定時間で処理を中断させたい場合は、その時間設定
をタイマに対して行う。次にコマンドレジスタに検出し
たい指定文字と同時に処理開始を指令するコードをセツ
トすると、本回路は、共通制御部内のCPUに対してD
MA開始要求を出し、これが受け入れられるとアドレス
カウンタの内容で記憶回路のアドレス指定を行い、該当
番地からの読み出しデータをデータレジスタにセツトす
る。この様にして指定文字に対する該当コードが検出さ
れるまで、アドレスカウンタを進めながらDMA転送を
継続する。もし該当コードが検出されると制御部では、
その旨を示すコードを状態表示レジスタヘセツトし、D
MA転送要求をオフする。尚、該当コードが検出される
前に、終了番地に達した場合及びタイマが設定時間に達
した場合も、各々その時点でその旨を示すコードを状態
表示レジスタヘセツトしDMA転送要求もオフし処理を
終了する。DMA転送要求がオフすると、再び制御プロ
グラムの実行が開始するが、その際、制御プログラムで
アドレスカウンタの内容を読めば該当コードの検出され
た番地を知る事が出来、又、データレジスタの内容を読
めばその番地のデータ内容を知る事ができる。又、特定
文字の反復書き込みを行う場合は、書き込むデータをデ
ータレジスタに、そしてデータ書き込みの範囲を各々ア
ドレスカウンタと終了アドレスレジスタにセツトした後
、反復書き込みを指令するコードをコマンドレジスタに
セツトして行う。First, in order to designate the range of the storage circuit in which the designated character is to be detected, its start address and end address are set in the address counter and end address register, respectively. At this time, if it is desired to interrupt the process after a certain period of time, the time is set for the timer. Next, by setting a code that instructs the command register to start processing at the same time as the specified character that you want to detect, this circuit will send a command to the CPU in the common control section.
An MA start request is issued, and when the request is accepted, the storage circuit is addressed according to the contents of the address counter, and data read from the corresponding address is set in the data register. In this manner, DMA transfer is continued while incrementing the address counter until the corresponding code for the specified character is detected. If the corresponding code is detected, the control unit will
Set a code indicating this to the status display register, and
Turn off MA transfer request. Furthermore, even if the end address is reached or the timer reaches the set time before the corresponding code is detected, a code indicating this is set in the status display register at that time, and the DMA transfer request is also turned off. Finish the process. When the DMA transfer request is turned off, execution of the control program starts again, but at that time, by reading the contents of the address counter in the control program, you can know the address where the corresponding code was detected, and also read the contents of the data register. By reading it, you can know the data contents of that address. Also, when repeatedly writing a specific character, set the data to be written in the data register, the data write range in the address counter and end address register, respectively, and then set the code that commands repeated writing in the command register. conduct.
以上により、指定文字の検出及び特定文字の反復書き込
みの処理に対してDMA転送を利用する事により、従来
、数命令の組み合せで行つていた処理が、記憶回路に対
しての1回の読み出し、或いは書き込みで実現でき、特
にCRTデイスプレイ端末装置のように、多いときは数
千文字に対して読み出し検出及び書き込み処理を繰り返
して行う場合その効果は大きい。As described above, by using DMA transfer for the process of detecting a specified character and repeatedly writing a specific character, the process that was conventionally performed by a combination of several instructions can be reduced to a single read from the memory circuit. This can be realized by , or writing, and the effect is particularly great when the reading detection and writing processes are repeated for several thousand characters, such as in a CRT display terminal device.
第1図は、デイスプレイ端末装置の一構成例を示し、第
2図は、画面上をいくつかの領域に分けて使用した場合
の画面例を示す。
第3図は、本発明の一実施例であるDMA制御回路の回
路構成を示す。1・・・・・・表示部、2・・・・・・
文字発生回路、3・・・・・・表示制御回路、4・・・
・・・記憶回路、5・・・・・・共通制御部、6・・・
・・・入出力制御部、7・・・・・・DMA制御回路、
21〜24・・・・・・指定文字、25〜28・・・・
・・各々指定文字1、2、3、4でその性格を規定され
た部分、31・・・・・・アドレスカウンタ、32・・
・・・・終了アドレスレジスタ、33・・・・・・一致
回路、34・・・・・・データレジスタ、35・・・・
・・コード検出回路、36・・・・・・コマンドレジス
タ、37・・・・・・状態表示レジスタ、38・・・・
・・タイマ、39・・・・・・制御部。FIG. 1 shows an example of the configuration of a display terminal device, and FIG. 2 shows an example of a screen when the screen is divided into several areas. FIG. 3 shows a circuit configuration of a DMA control circuit which is an embodiment of the present invention. 1...Display section, 2...
Character generation circuit, 3...Display control circuit, 4...
...Memory circuit, 5...Common control section, 6...
...input/output control unit, 7...DMA control circuit,
21-24...Specified characters, 25-28...
...Parts whose characteristics are defined by designated characters 1, 2, 3, and 4, respectively, 31...Address counter, 32...
... End address register, 33 ... Match circuit, 34 ... Data register, 35 ...
...Code detection circuit, 36...Command register, 37...Status display register, 38...
...Timer, 39...Control unit.
Claims (1)
し、記憶回路内に記憶されている文字の中から指定文字
を検出する際、および記憶回路への任意の文字の反復書
き込みを行う際ダイレクトメモリアクセス(DMA)を
用いて処理することを特徴とするディスプレイ端末装置
。1 Direct memory access (DMA) is used when controlling a display terminal device with a program, when detecting a specified character from among the characters stored in the memory circuit, and when repeatedly writing arbitrary characters to the memory circuit. A display terminal device characterized in that processing is performed using.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14420976A JPS592028B2 (en) | 1976-11-30 | 1976-11-30 | display terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14420976A JPS592028B2 (en) | 1976-11-30 | 1976-11-30 | display terminal device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5368133A JPS5368133A (en) | 1978-06-17 |
| JPS592028B2 true JPS592028B2 (en) | 1984-01-17 |
Family
ID=15356756
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14420976A Expired JPS592028B2 (en) | 1976-11-30 | 1976-11-30 | display terminal device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS592028B2 (en) |
-
1976
- 1976-11-30 JP JP14420976A patent/JPS592028B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5368133A (en) | 1978-06-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0429102B2 (en) | ||
| US5964890A (en) | System call issue method and debug system | |
| JPS592028B2 (en) | display terminal device | |
| JP2846760B2 (en) | Programmable controller | |
| JPS6240736B2 (en) | ||
| JPS5864534A (en) | Data transfer system of computer device | |
| JP2737495B2 (en) | Input/Output Control Unit | |
| JPS5954091A (en) | Electronic computer | |
| JPH0142193Y2 (en) | ||
| JPS6349942A (en) | Arithmetic processing unit | |
| JPH0447350A (en) | Main storage read/response control | |
| JPS62152032A (en) | information processing equipment | |
| JPS60160466A (en) | Device for controlling hierarchical sequence | |
| JPH05274248A (en) | Direct memory access device | |
| JPS59106054A (en) | information processing system | |
| JPH0375909B2 (en) | ||
| JPH06168195A (en) | Adaptor control system | |
| JPS5838990A (en) | Display control of display unit | |
| JPS6048784B2 (en) | data transfer device | |
| JPH0260015B2 (en) | ||
| JPH03158946A (en) | Processor system which permits retry control of data transfer | |
| JPH06110506A (en) | Program controller's comment storage method | |
| JPS59177658A (en) | Debugging control system | |
| JPH0399338A (en) | Microprocessor | |
| JPS6146528A (en) | Microprogram controller |