JPS63255752A - Initial program loading system - Google Patents

Initial program loading system

Info

Publication number
JPS63255752A
JPS63255752A JP9126587A JP9126587A JPS63255752A JP S63255752 A JPS63255752 A JP S63255752A JP 9126587 A JP9126587 A JP 9126587A JP 9126587 A JP9126587 A JP 9126587A JP S63255752 A JPS63255752 A JP S63255752A
Authority
JP
Japan
Prior art keywords
input
initial program
output device
state
processing
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
JP9126587A
Other languages
Japanese (ja)
Inventor
Akihiko Ono
小野 陽彦
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9126587A priority Critical patent/JPS63255752A/en
Publication of JPS63255752A publication Critical patent/JPS63255752A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the initial program load processing, by loading an initial program from an input/output device after this device is set to the processing acceptable state at the time of requesting the execution of initial program load. CONSTITUTION:When a control command of initial program load execution request is given from a command input device 7 to a central processing unit 3, it is discriminated by the central processing unit 3 whether an input/output device 6 is in the processing acceptable state or not. If it is in the processing acceptable state, initial program load from the input/output device 6 to a main storage device 2 is executed, and a program and data stored in the input/output device 6 are stored in the main storage device 2. If the device 6 is in the processing unacceptable state, the central processing unit 3 waits for the input/ output device 6 to enter into the processing acceptable state; and when it enters into the processing acceptable state, this state is recognized by the interrupt processing and initial program load from the input/output device 6 to the main storage device 2 is executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は電子計算機システムにおける初期プログラム
ロード方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an initial program loading method in an electronic computer system.

〔従来の技術〕[Conventional technology]

第3図は従来の初期プログラムロード方式を採用した計
算機システムの構成を示すブロック図である。1は計算
機本体であり、この計算機本体1には、動作に必要な情
報(中央処理装置3で実行されるプログラムおよびデー
タや、入出力装置6から読み書きされるデータなど)を
格納する主記憶装置2と、所定の演算・制御(プログラ
ムの実行および割り込み処理など)を行う中央処理装置
3と、本体外部の入出力制御装置5などとデータ転送を
行うデータ転送装置4とが備えられている。
FIG. 3 is a block diagram showing the configuration of a computer system that employs the conventional initial program loading method. 1 is a computer main body, and this computer main body 1 includes a main memory that stores information necessary for operation (programs and data executed by the central processing unit 3, data read and written from the input/output device 6, etc.). 2, a central processing unit 3 that performs predetermined calculations and control (program execution, interrupt processing, etc.), and a data transfer device 4 that transfers data to an input/output control device 5 and the like external to the main body.

入出力制御装置5は入出力装置6を制御するもので、入
出力装置6は主記憶装置2に格納する情報(初期プログ
ラムロード時にはその対象となるデータ)を記憶した記
憶媒体を有し、情報の入出力を行うものである。コマン
ド入力装置7は計算機本体1の中央処理装置3に制御コ
マンドを人力するために使用されるものである。上記中
央処理装置3には入出力装置6からの初期プログラムの
ロードに対する処理を行う初期プログラムロード処理部
(以下IPI−処理部と称する)8が備えられている。
The input/output control device 5 controls the input/output device 6, and the input/output device 6 has a storage medium storing information to be stored in the main storage device 2 (data to be stored at the time of initial program loading). It performs input and output. The command input device 7 is used to manually input control commands to the central processing unit 3 of the computer main body 1. The central processing unit 3 is equipped with an initial program load processing section (hereinafter referred to as an IPI processing section) 8 that performs processing for loading an initial program from the input/output device 6.

次に、この従来の初期プログラムロード方式の動作を第
4図に示すフローチャートを参照して説明する。操作者
によりコマンド入力装置7から初期プログラムロードを
行うための制御コマンドが計算機本体1に与えられると
、中央処理装置3はTPL処理部8によりデータ転送装
置4および人出力制御装置5を介してデバイスである入
出力装置6の状態、つまりレディ状態(処理受付可能状
態)であるか否かを判断する(ステップSL。
Next, the operation of this conventional initial program loading method will be explained with reference to the flowchart shown in FIG. When an operator gives a control command to the computer main body 1 from the command input device 7 to load an initial program, the central processing unit 3 uses the TPL processing unit 8 to transfer the data to the device via the data transfer device 4 and the human output control device 5. It is determined whether the input/output device 6 is in a ready state (a state in which processing can be accepted) (step SL).

S2)。そして、レディ状態であれば、中央処理装置3
は入出力装置6の記憶媒体に記憶されているプログラム
およびデータを主記憶装W2ヘロートする初期プログラ
ムロード処理を実行する(ステップS3)。上記初期プ
ログラムロード(IPL)とは計算機システムの初期状
態において主記憶装置2にまだ実行するプログラム自体
が格納されていないときに、プログラムを実行するので
はなく中央処理装置2およびデータ転送装置4の機能を
使って、入出力装置6から主記憶装置2ヘプログラムお
よびデータを格納する処理のことである。上記ステップ
S3の処理後、中央処理装置3のIPL処理部8は初期
プログラムロードが正常に終了したか否かを判断しくス
テップS4)、正常に終了すると制御コマンドは終了し
、正常でないならば初期プログラムロードの不成功処理
を行って(ステップS5)、制御コマンドを終了する。
S2). If it is in the ready state, the central processing unit 3
executes an initial program load process to load the program and data stored in the storage medium of the input/output device 6 to the main memory W2 (step S3). The above-mentioned initial program load (IPL) is when the program to be executed is not yet stored in the main storage device 2 in the initial state of the computer system. This is the process of storing programs and data from the input/output device 6 to the main storage device 2 using the functions. After the processing in step S3, the IPL processing unit 8 of the central processing unit 3 determines whether or not the initial program loading has been completed normally (step S4). If the initial program loading has been completed normally, the control command is completed; The program load failure process is performed (step S5), and the control command is ended.

一方、ステップS2において入出力装置6がノット・レ
ディ状B(処理受付不可能状態)であると判断されると
、ステップs5に移り初期プログラムロードの不成功処
理を行って、制御コマンドを終了する。
On the other hand, if it is determined in step S2 that the input/output device 6 is in the not-ready state B (processing cannot be accepted), the process moves to step s5, performs initial program load failure processing, and ends the control command. .

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

以上説明したように従来の初期プログラムロー1・方式
は、入出力装置6の状態が処理受付可能状態であること
を確認してから初期プログラムロードのための制御コマ
ンドを実行せねばならず、自動で初期プログラムロード
を実行するときなどでは電源投入処理に要する時間がシ
ステムや入出力装置6のハードウェアなどに依存するの
で、該当の入出力装置6が処理受付可能状態になるタイ
ミングを見て初期プログラムロードの処理をしなければ
ならず、したがって自動初期プログラムロードの処理が
複雑化し、また、コマンド入力装置7から入出力装置6
の状態を知る手段が必要であるなどの問題点があった。
As explained above, in the conventional initial program load method, the control command for initial program loading must be executed after confirming that the input/output device 6 is ready for processing. When executing the initial program load, etc., the time required for power-on processing depends on the system and the hardware of the input/output device 6, so check the timing when the corresponding input/output device 6 becomes ready for processing. Therefore, the automatic initial program loading process becomes complicated.
There were problems such as the need for a means to know the status of the system.

この発明は上記のような問題点を解消するためになされ
たもので、入出力装置の状態とは無関係に初期プログラ
ムロード実行要求の制御コマンドを発行でき、システム
やデバイスなどに依存せずに初期プログラムロードの処
理を簡単に行うことができる初期プログラムロード方式
を提供することを目的とする。
This invention was made to solve the above-mentioned problems, and it is possible to issue a control command for requesting initial program loading regardless of the status of the input/output device, and to perform initial program loading without depending on the system or device. It is an object of the present invention to provide an initial program loading method that can easily perform program loading processing.

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

この発明に係る初期プログラムロード方式は、初期プロ
グラムロード実行要求の制御コマンドがコマンド入力装
置7から中央処理装置3へ与えられた時に、中央処理装
置3は入出力装置6の状態が処理受付可能状態であるか
否かを判断し、処理受付可能状態であれば入出力装置6
から主記憶装置2への初期プログラムロードを行い、処
理受付不可能状態であれば入出力装置6の状態が処理受
付可能状態になるのを待ち、処理受付可能状態になると
割り込み処理によりその状態を認識し、入出力装置6か
ら主記憶装置2への初期プログラムロードを行うもので
ある。
In the initial program load method according to the present invention, when a control command for requesting initial program load execution is given from the command input device 7 to the central processing unit 3, the central processing unit 3 changes the state of the input/output device 6 to a state ready for processing. If it is in a state where processing can be accepted, the input/output device 6
The initial program is loaded into the main storage device 2 from , and if it is in a state where it cannot accept processing, it waits until the state of the input/output device 6 becomes a state where it can accept processing, and when it becomes able to accept processing, it interrupts that state by interrupt processing. The program is recognized and the initial program is loaded from the input/output device 6 to the main storage device 2.

〔作用〕[Effect]

中央処理装置3は、コマンド入力装置7からの制御コマ
ンドに応答して、入出力装置6が処理受付可能状態であ
るか否かを判断する。そこで、処理受付可能状態であれ
ば初期プログラムロードが実行され、入出力装置6に記
憶されたプログラムおよびデータは主記憶装置2へ格納
される。一方、入出力装置6が処理受付不可能状態であ
れば、処理受付可能状態になるまで待ち、処理受付可能
状態になると割り込み処理が発生し、その割り込み処理
により中央処理装置3は上記初期プログラムロードを実
行開始する。
In response to the control command from the command input device 7, the central processing unit 3 determines whether the input/output device 6 is ready for processing. Therefore, if the process is ready, an initial program load is executed, and the program and data stored in the input/output device 6 are stored in the main storage device 2. On the other hand, if the input/output device 6 is in a state in which it cannot accept processing, it waits until it becomes in a state in which it can accept processing, and when it becomes in a state in which it can accept processing, an interrupt processing occurs, and by the interrupt processing, the central processing unit 3 loads the above-mentioned initial program. Start execution.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図はこの発明の実施例に係る初期プログラムロード
方式を採用した計算機システムの構成を示すブロック図
である。第1図において、第3図に示す構成要素に対応
するものには同一の参照符を付し、その説明を省略する
。第1図に示す21は、入出力装置6の状態がレディ状
態になったことを、入出力制御装置5およびデータ転送
装置4を介して中央処理装置3のIPL処理部8に知ら
せるためのレディ伝達機構である。
FIG. 1 is a block diagram showing the configuration of a computer system employing an initial program loading method according to an embodiment of the present invention. In FIG. 1, components corresponding to those shown in FIG. 3 are given the same reference numerals, and their explanations will be omitted. Reference numeral 21 shown in FIG. 1 indicates a ready state for notifying the IPL processing section 8 of the central processing unit 3 via the input/output control device 5 and data transfer device 4 that the state of the input/output device 6 has become ready. It is a transmission mechanism.

次に、この実施例の動作を第2図に示すフローチャート
を参照して説明する。第2図において、第4図に示す処
理に対応するものには同一の参照符を付す。操作者によ
りコマンド入力装置7から初期プログラムロード実行要
求の制御コマンドが計算機本体1に与えられると、中央
処理装置3はIPL処理部8によりデータ転送装置4お
よび入出力制御装置5を介して入出力装置6がレディ状
態であるか否かを判断する(ステップSl、S2)。
Next, the operation of this embodiment will be explained with reference to the flowchart shown in FIG. In FIG. 2, parts corresponding to the processes shown in FIG. 4 are given the same reference numerals. When an operator issues a control command to request initial program load execution from the command input device 7 to the computer main body 1, the central processing unit 3 performs input/output processing via the data transfer device 4 and the input/output control device 5 by the IPL processing section 8. It is determined whether the device 6 is in a ready state (steps Sl, S2).

そして、レディ状態であれば、中央処理装置3は入出力
装置6の記憶媒体に記憶されているプログラムおよびデ
ータを主記憶装置2ヘロードする初期プログラムロード
処理を実行する(ステップ33)。その後、中央処理装
置3のTPI、処理部8は初期プログラムロードが正常
に終了したか否かを判断しくステップS4)、正常に終
了すると制御コマンドを終了し、正常でないならば初期
プログラムロードの不成功処理を行って(ステップS5
)、初期プログラムロート実行要求の制?ff1lコマ
ンドを終了する。
If it is in the ready state, the central processing unit 3 executes an initial program load process of loading the program and data stored in the storage medium of the input/output device 6 into the main storage device 2 (step 33). After that, the TPI of the central processing unit 3 and the processing unit 8 determine whether or not the initial program load has ended normally (step S4). If it has ended normally, the control command is ended, and if not, the initial program load has failed. Perform success processing (step S5)
), control of initial program rotation execution request? End the ff1l command.

一方、ステップS2において、入出力装置6の状態がノ
ット・レディ状態であると判断されると、ステップS6
に移り、中央処理装置3のIPL処理部8は入出力装置
6がレディ状態になるのを待つ。すなわち、中央処理装
置3のTPL処理部8はレディ割り込み待ちを行い、入
出力装置6がレディ状態になるとレディ伝達機構21は
このレディ状態を中央処理装置3のIPL処理部8に知
らせる。これにより中央処理装置3のIPL処理部8は
入出力装置6がレディ状態になったことを認識し、ステ
ップS3に移り入出力装置6から主記憶装置2への初期
プログラムロードを行い、その後はステップS4.S5
の処理を行い、初期プログラムロード実行要求の制御コ
マンドを終了する。
On the other hand, if it is determined in step S2 that the state of the input/output device 6 is not ready, step S6
Then, the IPL processing section 8 of the central processing unit 3 waits for the input/output device 6 to become ready. That is, the TPL processing section 8 of the central processing unit 3 waits for a ready interrupt, and when the input/output device 6 becomes ready, the ready transmission mechanism 21 notifies the IPL processing section 8 of the central processing unit 3 of this ready state. As a result, the IPL processing unit 8 of the central processing unit 3 recognizes that the input/output device 6 is in the ready state, moves to step S3, performs initial program loading from the input/output device 6 to the main storage device 2, and thereafter Step S4. S5
The control command for the initial program load execution request is terminated.

なお、上記実施例では中央処理装置3.データ転送装置
4の通常の割り込み処理とは別にレディ状態の割り込み
処理を行うためのレディ伝達機構21を設けたが、中央
処理装置3の制御によっては通常の割り込み処理とレデ
ィ状態の割り込み処理とを行うこともできる。
In the above embodiment, the central processing unit 3. A ready transmission mechanism 21 is provided to perform ready state interrupt processing separately from the normal interrupt processing of the data transfer device 4, but depending on the control of the central processing unit 3, normal interrupt processing and ready state interrupt processing can be performed. You can also do this.

〔発明の効果] 以上のように本発明によれば、初期プログラムロード実
行要求の制御コマンドがコマンド入力装置から中央処理
装置へ与えられた時に、中央処理装置は入出力装置の状
態が処理受付可能状態であるか否かを判断し、処理受付
可能状態であれば入出力装置から上記j12装置への初
期プログラムロードを行い、処理受付不可能状態であれ
ば入出力装置の状態が処理受付可能状態になるのを待ち
、処理受付可能状態になると割り込み処理によりその状
態を認識し、入出力装置から主記憶装置への初期プログ
ラムロードを行うようにしたので、入出力装置の状態と
は無関係に初期プログラムロード実行要求の制御コマン
ドを発行することができ、したがってシステムやデバイ
スなどに依存せずに初期プログラムロードの処理を節単
に行うことができるという効果が得られ、特に計算機シ
ステムの自動立とげ処理などで初期プログラムロードを
行う場合に効果的である。
[Effects of the Invention] As described above, according to the present invention, when the control command for requesting initial program load execution is given from the command input device to the central processing unit, the central processing unit changes the state of the input/output device to be ready for processing. If it is in a state where processing can be accepted, the initial program is loaded from the input/output device to the above j12 device, and if it is in a state where processing cannot be accepted, the state of the input/output device is in a state where processing can be accepted. When the state becomes ready for processing, the state is recognized by interrupt processing and the initial program is loaded from the input/output device to the main storage. It is possible to issue a control command for requesting program load execution, which has the effect of simplifying the initial program load process without depending on the system or device. This is effective when performing an initial program load, etc.

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

第1図はこの発明の一実施例に係る初期プログラムロー
ド方式を採用した計算機システムの構成を示すブロック
図、第2図はこの実施例の動作を説明するためのフロー
チャート、第3図は従来の初期プログラムロード方式を
採用した計算機システムの構成を示すブロック図、第4
図はこの従来例の動作を説明するためのフローチャート
である。 ■・・・計算機本体、2・・・主記憶装置、3・・・中
央処理装置、6・・・入出力装置、7・・・コマンド入
力装置、8・・・IPL処理部、21・・・レディ伝達
機構。 代理人  大  岩  増  雄(ほか2名)牟1図 第2回 第3図
FIG. 1 is a block diagram showing the configuration of a computer system that employs an initial program load method according to an embodiment of the present invention, FIG. 2 is a flowchart for explaining the operation of this embodiment, and FIG. 3 is a conventional Block diagram showing the configuration of a computer system adopting the initial program load method, No. 4
The figure is a flowchart for explaining the operation of this conventional example. ■...Computer body, 2...Main storage, 3...Central processing unit, 6...I/O device, 7...Command input device, 8...IPL processing section, 21...・Ready transmission mechanism. Agent Masuo Oiwa (and 2 others) Figure 1, Figure 2, Figure 3

Claims (1)

【特許請求の範囲】[Claims] 所定の演算・制御を行う中央処理装置と、動作に必要な
情報を格納する主記憶装置と、この主記憶装置に格納す
る情報を記憶した記憶媒体を有する入出力装置と、制御
コマンドを上記中央処理装置に入力するためのコマンド
入力装置とを備えた計算機システムにおいて、初期プロ
グラムロード実行要求の制御コマンドが上記コマンド入
力装置から上記中央処理装置へ与えられた時に、上記中
央処理装置は、上記入出力装置の状態が処理受付可能状
態であるか否かを判断し、処理受付可能状態であれば入
出力装置から上記主記憶装置への初期プログラムロード
を行い、処理受付不可能状態であれば入出力装置の状態
が処理受付可能状態になるのを待ち、処理受付可能状態
になると割り込み処理によりその状態を認識し、上記入
出力装置から上記主記憶装置への初期プログラムロード
を行うことを特徴とする初期プログラムロード方式。
A central processing unit that performs predetermined calculations and control, a main storage device that stores information necessary for operation, an input/output device that has a storage medium that stores information stored in this main storage device, and a central processing unit that sends control commands to the central processing unit. In a computer system equipped with a command input device for inputting input to a processing device, when a control command for an initial program load execution request is given from the command input device to the central processing unit, the central processing device It is determined whether the output device is in a state where processing can be accepted, and if it is in a state where processing can be accepted, the initial program is loaded from the input/output device to the main storage device, and if it is not in a state where processing can be accepted, the input/output device is loaded. The present invention is characterized by waiting for the state of the output device to become ready for processing, and when the state becomes ready for processing, the state is recognized by interrupt processing, and an initial program is loaded from the input/output device to the main storage device. Initial program loading method.
JP9126587A 1987-04-14 1987-04-14 Initial program loading system Pending JPS63255752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9126587A JPS63255752A (en) 1987-04-14 1987-04-14 Initial program loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9126587A JPS63255752A (en) 1987-04-14 1987-04-14 Initial program loading system

Publications (1)

Publication Number Publication Date
JPS63255752A true JPS63255752A (en) 1988-10-24

Family

ID=14021592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9126587A Pending JPS63255752A (en) 1987-04-14 1987-04-14 Initial program loading system

Country Status (1)

Country Link
JP (1) JPS63255752A (en)

Similar Documents

Publication Publication Date Title
EP0559222A2 (en) Improved method for loading programs
US5964890A (en) System call issue method and debug system
JPS63255752A (en) Initial program loading system
JP2846760B2 (en) Programmable controller
JP2584903B2 (en) External device control method
JPS6212538B2 (en)
JPH0317760A (en) Data write confirming system
JPS6220584B2 (en)
JP2523167B2 (en) Command chain controller
JPS6111867A (en) Processing method of abnormality in interface control
JPS6020771B2 (en) Micro diagnosis method
JP2752818B2 (en) Data I / O asynchronous processing method
JPS6160468B2 (en)
JPS5941213B2 (en) Test program loading method
JPH02280251A (en) System for loading initial program
JPH01319854A (en) Loosely-coupled multiprocessor testing system
JPS60254245A (en) False fault setting system
JPH06342372A (en) Method and device for initial program loading
JPS63254538A (en) Program debugging device
JPH04141756A (en) Peripheral device control system
JPH03158946A (en) Processor system which permits retry control of data transfer
JPH053033B2 (en)
JPS6270942A (en) Test system for information processor
JPS628830B2 (en)
JPH02287731A (en) Character output device