JPS617966A - Input/output control device - Google Patents

Input/output control device

Info

Publication number
JPS617966A
JPS617966A JP12973084A JP12973084A JPS617966A JP S617966 A JPS617966 A JP S617966A JP 12973084 A JP12973084 A JP 12973084A JP 12973084 A JP12973084 A JP 12973084A JP S617966 A JPS617966 A JP S617966A
Authority
JP
Japan
Prior art keywords
input
output
command
command word
control device
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
JP12973084A
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 JP12973084A priority Critical patent/JPS617966A/en
Publication of JPS617966A publication Critical patent/JPS617966A/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, an effective instruction part in an instruction code in which a part of the code is changed is sent out to an effective command use register 12 from a peripheral control device 24. On the other hand, the same bit pattern as a seek command is generated in a comparison use command word generating part 11. When a coincidence of an output of the comparison use command word generating part 11 and an output of a command field of an input/output command word is detected by a comparator 14, an operation based on this input/output command word is not executed by an execution control part 16, in an effective state and this coincidence state. On the other hand, read-out of a search command being the next input/output command word and an operation based on said command are executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ディジタル計算機の入出力制御装置に関する
。特に、入出力制御装置での、入出力指令語の実行制御
手段に関する。
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.

〔従来の技術〕[Conventional technology]

入出力制御装置が用いられる系統を第2図に示す。入出
力制御装置23では中央処理装置21からの開始指示を
周辺制御装置24に送出し、また、周辺制御装置24か
ら送出される指示コートに基づいて主記憶装置22に格
納された入出力指令語を読み出し実行する。また周辺装
置251〜253は周辺制御装置24により制御される
Figure 2 shows a system in which the 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.

従来例入出力制御装置でtit、周辺装置が新規に接続
されると、この周辺装置に対応する一連の入出力指令語
が主起ta装置22内に新規に設し」ら才l、また周辺
制御装置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 set in the master device 22. The control device 24 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と、サーチ指令42と、リード指令
43とで構成されていて、シーク指令41により回転媒
体で構成されるディスク上の所定のシリンダ位置へのヘ
ッド移動が指令される。
Now, when this input/output command word is an input/output command word for disk control, as shown in FIG. 4, this input/output command word is a seek command 41, a search command 42, and a read command 43. A seek command 41 instructs the head to move to a predetermined cylinder position on a disk made of a rotating medium.

この移動動作は一般に長時間を要し、この時間帯を利用
して周辺制御装置24は他の周辺装置を制御することが
できる。この動作を実現するために、シーク指令41で
シリンダアドレスCYおよびトラックアドレスTRが送
出され、またヘッドの移動後にサーチ指令42で再度シ
リンダアドレスCYおよびトラックアドレスTRの送出
とともにレコード番号RECが送出されていた。
This moving operation generally takes a long time, and the peripheral control device 24 can use this time period to control other peripheral devices. In order to realize this operation, the cylinder address CY and track address TR are sent out with the seek command 41, and after the head has moved, the record number REC is sent out again with the cylinder address CY and track address TR with the search command 42. Ta.

しかし、回転媒体を有しない高集積メモリ素子の使用さ
れている電子ディスク装置の出現により、回転媒体を有
する従来形ディスクに要した待ち時間が不要となった。
However, with the advent of electronic disk drives that utilize highly integrated memory elements without a rotating medium, the latency required for conventional disks with a rotating medium is 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 such words actually increases the processing time, and the provision of a new series of input/output command words has the disadvantage of complicating software processing.

〔発明が解決しようとする問題点〕[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 peripheral control device that generates instruction codes. a first storage means for storing included valid instructions; a second storage means for storing input/output command words;
a signal generating section that generates a comparison command word corresponding to a part representing the control type contained in the input/output command word; a part representing the control type contained in the input/output command word stored in the second memory signal; Comparing means for comparing the output of the signal generating section; and based on the output of the comparing means, inhibiting the execution of the corresponding input/output command word stored in the second storage means and continuing the input/output command word. The apparatus is characterized by comprising an execution control section that executes input/output command words.

〔作用〕[Effect]

周辺制御装置で生成される指示コート′に含まれた有効
指示が存在するときに、主記憶装置に格納されている入
出力指令語に含まれる制御種別を表わす部分が、信号発
生部からの比較用指令語と比較手段で比較されて一致お
よび不一致のいずれかが検定され、この検定に基づいて
、第二の記憶手段に記憶されている現在の入出力指令語
およびこの入出力指令語に続いて主記憶装置に記憶され
ている入出力指令語のいずれかが選択され、この選択さ
れた入出力指令語に基づいて実行制御部にて周辺制御装
置に対する制御が実行される。
When there is a valid instruction included in the instruction code generated by the peripheral control device, the part representing the control type included in the input/output command word stored in the main memory is The used command word 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 following 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と、入出力指令語レジスタ13と、
比較器14と、論理和素子15と、実行制御部16とを
備え、周辺制御装置24がらのインクフェイス51の一
部であるインクフェイス52を介して有効指示用レジス
タ12の入力に接続され、主記憶装置22の出力はイン
クフェイス5oを介して入出力指令語レジスタ13の入
力に接続され、比較用指令語発生部1)の出力は比較器
14の一方の入力に接続され、入出力指令語レジスタ1
3の指令フィールド出力は比較器14の他方の入力に接
続され、比較器14の出力は論理積素子15の一方の入
力に接続され、有効指示用レジスタ12の出力は論理積
素子15の他方の入力に接続され、人出力指令語レジス
タ13の全フィールド出力は実行制御部16の一方の入
力に接続され、論理積素子15の出力は実行制御部I6
の他方の人力に接続される。実行制御部16の一方の出
力はインタフェイス50を介して主記憶装置22の入力
に接続され、実行制御部16の他方の出力は図示されて
いない入出力指令SL実行部に接続される。
First, the configuration of this embodiment device will be explained based on the drawings. This embodiment device includes a comparison command word generation section 1), a valid instruction register 12, an input/output command word register 13,
It includes a comparator 14, an OR element 15, and an execution control unit 16, and is connected to the input of the valid indication register 12 via an ink face 52 that is a part of the ink face 51 of the peripheral control device 24, The output of the main storage device 22 is connected to the input of the input/output command word register 13 via the ink face 5o, and the output of the comparison command word generator 1) is connected to one input of the comparator 14, word register 1
The command field output of No. 3 is connected to the other input of the comparator 14, the output of the comparator 14 is connected to one input of the AND element 15, and the output of the valid indication register 12 is connected to the other input of the AND element 15. All field outputs of the human output command word register 13 are connected to one input of the execution control section 16, and the output of the AND element 15 is connected to the execution control section I6.
connected to the other's human power. One output of the execution control section 16 is connected to an input of the main storage device 22 via an interface 50, and the other output of the execution control section 16 is connected to an input/output command SL 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の処理が行われるときには
、周辺制御装置24からはコードの一部が変更された指
示コ・−ドの内の有効指示部分が有効指示用レジスタ1
2に送出される。一方、比較用指令語発生部1)でシー
ク指令41と同一のビットパターンが生成されている。
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 the processing of the peripheral device 251 is performed, the valid instruction part of the instruction code whose code has been partially changed is sent from the peripheral control device 24 to the valid instruction register 1.
2 is sent out. On the other hand, the same bit pattern as the seek command 41 is generated by the comparison command word generation unit 1).

ここで、比較器14で比較用指令語発生部1)の出力と
入出力指令語の指令フィールド出力との一致が検出され
ると、有効状態とこの一致状態では、実行制御部16で
この入出力指令語41に基づく動作が実行されず、次の
入出力指令語であるサーチ指令42の読み出しとこの指
令に基づく動作が実行される。
Here, when the comparator 14 detects a match between the output of the comparison command word generating section 1) and the command field output of the input/output command word, in the valid state and this matching state, the execution control section 16 The operation based on the output command word 41 is not executed, but the next input/output command word, the search command 42, is read 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 the drawing]

第1図は本発明実施例装置の構成を示すプロ・ツク構成
図。 第2図は実施例装置が用いられる系統の構成を示すブロ
ック構成図。 第3図は実施例装置で用いられる入出力指令語の構成を
示すフレーム構成図。 第4図は実施例装置で用いられるディスク制御用入出力
指令語の構成を示すフレーム構成図。 ・1)、・・・
比較用指令語発生部、12・・・有効指示用レジスタ、
13・・・入出力指令語レジス外14・・・比較器、1
5・・・論理積素子、16・・・実行制御部、21・・
・中央処理装置、22・・・主記憶装置、23・・・入
出力制御装置、24・・・周辺制御装置、50.51.
52・・・インクフェイス、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 disk control input/output command word used in the embodiment device.・1),...
Comparison command word generation unit, 12... Valid instruction register,
13...Outside input/output command word register 14...Comparator, 1
5... Logical product element, 16... Execution control unit, 21...
- Central processing unit, 22... Main storage device, 23... Input/output control device, 24... Peripheral control device, 50.51.
52... Ink face, 251-253... Peripheral device.

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 peripheral control device that generates instruction codes, a first storage means for storing valid instructions included in the instruction code. a second storage means for storing the input/output command word; a signal generating section for generating a comparison command word corresponding to a part representing the control type included in the input/output command word; and the second memory. a comparison means for comparing a part representing the control type included in the input/output command word stored in the means with the output of the signal generating section; An input/output control device comprising: an execution control unit that prohibits execution of a corresponding input/output command word and executes an input/output command word following the input/output command word.
JP12973084A 1984-06-22 1984-06-22 Input/output control device Pending JPS617966A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=15016779

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS617966A (en)

Similar Documents

Publication Publication Date Title
JPH0245271B2 (en)
JPS617966A (en) Input/output control device
US6603621B1 (en) System and method for storing disk sector information
JP2544327B2 (en) Magnetic disk controller
JPS617965A (en) Input/output control device
JPH0129636Y2 (en)
JPS61208534A (en) Control system for semiconductor disk
JPS62103876A (en) Magnetic disc device
KR930008151B1 (en) Disk control device
JPH0628779A (en) Method for recording and controlling data in disk device
JPS59180577U (en) Time axis correction device
KR100189927B1 (en) Hard disk drive control device and method
JPS6126974A (en) Information recorder
JPS59157813A (en) Controller for magnetic memory of rotor
JPS6297178A (en) Magnetic tape memory device
JPH03271822A (en) Disk controller
JPH0963175A (en) Magnetic disk control device
JPS6278625A (en) Magnetic disk controller
JPH04167120A (en) Magnetic disk subsystem
JPH01298574A (en) Positioning control and selection system for magnetic head
JPS60238927A (en) Controller of auxiliary storage device
JPS60235229A (en) Disc storage device
JPS62187927A (en) Optical disk storing device
JPS58101359A (en) Information file accessing system
JPS63200365A (en) Fixed magnetic disk device