JPS62115557A - Bootloading system of program - Google Patents
Bootloading system of programInfo
- Publication number
- JPS62115557A JPS62115557A JP25497885A JP25497885A JPS62115557A JP S62115557 A JPS62115557 A JP S62115557A JP 25497885 A JP25497885 A JP 25497885A JP 25497885 A JP25497885 A JP 25497885A JP S62115557 A JPS62115557 A JP S62115557A
- Authority
- JP
- Japan
- Prior art keywords
- file
- program
- bootloading
- storage device
- load
- 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
Links
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、外部補助記憶装置より実行プログラムを主
記憶装置に読み込み、実行するブートロード方式に関す
るものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bootload method in which an execution program is loaded from an external auxiliary storage device into a main storage device and executed.
第1図は、従来のブートロード方式を実現する念めの装
置を示すブロック図であり1図において、1は中央処理
装置(以下、CPUという)、2は実行プログラムやデ
ータを格納する主記憶装置のランダムアクセスメモリ部
(以下、RAM部という)、3はブートロードを行うた
めのブートロードプログラムが格納されている主記憶装
置のリードオンリーメモリ部(以下、ROM部という)
%4−1〜4−nは、外部補助記憶装置である。また、
第4図は、ブートロードプログラムのフローチャート図
である。Figure 1 is a block diagram showing a device that realizes the conventional bootloading method. In Figure 1, 1 is a central processing unit (hereinafter referred to as CPU), and 2 is a main memory that stores execution programs and data. Random access memory section (hereinafter referred to as RAM section) of the device; 3 is a read-only memory section (hereinafter referred to as ROM section) of the main storage device in which a boot load program for performing boot loading is stored;
%4-1 to 4-n are external auxiliary storage devices. Also,
FIG. 4 is a flow chart diagram of the boot load program.
次に動作について説明する。主記憶装置のROM部3に
格納されているブートロードプログラムは、起動される
と、ステップ4Aで、予め定められているファイル名を
外部補助記憶装置4−1〜4−nから検索する。ステッ
プ4Bにて、前記ファイルが存在し念かを判断する。存
在し念なら。Next, the operation will be explained. When the boot load program stored in the ROM section 3 of the main storage device is started, in step 4A, it searches for a predetermined file name from the external auxiliary storage devices 4-1 to 4-n. In step 4B, it is determined whether the file exists or not. If only it existed.
ステップ4Cで、前記ファイルより実行プログラム金主
記憶装置のRAM部2上2上み込む。実行プログラムの
読み込みが終わると、ステップ4Dで読み込んだ実行プ
ログラム金実行させる。ステップ4Bで該当ファイルが
ないと判断したならば、ステップ4Eでブートロードプ
ログラム?終了する0
〔発明が解決しようとする問題点〕
従来のブートロード方式は以上のような手順で行ってい
たため、実行プログラムの入ったファイルのファイル名
を予め決めておかねばならず、それをブートα−ドブロ
グラムに持たしておくことが必要な念め、前記実行プロ
グラムの入ったファイルのファイル名を変更したいとき
は、ブートa−ドブログラムを変更しなくてはならない
などの問題点がめった。In step 4C, the execution program is loaded onto the RAM section 2 of the main storage device from the file. When the loading of the execution program is completed, the loaded execution program is executed in step 4D. If it is determined in step 4B that the relevant file does not exist, then in step 4E the boot load program? End 0 [Problems to be solved by the invention] Since the conventional boot loading method was performed using the steps described above, the file name of the file containing the executable program had to be determined in advance, and the It is necessary to keep it in the α-do program, and when it is desired to change the file name of the file containing the executable program, problems often arise, such as having to change the boot a-do program.
この発明は上記の問題点を解消する念めになされたもの
で、実行プログラムの入ったファイルのファイル名を任
意に決められ、 !!7’t、そのファイルが任意の個
数あってもブートロードが可能であるブートロード方式
を得ること金目的とする。This invention was made with the aim of solving the above problems, and allows the file name of the file containing the executable program to be arbitrarily determined. ! 7't, the objective is to obtain a bootloading method that allows bootloading even if there are an arbitrary number of files.
〔問題点を解決するための手段〕
この発明に係るブートロード方式は、読み込むべき実行
プログラムが格納されているファイルのファイル名を記
述したα−ド指定ファイNf予め外部補助記憶装置に作
成しておき、ブートロードプログラムは前記ロード指定
ファイルを読み込み、そこに記述しである実行プログラ
ムの入つ念ファイルのファイル名を外部補助記憶装置よ
シ検索し。[Means for Solving the Problems] The bootloading method according to the present invention creates an α-code designation file Nf in advance in an external auxiliary storage device that describes the file name of the file in which the executable program to be loaded is stored. Then, the boot load program reads the load specification file and searches the external auxiliary storage device for the file name of the execution program's detailed file written therein.
検索された該当ファイルより実行プログラムを主記憶装
置上に読み込み、実行させるようにしたものである。The execution program is loaded into the main storage device from the searched file and executed.
この発明におけるプログラムのブートロード方式は、予
め、実行プログラムの人っているファイルのファイル名
を記述したロード指定ファイルを作成し、そのロード指
定ファイルを読み込むことにより、ブートロードプログ
ラムは読み込むべき実行プログラムの入ったファイA/
ヲ知ることが出来るものである。The program bootloading method in this invention is to create a load specification file in advance that describes the file name of the file containing the executable program, and then read the load specification file. Phi A with
It is something that can be known.
Wc1図はこの発明によるプートa−ド万式を実現する
ための装置の一例であり、装置の構成は従来のものと同
じである。ま次第2図はこの発明によるブートロード方
式を実現したブートロードプログラムのフローチャート
図、I!3図は実行フログラムの入ったファイルのファ
イル名を記述するロード指定ファイルの説明図である。Figure Wc1 is an example of a device for realizing a puto-a-do bank according to the present invention, and the configuration of the device is the same as that of the conventional device. Figure 2 is a flowchart of a bootload program that realizes the bootload method according to the present invention. FIG. 3 is an explanatory diagram of a load designation file that describes the file name of the file containing the execution program.
このロード指定ファイルには、ロードすべき実行プログ
ラムの入ったファイルのファイル名が記述されており。This load specification file describes the file name of the file containing the executable program to be loaded.
最後には、これ以上ロードすべきファイルがないことを
示す’END’マークが書き込まれている。At the end, an 'END' mark is written indicating that there are no more files to load.
次に動作について説明する。主記憶装置のROM部3に
格納されているブートロードプログラムが起動されると
、ステップ2人により、外部補助記憶装置4−L〜4−
nの内のいづれかに格納しであるa−ド指定ファイルを
検索する。ロード指定ファイルが検索されると、ステッ
プ2Bによシ。Next, the operation will be explained. When the boot load program stored in the ROM section 3 of the main storage device is started, the two people in the step execute the external auxiliary storage devices 4-L to 4-
Search for an a-word specified file stored in any one of n. Once the load specification file is found, proceed to step 2B.
該ロード指定ファイル、金主記憶装置のRAM部2に読
み出す。次に、ステップ2Cで読み出し六ロード指定フ
ァイルので初のコマンド3Aを取り出す。ステップ2D
により、そのデータが’END”かどうかを判断し、”
END’でない場合、ステプ/’2Eへ進む。ステップ
2Eで取り出したコマンドを解析し、ファイル名金得る
。ステップ2Fでそのファイルを外部補助記憶装置4−
1〜4−nより検索し、ステップ2Gで該当ファイルを
主記憶装置のRAM部2上に読み出す。読み出しが終わ
ったなら、ステップ2Hで次のコマンドを取り出す。そ
して、ステップ2Dへもどる。その後ステップ2E、2
F、2G、2H,2Dをくり返す。The load designation file is read into the RAM section 2 of the cash storage device. Next, in step 2C, the first command 3A is extracted from the load specification file. Step 2D
Determine whether the data is 'END' by
If not END', proceed to step/'2E. Analyze the command extracted in step 2E and obtain the file name. In step 2F, save the file to external auxiliary storage device 4-
1 to 4-n, and in step 2G, the corresponding file is read onto the RAM section 2 of the main storage device. When reading is completed, the next command is extracted in step 2H. Then, return to step 2D. Then step 2E, 2
Repeat F, 2G, 2H, 2D.
ステップ2Dで”END”i判断すると、ブートロード
プログラムは実行プログラムを実行させる。If "END" is determined in step 2D, the boot load program executes the execution program.
マなこの発明の実施例として、実行プログラムの入った
ファイルをロードする場合を示したが、これは、データ
の入ったデータファイルでもよい。As an embodiment of the present invention, a case has been shown in which a file containing an executable program is loaded, but this may also be a data file containing data.
以上のようにこの発明によれば、ロードすべき実行プロ
グラムの入ったファイルのファイル名f記述し5たロー
・ド指定ファイ/l/を作成しておき、七のファイルか
らロードすべき実行プログラムの入ったファイルのファ
イル名を知り、該当の実行プログラムのファイルを読4
み出す方式金とったので。As described above, according to the present invention, a load specification file /l/ is created in which the file name f of the file containing the executable program to be loaded is written, and the executable program to be loaded from the file 7 is created. Know the file name of the file that contains the file, and read the corresponding executable program file.
I took the money to get it out.
実行プログラムの入ったファイルのファイル名やファイ
ルの数を変更した時に、ロード指定ファイル全作り直す
だけで容易に対応できるといった効果がある。This has the effect that when the file name or number of files containing an executable program is changed, it can be easily handled by simply re-creating the entire load specification file.
第1図は、この発明を実施する装置の一例金示すブロッ
ク図%第2図は、この発明のブートロードプログラムの
フロートチャート図、8g3図は、ロード指定ファイル
の内容の一例を示す説明図、第4図は従来のブートロー
ドプロダラムのフローチャート図である。
1はCPo、2は主記憶装置のRAM部、3は主記憶装
置のROM部、4−1〜4−nは外部補助記憶装置であ
る。
特許出願人 三菱電機株式会社
−−ス
代理人 弁理士 1) 澤 博 昭 ′
(外2名) ′
BOOT、CSDFIG. 1 is a block diagram showing an example of a device implementing the present invention. FIG. 2 is a flowchart of a boot load program of the present invention. FIG. 8g3 is an explanatory diagram showing an example of the contents of a load specification file. FIG. 4 is a flow chart diagram of a conventional boot load program. 1 is a CPo, 2 is a RAM section of the main storage device, 3 is a ROM section of the main storage device, and 4-1 to 4-n are external auxiliary storage devices. Patent applicant: Mitsubishi Electric Corporation - Patent attorney: 1) Hiroshi Sawa'
(2 others) ' BOOT, CSD
Claims (1)
ド指定フアイルに予め登録し、外部補助記憶装置から前
記実行プログラムを主記憶装置にロードする際、前記ロ
ード指定フアイルよりロードすべき前記実行プログラム
のフアイル名を読み出し、そのフアイルを検索し、検索
された該当フアイルより前記実行プログラムを前記主記
憶装置にロードするプログラムのブートロード方式。The file name of the execution program to be boot loaded is registered in advance in a load specification file, and when the execution program is loaded from the external auxiliary storage device to the main storage device, the file name of the execution program to be loaded is registered from the load specification file. A program boot loading method reads the file, searches the file, and loads the execution program from the searched file into the main storage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25497885A JPS62115557A (en) | 1985-11-15 | 1985-11-15 | Bootloading system of program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25497885A JPS62115557A (en) | 1985-11-15 | 1985-11-15 | Bootloading system of program |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62115557A true JPS62115557A (en) | 1987-05-27 |
Family
ID=17272510
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25497885A Pending JPS62115557A (en) | 1985-11-15 | 1985-11-15 | Bootloading system of program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62115557A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01231154A (en) * | 1988-03-11 | 1989-09-14 | Tokyo Electric Co Ltd | Ipl system |
JPH02144721A (en) * | 1988-11-28 | 1990-06-04 | Nec Corp | Batch processing system for plural batch files |
-
1985
- 1985-11-15 JP JP25497885A patent/JPS62115557A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01231154A (en) * | 1988-03-11 | 1989-09-14 | Tokyo Electric Co Ltd | Ipl system |
JPH02144721A (en) * | 1988-11-28 | 1990-06-04 | Nec Corp | Batch processing system for plural batch files |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2681929B2 (en) | Program start method | |
JPS62115557A (en) | Bootloading system of program | |
JP2001044412A (en) | Semiconductor simulation apparatus | |
JP4392780B2 (en) | Data storage processing method, program and storage medium thereof, and processing system | |
JPS61248137A (en) | System selecting system | |
JP2624146B2 (en) | Related record batch reading method | |
JPH082727Y2 (en) | Programmable sequencer | |
JPH05181797A (en) | Data processor | |
KR20230004133A (en) | Apparatus and method for extracting memory map information from firmware | |
JPS6250945A (en) | Program loading system | |
JP2879764B2 (en) | Hierarchical menu processor | |
JPH0683747A (en) | Device for accessing menu information | |
JPH03141433A (en) | Compiler starting system with designation of compiler load module retrieving order | |
JPH02280229A (en) | System for executing program | |
JPH02151956A (en) | Command procedure starting system | |
JP2003085013A (en) | Pdm system and programming method for system connection | |
JPH01251264A (en) | Command adding and deleting system for time sharing system | |
JPH05189212A (en) | Linking method | |
JPH07129467A (en) | Memory controlling method for information processor | |
JPH0553886A (en) | Table access managing system | |
JPH01185729A (en) | Overlay structure program execution system | |
JPH01136253A (en) | Program loading control system | |
JPH03172929A (en) | Automatic patch number picking system | |
JPH04199236A (en) | File controller | |
JPH07141194A (en) | Source program selecting system |