JPH0444146A - Emulation processing system for input/output controller - Google Patents

Emulation processing system for input/output controller

Info

Publication number
JPH0444146A
JPH0444146A JP2152217A JP15221790A JPH0444146A JP H0444146 A JPH0444146 A JP H0444146A JP 2152217 A JP2152217 A JP 2152217A JP 15221790 A JP15221790 A JP 15221790A JP H0444146 A JPH0444146 A JP H0444146A
Authority
JP
Japan
Prior art keywords
input
output control
status
output
command
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
JP2152217A
Other languages
Japanese (ja)
Inventor
Kosuke Taniguchi
幸介 谷口
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2152217A priority Critical patent/JPH0444146A/en
Publication of JPH0444146A publication Critical patent/JPH0444146A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To attain the use of an input/output device with no reliance on an operating system OS of a computer system by simulating the operations of the input/output controllers of different control systems at a machine instruction level. CONSTITUTION:A status conversion processing part 22 reads the command end status (state information) of an input/output controller 3 into an end status part 83 and converts the status into the status information on a target computer 4 to store them in a drive status register and a status register of a register area 81 and then to inform a virtual input/output control part 1 of these status information. Based on the received information, the part 1 produces an interruption to a control program 1. The program 1 applies a read access to the part 1 in order to start a command conversion processing part 21. The part 21 transfers the value of the drive status register of the area 81 or the value of the status register to a register part 11. Thus the controller 3 is used with no reliance on an OS.

Description

【発明の詳細な説明】 〔概 要〕 本発明は入出力制御装置のエミュレート処理方式に関し
、 計算機システムが使用する固有の入出力制御方式に関係
なく、制御方式の異なる入出力制御装置の該計算機シス
テムでの使用を可能にすることを目的とし、 仮想入出力制御部と、エミュレート処理部と、入出力制
御装置とターゲット計算機とを有し、エミュレート処理
部は、コマンド変換処理部と、ステータス変換処理部を
有し、仮想入出力制御部は、ターゲット計算機とエミュ
レート処理部との間で行われる入出力アクセス情報の授
受のインタフェースを提供し、ターゲット計算機が仮想
入出力制御部に入出力アクセス操作を行うと、コマンド
変換処理部が起動され、コマンド変換処理部は、仮想入
出力制御部に設定された入出力アクセス情報を入出力制
御装置に対するコマンド情報に変換して該入出力制御装
置に渡し、ステータス変換処理部は、入出力制御装置が
発行する割り込みによって起動され、コマンド終了ステ
ータスを読込み、ターゲット計算機用のステータスに変
換して仮想入出力制御部へ通知し、該仮想入出力制御部
はターゲット計算機に割り込みを発生するように構成す
る。
[Detailed Description of the Invention] [Summary] The present invention relates to an emulation processing method for input/output control devices, and is capable of emulating input/output control devices with different control methods, regardless of the specific input/output control method used by a computer system. The purpose is to enable use in a computer system, and it has a virtual input/output control section, an emulation processing section, an input/output control device, and a target computer, and the emulation processing section has a command conversion processing section and a command conversion processing section. The virtual input/output control unit provides an interface for sending and receiving input/output access information between the target computer and the emulation processing unit, and the virtual input/output control unit provides an interface for sending and receiving input/output access information between the target computer and the emulation processing unit. When an input/output access operation is performed, a command conversion processing unit is activated, and the command conversion processing unit converts the input/output access information set in the virtual input/output control unit into command information for the input/output control device and processes the input/output. The status conversion processing unit is activated by an interrupt issued by the input/output control unit, reads the command completion status, converts it to a status for the target computer, notifies the virtual input/output control unit, and converts the status to the virtual input/output control unit. The output control unit is configured to generate an interrupt to the target computer.

〔産業上の利用分野〕[Industrial application field]

本発明は、入出力制御装置のエミュレート処理方式に関
する。
The present invention relates to an emulation processing method for an input/output control device.

計算機システムの制御プログラム(オペレーティングシ
ステム)は、該計算機の固有の命令セットアーキテクチ
ャを使用して作成されているために、該計算機で動作す
るソフトウェアは該制御プログラムの制御方式に適った
入出力制御装置しか使用することが出来ないという問題
を生じていた。ソフトウェア資産の活用のためにソフト
ウェアが特定の入出力制御装置に依存することなく利用
可能とする必要がある。
Since the control program (operating system) of a computer system is created using the instruction set architecture specific to the computer, the software running on the computer is an input/output control device that is compatible with the control method of the control program. The problem was that it could only be used. In order to utilize software assets, it is necessary to enable software to be used without depending on a specific input/output control device.

〔従来の技術〕[Conventional technology]

第2図は従来のシステム構成図である。 FIG. 2 is a conventional system configuration diagram.

本図において、計算機システム6で動作する応用プログ
ラム61が入出力制御装置72を使用する場合、データ
の入出力を制御プログラム7(オペレーティングシステ
ム)に依頼する。制御プログラム7は、入出力制御装置
72に対するデータの入出力を入出力制御プログラム7
1を介して行う。
In this figure, when an application program 61 running on a computer system 6 uses an input/output control device 72, it requests the control program 7 (operating system) to input/output data. The control program 7 inputs and outputs data to and from the input/output control device 72 using the input/output control program 7.
1.

計算機システム6に入出力制御装置72の制御力式と異
なる入出力制御装置74を接続して使用する場合、入出
力制御プログラム71が使用する制御命令が入出力制御
装置74については使用出来ない。
When the computer system 6 is connected to an input/output control device 74 that has a different control force formula from the input/output control device 72, the control instructions used by the input/output control program 71 cannot be used for the input/output control device 74.

従って入出力制御プログラム71をプログラム改造して
、入出力制御装置74の制御命令にあわせた入出力制御
プログラム73を作成する必要がある。
Therefore, it is necessary to modify the input/output control program 71 to create an input/output control program 73 that matches the control commands of the input/output control device 74.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

計算機システムが使用する入出力制御装置は、該計算機
システムが持つオペレーティングシステム(O3と略称
される)のもとで制御さるが、入出力制御装置の制御方
式がO8毎に異なるために、特定のO3で使用する入出
力制御装置は、他のO3では使用出来ないという問題が
あった。
The input/output control device used by a computer system is controlled under the operating system (abbreviated as O3) that the computer system has, but since the control method of the input/output control device differs depending on O8, specific There was a problem in that the input/output control device used in O3 could not be used in other O3s.

本発明は、他のO8で動作する入出力制御装置を、機械
命令レベルでコマンド変換及びステータス変換を行うこ
とにより、O8に依存することなく該入出力制御装置を
目的とする計算機システム(ターゲット計算機)で使用
可能にすることを目的とする。
The present invention converts commands and statuses of input/output control devices that operate on other O8s at the machine instruction level. ).

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

仮想入出力制御部lと、エミュレート処理部2と、入出
力制御装置3とターゲット計算機4とを有し、エミュレ
ート処理部2は、コマンド変換処理部21と、ステータ
ス変換処理部22を有し、仮想入出力制御部1は、ター
ゲット計算機4とエミュレート処理部2との間で行われ
る入出力アクセス情報の授受のインタフェースを提供し
、ターゲット計算機4が仮想入出力制御部1に入出力ア
クセス操作を行うと、コマンド変換処理部21が起動さ
れ、コマンド変換処理部21は、仮想入出力制御部1に
設定された入出力アクセス情報を入出力制御装置3に対
するコマンド情報に変換して該入出力制御装置3に渡し
、ステータス変換処理部22は、入出力制御装置3が発
行する割り込みによって起′動され、コマンド終了ステ
ータスを読込み、ターゲット計算機用4のステータスに
変換して仮想入出力制御部1へ通知し、該仮想入出力制
御部1はターゲット計算機4に割り込みを発生ずる。
It has a virtual input/output control section 1, an emulation processing section 2, an input/output control device 3, and a target computer 4, and the emulation processing section 2 has a command conversion processing section 21 and a status conversion processing section 22. The virtual input/output control unit 1 provides an interface for sending and receiving input/output access information between the target computer 4 and the emulation processing unit 2. When an access operation is performed, the command conversion processing unit 21 is started, and the command conversion processing unit 21 converts the input/output access information set in the virtual input/output control unit 1 into command information for the input/output control device 3 and executes the command conversion processing unit 21. The status conversion processing unit 22 is activated by an interrupt issued by the input/output control device 3, reads the command completion status, converts it to the status of target computer 4, and performs virtual input/output control. The virtual input/output controller 1 generates an interrupt to the target computer 4.

〔作 用] 木方式により、他のO3で動作する入出力制御装置を、
機械命令レベルでコマンド変換及びステータス変換を行
うことにより、O3に依存することなく入出力制御装置
の使用を可能とする。
[Function] The tree method allows input/output control devices that operate on other O3s to
By performing command conversion and status conversion at the machine instruction level, it is possible to use the input/output control device without depending on O3.

〔実施例〕〔Example〕

第3図は、実施例のシステム構成図であり、本図にてタ
ーゲット計算機4がフロッピーディスク装置31を接続
している入出力制御装置3に対しアクセス(データ及び
制御情報の読込み又は書込みに関する命令発行)を行う
場合を説明する。
FIG. 3 is a system configuration diagram of the embodiment. In this figure, the target computer 4 accesses the input/output control device 3 to which the floppy disk device 31 is connected (commands for reading or writing data and control information). This section explains the case when issuing (issuance).

制御プログラム41は、ターゲット計算機4の命令セッ
トアーキテクチャに基づいた機械命令等の制御情報を仮
想入出力制御部1のレジスタ部11ヘライト(ライトア
クセスと呼ぶ)し、又はレジスタ部11の情報をリード
(リードアクセスと呼ぶ)する。該ライトアクセス又は
該リードアクセスによって、エミュレート処理部2のコ
マンド変換処理部21が起動される。
The control program 41 writes control information such as machine instructions based on the instruction set architecture of the target computer 4 to the register section 11 of the virtual input/output control section 1 (referred to as write access), or reads information from the register section 11 (referred to as write access). read access). The command conversion processing section 21 of the emulation processing section 2 is activated by the write access or the read access.

コマンド変換処理部21は、ライトアクセスの場合、レ
ジスタ部11の制御情報を作業領域8のレジスタ領域8
1へ格納する。
In the case of write access, the command conversion processing unit 21 converts the control information of the register unit 11 into the register area 8 of the work area 8.
Store to 1.

コマンド変換処理部21は、レジスタ領域81を検索し
、該格納情報がドライブ情報であれば、フロッピーディ
スク装置31に対するドライブセレクト(駆動部選択)
、モータ制御及び関連の割り込み処理を行う。該格納情
報がコマンドの場合は、該コマンドを解析し、レジスタ
領域81のドライブ情報、トラック情報、セクタ情報、
データレジスタ情報を参照して入出力制御袋W3に対す
る命令発行用のパラメタを、コマンドパラメタ部82に
作成する。コマンド変換処理部21は、該コマンドパラ
メタ部82のコマンドパラメタを使用して実機である入
出力制御装置3に対しコマンドを発行する。
The command conversion processing unit 21 searches the register area 81, and if the stored information is drive information, performs drive selection (drive unit selection) for the floppy disk device 31.
, performs motor control and related interrupt processing. If the stored information is a command, the command is analyzed and the drive information, track information, sector information,
Parameters for issuing a command to the input/output control bag W3 are created in the command parameter section 82 by referring to the data register information. The command conversion processing section 21 uses the command parameters of the command parameter section 82 to issue a command to the input/output control device 3, which is an actual device.

レジスタ領域81の格納情報が、トラック、セクタ、デ
ータの情報設定であった場合は、該情報をレジスタ領域
81にそのまま保持する。
If the information stored in the register area 81 is track, sector, and data information settings, the information is held in the register area 81 as is.

ステータス変換処理部22は、入出力制御装置3に対す
るコマンド終了時の割り込みによって起動される。該コ
マンド終了側り込みによって起動されたステータス変換
処理部22は、入出力制御装置3のコマンド終了ステー
タス(状態情報)を終了ステータス部83に読込み、タ
ーゲット計算機4のステータス情報に変換し、レジスタ
領域81のドライブステータスレジスタと、ステータス
レジスタに格納し、仮想入出力制御部1に通知する。
The status conversion processing unit 22 is activated by an interrupt when a command to the input/output control device 3 ends. The status conversion processing unit 22 started by reading the command completion side reads the command completion status (status information) of the input/output control device 3 into the completion status unit 83, converts it into status information of the target computer 4, and stores it in the register area. The information is stored in the drive status register 81 and the status register, and is notified to the virtual input/output control unit 1.

該通知により、仮想入出力制御部1は制御プログラム4
1に割り込みを発生し、該割り込みによって制御プログ
ラム41は、仮想入出力制御部lに対しリードアクセス
(レジスタ部11を読む動作)を行う。該リードアクセ
スによりコマンド変換処理部21が起動されて、レジス
タ領域81のドライブステータスレジスタの稙又は、ス
テータスレジスタの値をレジスタ部11へ転送する。
As a result of the notification, the virtual input/output control unit 1 executes the control program 4.
1, and in response to the interrupt, the control program 41 performs read access (operation of reading the register section 11) to the virtual input/output control section 1. The command conversion processing unit 21 is activated by the read access, and transfers the value of the drive status register or the status register in the register area 81 to the register unit 11.

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

本発明は、制御方式の異なる入出力制御装置を機械命令
レベルで動作をシュミレートすることにより、計算機シ
ステムのO3に依存することなく入出力装置の使用が可
能となり、幅広い計算機システム資源の利用を、ソフト
ウェア資産及びハードウェア資産の面に於いて実現出来
る。
By simulating the operation of input/output control devices with different control methods at the machine command level, the present invention enables the use of input/output devices without depending on the O3 of the computer system, and enables the use of a wide range of computer system resources. This can be realized in terms of software assets and hardware assets.

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

第1図は本発明の原理ブロック図、 第2図は従来のシステム構成図、 第3図は実施例のシステム構成図、 図において、 ■は仮想入出力制御部、 1ルジスタ部、2はエミュレ
ート処理部、 21はコマンド変換処理部、 22はステータス変換処理部、 3.72.74は入出力制御装置、 31はフロッピーディスク装置、 4はターゲット計算機、 41.7は制御プログラム、6は計算機システム、61
は応用プログラム、 71.73は入出力制御プログラム、 8は作業領域、    81はレジスタ領域、82はコ
マンドパラメタ部、 83は終了ステータス部を表す。
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a conventional system configuration diagram, and Fig. 3 is a system configuration diagram of an embodiment. rate processing section, 21 is a command conversion processing section, 22 is a status conversion processing section, 3.72.74 is an input/output control device, 31 is a floppy disk device, 4 is a target computer, 41.7 is a control program, 6 is a computer system, 61
71 and 73 are application programs, 71 and 73 are input/output control programs, 8 is a work area, 81 is a register area, 82 is a command parameter section, and 83 is an end status section.

Claims (1)

【特許請求の範囲】 仮想入出力制御部(1)と、エミュレート処理部(2)
と、入出力制御装置(3)とターゲット計算機(4)と
を有し、 エミュレート処理部(2)は、コマンド変換処理部(2
1)と、ステータス変換処理部(22)を有し、 仮想入出力制御部(1)は、ターゲット計算機(4)と
エミュレート処理部(2)との間で行われる入出力アク
セス情報の授受のインタフェースを提供し、 ターゲット計算機(4)が仮想入出力制御部(1)に入
出力アクセス操作を行うと、コマンド変換処理部(21
)が起動され、 コマンド変換処理部(21)は、仮想入出力制御部(1
)に設定された入出力アクセス情報を入出力制御装置(
3)に対するコマンド情報に変換して該入出力制御装置
(3)に渡し、 ステータス変換処理部(22)は、入出力制御装置(3
)が発行する割り込みによって起動され、コマンド終了
ステータスを読込み、ターゲット計算機用(4)のステ
ータスに変換して仮想入出力制御部(1)へ通知し、 該仮想入出力制御部(1)はターゲット計算機(4)に
割り込みを発生することを特徴とする入出力制御装置の
エミュレート処理方式。
[Claims] Virtual input/output control unit (1) and emulation processing unit (2)
, an input/output control device (3), and a target computer (4), and the emulation processing section (2) has a command conversion processing section (2).
1) and a status conversion processing unit (22), and the virtual input/output control unit (1) is configured to exchange input/output access information between the target computer (4) and the emulation processing unit (2). When the target computer (4) performs an input/output access operation to the virtual input/output control unit (1), the command conversion processing unit (21
) is activated, and the command conversion processing unit (21) converts the virtual input/output control unit (1
) to transfer the input/output access information set to the input/output control device (
The status conversion processing unit (22) converts the information into command information for the input/output control device (3) and passes it to the input/output control device (3).
), reads the command completion status, converts it to the status for the target computer (4), and notifies it to the virtual input/output control unit (1). An emulation processing method for an input/output control device characterized by generating an interrupt in a computer (4).
JP2152217A 1990-06-11 1990-06-11 Emulation processing system for input/output controller Pending JPH0444146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2152217A JPH0444146A (en) 1990-06-11 1990-06-11 Emulation processing system for input/output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2152217A JPH0444146A (en) 1990-06-11 1990-06-11 Emulation processing system for input/output controller

Publications (1)

Publication Number Publication Date
JPH0444146A true JPH0444146A (en) 1992-02-13

Family

ID=15535639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2152217A Pending JPH0444146A (en) 1990-06-11 1990-06-11 Emulation processing system for input/output controller

Country Status (1)

Country Link
JP (1) JPH0444146A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007208148A (en) * 2006-02-03 2007-08-16 Ail Kk Semiconductor chip mounted substrate

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007208148A (en) * 2006-02-03 2007-08-16 Ail Kk Semiconductor chip mounted substrate

Similar Documents

Publication Publication Date Title
JP4563829B2 (en) Direct memory access control method, direct memory access control device, information processing system, program
JP2513024B2 (en) Extended storage address control method
JP2000112666A (en) Disk controller
JPS6097458A (en) Data transfer unit
JPH0444146A (en) Emulation processing system for input/output controller
JPH0567040A (en) Peripheral equipment control circuit
JP2527038B2 (en) Extended memory transfer control method
JPH0743635B2 (en) Semiconductor disk device
JP2861777B2 (en) Disk device and disk control microcomputer
JPH0727466B2 (en) Service processor Command processing method
JPH04171563A (en) Peripheral device control part
JPH06295217A (en) Keyboard control system for virtual computer
JPH01130218A (en) Simultaneous controller for plural auxiliary storage
JPH05334012A (en) Large capacity disk controller
JPH06202812A (en) Microcomputer for disk control
JPH0365735A (en) Vicarious execution system for diagnosis processing
JPH0216622A (en) External memory simulator
JPH01169551A (en) Extended storage transfer control system
JPH04343132A (en) Central processing unit
JPH02253345A (en) Input/output controller
JPH01263715A (en) Microdisk control system
JPH0916526A (en) Data processing system
JPH0689144A (en) Magnetic disk processor
JPH05324384A (en) Emulation system for input device
JPS6349942A (en) Arithmetic processing unit