JPS6217776B2 - - Google Patents

Info

Publication number
JPS6217776B2
JPS6217776B2 JP54051397A JP5139779A JPS6217776B2 JP S6217776 B2 JPS6217776 B2 JP S6217776B2 JP 54051397 A JP54051397 A JP 54051397A JP 5139779 A JP5139779 A JP 5139779A JP S6217776 B2 JPS6217776 B2 JP S6217776B2
Authority
JP
Japan
Prior art keywords
input
output
data
output command
data transfer
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
JP54051397A
Other languages
Japanese (ja)
Other versions
JPS55146530A (en
Inventor
Hajime Takagi
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5139779A priority Critical patent/JPS55146530A/en
Publication of JPS55146530A publication Critical patent/JPS55146530A/en
Publication of JPS6217776B2 publication Critical patent/JPS6217776B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明はデータ処理装置、特に入出力装置と主
記憶装置との間のデータ転送を制御する入出力制
御装置の改良されたデータ処理装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data processing device, and more particularly to a data processing device with an improved input/output control device for controlling data transfer between an input/output device and a main storage device.

従来のデータ処理装置においては、データ転送
型入出力指令語の実行は、中央処理装置と入出力
制御装置の同期をとる為に、データ転送型入出力
指令語中に示されるデータ転送長のデータ転送を
終了した時点で入出力制御装置から中央処理装置
に対して終了信号を出し、中央処理装置は転送さ
れたデータの処理が可能となつた時点でその処理
を行なうようにしていた。即ち入出力制御装置か
らのデータ転送終了信号を受けとるまでは中央処
理装置はそのデータ処理を開始できなかつた。こ
の為入出力制御装置は中央処理装置のデータ処理
の為にはデータ転送型入出力指令語に示されるデ
ータ転送長の全てのデータを一度に主記憶装置に
転送せねばならず、従つて主記憶装置には少なく
ともそのデータ転送長以上のバツフアを確保する
必要があつた。この為主記憶装置の効率的使用及
びデータの効率的処理を考え、主記憶装置中に前
記データ転送長よりも小さい複数個のバツフアを
用意し、このバツフアの内容を試験したり或る状
態に設定したりする入出力指令語を設け、この試
験設定入出力指令語の制御によりバツフアの使用
可能状態を調べ、使用可能であればデータ転送型
入出力指令語へジヤンプし、また使用不可能であ
れば使用可能状態になるまで待機する処理ルーチ
ンへジヤンプするというように、一連の入出力指
令語の実行順序を変えることで小さなバツフアを
交互に使用して全てのデータ転送処理を行なつて
いた。
In conventional data processing devices, execution of a data transfer type input/output command is performed using data of the data transfer length indicated in the data transfer type input/output command in order to synchronize the central processing unit and the input/output control unit. When the transfer is completed, the input/output control device issues a termination signal to the central processing unit, and the central processing unit processes the transferred data when it becomes possible. That is, the central processing unit could not start processing the data until it received a data transfer end signal from the input/output control unit. Therefore, in order for the central processing unit to process data, the input/output control unit must transfer all the data of the data transfer length indicated by the data transfer type input/output command word to the main memory at once, and therefore the main memory It was necessary for the storage device to have a buffer that was at least equal to the data transfer length. Therefore, in consideration of efficient use of the main memory and efficient processing of data, multiple buffers smaller than the data transfer length are prepared in the main memory, and the contents of these buffers can be tested or put into a certain state. By controlling this test setting input/output command word, check whether the buffer can be used, and if it is usable, jump to the data transfer type input/output command word, or if it is unusable. All data transfer processing was performed by alternating small buffers by changing the execution order of a series of input/output command words, such as jumping to a processing routine that waited until a usable state was reached. .

しかし乍ら上記の方式は新たな試験設定の入出
力指令語を追加することにより、従つて一連の入
出力指令語群の構成を複雑にし、又試験設定入出
力語による入出力指令語の実行順序を変更する為
のハードウエア量を追加する必要がある等、必ず
しも効率のよい処理が行なわれたとはいえなかつ
た。
However, the above method adds a new test setting input/output command word, which complicates the configuration of a series of input/output command words, and also makes it difficult to execute the input/output command word using the test setting input/output word. It was not always possible to say that efficient processing was performed, such as the need to add hardware to change the order.

したがつて本発明の目的は前記の試験設定入出
力指令語によるデータ転送制御方式を改良して更
に効率の良いデータ処理を可能にしたものであ
る。
Therefore, it is an object of the present invention to improve the data transfer control method using the test setting input/output command words to enable more efficient data processing.

本発明によれば、中央処理装置と、一連の入出
力指令語が格納される主記憶装置と、前記入出力
指令語の実行を制御する入出力制御装置と、前記
入出力指令語の指示によりこの入出力指令語に基
づく動作を前記中央処理装置の動作とは独立して
実行する入出力装置と、前記一連の入出力指令語
の実行終了を前記中央処理装置に知らせる手段と
を有し、而して前記入出力装置と前記主記憶装置
間のデータ転送データを実行するデータ転送型入
出力指令語中に、前記中央処理装置と前記入出力
制御装置の間の同期をとるために前記主記憶装置
中に存在する特定エリアの試験を行うことを指定
するフイールドを有し、更に前記試験の結果に基
づいてデータ転送の開始を指示するか或いは引続
く入出力指令語の実行順序を変更させる手段を設
けたことを特徴とするデータ処理装置が得られ
る。
According to the present invention, a central processing unit, a main storage device in which a series of input/output command words are stored, an input/output control device that controls execution of the input/output command words, and a comprising an input/output device that executes an operation based on the input/output command word independently of the operation of the central processing unit, and means for notifying the central processing unit of completion of execution of the series of input/output command words, In order to synchronize between the central processing unit and the input/output control device during a data transfer type input/output command word for executing data transfer data between the input/output device and the main storage device, It has a field that specifies testing of a specific area existing in the storage device, and further instructs the start of data transfer or changes the execution order of subsequent input/output command words based on the result of the test. A data processing device characterized in that the means is provided is obtained.

はじめにこの装置の機能の概略を説明しておく
と、データ転送制御に使用される主記憶内のバツ
フアの状態を調べる指示をデータ転送型入出力指
令語中のあるフイールドに持たせ、テスト指示が
されている場合にはデータ転送型入出力指令語中
に示されるデータ転送バツフアドレスで指示され
るフイールドの先頭に存在するバツフアの状態を
示すフイールドをテストし、テスト結果により引
き続くフイールドのデータ転送が可能であればデ
ータ転送型入出力指令語によるデータ転送動作を
実行し、データ転送の実行が不可能であればデー
タ転送型入出力指令語によるデータ転送はせずに
一連の入出力指令語を終了させてしまい、データ
転送の実行後、次の入出力指令語に移行させると
いうようにして入出力指令語の実行順序を制御
し、入出力制御装置が中央処理装置の動作と並行
して行い、入出力制御装置による全てのデータ転
送の内中央処理装置の処理に必要なデータがバツ
フアに転送された時点で中央処理装置に処理可能
を知らせ、中央処理装置は処理可能であればデー
タ処理を開始し、その間入出力制御装置は他のバ
ツフアに対するデータ転送を行うようにしたもの
である。即ち必要最小限の大きさを持つた複数個
のバツフアを交互に使用するようにし、これによ
り中央処理装置の処理を中断することなく大量の
データ処理が可能となるものである。
First, to give an overview of the functions of this device, a field in the data transfer type input/output command word is given an instruction to check the status of the buffer in the main memory used for data transfer control, and a test instruction is given. If the data transfer buffer address indicated in the data transfer type input/output command word indicates the buffer status, the field indicating the buffer status at the beginning of the field indicated by the data transfer buffer address is tested, and the data transfer of the subsequent field is performed based on the test result. If it is possible, execute a data transfer operation using a data transfer type input/output command word, and if it is impossible to execute a data transfer operation, perform a data transfer operation using a data transfer type input/output command word without performing a data transfer operation using a data transfer type input/output command word. The execution order of the input/output command words is controlled by moving to the next input/output command word after the data transfer is executed, and the input/output control unit operates in parallel with the operation of the central processing unit. out of all the data transferred by the input/output control unit, when the data necessary for processing by the central processing unit is transferred to the buffer, the central processing unit is notified that it can be processed, and the central processing unit starts processing the data if it can process it. During this period, the input/output control device transfers data to other buffers. That is, a plurality of buffers having the minimum required size are alternately used, thereby making it possible to process a large amount of data without interrupting the processing of the central processing unit.

次に本発明を図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例の構成を示したブロ
ツク図である。図において、11は主記憶装置、
12は中央処理装置、13は入出力制御装置、1
4はこの入出力制御装置13中の入出力制御部、
15はブランチ制御部であつて本発明の装置にお
いて特徴となる部分、16は入出力装置、入出力
制御部14中の1,2,3および4で示した部分
は入出力装置16とのチヤネルによる入出力ポー
トをそれぞれあらわしている。主記憶装置11に
は入出力装置16に対応して一連の入出力指令語
が記憶されており、入出力制御装置13は中央処
理装置12からバスaを通じて命令を受取ると、
バスbを通して主記憶装置11から入出力装置1
〜16のいずれかに対応する入出力指令語
を取り入れ、入出力ポート14−1〜14−4の
ポートのロジツクに対して取り入れた入出力指令
語に対応する制御動作を指示する。入出力ポート
14−1〜14−4のロジツクはバスc1〜c4を通
して制御情報を入出力装置16〜16にそれ
ぞれ送る。又これらの入出力装置で発生した事象
はバスc1〜c4を通して入出力ポート14−1〜1
4−4にそれぞれ伝えられ、入出力制御装置13
が伝えられた情報の処理を行うことになる。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, 11 is a main storage device;
12 is a central processing unit, 13 is an input/output control unit, 1
4 is an input/output control section in this input/output control device 13;
Reference numeral 15 denotes a branch control unit, which is a feature of the device of the present invention, 16 an input/output device, and portions indicated by 1, 2, 3, and 4 in the input/output control unit 14 are channels with the input/output device 16. The input and output ports are shown respectively. A series of input/output command words are stored in the main storage device 11 in correspondence with the input/output device 16, and when the input/output control device 13 receives a command from the central processing unit 12 via the bus a,
From the main storage device 11 through bus b to the input/output device 1
The input/output command word corresponding to any one of input/output command words 61 to 164 is taken in, and the control operation corresponding to the input/output command word taken in is instructed to the logic of the input/output ports 14-1 to 14-4. The logic of input/output ports 14-1 to 14-4 sends control information to input/output devices 161 to 164 , respectively, through buses c1 to c4 . Furthermore, events occurring in these input/output devices are transmitted to input/output ports 14-1 to 14-1 through buses c1 to c4 .
4-4 respectively, and the input/output control device 13
will process the information conveyed to them.

第2図は上記実施例において使用される入出力
指令語の形式を示す図である。入出力指令語は8
バイト長であり、第1バイト(ビツト0〜7)は
入出力指令語の型と動作を示す指令コード部であ
る。第2バイト(ビツト8〜15)は指令コードに
従つた動作に於いて、指令の補助的制御を指示す
るフラグバイトであり、本発明を構成する試験・
設定(TEST & SET略してT&S)指定フラ
グもこのフラグバイトの中の1ビツトを占める。
第3,4バイト(ビツト16〜31)はデータ転送型
入出力指令語に於いてデータ転送長を示すカウン
トフイールドである。第5,6,7,8バイト
(ビツト32〜63)は、データ転送型入出力指令語
に於いてはデータバツフアアドレスあるいはT&
Sフラグが“ON”のときはデータバツフアに先
立つて存在するロツクバイトのアドレスを示し、
無条件分岐入出力指令語に於いては分岐先のアド
レスを示す。
FIG. 2 is a diagram showing the format of input/output command words used in the above embodiment. There are 8 input/output command words.
The first byte (bits 0 to 7) is a command code section indicating the type and operation of the input/output command word. The second byte (bits 8 to 15) is a flag byte that instructs auxiliary control of the command in the operation according to the command code, and is a flag byte that instructs auxiliary control of the command in the operation according to the command code.
A setting ( TEST & SET, abbreviated as T&S) designation flag also occupies one bit in this flag byte.
The third and fourth bytes (bits 16 to 31) are count fields indicating the data transfer length in the data transfer type input/output command word. The 5th, 6th, 7th, and 8th bytes (bits 32 to 63) are the data buffer address or T&
When the S flag is “ON”, it indicates the address of the lock byte that exists before the data buffer.
In unconditional branch input/output command words, it indicates the address of the branch destination.

第3図は本実施例において主記憶11中に設定
された2つのデータバツフアA及びBを示す図
で、バツフアの大きさはそれぞれLA及びLBとな
つている。データバツフアAおよびBの先頭アド
レスAAAAあるいはBBBBには1バイトのロツク
バイトA及びロツクバイトBが存在している。
FIG. 3 is a diagram showing two data buffers A and B set in the main memory 11 in this embodiment, and the buffer sizes are LA and LB, respectively. At the start address AAAA or BBBB of data buffers A and B, 1 byte of lock byte A and lock byte B exist.

第4図は本実施例における入出力指令語群を示
した図である。これは又チヤネルプログラムとも
呼ばれる。第4図に於いて、チヤネルプログラム
は3つの入出力指令語から構成されており、それ
ぞれフラグフイールドで示されるコマンドチエイ
ンフラグ(CC)により連結されていて、ソフト
ウエアからの1度の入出力指令の開始要求によ
り、必要なデータ長のデータ転送が終了するまで
ソフトウエアに対して終了割込を起こすことなく
A,Bのバツフアを使つてデータの転送が可能と
なるように作成されている。
FIG. 4 is a diagram showing a group of input/output command words in this embodiment. This is also called a channel program. In Figure 4, a channel program consists of three input/output command words, each connected by a command chain flag (CC) indicated by a flag field, and one input/output command from the software. The program is designed to allow data transfer using buffers A and B without causing a termination interrupt to the software until the data transfer of the required data length is completed in response to a start request.

第5図は第1図の本発明の装置における入出力
制御装置13の構成を詳細に示した図である。次
にこの第5図を主とし、第1図ないし第3図を併
せ参照して、第4図のチヤネルプログラムの実行
について説明する。本実施例においては、ポート
14−1に接続する入出力装置16で発生する
大量の情報を主記憶装置11に存在するバツフア
A,B(第3図)に交互に転送し、データ転送を
継続しながらソフトウエアが転送されたデータに
ついての処理を行なおう場合について説明するも
のとする。通常ソフトウエア命令は主記憶装置1
1に格納されており、中央処理装置12は主記憶
装置11からバスdを通してソフトウエア命令を
取り込み、解析と実行を行つている。いま取り出
されたソフトウエア命令が入出力命令であるとす
ると、中央処理装置12はバスaを通して入出力
制御装置13中のブランチ制御部14にあるチヤ
ネルプログラムアドレスレジスタ21にチヤネル
プログラムアドレスを送つて入出力指令語の開始
を指示し、中央処理装置12は他のソフトウエア
命令の実行を続ける。
FIG. 5 is a diagram showing in detail the configuration of the input/output control device 13 in the apparatus of the present invention shown in FIG. Next, the execution of the channel program shown in FIG. 4 will be explained with reference to FIG. 5 as well as FIGS. 1 to 3. In this embodiment, a large amount of information generated by the input/output device 161 connected to the port 14-1 is alternately transferred to buffers A and B (Fig. 3) existing in the main storage device 11, and data transfer is performed. A case will be described in which the software continues to process transferred data. Usually software instructions are stored in main memory 1
1, and the central processing unit 12 takes in software instructions from the main memory 11 through the bus d, and analyzes and executes them. Assuming that the software instruction just taken out is an input/output instruction, the central processing unit 12 sends the channel program address to the channel program address register 21 in the branch control unit 14 in the input/output control unit 13 through bus a, and executes the input/output instruction. Instructing the start of the output command word, central processing unit 12 continues executing other software instructions.

入出力指令語の開始を指示された入出力制御装
置3は、チヤネルプログラムアドレスレジスタ2
1に格納された情報(この場合第4図の1000番
地)から第1番目の入出力指令語の取り出しをバ
スbを通し中央記憶装置11から行ない、入出力
制御部14中のコマンドレジスタ22、フラグレ
ジスタ23、カウントレジスタ24、アドレスレ
ジスタ25に情報をセツトする。入出力制御装置
13はREAD指令が出されていること及びフラグ
のT&Sフラグが1になつていることを判断する
と、アドレスレジスタ25の内容からデコーダ2
6からのコマンドeによりバスbを通してロツク
バイトA(アドレスはAAAA)を読み、データ
レジスタ27に1バイトのロツクバイトデータを
読む。
The input/output control device 3, which has been instructed to start the input/output command word, registers the channel program address register 2.
1 (in this case, address 1000 in FIG. 4), the first input/output command word is retrieved from the central storage device 11 through the bus b, and the command register 22 in the input/output control section 14, Information is set in the flag register 23, count register 24, and address register 25. When the input/output control device 13 determines that the R EAD command has been issued and that the T&S flag is set to 1, the input/output control device 13 starts the decoder 2 from the contents of the address register 25.
The command e from 6 reads lock byte A (address is AAAA) through bus b, and reads 1 byte of lock byte data into data register 27.

このロツクバイトデータが判定回路27でオー
ル(all)0であると判定するとバツフアAはフ
リーの状態であるとして入出力制御装置13はポ
ート14−1のポートのロツクに対してデータ長
LAの読取り指令をコマンドfにより行い、又コ
マンドgによりロツクバイトをall1とすべく指令
をオール1発生回路29に対して行う。オール1
発生回路29はコマンドgにより指令を受ける
と、アドレスレジスタ25で示されるソフトウエ
ア(AAAA)に対してバスbを通してall1の書き
込みを行いバツフアAがビジーであることを指示
する。そして入出力制御装置13がバツフアAを
ビジー状態に設定すると、チヤネルプログラムア
ドレスレジスタ21の内容をコマンドhによりブ
ランチ制御部15のプラス8回路30で+8し
て、コマンドfで行つたデータ転送の終了後次の
入出力指令語の実行を開始させるべく準備を行な
つておく。
When the determination circuit 27 determines that this lock byte data is all 0, it means that the buffer A is in a free state, and the input/output control device 13 determines the data length for the lock of the port 14-1.
An instruction to read LA is issued by command f, and an instruction is issued to all 1 generation circuit 29 to set the lock byte to all 1 by command g. All 1
When the generation circuit 29 receives the command g, it writes all1 to the software (AAAA) indicated by the address register 25 through the bus b, and instructs that the buffer A is busy. When the input/output control device 13 sets the buffer A to a busy state, the contents of the channel program address register 21 are incremented by 8 in the plus 8 circuit 30 of the branch control unit 15 according to the command h, and the data transfer performed using the command f is terminated. After that, preparations are made to start execution of the next input/output command word.

もし、バツフアAの先頭に存在するロツクバイ
トAのデータが判定回路27でall0以外であると
判定すると、入出力制御装置13はコマンドiに
より中央処理装置12に対して入出力指令後の異
常終了をバスaを通して行ない、第4図に示され
たチヤネルプログラムは実行を打ち切ることにな
る。
If the determination circuit 27 determines that the data of lock byte A present at the head of buffer A is other than all0, the input/output control unit 13 uses command i to notify the central processing unit 12 of abnormal termination after input/output command. The channel program run through bus a and shown in FIG. 4 will abort execution.

入出力装置16からの入力データは入出力制
御14を介しバスbを通し主記憶装置11のバツ
フアAに転送されるが、データ転送長LAのデー
タが転送されるとポートのロジツク16は入出
力制御装置13に対してバツフアAに対しての転
送が終了したことを中央処理装置12に知らせる
為のコマンドjを出すとともに、コマンドチエイ
ンフラグ(CC)=1であることから次の入出力指
令語の開始指示をコマンドkで行う。
Input data from the input/output device 161 is transferred to the buffer A of the main storage device 11 via the input/output control 14 and the bus b, but when the data with the data transfer length LA is transferred, the logic 161 of the port is It issues a command j to the input/output control device 13 to notify the central processing unit 12 that the transfer to buffer A has been completed, and since the command chain flag (CC) = 1, it issues the next input/output. A command k is used to instruct the start of a command word.

中央処理装置12は入出力制御装置13からバ
ツフアAへの転送終了が知らされると、入出力制
御装置13とは独立して主記憶装置11内のバツ
フアAへ転送されたデータの処理を行い、データ
の処理が終つた時点でロツクバイトAをall0にす
るようにプログラムは構成されている。コマンド
kで次の入出力指令語の実行が指示されると、入
出力制御装置13はチヤネルプログラムアドレス
レジスタ21の内容で前の入出力指令語の読取り
と同様主記憶装置11の1008番地から入出力指令
語を読み取り、入出力制御装置13のコマンドレ
ジスタ22、フラグレジスタ23、カウントレジ
スタ24、アドレスレジスタ25に情報をセツト
する。この1008番地にある入出力指令語は、第4
図からすぐ分るように、バツフアBの状態をロツ
クバイトBにより判断してバツフアBがフリーで
あればデータ転送長LBの長さ分だけ主記憶装置
11のアドレスBBBBへポート14−1を経て転
送するものである。そしていまバツフアBはフリ
ーであるので、入出力制御装置13は最初の入出
力指令語の実行と同様の処理を行い、チヤネルプ
ログラムアドレスをプラス8回路30で+8して
バツフアBに対する転送の終了を待つ。
When the central processing unit 12 is notified of the completion of the transfer to the buffer A from the input/output control device 13, it processes the data transferred to the buffer A in the main storage device 11 independently of the input/output control device 13. , the program is configured to set lock byte A to all 0 when data processing is completed. When command k instructs execution of the next input/output command, the input/output control unit 13 uses the contents of the channel program address register 21 to read the input from address 1008 of the main memory 11 in the same way as when reading the previous input/output command. The output command word is read and information is set in the command register 22, flag register 23, count register 24, and address register 25 of the input/output control device 13. The input/output command word at address 1008 is the 4th
As can be easily seen from the figure, the state of buffer B is judged by lock byte B, and if buffer B is free, data is transferred to address BBBB of main storage device 11 via port 14-1 for the length of data transfer length LB. It is something to do. Since buffer B is now free, the input/output control device 13 performs the same processing as the execution of the first input/output command word, and adds 8 to the channel program address using the plus 8 circuit 30 to end the transfer to buffer B. wait.

データ転送長LBのデータが転送されると、ポ
ートのロジツク14−1はバツフアBのデータが
有効になつたことを要求するコマンドjを入出力
制御装置13に対して行ない、又コマンドチエイ
ンフラグCCが“1”になつていることから次の
入出力指令語の実行に移ることをコマンドkで行
なう。
When the data with the data transfer length LB is transferred, the port logic 14-1 sends a command j to the input/output control device 13 requesting that the data in the buffer B become valid, and also sets the command chain flag CC. Since the value has become "1", command k is used to move to execution of the next input/output command word.

主記憶装置11の1010番地に格納されている入
出力指令語は、これも本発明を構成する無条件ブ
ランチ入出力指令語(UCB)でアドレス部1000
番地をチヤネルプログラムアドレスレジスタ21
へセツトする機能を持つている。この入出力指令
語もやはりコマンドチエインフラグCCが1にな
つていることから、入出力制御装置13はUCB
入出力指令語の実行後1000番地にあるREAD入出
力指令語の実行を続けることになる。このように
して入出力装置13は入出力指令語を主記憶装置
11の→1000番地→1008番地→1010番地−という
ように連続的に実行し、入出力装置16で発生
している情報を主記憶装置11のバツフアA及び
バツフアBに交互に転送する。
The input/output command word stored at address 1010 of the main storage device 11 is an unconditional branch input/output command word (UCB) that also constitutes the present invention, and is located at address section 1000.
Channel program address register 21
It has a function to set the This input/output command word also has the command chain flag CC set to 1, so the input/output control device 13
After the input/output command word is executed, the R EAD input/output command word at address 1000 continues to be executed. In this way, the input/output device 13 successively executes the input/output command words in the main memory 11 in the order of → address 1000 → address 1008 → address 1010, and transmits the information generated in the input/output device 16 1. The data is transferred alternately to buffer A and buffer B of the main storage device 11.

入出力装置16で発生する全ての情報の転送
が終了したことは、入出力装置16からポート
のロジツク14−1に知らされ、ポートのロジツ
ク14−1はコマンドlにより一連の入出力指令
語の終了報告を中央処理装置12に対して行うこ
とを要求する。
The input/output device 161 notifies the port logic 14-1 that the transfer of all information generated by the input/output device 161 has been completed, and the port logic 14-1 issues a series of input/output commands using the command l. Requests the central processing unit 12 to report the end of the word.

中央処理装置12は入出力制御装置13から入
出力装置16からのデータ転送終了の報告を受
けると、再び入出力装置16に対する入出力命
令を送出することが可能になる。
When the central processing unit 12 receives a report from the input/output control unit 13 that the data transfer from the input/output device 16 1 is completed, it becomes possible to send an input/output command to the input/output device 16 1 again.

なお以上の説明は入出力装置16について行
つたが、これは他の装置16ないし16のい
ずれについても全く同じことが云え、また入出力
装置の個数も4個に限られるものではない。
Although the above explanation has been given for the input/output device 161 , the same can be said for any of the other devices 162 to 164 , and the number of input/output devices is not limited to four. .

更に本発明の装置の特徴的な構成要素であるブ
ランチ制御部15の構成も第5図のようなものに
限られるものでないことはいうまでもない。
Furthermore, it goes without saying that the configuration of the branch control section 15, which is a characteristic component of the apparatus of the present invention, is not limited to that shown in FIG.

本発明は、以上説明したように、入出力装置1
6で発生する情報の量に等しいバツフアを主記憶
に持たせることなく、より小さな複数のバツフア
を交互に使用することで効率の良いデータ転送処
理が可能となり、又データ転送型入出力指令語の
フラグフイールドにバツフアの状態を試験し又あ
る状態に設定するという指定ビツトを持たせるこ
とにより、入出力指令語群の構成を非常に簡単に
するとともに、従来試験、設定入出力指令語とし
て定義されていたために増加していた入出力制御
装置13のハードウエア量を非常に減少させたも
のである。
As explained above, the present invention provides an input/output device 1
By alternately using multiple smaller buffers without having the main memory have a buffer equal to the amount of information generated in step 6, efficient data transfer processing becomes possible. By providing a bit in the flag field that specifies that the buffer status is tested or set to a certain state, the configuration of the input/output command group becomes extremely simple, and it also simplifies the configuration of input/output command words that were previously defined as test and setting input/output command words. This greatly reduces the amount of hardware required for the input/output control device 13, which had previously increased due to

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

第1図は本発明によるデータ処理装置の一実施
例の構成を示すブロツク図、第2図は第1図の実
施例において使用される入出力指令語の型式を示
す図、第3図は同じく主記憶中に設定された2つ
のデータバツフアを説明する図、第4図は同じく
入出力指令語群を示した図、第5図は第1図の本
発明の実施例における入出力制御装置の構成を詳
細に示したブロツク図である。 記号の説明:11は主記憶装置、12は中央処
理装置、13は入出力制御装置、14は入出力制
御部、15はブランチ制御部、16は入出力装
置、21はチヤネルプログラムアドレスレジス
タ、22はコマンドレジスタ、23はフラグレジ
スタ、24はカウントレジスタ、25はアドレス
レジスタ、27はデータレジスタ、28はオール
0判定回路、29はオール1発生回路、30はプ
ラス8回路をそれぞれあらわしている。
FIG. 1 is a block diagram showing the configuration of an embodiment of a data processing device according to the present invention, FIG. 2 is a diagram showing the format of input/output command words used in the embodiment of FIG. 1, and FIG. A diagram explaining two data buffers set in the main memory, FIG. 4 is a diagram also showing a group of input/output command words, and FIG. 5 is a configuration of the input/output control device in the embodiment of the present invention shown in FIG. 1. FIG. Explanation of symbols: 11 is the main storage device, 12 is the central processing unit, 13 is the input/output controller, 14 is the input/output controller, 15 is the branch controller, 16 is the input/output device, 21 is the channel program address register, 22 23 is a command register, 23 is a flag register, 24 is a count register, 25 is an address register, 27 is a data register, 28 is an all 0 judgment circuit, 29 is an all 1 generation circuit, and 30 is a plus 8 circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 一連の入出力指令語が格納される主記憶装置
と、前記入出力指令語の実行を制御する入出力制
御装置と、前記入出力指令語の指示によりこの入
出力指令語に基づく動作を前記中央処理装置の動
作とは独立して実行する入出力装置と、前記一連
の入出力指令語の実行終了を前記中央処理装置に
知らせる手段とを有し、而して前記入出力装置と
前記主記憶装置間のデータ転送データを実行する
データ転送型入出力指令語中に、前記中央処理装
置と前記入出力制御装置の間の同期をとるために
前記主記憶装置中に存在する特定エリアの試験を
行うことを指定するフイールドを有し、更に前記
試験の結果に基づいてデータ転送の開始を指示す
るか或いは引続く入出力指令語の実行順序を変更
させる手段を設けたことを特徴とするデータ処理
装置。
1 A main storage device in which a series of input/output command words are stored, an input/output control device that controls execution of the input/output command words, and an input/output control device that controls the execution of the input/output command words based on the input/output command words. It has an input/output device that executes operations independently of the operation of the central processing unit, and means for notifying the central processing unit of the completion of execution of the series of input/output command words, and the input/output device and the main Testing a specific area that exists in the main storage device for synchronizing the central processing unit and the input/output control device during a data transfer type input/output command word that executes data transfer data between storage devices. The data is characterized in that it has a field specifying that the test is to be performed, and further includes means for instructing the start of data transfer or changing the execution order of subsequent input/output command words based on the result of the test. Processing equipment.
JP5139779A 1979-04-27 1979-04-27 Data processing device Granted JPS55146530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5139779A JPS55146530A (en) 1979-04-27 1979-04-27 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5139779A JPS55146530A (en) 1979-04-27 1979-04-27 Data processing device

Publications (2)

Publication Number Publication Date
JPS55146530A JPS55146530A (en) 1980-11-14
JPS6217776B2 true JPS6217776B2 (en) 1987-04-20

Family

ID=12885800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5139779A Granted JPS55146530A (en) 1979-04-27 1979-04-27 Data processing device

Country Status (1)

Country Link
JP (1) JPS55146530A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58129628A (en) * 1982-01-29 1983-08-02 Nec Corp Data channel device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53118325A (en) * 1977-03-25 1978-10-16 Fujitsu Ltd Control system for input/output device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53118325A (en) * 1977-03-25 1978-10-16 Fujitsu Ltd Control system for input/output device

Also Published As

Publication number Publication date
JPS55146530A (en) 1980-11-14

Similar Documents

Publication Publication Date Title
US5031091A (en) Channel control system having device control block and corresponding device control word with channel command part and I/O command part
JP2829091B2 (en) Data processing system
US5301351A (en) Data transfer control system between high speed main memory and input/output processor with a data mover
EP0333594B1 (en) Direct memory access controller
US5640602A (en) Transferring digital data in units of 2 bytes to increase utilization of a 2-byte-wide bus
US4652991A (en) Data transfer apparatus
JPS6217776B2 (en)
JPS6215899B2 (en)
US5812878A (en) System for DMA transfer wherein controller waits before execution of next instruction until a counter counts down from a value loaded by said controller
KR920007949B1 (en) Peripheral controller
JPS63228856A (en) Communication controller
JPS62219153A (en) Dma controller
JP2689523B2 (en) DMA transfer device
JPS62221059A (en) Central processing unit
JPH0736806A (en) Dma system
JPH0567035A (en) Data alignment system for dma transfer
JPH03154919A (en) Control system for additional arithmetic unit
JPH0425581B2 (en)
JPS6020263A (en) Selection system of input/output unit
JPH01142967A (en) Coprocessor control system
JPH06161914A (en) Input/output processor and its diagnostic system
JPH01234957A (en) Method and device for controlling dma
JPH01106252A (en) Peripheral controller
JPS62233842A (en) Memory interface circuit
JPS6126696B2 (en)