JPS617965A - Input/output control device - Google Patents

Input/output control device

Info

Publication number
JPS617965A
JPS617965A JP12972984A JP12972984A JPS617965A JP S617965 A JPS617965 A JP S617965A JP 12972984 A JP12972984 A JP 12972984A JP 12972984 A JP12972984 A JP 12972984A JP S617965 A JPS617965 A JP S617965A
Authority
JP
Japan
Prior art keywords
input
output
command
output command
command word
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
JP12972984A
Other languages
Japanese (ja)
Inventor
Akira Nakayama
中山 昌
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
NEC Corp
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP12972984A priority Critical patent/JPS617965A/en
Publication of JPS617965A publication Critical patent/JPS617965A/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 obtain an input/output control device whose processing time is utilized effectively, by constituting it so that a control coinciding with specifications can be executed by utilizing a series of command words without changing them, with respect to peripheral equipments which utilize the same software but have different specifications, as well. CONSTITUTION:When the processing of a peripheral equipment is executed, ''1'' is set to a corresponding bit position of an effective command use register 13 so that an ANd element 19 is operated. Also, the same bit pattern as a seek RPS command is set to one of a command bit register 11 or 12 to be compared. When a coincidence of an output of the register 11 or 12, and a command field of an input/output command word is detected by a comparator 16 or 17, an operation based on this input/output command word is not executed by an execution control part 16, in an effective state and a coincidence state, and read-out of a search command being the next input/output command word and an operation based on said command are executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ディジタル計算機の入出力制御装置に関する
。特に、入出力制御装置での、入出力指令語の実行制御
手段に関する。   ′〔従来の技術〕 入出力制御装置が用いられる系統を第2図に示す。入出
力制御装置23では中央処理装置21からの開始指示を
周辺制御装置24に送出し、また、周辺制御装置24か
ら送出される指示コードに基づいて主記憶装置22に格
納された入出力指令語を読み出し実行する。また周辺装
置251〜253は周辺制御装置24により制御される
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input/output control device for a digital computer. In particular, the present invention relates to means for controlling execution of input/output command words in an input/output control device. [Prior Art] Fig. 2 shows a system in which an input/output control device is used. The input/output control device 23 sends the start instruction from the central processing unit 21 to the peripheral control device 24, and also outputs the input/output command word stored in the main storage device 22 based on the instruction code sent from the peripheral control device 24. Read and execute. Further, the peripheral devices 251 to 253 are controlled by the peripheral control device 24.

従来例入出力制御装置では、周辺装置が新規に接続され
ると、−この周辺装置に対応する一連の入    −出
力指令語が主記憶装置22内に新規に設けられ、また周
辺制御装置24では、同一の一連の入出力指゛令語の使
用に伴い不要になる入出力指令語に基づく動作を無視す
る手段が必要となり、かつ処理時間を有効にできない欠
点があった。
In the conventional input/output control device, when a peripheral device is newly connected, a series of input/output command words corresponding to this peripheral device are newly provided in the main storage device 22, and the peripheral control device 24 This method requires means for ignoring operations based on input/output command words that become unnecessary due to the use of the same series of input/output command words, and has the disadvantage that processing time cannot be made effective.

すなわぢ、主記憶装置には第3図に示すように指示フィ
ールドと、フラグフィールドと、カウントフィールドと
、バッファアドレスで構成された形式の一連の入出力指
令語が記憶される。
That is, as shown in FIG. 3, the main memory stores a series of input/output command words in a format consisting of an instruction field, a flag field, a count field, and a buffer address.

さて、この入出力指令語がディスク制御用の入出力指令
語である場合に、第4図に示すように、この入出力指令
語はシーク指令41と、シークRPS指令42と、サー
チ指令43と、リード指令44とで構成されていて、特
にシークRPS指令42により回転媒体で構成されるデ
ィスク上の所定のシリンダ位置へのヘッド移動が指令さ
れる。この移動動作は一般に長時間を要し、この時間帯
を利用して周辺制御装置24は他の周辺装置を制御する
ことができる。
Now, when this input/output command word is an input/output command word for disk control, as shown in FIG. , and a read command 44. In particular, the seek RPS command 42 commands the head to move to a predetermined cylinder position on the disk constituted by a rotating medium. This moving operation generally takes a long time, and the peripheral control device 24 can use this time period to control other peripheral devices.

しかし、回転媒体を存しない高集積メモリ素子の使用さ
れている電子ディスク装置の出現により、回転媒体を有
する従来形ディスクに要した待ち時間が不要となった。
However, with the advent of electronic disk drives that utilize highly integrated memory devices that do not have a rotating medium, the wait times required for conventional disks that have a rotating medium are no longer necessary.

また、この電子ディスク装置は従来のディスク装置と同
一形式のソフトウェアで記録動作が実行される。そこで
、電子ディスク装置251が従来形ディスク装置252
および253と共存して用いられると、シーク指令41
の存在はかえって処理時間を延長させる原因となり、ま
た、一連の入出力指令語を新規に設けると、ソフトウ′
エテ処理を煩雑にさせる欠点があった。
Further, the recording operation of this electronic disk device is executed using software of the same format as that of conventional disk devices. Therefore, the electronic disk device 251 is connected to the conventional disk device 252.
and 253, seek command 41
The existence of these commands actually lengthens the processing time, and the creation of a new series of input/output commands makes it difficult for the software to
There was a drawback that the etching process was complicated.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明は、前述の欠点を除去するもので、同一のソフト
ウェアを利用するが仕様の異なる周辺装置の入出力制御
に対して、同一の一連の入出力指令語が使用されても、
処理時間が有効に利用される入出力制御装置を提供する
ことを目的とする。
The present invention eliminates the above-mentioned drawbacks, and even if the same series of input/output command words are used for input/output control of peripheral devices using the same software but having different specifications,
It is an object of the present invention to provide an input/output control device that makes effective use of processing time.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、入出力指令語が格納される主記憶装置および
開始指示を生成する中央処理装置とに接続された入出力
制御装置で、前述の問題点を解決するための手段として
、開始指示に含まれる有効指示を記憶する第一の記憶手
段と、開始指示に含まれるビットパターンを記憶する第
二の記憶手段と、入出力指令語を記憶する第三の記憶手
段と、ビットパターンと第三の記憶手段に格納された入
出力指令語に含まれる制御種別を表わす部分とを比較す
る比較手段と、この比較手段の出力に基づいて、第三の
記憶手段に記憶された入出力指令語の実行を禁止してそ
の入出力指令語に続く入出力指令語を実行する実行制御
部とを備えたことを特徴とする。
The present invention is an input/output control device connected to a main memory in which input/output command words are stored and a central processing unit that generates a start command. a first storage means for storing a valid instruction included in the start instruction; a second storage means for storing a bit pattern included in the start instruction; a third storage means for storing an input/output command word; a comparison means for comparing the part representing the control type included in the input/output command word stored in the third storage means; and a comparison means for comparing the input/output command word stored in the third storage means based on the output of the comparison means. The present invention is characterized by comprising an execution control unit that prohibits execution and executes the input/output command word following the input/output command word.

〔作用〕[Effect]

中央処理装置で生成される開始指示に含まれた有効指示
が存在するときに、主記憶装置に格納されている入出力
指令語に含まれる制御種別を表わす部分が被比較指令ビ
ットレジスタに格納されている開始指示に含まれたビ・
7トパターンと比較手段で比較されて一致および不一致
のいずれかが検定され、この検定に基づいて、第二の記
憶手段に記憶されている現在の入出力指令語およびこの
入出力指令語に続いて主記憶装置に記憶されている入出
力指令語のいずれかが選択され、この選択された入出力
指令語に基づいて実行制御部にて周辺制御装置に対する
制御が実行される。
When there is a valid instruction included in the start instruction generated by the central processing unit, a portion representing the control type included in the input/output instruction word stored in the main memory is stored in the compared instruction bit register. The video included in the start instructions
The second pattern is compared with the comparison means to test whether there is a match or a mismatch, and based on this test, the current input/output command word stored in the second storage means and the next input/output command word are One of the input/output command words stored in the main memory is selected, and the execution control unit executes control of the peripheral control device based on the selected input/output command word.

〔実施例〕〔Example〕

以下、本発明実施例装置を図面に基づいて説明する。第
1図はこの実施例装置の構成を示すブロック構成図であ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A device according to an embodiment of the present invention will be explained below based on the drawings. FIG. 1 is a block configuration diagram showing the configuration of the apparatus of this embodiment.

まず、この実施例装置の構成を図面に基づいて説明する
。この実施例装置は、被比較指令ビットレジスタ1)お
よび12と、比較器16および17と、有効指示用レジ
スタ13と、処理中周辺装置番号レジスタ14と、入出
力指令語レジスタ15と、論理和素子18と、論理積素
子19と、実行制御部20とを備える。中央処理袋N2
1からのインタフェイス52の一部であるインタフェイ
ス53を介して被比較指令ビットレジスタ1)および1
2の入力に接続され、中央処理装置21からのインタフ
ェイス52の一部であるインタフェイス54を介して有
効指示用L・ジスタ13の第一の入力に接続される。処
理中周辺装置番号レジスタ14の出力は有効指示用レジ
スタI3の第二の入力に接続され、主記憶装置22の出
力はインクフェイス50を介して入出力指令語レジスタ
15の人力に接続される。被比較指令ビットレジスタ1
)の出力は比較器16の一方の入力に接続され、被比較
指令ピントレジスタ12の出力は比較器17の第一の入
力に接続され、入出力指令語レジスタ15の指令フィー
ルド出力は比較器16および17の他方の入力に接続さ
れる。比較器16の出力は論理和素子18の一方の入力
に接続され、比較器17の出力は論理和素子18の他方
の入力に接続される。論理和素子18の出力は論理積素
子19の一方の入力に接続され、比較有効指示用レジス
タ14の出力は論理積素子19の他方の入力に接続され
、入出力指令語レジスタ13の全フィールド出力は実行
制御部20の一方の入力に接続される。論理積素子19
の出力は実行制御部20の他方の入力に接続される。実
行制御部2oの一方の出力はインタフェイス50を介し
て主記憶袋N22の入力に接続され、実行制御部2oの
他方の出力は図示されていない入出力指令語実行部に接
続される。
First, the configuration of this embodiment device will be explained based on the drawings. This embodiment device consists of compared command bit registers 1) and 12, comparators 16 and 17, valid indication register 13, processing peripheral device number register 14, input/output command word register 15, and logical OR It includes an element 18, an AND element 19, and an execution control section 20. Central processing bag N2
1) and 1 via interface 53 which is part of interface 52 from
2 and to a first input of the valid indicating L register 13 via an interface 54 which is part of the interface 52 from the central processing unit 21 . The output of the processing peripheral device number register 14 is connected to the second input of the valid indication register I3, and the output of the main memory 22 is connected to the input/output command word register 15 via the ink face 50. Compared command bit register 1
) is connected to one input of the comparator 16, the output of the compared command focus register 12 is connected to the first input of the comparator 17, and the command field output of the input/output command word register 15 is connected to one input of the comparator 16. and the other input of 17. The output of comparator 16 is connected to one input of OR element 18, and the output of comparator 17 is connected to the other input of OR element 18. The output of the OR element 18 is connected to one input of the AND element 19, the output of the comparison valid instruction register 14 is connected to the other input of the AND element 19, and all fields of the input/output command word register 13 are output. is connected to one input of the execution control section 20. AND element 19
The output of is connected to the other input of the execution control section 20. One output of the execution control section 2o is connected to the input of the main memory bag N22 via an interface 50, and the other output of the execution control section 2o is connected to an input/output command word execution section (not shown).

次に、この実施例装置の動作を第1図ないし第4図に基
づいて説明する。
Next, the operation of this embodiment device will be explained based on FIGS. 1 to 4.

この実施例装置による制御にかかわる周辺装置の内の周
辺装置251は電子ディスク装置であり、他の周辺装置
252および253は回転媒体を有するディスク装置で
ある。さて、周辺装置251の処理が行われるときには
、論理積素子19が動作するように有効指示用レジスタ
13の対応するビット位置にrlJが設定され、またシ
ークRPS指令42と同一のビットパターンが被比較指
令ビットレジスタ1)または12のいずれかに設定され
る。ここで、比較器16または17で被比岐指示ビット
レジスタ1)または12の出力と入出力指令語の指令フ
ィールドとの一致が検出されると、有効状態とこの一致
状態では、実行制御部16で、この入出力指令語42に
基づく動作が実行されず、次の入出力指令語であるサー
チ指令43の読み出しとこの指令に基づく動作が実行さ
れる。
Peripheral device 251 of the peripheral devices involved in the control by the apparatus of this embodiment is an electronic disk device, and other peripheral devices 252 and 253 are disk devices having rotating media. Now, when processing of the peripheral device 251 is performed, rlJ is set in the corresponding bit position of the valid instruction register 13 so that the AND element 19 operates, and the same bit pattern as the seek RPS command 42 is set to be compared. Set to either command bit register 1) or 12. Here, when the comparator 16 or 17 detects a match between the output of the target branch instruction bit register 1) or 12 and the command field of the input/output command word, in the valid state and this match state, the execution control unit 16 Then, the operation based on this input/output command word 42 is not executed, and the next input/output command word, search command 43, is read out and the operation based on this command is executed.

〔発明の効果〕〔Effect of the invention〕

本発明は、以上説明したように、同一のソフトウェアを
利用するが仕様の異なる周辺装置に対しても、一連の指
令語を変更せずに利用して仕様に一致した制御を行うこ
とができる。したがっ°(、周辺装置制御に要する処理
時間が短縮され、かつソフトウェアが簡単化される効果
がある。
As described above, the present invention allows peripheral devices that use the same software but have different specifications to be controlled in accordance with the specifications by using a series of command words without changing them. Therefore, the processing time required for peripheral device control is shortened and the software is simplified.

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

第1図は本発明実施例装置の構成を示すプロ、ツク構成
図。 第2図は実施例装置が用いられる系統の構成を示すブロ
ック構成図。 第3図は実施例装置で用いられる入出力指令語の構成を
示すフレーム構成図。 第4図は実施例装置で用いられるディスク制御用人出力
指令語の構成を示すフレーム構成図。 1).12・・・被比較指令ピントレジスタ、13・・
・有効指示用レジスタ、14・・・処理中周辺装置番号
レジスタ、15・・・入出力指令語レジスタ、16.1
7・・・比較器、18・・・論理和素子、19・・・論
理積素子、20・・・実行制御部、21・・・中央処理
装置、22・・・上記憶装置、2X+・・・入出力制御
装置、24・・・周辺制御装置、251〜253・・・
周辺装置。
FIG. 1 is a block diagram showing the configuration of an apparatus according to an embodiment of the present invention. FIG. 2 is a block configuration diagram showing the configuration of a system in which the embodiment device is used. FIG. 3 is a frame configuration diagram showing the configuration of input/output command words used in the embodiment device. FIG. 4 is a frame configuration diagram showing the configuration of a human output command word for disk control used in the embodiment device. 1). 12...Compared command focus register, 13...
- Valid instruction register, 14... Peripheral device number register in process, 15... Input/output command word register, 16.1
7... Comparator, 18... OR element, 19... AND element, 20... Execution control unit, 21... Central processing unit, 22... Upper storage device, 2X+... - Input/output control device, 24... Peripheral control device, 251 to 253...
Peripheral equipment.

Claims (1)

【特許請求の範囲】[Claims] (1)入出力指令語が格納される主記憶装置および開始
指示を生成する中央処理装置とに接続された入出力制御
装置において、 上記開始指示に含まれる有効指示を記憶する第一の記憶
手段と、 上記開始指示に含まれるビットパターンを記憶する第二
の記憶手段と、 上記入出力指令語を記憶する第三の記憶手段と、上記ビ
ットパターンと上記第三の記憶手段に格納された入出力
指令語に含まれる制御種別を表わす部分とを比較する比
較手段と、 この比較手段の出力に基づいて、上記第三の記憶手段に
記憶された該当する入出力指令語の実行を禁止して入出
力指令語に続く入出力指令語を実行する実行制御部と を備えたことを特徴とする入出力制御装置。
(1) In an input/output control device connected to a main storage device in which input/output command words are stored and a central processing unit that generates a start instruction, a first storage means for storing a valid instruction included in the start instruction. a second storage means for storing the bit pattern included in the start instruction; a third storage means for storing the input/output command word; and a second storage means for storing the bit pattern and the input/output command word stored in the third storage means. a comparison means for comparing a part representing the control type included in the output command word; and based on the output of the comparison means, prohibiting execution of the corresponding input/output command word stored in the third storage means. An input/output control device comprising: an execution control section that executes an input/output command word following an input/output command word.
JP12972984A 1984-06-22 1984-06-22 Input/output control device Pending JPS617965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12972984A JPS617965A (en) 1984-06-22 1984-06-22 Input/output control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12972984A JPS617965A (en) 1984-06-22 1984-06-22 Input/output control device

Publications (1)

Publication Number Publication Date
JPS617965A true JPS617965A (en) 1986-01-14

Family

ID=15016753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12972984A Pending JPS617965A (en) 1984-06-22 1984-06-22 Input/output control device

Country Status (1)

Country Link
JP (1) JPS617965A (en)

Similar Documents

Publication Publication Date Title
JPS617965A (en) Input/output control device
JPH0377137A (en) Information processor
JPS617966A (en) Input/output control device
JP3130798B2 (en) Bus transfer device
JPH03184135A (en) Data processor
KR930008151B1 (en) Disk control device
JPS63120336A (en) Switching system for memory access mode
JPS6292038A (en) Control system for record of history memory
JPH10171670A (en) Task switching device and medium recording task switching program
KR100189927B1 (en) Hard disk drive control device and method
JPS60160466A (en) Device for controlling hierarchical sequence
JPS6270947A (en) Control system for debug interruption
JPS5941072A (en) Device for retrying error
JPS61208534A (en) Control system for semiconductor disk
JPH0675789A (en) Information processor
JPS60193047A (en) Mode checking system of microprogram
JPH05274091A (en) Magnetic tape device
JPH0235664A (en) Logic sector write system for magnetic disk controller
JPS61175731A (en) Microprogram control system
JPH0738157B2 (en) Register selection method
JPH04241645A (en) Execution history storing system
JPH02242445A (en) Debugging mechanism for information processor
JPS6310247A (en) Tracing circuit
JPS5935264A (en) Magnetic disk device
JPS62103876A (en) Magnetic disc device