[go: up one dir, main page]

JPH063581B2 - Micro program storage method - Google Patents

Micro program storage method

Info

Publication number
JPH063581B2
JPH063581B2 JP3875385A JP3875385A JPH063581B2 JP H063581 B2 JPH063581 B2 JP H063581B2 JP 3875385 A JP3875385 A JP 3875385A JP 3875385 A JP3875385 A JP 3875385A JP H063581 B2 JPH063581 B2 JP H063581B2
Authority
JP
Japan
Prior art keywords
microprogram
file
storage device
magnetic disk
disk 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.)
Expired - Fee Related
Application number
JP3875385A
Other languages
Japanese (ja)
Other versions
JPS61199127A (en
Inventor
茂美 足立
恵一 勇
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP3875385A priority Critical patent/JPH063581B2/en
Publication of JPS61199127A publication Critical patent/JPS61199127A/en
Publication of JPH063581B2 publication Critical patent/JPH063581B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/24Loading of the microprogram

Landscapes

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

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、制御記憶装置にロードされるべきマイクロプ
ログラムを、磁気ディスク装置等の外部記憶装置内に格
納する方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of storing a microprogram to be loaded in a control storage device in an external storage device such as a magnetic disk device.

〔発明の背景〕[Background of the Invention]

近年、データ処理システムの高機能化、仕様変更に対す
る柔軟性が要求されるに従って、小型計算機システムに
おいても、マイクロプログラムを格納する制御記憶装置
の大部分を、書換え可能なRAMにより構成する傾向に
ある。
In recent years, as a data processing system is required to have higher functionality and flexibility to change specifications, even in a small computer system, most of the control storage device for storing a micro program tends to be configured by a rewritable RAM. .

制御記憶装置をRAMにより構成する場合に問題となる
のは、制御記憶装置のRAMにロードするべきマイクロ
プログラムを外部記憶装置にどのように格納し、どのよ
うにロードするかという点にあり、種々の方式が考案さ
れている。特開昭58-208850ではサービスプロセッサを
用い、サービスプロセッサの外部記憶装置内にマイクロ
プログラムを格納しておき、制御記憶にマイクロプログ
ラムをロードする1手法が開示されている。このような
手法を用いた1例は第6図に示されるようなものであ
る。
A problem when the control storage device is configured by the RAM is how to store the microprogram to be loaded in the RAM of the control storage device in the external storage device and how to load it. Has been devised. JP-A-58-208850 discloses a method of using a service processor, storing the microprogram in an external storage device of the service processor, and loading the microprogram in the control storage. An example of using such a technique is as shown in FIG.

第6図において、1はサービスプロセッサであり、サー
ビスプロセッサ1内の中央処理装置12が、主中央処理装
置3の制御記憶装置2のRAM部22にマイクロプログラ
ムをロードする。本システムにおいては、システムプロ
グラムは、磁気ディスク装置のような外部記憶装置5内
に格納され、主中央処理装置3のマイクロプログラムは
サービスプロセッサ1内のフロッピーディスク装置のよ
うな外部記憶装置13に格納されている。サービスプロセ
ッサ1には、外部記憶装置13を制御するプログラムが格
納されるリードオンリーメモリ(ROM)11が接続され
ている。サービスプロセッサ1は、補助記憶装置13から
主記憶装置4へのデータ転送が可能であり、主記憶装置
4からのデータの読み出し、また、制御記憶装置2のR
AM部22へデータ書込みが可能である。
In FIG. 6, reference numeral 1 is a service processor, and the central processing unit 12 in the service processor 1 loads a microprogram into the RAM section 22 of the control storage unit 2 of the main central processing unit 3. In this system, the system program is stored in an external storage device 5 such as a magnetic disk device, and the microprogram of the main central processing unit 3 is stored in an external storage device 13 such as a floppy disk device in the service processor 1. Has been done. The service processor 1 is connected to a read only memory (ROM) 11 in which a program for controlling the external storage device 13 is stored. The service processor 1 can transfer data from the auxiliary storage device 13 to the main storage device 4, read data from the main storage device 4, and read data from the R of the control storage device 2.
Data can be written to the AM section 22.

この構成において、主中央処理装置3の制御記憶装置R
AM部22へのマイクロプログラムのロードは、サービス
プロセッサ1が一旦、外部記憶装置13内マイクロプログ
ラムを主記憶装置4へ読み出し、主記憶装置4から、制
御記憶装置2へマイクロプログラムのデータを転送する
ことにより実行される。この方式は、サービスプロセッ
サ1及びシステムプログラムを格納する磁気ディスク装
置5とは独立に、サービスプロセッサ専用のマイクロプ
ログラム格納用の外部記憶装置13を持つ必要がある。
In this configuration, the control storage device R of the main central processing unit 3
To load the microprogram into the AM unit 22, the service processor 1 once reads the microprogram in the external storage device 13 into the main storage device 4, and transfers the microprogram data from the main storage device 4 to the control storage device 2. It is executed by In this system, it is necessary to have an external storage device 13 for storing a microprogram dedicated to the service processor, independently of the service processor 1 and the magnetic disk device 5 storing the system program.

ハードウェア専用の外部記憶装置13を用いない場合に
は、システムプログラムを格納する磁気ディスク装置5
内に、マイクロプログラムのファイルを格納する方法が
考えられる。この場合磁気ディスク装置5内の特定アド
レスにハードウェア専用のファイル領域を割当て、やは
りサービスプロセッサあるじは、サービスプロセッサが
ない場合には、中央処理装置3の制御記憶ROM部21の
マイクロプログラムにより、磁気ディスク装置5内のマ
イクロプログラムを主記憶装置4に読出し、制御記憶R
AM22にロードする。しかしながら、この方式では、磁
気ディスク装置5内の特定アドレスにマイクロプログラ
ム格納用ファイルを割当てる為、磁気ディスク装置5内
のファイルアロケーションがハードウェアに依存するこ
とになり、好ましいものではない。なぜならば、シリー
ズ化された同一アーキテクチャを有する複数の種類の計
算機システムで、同一のシステムプログラムを使用する
場合、計算機の種類により、このハードウェア専用のフ
ァイルの容量は変化することが考えられ、システム上の
問題となりうるからである。また、使用する磁気ディス
ク装置5の種類は一般には複数になることが予想され、
この時、マイクロプログラムローダは、磁気ディスク装
置5のシリンダ,ヘッド,セクタ数といった、各磁気デ
ィスク装置個有の仕様を考慮する必要があり複雑なもの
となる。このような場合には、中央処理装置3の制御記
憶ROM部の小容量のマイクロプログラムでマイクロプ
ログラム・ローダを作成することは困難であり、一般に
サービスプロセッサが必須となる。
When the external storage device 13 dedicated to hardware is not used, the magnetic disk device 5 for storing the system program
A method of storing the file of the microprogram can be considered. In this case, a file area dedicated to hardware is allocated to a specific address in the magnetic disk device 5, and if there is no service processor or service processor, a magnetic program is generated by a microprogram in the control storage ROM section 21 of the central processing unit 3. The microprogram in the disk device 5 is read into the main storage device 4 and the control storage R
Load it on AM22. However, in this method, the file for storing the microprogram is assigned to a specific address in the magnetic disk device 5, so that the file allocation in the magnetic disk device 5 depends on the hardware, which is not preferable. This is because, when using the same system program in multiple types of computer systems that have the same architecture in a series, the capacity of this dedicated hardware file may change depending on the type of computer. This can be a problem above. Moreover, it is expected that there will generally be a plurality of types of magnetic disk devices 5 to be used,
At this time, the micro program loader needs to consider the specifications of each magnetic disk device, such as the number of cylinders, heads, and sectors of the magnetic disk device 5, which is complicated. In such a case, it is difficult to create a microprogram loader with a small capacity microprogram in the control storage ROM section of the central processing unit 3, and a service processor is generally required.

磁気ディスク装置5内にマイクロプログラムファイルを
持つ場合、ファイルの割当てを特定のアドレスに固定せ
ず、マイクロプログラムのファイルをシステムプログラ
ム内の任意の一つのファイルとして扱い、システムプロ
グラムのユーティリティプログラムを利用してファイル
をアロケーションして格納することも可能である。
When the magnetic disk device 5 has a micro program file, the file allocation is not fixed to a specific address, the micro program file is treated as any one file in the system program, and the utility program of the system program is used. It is also possible to allocate and store the file.

但し、この場合にも、マイクロプログラムローダは、シ
ステムプログラムが作成した磁気ディスク内のディレク
トリを検索し、マイクロプログラム格納ファイルのアド
レスを知り、読出すという手順を踏まねばならない。更
に、通常、ディレクトリ内に格納されているファイルア
ドレスは、磁気ディスク装置のハードウェア仕様に依存
することを避ける為、論理的なアドレスで格納されてい
る為、論理アドレスから磁気ディスク装置の物理アドレ
スに変換する必要がある。これらの処理は、やはり、複
雑で、中央処理装置3の制御記憶ROM部の小容量のマ
イクロプログラムのみで処理するのは困難であり、サー
ビスプロセッサが必須となる。
However, also in this case, the micro program loader must follow the procedure of searching the directory in the magnetic disk created by the system program, knowing the address of the micro program storing file, and reading it. Further, normally, the file address stored in the directory is stored as a logical address in order to avoid depending on the hardware specifications of the magnetic disk device. Therefore, from the logical address to the physical address of the magnetic disk device. Need to be converted to. These processes are still complicated, and it is difficult to process them only with a small-capacity microprogram in the control storage ROM section of the central processing unit 3, and a service processor is essential.

〔発明の目的〕[Object of the Invention]

本発明の目的は、制御記憶へのマイクロプログラムロー
ドを、比較的小容量の制御記憶内のマイクロプログラム
のみで、システムプログラムを格納する外部記憶装置内
に格納されている任意のアドレスにあるマイクロプログ
ラムファイルより実行できる方式を提供することにあ
る。
An object of the present invention is to load a microprogram into a control memory only with a microprogram in a control memory having a relatively small capacity, and to use a microprogram at an arbitrary address stored in an external storage device for storing a system program. It is to provide a method that can be executed from a file.

〔発明の概要〕[Outline of Invention]

本発明は制御記憶装置に格納されるマイクロプログラム
を外部記憶装置内の1つのファイルとして格納し、この
ファイルの格納アドレスを、この外部記憶装置内の固定
アドレスに格納しておくことを特徴とする。
The present invention is characterized in that the microprogram stored in the control storage device is stored as one file in the external storage device, and the storage address of this file is stored in a fixed address in this external storage device. .

〔発明の実施例〕Example of Invention

本発明では、システムプログラムを格納する外部記憶装
置である磁気ディスク装置内の1つのファイルとして、
制御記憶装置に格納するマイクロプログラム用ファイル
を作成し、マイクロプログラムを格納する。マイクロプ
ログラムを格納するファイルのアロケーション及び格納
は、システムプログラムのユーティリティである、ファ
イルアロケータ,ファイルコピーを用いることができ
る。ファイルのコピーは、別の外部記憶装置(フロッピ
ーディスク装置)から行う。マイクロプログラム格納
後、アドレス情報生成プログラムを起動する。
In the present invention, as one file in a magnetic disk device which is an external storage device for storing a system program,
A microprogram file to be stored in the control storage device is created and the microprogram is stored. For allocating and storing a file that stores a microprogram, a file allocator or file copy that is a utility of a system program can be used. Files are copied from another external storage device (floppy disk device). After storing the microprogram, the address information generation program is started.

該プログラムは、外部記憶装置(磁気ディスク装置)内
のマイクロプログラムファイルの格納アドレスを調べ、
これを当該外部記憶装置の仕様に応じて、その物理アド
レス、即ちシリンダ,ヘッド,セクタアドレスに変換す
る。更に当該ファイルが複数のトラックにまたがる場合
には、通常、1回のリード起動で、読み出すことはでき
ないためトラック単位に、そのトラックのアドレスとそ
のトラック内のマイクロプログラムファイルの占めるセ
クタ数を算出し複数のアドレス情報ブロックを作成す
る。こうして作成されたアドレス情報ブロックは、当該
外部記憶装置(磁気ディスク装置)内の通常先頭(0シ
リンダ,0ヘッド,0セクタ)から割当てられているシ
ステムディレクトリ内の固定アドレスに格納される。以
上の動作により、アドレス情報生成プログラムは終了す
る。
The program checks the storage address of the microprogram file in the external storage device (magnetic disk device),
This is converted into its physical address, that is, the cylinder, head, and sector address according to the specifications of the external storage device. Further, when the file is spread over a plurality of tracks, it is usually impossible to read by one read start, so the address of that track and the number of sectors occupied by the microprogram file in that track are calculated for each track. Create multiple address information blocks. The address information block thus created is stored at a fixed address in the system directory that is normally allocated from the beginning (0 cylinder, 0 head, 0 sector) in the external storage device (magnetic disk device). With the above operation, the address information generation program ends.

以上の処理により、マイクロプログラムファイルは、シ
ステムプログラムを格納する外部記憶装置(磁気ディス
ク装置)内の、一つの任意のファイルとして格納される
が、そのファイルに対するアクセスは、システムディレ
クトリの固定アドレスを読み込むだけで、アクセス情報
を得ることができ、非常に簡単に行うことができる。更
にシステムディレクトリ内の固定アドレスを、当該外部
記憶装置の0シリンダ,0トラック内の特定のセクタに
すれば、外部記憶装置(磁気ディスク装置)の仕様によ
って異るシリンダ数,ヘッド数,セクタ数を意識する必
要はなくなる。又、通常、0シリンダ,0トラック内に
1セクタ程度の未使用エリアを見いだし、上記アクセス
情報格納の為に用いることは、困難なことではない。
Through the above processing, the microprogram file is stored as one arbitrary file in the external storage device (magnetic disk device) that stores the system program. Access to that file reads the fixed address of the system directory. You can get access information just by doing it very easily. Further, if the fixed address in the system directory is set to a specific sector in 0 cylinders and 0 tracks of the external storage device, the number of cylinders, heads, and sectors that differ depending on the specifications of the external storage device (magnetic disk device) can be obtained. There is no need to be conscious. It is not difficult to find an unused area of about 1 sector in 0 cylinders and 0 tracks and use it for storing the access information.

このような固定アドレスのマイクロプログラムファイル
に対するアクセス情報ブロックを持つことにより、マイ
クロプログラムファイルへのアクセスはマイクロプログ
ラムファイルが格納される外部記憶装置(磁気ディスク
装置)の容量に関する仕様を意識する必要がなく、簡単
に行うことができる為、制御記憶ROM部の比較的わず
かなステップ数のマイクロプログラムにより実行可能と
なる。
By having an access information block for a microprogram file with such a fixed address, access to the microprogram file does not need to be conscious of the specifications regarding the capacity of the external storage device (magnetic disk device) in which the microprogram file is stored. Since it can be easily performed, it can be executed by a microprogram having a relatively small number of steps in the control storage ROM section.

以下、本発明の一実施例を図をもちいて説明する。第1
図は本発明に係る実施例の処理装置構成図である。
An embodiment of the present invention will be described below with reference to the drawings. First
FIG. 1 is a block diagram of a processing apparatus according to an embodiment of the present invention.

3は中央処理装置,4は主記憶装置,21はリードオンリ
ーメモリ(ROM)で構成される制御記憶装置であり、
22は書かえ可能なメモリ(RAM)で構成される制御記
憶装置である。5,6は外部記憶装置であり、5はシステ
ムプログラムが格納される磁気ディスク装置,6はフロ
ッピーディスク装置であり、磁気ディスク装置5へのシ
ステムプログラム,マイクロプログラムファイルをコピ
ーするのに用い、4,21,22,5,6は、全て中央処理
装置に接続され、制御記憶ROM部21内のマイクロプロ
グラムの制御により、磁気ディスク装置5,フロッピー
ディスク装置6から、主記憶装置4へのデータ転送を行
うことができる。又、主記憶装置4から制御記憶RAM
部22へデータ転送する機能を持っている。
Reference numeral 3 is a central processing unit, 4 is a main storage device, 21 is a control storage device including a read-only memory (ROM),
Reference numeral 22 is a control storage device composed of a writable memory (RAM). Reference numerals 5 and 6 are external storage devices, 5 is a magnetic disk device for storing a system program, and 6 is a floppy disk device, which is used to copy the system program and the micro program file to the magnetic disk device 4. , 21, 22, 5, 6 are all connected to a central processing unit, and data transfer from the magnetic disk unit 5 and the floppy disk unit 6 to the main memory unit 4 is performed under the control of a microprogram in the control storage ROM section 21. It can be performed. In addition, from the main storage device 4 to the control storage RAM
It has a function of transferring data to the section 22.

本システムのIPL(イニシャルプログラムロード)
は、磁気ディスク装置5,フロッピーディスク6のいず
れからか行うことができ、中央処理装置3の操作パネル
スイッチで指定することができる。システム生成時に
は、磁気ディスク5にプログラムが存在せず、システム
生成時、フロッピーディスク装置6から磁気ディスク装
置5へロードする。一旦、システム生成により磁気ディ
スク装置5へロードされていると、以後、磁気ディスク
装置5からIPLされる。これについて以下説明する。
IPL (initial program load) of this system
Can be performed from either the magnetic disk device 5 or the floppy disk 6, and can be designated by the operation panel switch of the central processing unit 3. The program does not exist on the magnetic disk 5 at the time of system generation, and is loaded from the floppy disk device 6 to the magnetic disk device 5 at the time of system generation. Once the magnetic disk device 5 is loaded by the system generation, the magnetic disk device 5 thereafter performs an IPL. This will be described below.

システム生成時、一般には磁気ディスク装置5内には、
システムプログラム,マイクロプログラムのファイルは
まだ作成されておらず、存在しない。この時は、制御記
憶ROM21のマイクロプログラムにより、フロッピーデ
ィスク装置6より、制御記憶RAM22へロードするマイ
クロプログラムが、主記憶装置4へ読み込まれ、制御記
憶RAM22にロードされることにより、マイクロプログ
ラムロードは完了する。
When the system is created, the magnetic disk device 5 generally has
The system program and micro program files have not been created yet and do not exist. At this time, the microprogram loaded in the control storage RAM 22 from the floppy disk device 6 is read into the main storage device 4 by the microprogram stored in the control storage ROM 21 and loaded into the control storage RAM 22 to load the microprogram. Complete.

この時用いるフロッピーディスク媒体は、マイクロプロ
グラムロードを行う為の専用媒体として作成され、容易
にマイクロプログラムファイルにアクセスできる形でフ
ァイルがアロケートされている。
The floppy disk medium used at this time is created as a dedicated medium for loading the microprogram, and the file is allocated so that the microprogram file can be easily accessed.

フロッピーディスク装置6からのマイクロプログラムロ
ード完了状態となると、フロッピーディスク装置6から
磁気ディスク装置5へシステムプログラムのロードが行
われ、ロード完了後、磁気ディスク装置5からのIPL
が可能となる。
When the microprogram loading from the floppy disk device 6 is completed, the system program is loaded from the floppy disk device 6 to the magnetic disk device 5, and after the loading is completed, the IPL from the magnetic disk device 5 is completed.
Is possible.

但し、この状態では、制御記憶RAM22にマイクロプロ
グラムはロードされているがまだ、磁気ディスク装置5
内に、マイクロプログラムファイルは作成されていない
為、磁気ディスク装置5からのマイクロプログラムロー
ドを行うことはできない。
However, in this state, although the microprogram is loaded in the control storage RAM 22, the magnetic disk device 5 is not yet loaded.
Since the micro program file is not created therein, the micro program cannot be loaded from the magnetic disk device 5.

磁気ディスク装置5へのマイクロプログラムファイル格
納と、マイクロプログラムファイルアクセスの為のアド
レス情報作成の手順は第4図に示される。
FIG. 4 shows a procedure for storing the microprogram file in the magnetic disk device 5 and creating address information for accessing the microprogram file.

第1のステップ101では、システムプログラムのユーテ
ィリティプログラムにより、マイクロプログラム格納用
のファイルのアロケートを行う。第2のステップ102で
は、システムプログラムのユーティリティプログラムに
より、フロッピーディスク装置6内のマイクロプログラ
ムファイルを第1のステップでアロケートされた磁気デ
ィスク装置5内のファイルにコピーを行う。第1,2の
ステップでは、マイクロプログラム格納用ファイルをハ
ードウェア専用の特別のファイルとして扱うことはな
く、システムプログラムが扱う一般のファイルとして作
成される。第3のステップ103では、アドレス情報生成
プログラムが、磁気ディスク装置5内のマイクロプログ
ラムファイル先頭アドレスとファイル容量から、マイク
ロプログラム格納アドレス情報を算出し、システムディ
レクトリ内の固定アドレスにそのアドレス情報を書き込
む。本実施例では、固定アドレスは、0シリンダ,0ヘ
ッド,18セクタとし、このセクタはマイクロプログラム
格納アドレス情報を格納する専用のセクタとして確保さ
れる。
In the first step 101, a utility program of a system program allocates a file for storing a micro program. In the second step 102, the utility program of the system program copies the microprogram file in the floppy disk device 6 to the file in the magnetic disk device 5 allocated in the first step. In the first and second steps, the microprogram storage file is not treated as a special file dedicated to hardware, but is created as a general file handled by the system program. In the third step 103, the address information generation program calculates the microprogram storage address information from the microprogram file start address and the file capacity in the magnetic disk device 5, and writes the address information to a fixed address in the system directory. . In this embodiment, the fixed address is 0 cylinder, 0 head, 18 sectors, and this sector is reserved as a dedicated sector for storing microprogram storage address information.

第3のステップについては、第2図,第3図を用いて詳
細を説明する。
Details of the third step will be described with reference to FIGS. 2 and 3.

第2図は磁気ディスク装置5内のファイル割当ての様子
を示す図である。
FIG. 2 is a diagram showing how files are allocated in the magnetic disk device 5.

0シリンダ,0ヘッド,0セクタから始まるいくつかの
トラックは、システムディレクトリとして割当てられて
いる。その中で0シリンダ,0ヘッド,0セくタ52はブ
ートストラッププログラムが格納される領域であり、0
シリンダ,0ヘッド,18セクタ51はマイクロプログラム
格納アドレス情報が格納される領域として割当てられて
いる。
Some tracks starting at 0 cylinder, 0 head, 0 sector are assigned as system directories. Among them, 0 cylinder, 0 head, and 0 sector 52 are areas where the bootstrap program is stored.
The cylinder, 0 head, and 18 sectors 51 are assigned as areas for storing microprogram storage address information.

第3図は18セクタに格納される情報の内容を示すもので
あり、アドレス情報生成プログラムにより生成される。
アドレス情報生成プログラムは、起動されると、システ
ムディレクトリ内のマイクロプログラム格納ファイル53
の名称から、その先頭アドレスを取得する。通常、先頭
アドレスはボリューム先頭からのブロック番号という形
で取得される。取得した先頭ブロック番号と、当該磁気
ディスク装置5のタイプから、シリンダ数,ヘッド数,
セクタ数を知り、マイクロプログラム格納ファイルのシ
リンダ,ヘッド,セクタアドレスを算出する。あらかじ
め、パラメータとて与えられているマイクロプログラム
の容量から、データが何トラックにまたがって格納され
ているかを算出し、各トラック単位にそのシリンダ,ヘ
ッド,セクタアドレス及び当該トラックのセクタ数を算
出する。算出したデータをもとに、第3図で示すテーブ
ル(マイクロプログラム格納アドレス情報)を作成し、
0シリンダ,0ヘッド,18セクタ51に書込む。第3図に
示すテーブルの最初のエントリは、磁気ディスク装置5
内にマイクロプログラムが格納されていることを示す識
別文字であり、文字コードで が書込まれる。第2のエントリは、制御記憶の何番地か
らロードするかを示すデータ,第3のエントリは、磁気
ディスク装置5から主記憶装置4の何番地に読出すかを
示すデータ,第4のエントリは、制御記憶にロードする
べきマイクロプログラムのワード数を示すデータであ
り、第2〜4エントリのデータは、アドレス情報生成プ
ログラムにあらかじめパラメータとして与えられてい
る。
FIG. 3 shows the contents of information stored in 18 sectors, which are generated by the address information generation program.
When the address information generation program is started, the microprogram storage file 53 in the system directory
The start address is acquired from the name of. Usually, the head address is acquired in the form of a block number from the head of the volume. From the acquired head block number and the type of the magnetic disk device 5, the number of cylinders, the number of heads,
Knowing the number of sectors, calculate the cylinder, head, and sector addresses of the microprogram storage file. The number of tracks in which data is stored is calculated from the capacity of the microprogram given as a parameter in advance, and the cylinder, head, sector address and number of sectors of the track are calculated for each track. . Based on the calculated data, a table (microprogram storage address information) shown in FIG. 3 is created,
Write to 0 cylinder, 0 head, 18 sectors 51. The first entry in the table shown in FIG.
It is an identification character that indicates that a microprogram is stored in Is written. The second entry is data indicating from which address of the control memory the data is to be loaded, the third entry is data indicating to which address of the main storage device 4 the magnetic disk device 5 is to be read, and the fourth entry is This is data indicating the number of words of the microprogram to be loaded into the control memory, and the data of the second to fourth entries is given to the address information generation program in advance as a parameter.

第5のエントリBLK0からBLKnの(n+1)個のエントリ
は、マイクロプログラム格納ファイルが何トラックにま
たがっているかにより数が決まり、またがっているトラ
ックの数だけエントリが確保される。第2図のようにマ
イクロプログラムファイルが3トラックにまたがってい
る場合は、3つのエントリが確保され、各トラックのシ
リンダ,ヘッド,セクタアドレス及びセクタ数が格納さ
れる。最終ブロックBLKnの次のエントリは、アドレス情
報の終了を示すコードであり、(FFFF)16がセットされ
る。
The number of (n + 1) entries of the fifth entries BLK 0 to BLK n is determined depending on how many tracks the microprogram storage file spans, and the entries are secured by the number of spanning tracks. When the microprogram file extends over three tracks as shown in FIG. 2, three entries are secured and the cylinder, head, sector address and sector number of each track are stored. The next entry of the final block BLK n is a code indicating the end of the address information, and (FFFF) 16 is set.

以上説明した処理により、マイクロプログラムファイ
ル,及びその格納アドレス情報が生成されると、磁気デ
ィスク装置5からのマイクロプログラムロードが可能と
なる。
When the microprogram file and its storage address information are generated by the processing described above, the microprogram can be loaded from the magnetic disk device 5.

制御記憶ROM21により実行される磁気ディスク装置5
からのマイクロプログラムロードの手順を第5図に示し
た。
Magnetic disk device 5 executed by control storage ROM 21
Figure 5 shows the procedure for loading the microprogram from the above.

電源投入後、磁気ディスク装置5からのIPLが起動され
ると制御記憶ROM21内のマイクロプログラムは、第1
のステップ201として制御記憶RAM22にマイクロプロ
グラムロード済かをチェックする。チェックは、サムチ
ェックあるいは特定のデータパターンが特定のアドレス
に書込まれているかをチェックすることで容易に可能で
ある。ロード済であれば、マイクロプログラムロードは
省略し、0シリンダ,0ヘッド,0セクタにあるブート
ストラッププログラムをリードし、ブートストラッププ
ログラムを起動するのみである。(ステップ5,6) ロード末であれば、第2のステップ202として、マイク
ロプログラム格納アドレス情報が格納されている0シリ
ンダ,0ヘッド,18セクタをリードする。第3のステッ
プ203では、読み出したデータの先頭8バイトが、 の8文字であることをチェックする。もし異るパターン
である時は、磁気ディスク装置5内にはマイクロプログ
ラムファイルはないものと見なして処理を停止する。第
4のステップ204では、読み出したテーブルのマイクロ
プログラム格納情報により磁気ディスク装置5をアクセ
スし、テーブルで指定された主記憶アドレスに読み出
し、同じテーブルで指定された制御記憶ROM22のアド
レスに指定されたワード数だけ書込み、マイクロプログ
ラムのロードを実行する。この時、磁気ディスク装置5
内のマイクロプログラム格納ファイルアドレスは、トラ
ック毎にシリンダ,ヘッド,セクタアドレス,セクタ数
で与えられている為、制御記憶ROM21内のマイクロプ
ログラムローダは、磁気ディスク装置5のタイプの違い
による仕様の相違を全く意識しなくてよく、非常に簡単
なものとなり、わずかなステップで構成することができ
る。
When the IPL from the magnetic disk device 5 is started after the power is turned on, the microprogram in the control storage ROM 21
In step 201, it is checked whether the micro program has been loaded into the control storage RAM 22. The check can be easily performed by checking the sum or checking whether a specific data pattern is written in a specific address. If it has already been loaded, the microprogram load is omitted, and the bootstrap program in the 0 cylinder, 0 head, and 0 sector is read, and the bootstrap program is only activated. (Steps 5 and 6) If it is the end of loading, the second step 202 is to read 0 cylinders, 0 heads and 18 sectors in which microprogram storage address information is stored. In the third step 203, the first 8 bytes of the read data are Check that it is 8 characters. If the patterns are different, it is considered that there is no microprogram file in the magnetic disk device 5, and the processing is stopped. In the fourth step 204, the magnetic disk device 5 is accessed by the microprogram storage information of the read table, read to the main storage address specified in the table, and specified in the address of the control storage ROM 22 specified in the same table. Write the number of words and load the microprogram. At this time, the magnetic disk device 5
Since the microprogram storage file address in each is given by cylinder, head, sector address, and number of sectors for each track, the microprogram loader in the control storage ROM 21 has different specifications depending on the type of the magnetic disk device 5. There is no need to be aware of, it becomes very simple, and it can be configured with a few steps.

第5のステップ205,第6のステップ206では、ブートス
トラッププログラムが読出されたのち起動され、IPL
は完了する。
In the fifth step 205 and the sixth step 206, the bootstrap program is read and then started, and the IPL
Is complete.

上記実施例では、21をROMとしたが、これに限定され
ない。
In the above-mentioned embodiment, 21 is a ROM, but the present invention is not limited to this.

〔発明の効果〕〔The invention's effect〕

本発明によれば、制御記憶へのマイクロプログラムロー
ドが、マイクロプログラム格納用の専用外部記憶装置
や、サービスプロセッサを用いることなく、比較的小容
量の制御記憶内の例えばROM内のマイクロプログラム
のみで可能となり、安価な計算機システムを提供するこ
とができる。
According to the present invention, the microprogram can be loaded into the control memory by using only the microprogram in the ROM, which is in the control memory having a relatively small capacity, without using a dedicated external memory device for storing the microprogram or a service processor. It becomes possible and an inexpensive computer system can be provided.

また、システムプログラムを格納する磁気ディスク装置
内の1つの任意のファイルとして、マイクロプログラム
ファイルを作成できる為、磁気ディスク内のアロケーシ
ョンが特定の計算機ハードウェアにより影響されること
がなく、シリーズ化された複数の計算機内での移行性の
さまたげとならない利点を有する。
In addition, since a micro program file can be created as one arbitrary file in the magnetic disk device that stores the system program, the allocation in the magnetic disk is not affected by specific computer hardware, and it has been made into a series. It has an advantage that migration is not interrupted in a plurality of computers.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図の外部記憶装置のファイル割当てを示す図、第3
図は第2図のシステム固定領域に格納される情報を示す
図、第4図はマイクロプログラムファイルの格納手順を
示すフロー図、第5図はマイクロプログラムロードの手
順を示すフロー図、第6図は従来例を示すブロック図で
ある。 2…制御記憶装置、3…主中央処理装置、 4…主記憶装置、 5…外部記憶装置(磁気ディスク装置)、 6…フロッピーディスク装置。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing file allocation in the external storage device of FIG. 1, and FIG.
FIG. 4 is a diagram showing information stored in the system fixed area of FIG. 2, FIG. 4 is a flow chart showing a storing procedure of a micro program file, FIG. 5 is a flow chart showing a procedure of loading a micro program, and FIG. FIG. 7 is a block diagram showing a conventional example. 2 ... Control storage device, 3 ... Main central processing unit, 4 ... Main storage device, 5 ... External storage device (magnetic disk device), 6 ... Floppy disk device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】制御記憶装置が第1の部分と第2の部分か
ら構成され、第1の部分のマイクロプログラムにより、
外部記憶装置から主記憶装置へのデータ転送を制御する
機能と、主記憶装置から制御記憶装置の第2の部分への
データ転送を制御する機能を有するマイクロプログラム
制御のデータ処理システムにおいて、制御記憶装置の第
2の部分に格納されるマイクロプログラムを上記外部記
憶装置内の1つのファイルとして格納し、該ファイルの
格納アドレスを、該外部記憶装置内の固定アドレスに格
納しておくことを特徴とするマイクロプログラム格納方
式。
1. A control storage device comprises a first part and a second part, and a microprogram of the first part
A microprogram-controlled data processing system having a function of controlling data transfer from an external storage device to a main storage device and a function of controlling data transfer from the main storage device to a second portion of the control storage device. The microprogram stored in the second part of the device is stored as one file in the external storage device, and the storage address of the file is stored in a fixed address in the external storage device. Micro program storage method.
JP3875385A 1985-03-01 1985-03-01 Micro program storage method Expired - Fee Related JPH063581B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3875385A JPH063581B2 (en) 1985-03-01 1985-03-01 Micro program storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3875385A JPH063581B2 (en) 1985-03-01 1985-03-01 Micro program storage method

Publications (2)

Publication Number Publication Date
JPS61199127A JPS61199127A (en) 1986-09-03
JPH063581B2 true JPH063581B2 (en) 1994-01-12

Family

ID=12534053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3875385A Expired - Fee Related JPH063581B2 (en) 1985-03-01 1985-03-01 Micro program storage method

Country Status (1)

Country Link
JP (1) JPH063581B2 (en)

Also Published As

Publication number Publication date
JPS61199127A (en) 1986-09-03

Similar Documents

Publication Publication Date Title
JP2669365B2 (en) Rewritable ROM file device
US5129088A (en) Data processing method to create virtual disks from non-contiguous groups of logically contiguous addressable blocks of direct access storage device
US8370602B2 (en) Method for memory space management
WO2000019310A2 (en) Dual use master boot record
WO2000019314A1 (en) Method and device for booting a cd-rom from a single disk image having multiple emulations
US7752412B2 (en) Methods of managing file allocation table information
US7681008B2 (en) Systems for managing file allocation table information
JPH08195093A (en) File controller for nonvolatile memory
US20020019907A1 (en) Cluster buster
JP2010009290A (en) Storage system, copy control method and copy control unit
CN115168317A (en) LSM tree storage engine construction method and system
JP2005135116A (en) Storage device and access control method thereof
US7647470B2 (en) Memory device and controlling method for elongating the life of nonvolatile memory
JP2006277737A (en) Nonvolatile memory device with address prediction function
KR20070039957A (en) Method and device for improving flash write performance
KR100637983B1 (en) Computer system and method for preparing a computer-readable medium
EP0319147B1 (en) Method for storing pre-organised groups of related information files in a data processing system
WO2008042594A1 (en) Managing file allocation table information
US6470434B1 (en) Computer system and method for accessing a computer-readable medium
JPH063581B2 (en) Micro program storage method
JPS6270957A (en) How to automatically determine memory capacity
JPH09223049A (en) Disk array device
KR940005773B1 (en) Memory access control device and method for controlling a disk file in which ROM disk and RAM disk are functionally combined
KR100261177B1 (en) Message handling routine
JPH0254327A (en) Control system for disk data

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees