JPS6311705B2 - - Google Patents
Info
- Publication number
- JPS6311705B2 JPS6311705B2 JP58126343A JP12634383A JPS6311705B2 JP S6311705 B2 JPS6311705 B2 JP S6311705B2 JP 58126343 A JP58126343 A JP 58126343A JP 12634383 A JP12634383 A JP 12634383A JP S6311705 B2 JPS6311705 B2 JP S6311705B2
- Authority
- JP
- Japan
- Prior art keywords
- program
- format
- loader
- memory
- loaded
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/177—Initialisation or configuration control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
【発明の詳細な説明】
〔発明の属する技術分野〕
本発明は、コンピユータにおける記録媒体およ
び記録形式の異なるプログラムの初期プログラム
ロード方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Technical field to which the invention pertains] The present invention relates to an initial program loading method for programs of different recording media and recording formats in a computer.
一般に、コンピユータで動作するプログラム
は、外部記録媒体に記録されていて、それを外部
入力装置にて読取り、メモリにロードすることに
よつて動作可能となるが、コンピユータにおいて
最初にメモリにロードする初期プログラムのロー
ドは、読出し専用メモリ(以下「ROM」とい
う。)に格納されているプログラムを格納するた
めのプログラム(以下「ローダ」という。)によ
つて行われている。このローダは、通常単一の記
録媒体および記録形式で記録されているプログラ
ムをロードするように作られているため、あらか
じめ異なる様式のプログラムをロードできるよう
にローダを組み込まない限り、他の様式のプログ
ラムロードには使用できない。例えば記録媒体が
フロツピイデイスクフアイル、デイスクフアイ
ル、マグネテイツクテープフアイル等、また記録
形式においては、記録レコード長が異なる等の多
種の様式のプログラムには1個のローダで対処す
ることはできず、ローダを変更することが必要と
なり、その都度ROMの交換を伴い、その労力は
多大なものとなる欠点があつた。
Generally, a program that runs on a computer is recorded on an external recording medium, and becomes operational by reading it with an external input device and loading it into memory. Loading of the program is performed by a program (hereinafter referred to as "loader") for storing programs stored in a read-only memory (hereinafter referred to as "ROM"). This loader is designed to load programs recorded in a single recording medium and format, so unless the loader is installed in advance so that it can load programs in different formats, Cannot be used for program loading. For example, a single loader cannot handle programs of various formats, such as recording media such as floppy disk files, disk files, magnetic tape files, etc., and recording formats having different record lengths. First, it was necessary to change the loader, which required replacing the ROM each time, which had the disadvantage of requiring a great deal of effort.
本発明は、前記欠点を除去し、多種の記録様式
のプログラムのロードをROM上のローダの変更
なしに、読取および書込が可能な不揮発性メモリ
にローダを与えることによつて容易に多種の記録
様式のプログラムロードを可能とする初期プログ
ラムロード方式を提供することを目的とする。
The present invention eliminates the above drawbacks and facilitates the loading of programs in various recording formats by providing a loader in a non-volatile memory that can read and write programs without changing the loader on the ROM. The purpose of this invention is to provide an initial program loading method that enables program loading of recording formats.
本発明は、あらかじめ基本プログラムのローダ
が格納されているROMと、拡張プログラムのロ
ーダが格納されて書替え可能な不揮発性メモリ
と、被初期ロードプログラムの様式を格納する不
揮発性メモリと被初期ロードプログラムの様式を
設定する様式設定手段と、前記様式設定手段によ
り設定された様式を判別し、ローダの切替を制御
するローダ制御部と前記ローダ制御部により制御
されローダを読取るローダ読取手段とにより構成
され、初期プログラムロード時に与えられた被初
期ロードプログラムの様式を判別することによつ
て基本プログラムローダによるロードか、拡張プ
ログラムローダによるロードかを制御して初期プ
ログラムロードを行うことを特徴とする。
The present invention includes a ROM in which a basic program loader is stored in advance, a rewritable nonvolatile memory in which an extended program loader is stored, a nonvolatile memory that stores the format of an initial loaded program, and an initial loaded program. a format setting means for setting a format, a loader control section for determining the format set by the format setting means and controlling loader switching, and a loader reading section for reading the loader, which is controlled by the loader control section. The present invention is characterized in that initial program loading is performed by determining whether the loading is performed by a basic program loader or by an extended program loader by determining the format of the initially loaded program given at the time of initial program loading.
次に、本発明の実施例について、図を参照して
説明する。第1図は、本発明の一実施例初期プロ
グラムロード装置のブロツク図である。第1図に
おいて、変更できない基本プログラムのローダが
格納されているROM1と、拡張プログラムのロ
ーダが格納されて書替え可能な不揮発性メモリ2
と、被初期ロードプログラムの様式を格納する不
揮発性メモリ3と、被初期ロードプログラムの様
式を設定する様式指示器4および電源投入等のプ
ログラムロード指示で起動され、様式指示器4で
設定された様式を読取る様式制御部5および様式
識別子を書込む様式書込部6よりなる様式設定機
構20と、様式識別子を判別し、ローダの切替を
制御するローダ制御部7と、前記ROM1、不揮
発性メモリ2,3に格納されているローダ、様式
識別子を読取るメモリ読取部8、およびローダの
読取りを制御するローダ読取制御部9よりなるロ
ーダ読取機構30とにより構成される。ROM
1、不揮発性メモリ2および不揮発性メモリ3に
は、メモリ読取部8が接続される。様式指示器4
には、様式制御部5が接続され、様式制御部5に
は、様式書込部6が接続される。様式書込部6に
は、不揮発性メモリ3が接続される。ローダ制御
部7は、様式制御部5、メモリ読取部8およびロ
ーダ読取制御部9に接続される。またローダ読取
制御部9は、メモリ読取部8が接続される。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an initial program loading device according to an embodiment of the present invention. In FIG. 1, a ROM 1 stores an unchangeable basic program loader, and a rewritable nonvolatile memory 2 stores an extended program loader.
, a non-volatile memory 3 for storing the format of the initial load program, a format indicator 4 for setting the format of the initial load program, and a format indicator 4 that is activated by a program load instruction such as turning on the power and set by the format indicator 4. A format setting mechanism 20 comprising a format control section 5 for reading formats and a format writing section 6 for writing format identifiers, a loader control section 7 for determining format identifiers and controlling loader switching, the ROM 1, and a nonvolatile memory. The loader reading mechanism 30 includes a memory reading section 8 that reads the loader stored in the memory 2 and 3, a format identifier, and a loader reading control section 9 that controls reading of the loader. ROM
1. A memory reading section 8 is connected to the nonvolatile memory 2 and the nonvolatile memory 3. Form indicator 4
A format control section 5 is connected to the format control section 5, and a format writing section 6 is connected to the format control section 5. A nonvolatile memory 3 is connected to the form writing section 6 . The loader control section 7 is connected to the format control section 5, the memory reading section 8, and the loader reading control section 9. Further, the memory reading section 8 is connected to the loader reading control section 9 .
このように構成された初期プログラムロード装
置動作について、第1図および第2図を用いて説
明する。第2図は、第1図のROM1および不揮
発性メモリ2,3のメモリの並びを模疑的に描写
したメモリのフオーマツトを示す図で、変更不可
の基本プログラムローダ10と、変更可能の拡張
プログラムローダ11と様式識別子12とが格納
されており、各々の格納メモリアドレスとして
a,b,cが設定されている。まず、電源投入等
の初期ロード指示を様式制御部5に与えると、様
式制御部5は、様式指示器4で様式が設定されて
いるか否かチエツクし、様式が設定されていると
きには、設定された様式識別子を引取り、様式書
込部6を通して、不揮発性メモリ3に様式識別子
を書込むが、様式指示器4にて様式が設定されて
いないときには、不揮発性メモリ3への書込み動
作を行わないように制御する。これによつて、新
たに様式を設定して初期ロード指令を与えない限
り、電源を切断しても様式識別子は保持される。
ここで、ROM1に格納されている基本プログラ
ムローダにてロードするときの様式識別子を
「A」、不揮発性メモリ2に格納されている拡張プ
ログラムローダにてロードするときの様式識別子
を「B」とし、仮りにオペレータが様式識別子と
して「A」を様式指示器4に設定したとすると、
不揮発性メモリ3には「A」が書込まれる。ま
た、前記の様式制御部5は、様式書込部6を通し
て不揮発性メモリ3に様式識別子を書終えるに十
分なタイミングをおいて、格納された様式識別子
を読取り、判別するローダ制御部7に読取りの起
動をかける。これを受けたローダ制御部7は、様
式識別子が格納されている格納メモリアドレスc
をメモリ読取部8に与えて、様式識別子を得て、
それを判別することによつて、基本プログラムロ
ーダ10によるロードか、拡張プログラムローダ
11によるロードかを決定することができる。
今、不揮発性メモリ3には、「A」の様式識別子
が格納されているので、「A」を得ることによつ
てROM1に格納されている基本プログラムロー
ダ10にてロードすることを知る。この情報を基
本プログラムローダ10の格納メモリアドレスa
に変換してローダ読取制御部9に与える。これを
受けたローダ読取制御部9は、メモリ読取部8を
通してROM1に格納されている基本プログラム
ローダ10を読出すことができ、これを上位のプ
ログラム処理機構に送り出すことによつて、被初
期ロードプログラムをあらかじめ様式指示器4で
設定した様式にてロードすることができる。 The operation of the initial program loading device configured as described above will be explained using FIG. 1 and FIG. 2. FIG. 2 is a diagram showing a memory format that simulates the memory arrangement of the ROM 1 and non-volatile memories 2 and 3 in FIG. A loader 11 and a format identifier 12 are stored, and a, b, and c are set as storage memory addresses for each. First, when an initial load instruction such as turning on the power is given to the format control section 5, the format control section 5 checks whether a format is set on the format indicator 4 or not. The format identifier is received and written to the non-volatile memory 3 through the format writing section 6. However, when the format is not set in the format indicator 4, the writing operation to the non-volatile memory 3 is performed. control so that it does not occur. As a result, the format identifier is retained even if the power is turned off, unless a new format is set and an initial load command is given.
Here, the format identifier when loading with the basic program loader stored in ROM1 is "A", and the format identifier when loading with the extended program loader stored in non-volatile memory 2 is "B". , if the operator sets "A" as the format identifier in the format indicator 4, then
“A” is written into the nonvolatile memory 3. Further, the format control section 5 reads the stored format identifier at a timing sufficient to finish writing the format identifier in the nonvolatile memory 3 through the format writing section 6, and reads it to the loader control section 7 for discrimination. Activate. Upon receiving this, the loader control unit 7 selects the storage memory address c where the format identifier is stored.
is given to the memory reading unit 8 to obtain a format identifier,
By determining this, it is possible to determine whether the load is to be performed by the basic program loader 10 or the extended program loader 11.
Now, the format identifier "A" is stored in the non-volatile memory 3, so by obtaining "A" it is known that the basic program loader 10 stored in the ROM 1 is to be loaded. This information is stored at storage memory address a of the basic program loader 10.
It is converted into and given to the loader reading control section 9. The loader reading control unit 9 that has received this can read the basic program loader 10 stored in the ROM 1 through the memory reading unit 8, and by sending it to the upper program processing mechanism, the initial load The program can be loaded in a format set in advance using the format indicator 4.
同様に様式識別子として「B」を様式指示器4
に設定した場合は、様式制御部5にて不揮発性メ
モリ3に書込まれた様式識別子「B」をローダ制
御部7を得て、拡張プログラムローダ11の格納
メモリアドレスbに変換して、ローダ読取制御部
9に与えることによつて、拡張プログラムローダ
にてロードすることができる。 Similarly, set "B" as the format identifier to format indicator 4.
When set to , the format identifier "B" written in the non-volatile memory 3 by the format controller 5 is obtained from the loader controller 7, converted to the storage memory address b of the extended program loader 11, and the loader By supplying it to the reading control section 9, it can be loaded by the extended program loader.
また、様式指示器4にて何ら様式が設定されて
いない場合は、すでに書込保持されている様式識
別子によるローダにてロードすることができる。
このように一度様式設定を行うと、以後は何ら様
式設定を行わなくても自動的に所定のローダにて
初期プログラムロードができ、また不揮発性メモ
リはプログラム等で容易に書替えることができる
ため拡張プログラムローダを変更することによつ
て、種々の様式のプログラムをロードすることが
できる。 Furthermore, if no format is set in the format indicator 4, it can be loaded using a loader using a format identifier that has already been written and held.
Once you have set the format in this way, you can automatically load the initial program with the specified loader without having to make any format settings, and the non-volatile memory can be easily rewritten with a program, etc. By modifying the extended program loader, programs of various types can be loaded.
本発明は、以上説明したように、ローダの格納
メモリとして、書替え可能な不揮発性メモリを構
成し、不揮発性メモリにローダを与えることによ
つて、被初期ロードプログラムの種々の変更に対
処できる優れた効果がある。
As explained above, the present invention is advantageous in that it can cope with various changes in the initially loaded program by configuring a rewritable non-volatile memory as the loader storage memory and providing the loader to the non-volatile memory. It has a positive effect.
第1図は本発明一実施例初期プログラムロード
装置のブロツク構成図。第2図はそのメモリのフ
オーマツトを示す図。
1……ROM、2……不揮発性メモリ、3……
不揮発性メモリ、4……様式指示器、5……様式
制御部、6……様式書込部、7……ローダ制御
部、8……メモリ読取部、9……ローダ読取制御
部、10……基本プログラムローダ、11……拡
張プログラムローダ、12……様式識別子、a…
…基本プログラムローダ格納メモリアドレス、b
……拡張プログラムローダ格納メモリアドレス、
c……様式識別子格納メモリアドレス。
FIG. 1 is a block diagram of an initial program loading device according to an embodiment of the present invention. FIG. 2 is a diagram showing the format of the memory. 1...ROM, 2...Nonvolatile memory, 3...
Non-volatile memory, 4... Form indicator, 5... Form control section, 6... Form writing section, 7... Loader control section, 8... Memory reading section, 9... Loader reading control section, 10... ...Basic program loader, 11...Extended program loader, 12...Format identifier, a...
...Basic program loader storage memory address, b
...Extension program loader storage memory address,
c...Form identifier storage memory address.
Claims (1)
ドするコンピユータの初期プログラムロード方式
において、 あらかじめ基本プログラムをロードするプログ
ラムが格納されている不揮発生の読出専用メモリ
と、 拡張プログラムをロードするプログラムが格納
されて書替え可能な不揮発性メモリと、 被初期ロードプログラムの様式を格納する不揮
発性メモリと、 被初期ロードプログラムの様式を設定する様式
設定手段と、 前記様式設定手段により設定された様式を判別
し、プログラムをロードするプログラムの切替を
制御するローダ制御部と、 前記ローダ制御部により制御されプログラムを
ロードするためのプログラムを読取るローダ読取
手段と を備えたことを特徴とする初期プログラムロー
ド方式。[Claims] 1. In an initial program loading method of a computer in which a program is loaded from an external storage device to a memory, a non-volatile read-only memory in which a program for loading a basic program is stored in advance, and an extended program are loaded. A non-volatile memory that stores a program and is rewritable; a non-volatile memory that stores a format of an initial loaded program; a format setting means for setting a format of an initial loaded program; and a format set by the format setting means. an initial program load characterized by comprising: a loader control unit that determines the program and controls switching of the program to be loaded; and a loader reading unit that is controlled by the loader control unit and reads a program for loading the program. method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58126343A JPS6019263A (en) | 1983-07-12 | 1983-07-12 | Initial program loading system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58126343A JPS6019263A (en) | 1983-07-12 | 1983-07-12 | Initial program loading system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6019263A JPS6019263A (en) | 1985-01-31 |
| JPS6311705B2 true JPS6311705B2 (en) | 1988-03-15 |
Family
ID=14932811
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58126343A Granted JPS6019263A (en) | 1983-07-12 | 1983-07-12 | Initial program loading system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6019263A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS635541U (en) * | 1986-06-26 | 1988-01-14 | ||
| JPH02129745A (en) * | 1988-11-10 | 1990-05-17 | Mitsubishi Electric Corp | Computer |
| JPH07311682A (en) * | 1994-05-18 | 1995-11-28 | Nec Corp | Information processor |
-
1983
- 1983-07-12 JP JP58126343A patent/JPS6019263A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6019263A (en) | 1985-01-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR960005470A (en) | Recording / playback apparatus using general data and audio data | |
| US4651238A (en) | Recording medium read/write control system | |
| JPS6311705B2 (en) | ||
| US20010044933A1 (en) | System for version-up of a firmware stored in a reproducing system for an information recording medium | |
| US5428755A (en) | Method for automatically modifying program in a flash memory of a magnetic tape unit | |
| JP3045410U (en) | Disk drive device | |
| JP3666344B2 (en) | Electronics | |
| JPH06309118A (en) | Information processing equipment | |
| JP3432649B2 (en) | Storage device | |
| JP2616738B2 (en) | Servo track writer | |
| JPH1049312A (en) | Magnetic disk drive | |
| JP3843189B2 (en) | Optical disk system control chip and update method used for optical disk system | |
| JPS62269256A (en) | Data storage system for semiconductor file | |
| JP2701372B2 (en) | Magneto-optical disk drive | |
| JPS5942332B2 (en) | Program loading method | |
| JP2950685B2 (en) | Channel device for optical disk | |
| JP3594495B2 (en) | Control device | |
| JPH04223520A (en) | Magnetic disk device backup method | |
| JPH04105110A (en) | Power controller | |
| JPS58161041A (en) | Writing system of microprogram | |
| JPH02184939A (en) | Date/time set copying system | |
| JPH0570864B2 (en) | ||
| JPH08194903A (en) | Data writing method and floppy disc apparatus utilizing the method | |
| JP2501790B2 (en) | Magnetic card recording / playback device | |
| JPH10208447A (en) | Optical disk apparatus |