JPS58217035A - Input and output control system of computer system - Google Patents

Input and output control system of computer system

Info

Publication number
JPS58217035A
JPS58217035A JP10018882A JP10018882A JPS58217035A JP S58217035 A JPS58217035 A JP S58217035A JP 10018882 A JP10018882 A JP 10018882A JP 10018882 A JP10018882 A JP 10018882A JP S58217035 A JPS58217035 A JP S58217035A
Authority
JP
Japan
Prior art keywords
input
command
output control
output
commands
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.)
Pending
Application number
JP10018882A
Other languages
Japanese (ja)
Inventor
Yasuyuki Obara
小原 康幸
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
Fuji Electric Manufacturing 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 Fuji Electric Co Ltd, Fuji Facom Corp, Fuji Electric Manufacturing Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP10018882A priority Critical patent/JPS58217035A/en
Publication of JPS58217035A publication Critical patent/JPS58217035A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To perform flexible input/output control, by storing a command string for input/output control in a main memory, and entering a command for instructing the writing, execution, etc., of the command string in a main program. CONSTITUTION:The main memory 2 is stored with commands in common conventionally and the command string 23 for input/output control consisting of commands characteristic to this invention such as a delay, a condition decision, and a repetition specifying command, and commands for indicating the writing, execution, etc., of said command string are added in the main program properly dispersedly. A central processing unit 1 sends said commands in the main program 21 to an input/output controller 3, which reads the command string 23 according to the input commands and executes the command string to control an input/output device 4.

Description

【発明の詳細な説明】 この発明は計算機システムの入出力制御方式に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an input/output control method for a computer system.

一般に計算機システムにおいては、中央処理装置から入
出力装置を呼出して動作させるには面倒な手続が必要で
あシ、また入出力装置の動作が中央処理装置の動作に比
べて極めて低速であることなどから、その制御方式すな
わちソフトウェアがらみたインタフェースは、ソフトウ
ェアの生産性(作シ易さ)やシステムの性能(スルーブ
ツトと応答時間)に大きな影響を与える。このため入出
力制御方式は、ソフトウェアからみて統一的かつ簡便な
制御手段が用意されていると共に中央処理装置の負荷を
軽減できるものでなければならない。
In general, in computer systems, calling an input/output device from the central processing unit and operating it requires a complicated procedure, and the operation of the input/output device is extremely slow compared to the operation of the central processing unit. Therefore, the control method, that is, the software-related interface, has a large impact on software productivity (ease of creation) and system performance (throughput and response time). For this reason, the input/output control system must provide a unified and simple control means from a software perspective, and must also be able to reduce the load on the central processing unit.

入出力装置には、タイプライタ、ラインプリンタ、カー
ドリーダ、ディスプレイなどの他に、磁気ディスク、磁
気テープで代表される補助記憶装置、外部記憶装置、さ
らにはプロセス入出力装置通信制御装置、データウェイ
など極めて多種多様のものがおる。またこれら入出力装
置に対する制DMA (Direct M4mory 
Accept )方式を説明するための構成ブロック図
である。
Input/output devices include typewriters, line printers, card readers, displays, etc., as well as auxiliary storage devices such as magnetic disks and magnetic tapes, external storage devices, process input/output devices, communication control devices, and data ways. There are a wide variety of such things. In addition, control DMA (Direct M4mory) for these input/output devices
FIG. 2 is a configuration block diagram for explaining the Accept) method.

中央処理装置1、主メモリ2及び入出力制御装置6がバ
ス5に接続されておシ、入出力制御装置5には入出力装
置4が接続されている。中央処理装置1は、主メモリ2
に格納されている主プログラム21を1ステツプずつ読
出し、これを解釈し実行する。解釈したステップが入出
力装置4のアクセスを表示しているときは、中央処理装
置1は、入出力制御装置6内の入出力制御レジスタ群3
1中の状態表示レジスタの内容を読出し、入出力制御装
置3が使用可能な状態におるか否かを確認する。使用可
能でおれば、中央処理装置1はアクセスに必要な情報を
入出力制御レジスタ群61のコマンドレジスタにセット
する。
A central processing unit 1, a main memory 2, and an input/output control device 6 are connected to a bus 5, and an input/output device 4 is connected to the input/output control device 5. The central processing unit 1 has a main memory 2
The main program 21 stored in the main program 21 is read step by step, interpreted and executed. When the interpreted step indicates access of the input/output device 4, the central processing unit 1 executes the input/output control register group 3 in the input/output control device 6.
The contents of the status display register in 1 are read to check whether the input/output control device 3 is in a usable state. If it is available, the central processing unit 1 sets information necessary for access in the command register of the input/output control register group 61.

アクセスに必要な情報のうち主要なものは、動作の種類
(例えばREAv、rrRrrE)を指定する入出力コ
マンド、入出力動作がデータ転送を伴う場合のデータ授
受のだめの主メモリ上の領域22のアドレス、また入出
力装置4のアクセス対象部分(例えば入出力装置4が磁
気ディスクである場合には転送先頭レコード番号と転送
データ数)等でおる。これらアクセスに必要な情報は、
入出力コマンドとこれに付随した各種のアドレス、カウ
ンタ、フラグ等から成シ、入出力制御装置3がチャネル
と称される場合においてはチャネル制御語(Chann
el Control Word、 CCV )などと
称されるが、本明細書では上記入出力コマンド及びこれ
に付随した各種の情報を一括して入出力コマンドと総称
する。
The main information required for access is the input/output command that specifies the type of operation (for example, REAv, rrRrrE), and the address of the area 22 in the main memory where data is exchanged when the input/output operation involves data transfer. , and the access target portion of the input/output device 4 (for example, if the input/output device 4 is a magnetic disk, the transfer start record number and the number of transferred data), etc. The information necessary to access these
It consists of an input/output command and various accompanying addresses, counters, flags, etc. When the input/output control device 3 is called a channel, a channel control word (Channel) is used.
el Control Word, CCV), etc., but in this specification, the above-mentioned input/output commands and various information accompanying them are collectively referred to as input/output commands.

中央処理装置1は、入出力制御レジスタ群61への入出
力コマンドのセットが終了すると、入出力制御装置3に
対して入出力動作の開始を指令する。入出力制御装置3
は、レジスタ群31にセットされている入出力コマンド
に基いて、入出力装置4のコントローラ部41に対して
所定の手順に(3) 従って制御信号を送出する。コントローラ部41は受信
した制御信号に基いて入出力装置4の動作を制御する。
When the central processing unit 1 finishes setting the input/output commands to the input/output control register group 61, it instructs the input/output control unit 3 to start input/output operations. Input/output control device 3
Based on the input/output command set in the register group 31, the control signal is sent to the controller section 41 of the input/output device 4 according to a predetermined procedure (3). The controller unit 41 controls the operation of the input/output device 4 based on the received control signal.

入出力コマンドがデータの転送を伴なう場合には、主メ
モリ上の領域22と入出力装置デバイス部42との間で
データの授受が行なわれるが、このときタイミングの調
整が必要でおれば、入出力装置3又はコントローラ部4
1内に設置されたバックアメモリを経由して上記データ
の授受が行なわせる。このようにして入出力動作が完了
すると、入出力制御装置6は、通常は割込み信号によっ
て中央処理装置1にその旨通知する。
When an input/output command involves data transfer, data is exchanged between the area 22 on the main memory and the input/output device device section 42. If timing adjustment is necessary at this time, , input/output device 3 or controller section 4
The above data is exchanged via a backup memory installed in 1. When the input/output operation is completed in this way, the input/output control device 6 usually notifies the central processing unit 1 of the completion using an interrupt signal.

上述した入出力コマンドには、入出力装置4の種類によ
って多少異なるが、基本的にはリードコマンド、ライト
コマンド、センスコマンドlt6る。これらはそれぞれ
入出力装置の単一の基本動作を指令するものでアシ、従
来は、これらのコマンドを主プログラム中で組合せるこ
とによシ一連の順序で入出力装置の動作を制御していた
。しかしながらこのような従来例では、入出力制御手順
をプログラムロジックとして実現しなければなら(4) ず、入出カプログラムの作成が面倒になるという欠点が
ある。また1つの入出力コマンドの実行が完了するたび
に、中央処理装置が関与する必要がsb、中央処理装置
の負担が過大になるという欠点がある。
The above-mentioned input/output commands differ somewhat depending on the type of input/output device 4, but basically include a read command, a write command, and a sense command lt6. Each of these commands a single basic operation of the input/output device. Conventionally, these commands were combined in the main program to control the operation of the input/output device in a sequential order. . However, in such a conventional example, the input/output control procedure must be realized as program logic (4), and there is a drawback that it becomes troublesome to create the input/output program. Furthermore, each time the execution of one input/output command is completed, the central processing unit must be involved, sb, resulting in an excessive burden on the central processing unit.

従来の方式として、入出力制御装置が主プログラム中の
一連のコマンド群を中央処理装置を介さず連続的に読出
して実行してゆくコマンドチェイニングの方式がおるが
、これは入出力コマンドを一定の順序に従って連結して
ゆくだけで4D、入出力装置の状態や入出力データの内
容に応じて入出力コマンドの実行順序を変更する等の柔
軟性を有していない。
The conventional method is command chaining, in which the input/output control unit reads and executes a series of commands in the main program continuously without going through the central processing unit. 4D does not have the flexibility to change the execution order of input/output commands depending on the status of the input/output device or the contents of the input/output data.

従って本発明の目的は、入出力制御プログラムの作成を
容易にし、かつ中央処理装置の負担を軽減してシステム
性能を向上させ、しかも入出力コマンドの実行順序の変
更が可能である等の柔軟性に富む入出力制御方式を提供
することにある。
Therefore, an object of the present invention is to facilitate the creation of an input/output control program, improve system performance by reducing the burden on the central processing unit, and provide flexibility such as being able to change the execution order of input/output commands. The purpose of this invention is to provide an input/output control method with a wide range of functions.

以下本発明の詳細を実施例によって説明する。The details of the present invention will be explained below with reference to Examples.

第2図は本発明の一実施例の構成ブロック図であり、同
図において第1図と同一の参照符号を付した構成要素は
第1図と同一の構成要素である。
FIG. 2 is a block diagram of the configuration of an embodiment of the present invention, and in the figure, components denoted by the same reference numerals as in FIG. 1 are the same components as in FIG. 1.

主メモリ2内には、従来方式で使用されているセンスコ
マンド、リードコマンド、ライトコマンド等に加えて本
実施例特有のディレィコマンド、条件判定コマンド(以
下これらを「第1のコマンド」と総称する。)から構成
される一連のコマンド列23が主プログラム21とは別
個に格納されている。これら第1のコマンドの種類と内
容は次のようなものである。
In addition to the sense commands, read commands, write commands, etc. used in the conventional method, the main memory 2 contains delay commands and condition judgment commands (hereinafter collectively referred to as "first commands") specific to this embodiment. ) is stored separately from the main program 21. The types and contents of these first commands are as follows.

A 従来方式で使用されている慣用のコマンド(1) 
 センスコマンド;入出力制御装置6と入出力装置4の
状態の検出。
A. Common commands used in the conventional method (1)
Sense command; detects the status of the input/output control device 6 and input/output device 4.

(11)  リードコマンド;入出力装置4から主メモ
リ2へのデータの読込み。
(11) Read command; reading data from the input/output device 4 to the main memory 2.

(Ill)  ライトコマンド;主メモリ2から入出力
装置4へのデータの誉出し。
(Ill) Write command; outputting data from the main memory 2 to the input/output device 4.

(1v)コントロールコマンド;入出力装置4又はこれ
に装着されている外部媒体の制御等。
(1v) Control command; control of the input/output device 4 or an external medium attached to it, etc.

(V)  その他のコマンド;入出力装置4からの割込
み信号のマスク制御、入出力制御装置3、入出力装置4
の診断等。
(V) Other commands; mask control of interrupt signals from input/output device 4, input/output control device 3, input/output device 4
diagnosis, etc.

B 本実施例特有のコマンド (1)ディレィコマンド;上記慣用のコマンドの実行開
始に関する適宜な遅延時間の設定。
B. Commands unique to this embodiment (1) Delay command: Setting an appropriate delay time for starting execution of the above-mentioned conventional commands.

(11)条件判定コマンド;入出力装置4の状態や入出
力データの内容に基づく上記慣用のコマンドの実行手順
の変更。
(11) Condition determination command; changing the execution procedure of the above-mentioned conventional command based on the status of the input/output device 4 and the content of input/output data.

(Ill)  繰り返し指定コマンド;それ以後のn個
のコマンドのm回縁シ返し実行。
(Ill) Repetition specification command; execution of subsequent n commands m times.

上記第1のコマンドから構成される一連のコマンド列2
3は、入出力制御の種類に応じた専用的な複数群から構
成されていてもよく、また条件判定、順序変更に関する
コマンド等を多数包含する汎用的な一群のみから構成さ
れていてもよい。
A series of command strings 2 consisting of the first command above
3 may be composed of a plurality of dedicated groups depending on the type of input/output control, or may be composed of only one general-purpose group that includes a large number of commands related to condition determination, order change, etc.

上記第1のコマンドから構成される一連のコマンド列2
5を入出力制御装置に与え、これらのコマンド列によっ
て記述される一連の入出力動作を開始させる第2のコマ
ンドに関する命令が主プログラム21中に適宜離散的に
記述される。本実施(7) 例における第2のコマンドは以下の3種類である。
A series of command strings 2 consisting of the first command above
5 to the input/output control device to start a series of input/output operations described by these command sequences are appropriately and discretely written in the main program 21. The second commands in this implementation (7) example are of the following three types.

(1)  ニアマントライト・アンド・スタート;第1
のコマンドから構成される一連のコマンド列23を主メ
モリ2からR,4M領域63−2に読出したのち、読出
したコマンド列23の実行開始を入出力制御装置3に指
令するコマンド。
(1) Nearman light and start; 1st
A command that reads a series of command strings 23 consisting of commands from the main memory 2 to the R, 4M area 63-2, and then instructs the input/output control device 3 to start executing the read command strings 23.

(11)コマンドライト:コマンド列26を主メモリ2
からRAM領域36−2に読出すことを入出力制御装置
3に指令するコマンド。
(11) Command write: Command string 26 is written to main memory 2
A command that instructs the input/output control device 3 to read from the RAM area 36-2.

(Ill)  コマンドスタート;すでにRAM領域6
6−2に読出されているコマンド列23の実行開始を入
出力制御装置6に指令するコマンド。
(Ill) Command start; RAM area 6 already
A command that instructs the input/output control device 6 to start executing the command string 23 read out at 6-2.

中央処理装置1による主プログラム21の実行に伴なっ
て第2のコマンド、例えばコマンドライト・アンド・ス
タートに関する命令が中央処理装置1にフェッチされた
ものとする。これを解読した中央処理装置1は、主メモ
リ20入出力領域22、にコマンド列25を設定し、第
2のコマンド(この場合コマンドライト・アンド・スタ
ート)を作成し、これを入出力制御レジスタ群61のロ
マン(8) ドレジスメに転送し、最後に入出力制御装置5内のプロ
セッサユニット62にスタート指令を発信する。このス
タート指令を受けたプロセッサユニット52は、ROM
部66−1から、入出力制御ロジックを実行するだめの
ソフトウェア又はファームウェア(以下これを「入出力
インタプリータ」と呼ぶ。)を読出し、入出力制御レジ
スタ群61のコマンドレジスタにセットされた第2の入
出力コマンドを解読する。この場合、第2の入出力コマ
ンドはコマンドライト・アンド・スタートであるから、
プロセッサユニット32は、主メモリ220入出力領域
22に設定されているコマンド列26をバス5を介して
自己のメモリ36のRAM領域33−2に読出す。プロ
セッサユニット32ハ、コマンド列26の読出しが完了
すると、ROM部66−1内の入出力インタブリータに
従って、RAM部63−2から順次第1のコマンドを読
出し、これらを解読し実行する。
Assume that a second command, for example, an instruction related to command write and start, is fetched to the central processing unit 1 as the main program 21 is executed by the central processing unit 1. Having decoded this, the central processing unit 1 sets the command string 25 in the input/output area 22 of the main memory 20, creates a second command (in this case, command write and start), and stores it in the input/output control register. Romance (8) of group 61 is transferred to the dress register, and finally a start command is sent to the processor unit 62 in the input/output control device 5. The processor unit 52 that received this start command stores the ROM
The software or firmware for executing the input/output control logic (hereinafter referred to as "input/output interpreter") is read from the section 66-1, and the second command register set in the command register of the input/output control register group 61 is read out. Decipher input/output commands. In this case, the second input/output command is the command write and start, so
The processor unit 32 reads out the command string 26 set in the input/output area 22 of the main memory 220 via the bus 5 to the RAM area 33-2 of its own memory 36. When the processor unit 32 completes reading the command string 26, it sequentially reads one command from the RAM section 63-2 according to the input/output interleater in the ROM section 66-1, decodes and executes these commands.

プロセッサユニット62は、解読した第1のコマンドが
ライトコマンド又はリードコマンドであれば、当該コマ
ンド中に指定されている主メモリの入出力領域22の該
当アドレス領域と入出力装置4との間で指定された長さ
のデータの転送を実行する。解読した第1のコマンドが
ディレィコマンドでおれば、プロセッサユニット32は
、当該コマンドで指定された時間だけコマンドの処理の
待合せを行なう。解読した第1のコマンドが条件判定コ
マンドであれば、プロセッサユニット62は、入出力装
置4の状態を監視し、おるいは転送されるデータに対し
て指定された検査を行ない、監視又は検査結果に応じて
指定された順序に従って次に処理すべき第1のコマンド
をRAM部36−2から取出し、これを解読し実行する
。このようにして、RAM部36−2に設定された一連
のコマンド列25の実行が完了すると、すなわち第2の
コマンド(この場合コマンドライト・アンド・スタート
)が完了すると、プロセッサユニット26は、その旨を
中央処理装置1に対し割込み信号によって通知する。
If the first command that has been decoded is a write command or a read command, the processor unit 62 specifies a command between the corresponding address area of the input/output area 22 of the main memory specified in the command and the input/output device 4. Perform a transfer of data of specified length. If the decoded first command is a delay command, the processor unit 32 waits to process the command for the time specified by the command. If the decoded first command is a condition determination command, the processor unit 62 monitors the status of the input/output device 4, or performs a specified check on the data to be transferred, and records the monitoring or check results. The first command to be processed next is taken out from the RAM section 36-2 in the order specified according to the command, decoded and executed. In this way, when the execution of the series of command strings 25 set in the RAM section 36-2 is completed, that is, when the second command (in this case, command write and start) is completed, the processor unit 26 This is notified to the central processing unit 1 by an interrupt signal.

同様にして入出力制御レジスタ群61のコマン(11) ドレジスタ内に設定された第2のコマンドがコマンドラ
イトである場合には、入出力制御装置6は、RAM部6
6−2にコマンド群26を取込むだけで入出力動作を実
行しない。コマンド列26の取込みが完了した時点で、
入出力制御装置6から中央処理装置1への割込みによっ
てその旨が通知される。
Similarly, if the second command set in the command (11) register of the input/output control register group 61 is a command write, the input/output control device 6
6-2 only takes in the command group 26 and does not execute any input/output operations. When the import of command string 26 is completed,
This is notified by an interrupt from the input/output control device 6 to the central processing unit 1.

またコマンドレジスタ内に設定された第2のコマンドが
コマンドスタートである場合には、入出力制御装置3は
、RAM部36−2への新たなコマンド列23の取込み
を行なうことなく、すでにここに取込まれているコマン
ド列26の処理を開始、し、処理が完了すると中央処理
装置1への割込みによシその旨通知する。このように、
入出力制御装置6から中央処理装置1への割込み信号は
、一連のコマンド列23の処理がすべて完了した時点に
だけ発信される。
In addition, if the second command set in the command register is a command start, the input/output control device 3 has already loaded the new command string 23 into the RAM section 36-2 without loading it into the RAM section 36-2. Processing of the loaded command string 26 is started, and when the processing is completed, an interrupt is sent to the central processing unit 1 to notify that effect. in this way,
An interrupt signal from the input/output control device 6 to the central processing unit 1 is sent only when the processing of the series of command strings 23 is completed.

第3図は本発明の他の実施例の構成ブロック図でsb、
同図中第2図と同一の参照符号を付した構成要素は第2
図中の構成要素と同一である。本実施例においては、第
2図示の実施例で使用した(12) 6種類の第2のコマンドに加えて次のような6種類の第
2のコマンドが使用される。
FIG. 3 is a block diagram of another embodiment of the present invention, sb,
In the same figure, components with the same reference numerals as in Figure 2 are shown in Figure 2.
The components are the same as those in the figure. In this embodiment, in addition to the six types of second commands (12) used in the embodiment shown in the second figure, the following six types of second commands are used.

(lv)  コマンドライト・アンド・スタート・デバ
イス。
(lv) Command write and start device.

(V)  コマンドライト・デバイス。(V) Command write device.

(vl)  コマンドスタート・デバイス。(vl) Command start device.

入出力制御装置6のプロセッサユニット32は、制御レ
ジスタ群61のコマンドレジスタ内に設定された第2の
コマンドを解読し、それがコマンドライト・アンド・ス
タート・デバイスでおるときは、コマンド列23を主メ
モリ2から入出力装置4に転送し、転送が完了すると入
出力装置4にスタート指令を発する。入出力装置4のコ
ントローラ部41は転送されてきたコマンド列26をメ
モリ44のRAM領域44−2に格納したのち、入出力
制御装置6から受けたスタート指令に基いて、RAM領
域に格納されているコマンド列23の処理を開始する。
The processor unit 32 of the input/output control device 6 decodes the second command set in the command register of the control register group 61, and when it is a command write and start device, reads the command string 23. The data is transferred from the main memory 2 to the input/output device 4, and when the transfer is completed, a start command is issued to the input/output device 4. The controller section 41 of the input/output device 4 stores the transferred command string 26 in the RAM area 44-2 of the memory 44, and then stores it in the RAM area based on the start command received from the input/output control device 6. Processing of the command string 23 currently in progress is started.

この処理はプロセッサユニット43とメモリ44のRO
M領域44−1  に格納されている入出力インタプリ
ータに基いて行なわれる。
This process is performed by the processor unit 43 and the memory 44.
This is performed based on the input/output interpreter stored in the M area 44-1.

一方式出力制御装置6内のコマンドレジスタに設定され
た第2のコマンドがコマンドライト・デバイスでおると
きは、主メモリ2から入出力制御装置6を介して入出力
装置4のRAM領域44−2にコマンド列26が転送さ
れる。また第2のコマンドがコマンドスタート・デバイ
スであるときは、入出力制御装置3から入出力装置4に
スタート指令が発せられ、これを受けた入出力装置4の
コントローラ部41は、RAM領域44−2 に既に格
納されているコマンド列23の処理を開始する。入出力
装置4におけるコマンド処理の終了は入出力制御装置3
を介して割込み信号として中央処理装置1に通知される
When the second command set in the command register in the one-way output control device 6 is sent to the command write device, it is transferred from the main memory 2 to the RAM area 44-2 of the input/output device 4 via the input/output control device 6. The command string 26 is transferred to. Further, when the second command is a command start device, a start command is issued from the input/output control device 3 to the input/output device 4, and the controller section 41 of the input/output device 4 receives the start command, and the controller section 41 of the input/output device 4 stores the RAM area 44- Processing of the command string 23 already stored in 2 starts. The command processing in the input/output device 4 is terminated by the input/output control device 3.
The central processing unit 1 is notified as an interrupt signal via.

第6図示の実施例においては、第1のコマンドとしてコ
マンド列26中に含ませたディレィコマンド及び条件判
定コマンドが特に重要な意義を有している。ディレィコ
マンドは本来的に入出力装置に固有の処理でアシ、また
条件判定コマンドも入出力データに対するバッファ機能
と併用することによシ、入出力装置における独立した処
理を可能とする。このため、プロセス入出力やデータウ
ェイのデータを一次加工したシ、あるいはマンマシン機
器からの入力データのチェックを行なう1合などは、中
央処理装置1からだけでなく入出力制御装置3からも独
立して入出力処理を実行することができる。
In the embodiment shown in FIG. 6, the delay command and condition determination command included in the command sequence 26 as the first command have particularly important significance. The delay command is originally a process specific to the input/output device, and the condition determination command is also used in combination with a buffer function for input/output data, thereby enabling independent processing in the input/output device. Therefore, primary processing of process input/output and dataway data, or checking of input data from man-machine equipment, etc., is independent not only from the central processing unit 1 but also from the input/output control unit 3. You can perform input/output processing using

第2図、第3図示の実施例ではコマンド列23の処理を
行うため入出力制御装置6、入出力装置4のコントロー
ラ部41にプロセッサユニット52.45を備える構成
としたが、同等の制御機能をハードウェアロジックで実
現することもできる。
In the embodiment shown in FIGS. 2 and 3, the input/output control device 6 and the controller section 41 of the input/output device 4 are equipped with a processor unit 52, 45 to process the command string 23, but they have the same control function. can also be realized using hardware logic.

しかし本実施例は、低価格化、機能及び性能の高度化が
著しいマイクロコンピュータを利用できるという点で、
ハードウェアロジック形式に比べて一層好適である。
However, this embodiment has the following advantages in that it is possible to use a microcomputer whose price is reduced and whose functions and performance are significantly advanced.
It is more suitable than hardware logic format.

第2図、第6図示の実施例では入出力制御装置3はメモ
リ63のRAM部66−1 に取込まれたコマンド列2
6をインタプリータに基いて実行するものであった。し
かし、本来のコマンド列23中に、汎用のプロセッサユ
ニット62がインタプリータ(15) なしで直接実行できる機械語列(プログラム)を包含さ
せることができる。この場合、コマンド列26中に以後
の情報がコマンドではなく機械語である旨を表示する第
1のコマンドを追加する。またコマンドの処理でおるか
プログラムの処理であるかを指示する動作モード指示レ
ジスタを入出力制御装置3内に追加し、このレジスタを
外部スイッチやコントロールコマンドによって制御する
In the embodiments shown in FIGS. 2 and 6, the input/output control device 3 has a command string 2 loaded into the RAM section 66-1 of the memory 63.
6 was executed based on an interpreter. However, the original command sequence 23 can include a machine language sequence (program) that can be directly executed by the general-purpose processor unit 62 without an interpreter (15). In this case, a first command is added to the command string 26 to indicate that the subsequent information is not a command but a machine language. Further, an operation mode instruction register for instructing whether command processing or program processing is to be performed is added to the input/output control device 3, and this register is controlled by an external switch or a control command.

入出力インタプリータは、RAM部63−2に取込まれ
ているコマンド列23の以後の内容がプログラムである
ことを知ると、動作モード指示レジスタの内容を照合し
たのち、上記コマンド列25中のプログラムをインタプ
リータのサブルーチンとしル呼出し実行する。このよう
なプログラムとしては、きめ細かい制御を必要とするテ
ストロるいは診断プログラムが特に適している。このよ
うな構成では、テス)6るいは診断プログラムを予めR
OM部36−1に組込んでおく場合に比べて、ROM部
の負担を軽減できプログラムに柔軟性をもたせることが
できるという利点がおる。
When the input/output interpreter learns that the subsequent contents of the command string 23 loaded in the RAM section 63-2 are programs, it verifies the contents of the operation mode instruction register and then executes the program in the command string 25. is executed by calling it as a subroutine of the interpreter. Test rolls or diagnostic programs that require detailed control are particularly suitable as such programs. In such a configuration, test) 6 or the diagnostic program must be run in advance.
Compared to the case where it is incorporated into the OM section 36-1, it has the advantage that the load on the ROM section can be reduced and the program can be made more flexible.

(16) 上記実施例では、中央処理装置1が主メモリ2の主プロ
グラムからフェッチした第2のコマンドに関する命令か
ら第2のコマンドを作成する構成を説明したが、この第
2のコマンドを予め作成して主メモリ2内に格納してお
き、第2のコマンドに関する命令を解読した中央処理装
置1が主メモリ2内の第2のコマンドを制御装置6に転
送する構成とすることもできる。
(16) In the above embodiment, the configuration was explained in which the central processing unit 1 creates the second command from the instruction related to the second command fetched from the main program in the main memory 2. It is also possible to adopt a configuration in which the CPU 1 stores the second command in the main memory 2, and the central processing unit 1, which has decoded the instruction related to the second command, transfers the second command in the main memory 2 to the control device 6.

以上詳細に説明したように、本発明の入出力側命令を主
プログラム中に記述し、該第2のコマンドに関する命令
をフェッチした中央処理装置が第2のコマンドを入出力
制御装置に送出し、これを受けた入出力制御装置が第2
のコマンドに従って前記コマンド列の読出しや実行を行
なう構成であるから、従来方式に比べて柔軟性に富む入
出力制御プログラムが容易に作成でき、また、中央処理
装置の負担を大幅に軽減できるという利点がある。
As explained in detail above, the input/output side instructions of the present invention are written in the main program, and the central processing unit that has fetched the instructions related to the second command sends the second command to the input/output control device, The input/output control device that received this
Since the configuration reads and executes the command sequence according to the command, it is easier to create input/output control programs that are more flexible than conventional methods, and the load on the central processing unit can be significantly reduced. There is.

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

第1図は従来・方式の構成ブロック図、第2図、第6図
はそれぞれ本発明の一実施例の構成ブロック図である。 1・・・中央処理装置、2・・・主メモリ、3・・・入
出力制御装置、4・・・入出力装置、5・・・バス、2
1・・・主プログラム、26・・・第1のコマンドから
構成されるコマンド列、31・・・入出力制御レジスタ
群、32 、43・・・プロセッサユニット、35.4
4・・・メそり、41・・・コントローラ部、42・・
・デバイス部。 特許出願人 富士電機製造株式会社(外1名)代理人弁
理士玉蟲久五部(外3名)
FIG. 1 is a block diagram of a conventional system, and FIGS. 2 and 6 are block diagrams of an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Central processing unit, 2... Main memory, 3... Input/output control device, 4... Input/output device, 5... Bus, 2
DESCRIPTION OF SYMBOLS 1... Main program, 26... Command sequence consisting of a first command, 31... Input/output control register group, 32, 43... Processor unit, 35.4
4... Mesori, 41... Controller section, 42...
・Device section. Patent applicant Fuji Electric Seizo Co., Ltd. (1 other person) Representative patent attorney Gobe Tamamushi (3 others)

Claims (1)

【特許請求の範囲】 中央処理装置、主メモリ、入出力制御装置及び入出力装
置を備えた計算機システムの入出力制御方式において、 該計算機システムの入出力制御を指令する複数種類の第
1のコマンドから構成される一連のコマンド列を主プロ
グラムから分離して主メモリ内に格納し、 前記コマンド列の書込み、実行を入出力制御装置に指令
する第2のコマンドに関する命令を主メモリ内の主プロ
グラム中に記述し、 主プログラムの実行によシ前記第2のコマンドに関する
命令を読出した中央処理装置は、該第2のコマンドを入
出力制御装置に送出し、該第2のコマンドを受けた入出
力制御装置は、主メモリからの前記コマンド列の読出し
又は読出したコマンド列の実行を最小限含む入出力制御
を行なうことを特徴とする計算機システムの入出力制御
方式。
[Claims] In an input/output control method for a computer system including a central processing unit, a main memory, an input/output control device, and an input/output device, a plurality of types of first commands instruct the input/output control of the computer system. A series of command sequences consisting of the following are separated from the main program and stored in the main memory, and an instruction related to a second command that instructs the input/output control unit to write and execute the command sequence is sent to the main program in the main memory. The central processing unit reads the instructions related to the second command by executing the main program, sends the second command to the input/output control unit, and executes the input/output control unit that receives the second command. An input/output control method for a computer system, wherein the output control device performs input/output control that minimally includes reading the command string from the main memory or executing the read command string.
JP10018882A 1982-06-11 1982-06-11 Input and output control system of computer system Pending JPS58217035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10018882A JPS58217035A (en) 1982-06-11 1982-06-11 Input and output control system of computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10018882A JPS58217035A (en) 1982-06-11 1982-06-11 Input and output control system of computer system

Publications (1)

Publication Number Publication Date
JPS58217035A true JPS58217035A (en) 1983-12-16

Family

ID=14267324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10018882A Pending JPS58217035A (en) 1982-06-11 1982-06-11 Input and output control system of computer system

Country Status (1)

Country Link
JP (1) JPS58217035A (en)

Similar Documents

Publication Publication Date Title
JPS6375955A (en) Program mode access control system
JPS58217035A (en) Input and output control system of computer system
JPS6329868A (en) Dma controller
JPS59723A (en) Control system of input and output interface
JPS58107977A (en) Accessing system for storage device
JPH0934726A (en) Interruption control method
JPH0425581B2 (en)
JP2641222B2 (en) Information processing device
JPS63301346A (en) Input/output control system
JPH10312307A (en) Emulator for computer system
JPH086890A (en) Input/output control system
JPS63316242A (en) Diagnosing system
JPH02730B2 (en)
JPH1027153A (en) Bus transfer device
JPS597977B2 (en) Subchannel control method for multiple input/output channel devices
JPS6217840A (en) Microprogram control system based upon attribution flag
JPS6312035A (en) Information processor
JPH05151137A (en) Electronic computer device
JPS60178556A (en) State display system
JPS6146545A (en) Input and output instruction control system
JPH01183753A (en) Input/output controller
JPS622349B2 (en)
JPH0659065B2 (en) Data transmission method
JPH0336654A (en) Dma transfer system and single chip processor unit
JPH02244361A (en) Channel control system