JP2009175792A - Computer system and program loading method - Google Patents

Computer system and program loading method Download PDF

Info

Publication number
JP2009175792A
JP2009175792A JP2008010717A JP2008010717A JP2009175792A JP 2009175792 A JP2009175792 A JP 2009175792A JP 2008010717 A JP2008010717 A JP 2008010717A JP 2008010717 A JP2008010717 A JP 2008010717A JP 2009175792 A JP2009175792 A JP 2009175792A
Authority
JP
Japan
Prior art keywords
program
file
registered
control file
name
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
JP2008010717A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Endo
好幸 遠藤
Noboru Okada
昇 岡田
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.)
Toshiba Corp
Toshiba Development and Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Digital Media Engineering 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 Toshiba Corp, Toshiba Digital Media Engineering Corp filed Critical Toshiba Corp
Priority to JP2008010717A priority Critical patent/JP2009175792A/en
Publication of JP2009175792A publication Critical patent/JP2009175792A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a computer system capable of flexibly changing a boot sequence or a load address in loading of a program from a removable medium to a volatile storage means of a computer. <P>SOLUTION: A switch monitoring circuit 13 monitors states of a Power switch 11 and a Reset switch 12, and reports a status according to the combination of the states of both of the switches to a CPU 16. The CPU 16 which operates as a loader part by executing a loader program 141 selects any one file name of OS1.BTF22-1, DIAG.BTF22-2, HWMON.BTF22-3, and OS2.BTF22-4 registered in OWON.BTF21 stored in a removable medium 2 based on the status, and loads a program file registered in the selected file from the removable medium 2 to a RAM 15. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、コンピュータと、該コンピュータに着脱可能なリムーバブルメディアとで構成されるコンピュータシステムに関するものであり、特に、リムーバブルメディアから必要なプログラムファイルを選択してコンピュータにロードするブート処理に関するものである。   The present invention relates to a computer system including a computer and a removable medium that can be attached to and detached from the computer, and more particularly, to a boot process that selects a required program file from the removable medium and loads it to the computer. .

従来から、メディアに格納されたプログラムをコンピュータ内のメモリにロードするブート処理に関する種々の技術が考えられている。たとえば、特許文献1に記載の従来技術には、複数の起動モードの中の何れか一つを選択してシステムを起動させる際に、システムが起動するための必要な時間を起動モード応じて最小化させるコンピュータシステムに関する技術が開示されている。   Conventionally, various techniques relating to boot processing for loading a program stored in a medium into a memory in a computer have been considered. For example, in the prior art described in Patent Document 1, when any one of a plurality of start modes is selected to start the system, the time required for starting the system is minimized according to the start mode. A technique related to a computer system is disclosed.

具体的には、特許文献1に記載の従来技術では、ユーザによって操作されたジョグレバーユニットがそれぞれ異なる機能を遂行する複数の起動モードの中の何れか1つを選択するための複数の制御信号をマイクロコンピュータに出力する。マイクロコンピュータは、BIOS ROMに格納されているスタートアップルーチン(プログラム)の中から、ジョグレバーユニットからの制御信号に対応する起動モードに必要なプログラムを選択し、選択したプログラムを実行することによって対応するオペレーティングシステムを起動するようにしている。   Specifically, in the prior art described in Patent Document 1, a plurality of control signals for selecting any one of a plurality of activation modes in which jog lever units operated by a user perform different functions are used. Is output to the microcomputer. The microcomputer responds by selecting a program necessary for the startup mode corresponding to the control signal from the jog lever unit from the startup routine (program) stored in the BIOS ROM, and executing the selected program. The operating system is started.

また、特許文献2に記載の従来技術には、装置に着脱可能な不揮発性記憶媒体から装置内のRAM(Random Access Memory)にプログラムをブートする方式であって、プログラムの起動をより高速に行う画像処理装置に関する技術が開示されている。   The prior art described in Patent Document 2 is a method of booting a program from a nonvolatile storage medium that can be attached to and detached from the device into a RAM (Random Access Memory) in the device, and the program can be started at a higher speed. A technique related to an image processing apparatus is disclosed.

具体的には、特許文献2に記載の従来技術では、最初に不揮発性記憶媒体からRAMにプログラムを読み込む際に不揮発性記憶媒体からRAMへの読み込み履歴情報として、転送元である不揮発性記憶媒体のセクタNoと、転送先であるRAMのアドレスと、機器の構成情報を登録し、CPUを介して不揮発性記憶媒体からRAMにプログラムを読み込む通常起動を実行するのか、CPUを介することなく読み込み履歴情報を用いて不揮発性記憶媒体からRAMにプログラムを読み込む高速起動を実行するのかが登録される起動フラグに、高速起動を実行することを示す情報を設定する。これにより、つぎに不揮発性記憶媒体からRAMにプログラムを読み込む際には、起動フラグに高速起動を実行することを示す情報が設定されているので、現在の機器の構成が読み込み履歴情報に登録された機器の構成情報と同じであれば、当該機器の構成情報に関連付けられたセクタNoおよびアドレスを用いてプロセッサを介することなく不揮発性記憶媒体からRAMにプログラムを読み込むことができる。   Specifically, in the prior art described in Patent Document 2, when a program is first read from the nonvolatile storage medium into the RAM, as a read history information from the nonvolatile storage medium to the RAM, the nonvolatile storage medium that is a transfer source is used. Registers the sector number, the address of the RAM that is the transfer destination, and the configuration information of the device, and executes a normal startup to read the program from the nonvolatile storage medium to the RAM via the CPU, or the reading history without the CPU Information indicating that high-speed startup is to be executed is set in a startup flag in which whether to execute high-speed startup for reading a program from a nonvolatile storage medium into RAM using information is registered. As a result, the next time the program is read from the nonvolatile storage medium into the RAM, the information indicating that high-speed startup is executed is set in the startup flag, so the current device configuration is registered in the read history information. If it is the same as the configuration information of the device, the program can be read from the nonvolatile storage medium to the RAM using the sector number and address associated with the configuration information of the device without using the processor.

しかしながら、上記特許文献1に記載の従来技術では、ジョグレバーユニットによって選択した起動モードに対応するプログラム実行するため、プログラムを選択することはできるが、起動モードに対する必要なプログラムを変更することはできないという問題があった。そのため、ブートシーケンス自体を修正したり、拡張したりすることは困難となる。この問題は、たとえば、プログラムを選択してロードするローダプログラムをリムーバブルメディアに備えることで若干改善されるが、それでも、ローダプログラムを修正、拡張する度に、コンパイルしてリムーバブルメディアに書き込む作業が必要で、効率がよいとはいえない。   However, in the prior art described in Patent Document 1, since the program corresponding to the activation mode selected by the jog lever unit is executed, the program can be selected, but the necessary program for the activation mode cannot be changed. There was a problem. Therefore, it is difficult to correct or extend the boot sequence itself. For example, this problem can be slightly improved by providing a loader program on the removable media to select and load the program. However, every time the loader program is modified or expanded, it must be compiled and written to the removable media. However, it is not efficient.

また、上記特許文献2に記載の従来技術では、1回不揮発性記憶媒体からRAMにプログラムを読み込んだ後は、当該機器の構成情報に関連付けられたセクタNoおよびアドレスを用いて不揮発性記憶媒体からRAMにプログラムを読み込むことができるが、起動時に使用するプログラムファイルの構成や、RAMのロード先であるロードアドレスを変更することはできないという問題があった。   In the prior art described in Patent Document 2, after reading a program from the nonvolatile storage medium once into the RAM, the sector number and address associated with the configuration information of the device are used to read from the nonvolatile storage medium. Although the program can be read into the RAM, there is a problem that the configuration of the program file used at the start-up and the load address that is the load destination of the RAM cannot be changed.

このように、上記特許文献1および特許文献2に記載の従来技術では、ブート時にリムーバブルメディアからコンピュータ内の揮発性の記憶手段にプログラムファイルをロードする際の柔軟性に乏しいという問題があった。   As described above, the conventional techniques described in Patent Document 1 and Patent Document 2 have a problem that flexibility is insufficient when loading a program file from a removable medium to a volatile storage unit in a computer at the time of booting.

特開2005−332405号公報JP 2005-332405 A 特開2006−126987号公報JP 2006-126987 A

本発明は、上記に鑑みてなされたものであって、ローダを変更することなく、リムーバブルメディアからコンピュータの揮発性の記憶手段にプログラムをロードする際のブートシーケンスやロードアドレスを柔軟に変更することができるコンピュータシステムを得ることを目的とする。   The present invention has been made in view of the above, and can flexibly change a boot sequence and a load address when loading a program from a removable medium to a volatile storage unit of a computer without changing a loader. The purpose is to obtain a computer system that can

上述した課題を解決し、目的を達成するために、本発明は、コンピュータと、該コンピュータと着脱可能なリムーバブルメディアとで構成されるコンピュータシステムにおいて、前記リムーバブルメディアは、コンピュータにロードすべきプログラムファイルのプログラム名が登録される複数の下位階層制御ファイルと、下位階層制御ファイルを識別するための識別子に関連付けて下位階層制御ファイルのファイル名が登録される上位階層制御ファイルと、下位階層制御ファイルに登録されたプログラム名が示す各プログラムファイルと、を格納し、コンピュータは、揮発性の記憶手段と、複数のスイッチと、これらスイッチの状態を監視してスイッチの状態の組合せを上位階層制御ファイルの識別子に対応付けたステータス情報をローダ手段に通知するスイッチ監視手段とを有する選択情報入力手段と、スイッチ監視手段から通知されたステータス情報と一致する識別子に関連付けられて上位階層制御ファイルに登録された下位階層制御ファイルのファイル名が示す下位階層制御ファイルに登録されたプログラムファイルのプログラム名が示すプログラムファイルをリムーバブルメディアから記憶手段にロードするローダ手段と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention provides a computer system including a computer and a removable medium removable from the computer, wherein the removable medium is a program file to be loaded into the computer. A plurality of lower layer control files in which the program name is registered, an upper layer control file in which the file name of the lower layer control file is registered in association with an identifier for identifying the lower layer control file, and a lower layer control file Each program file indicated by the registered program name is stored, and the computer monitors volatile storage means, a plurality of switches, the status of these switches, and determines the combination of the switch statuses in the upper layer control file. The status information associated with the identifier The lower layer indicated by the file name of the lower layer control file registered in the upper layer control file in association with the identifier matching the status information notified from the switch monitoring unit Loader means for loading the program file indicated by the program name of the program file registered in the hierarchical control file from the removable medium to the storage means.

また、本発明は、コンピュータと、該コンピュータと着脱可能なリムーバブルメディアとで構成されるコンピュータシステムにおいて、リムーバブルメディアは、コンピュータにロードすべきプログラムファイルのプログラム名に関連付けて、プログラム種別情報と起動情報とを含む制御情報およびプログラムファイルのロードアドレスが登録される制御ファイルと、制御ファイルに登録されたプログラム名が示す各プログラムファイルと、を格納し、コンピュータは、揮発性の記憶手段と、制御ファイルに登録されたプログラム種別情報が所定のプログラム種別を示しているか否かを判定する制御ファイル解析手段と、制御ファイル解析手段が制御ファイルに登録されたプログラム種別情報が所定のプログラム種別を示していると判定した場合には、制御ファイルに登録されたプログラム名が示すプログラムファイルを予め定められたテンポラリーアドレスが示す記憶手段の領域にロードし、プログラム種別情報が所定のプログラム種別を示していないと判定した場合には、制御ファイルに登録されたプログラム名が示すプログラムファイルをプログラム名に関連付けて制御ファイルに登録されたロードアドレスが示す記憶手段の領域にロードするプログラムロード処理手段と、を備え、記憶手段のテンポラリーアドレスが示す領域にロードしたプログラムファイルを実行する際には、テンポラリーアドレスが示す領域にロードしたプログラムファイルを、当該プログラムファイルを示すプログラム名に関連付けて制御ファイルのロードアドレスが示す記憶手段の領域にコピーして実行すること、を特徴とする。   The present invention also relates to a computer system including a computer and a removable medium that can be attached to and detached from the computer. The removable medium is associated with a program name of a program file to be loaded on the computer, and includes program type information and startup information. And a control file in which the load information of the program file is registered, and each program file indicated by the program name registered in the control file. The computer stores a volatile storage means, a control file Control file analysis means for determining whether or not the program type information registered in the file indicates a predetermined program type, and the program type information registered in the control file by the control file analysis means indicates the predetermined program type Determined If the program file indicated by the program name registered in the control file is loaded into the storage unit area indicated by the predetermined temporary address, and it is determined that the program type information does not indicate the predetermined program type Comprises a program load processing means for loading the program file indicated by the program name registered in the control file into the storage means area indicated by the load address registered in the control file in association with the program name, and the temporary means of the storage means When executing the program file loaded in the area indicated by the address, the program file loaded in the area indicated by the temporary address is associated with the program name indicating the program file in the area of the storage means indicated by the load address of the control file. Copy Performing, it characterized.

本発明によれば、リムーバブルメディアに、コンピュータにロードすべきプログラムファイルのプログラム名が登録される複数の下位階層制御ファイルと、下位階層制御ファイルを識別するための識別子に関連付けて下位階層制御ファイルのファイル名が登録される上位階層制御ファイルと、下位階層制御ファイルに登録されたプログラム名が示す各プログラムファイルとを格納し、外部から入力された選択情報および上位階層制御ファイルに基づいて下位階層制御ファイルを選択し、選択した下位階層制御ファイルに登録されたプログラム名が示すプログラムファイルをリムーバブルメディアからコンピュータ内の不揮発性の記憶手段にロードするようにしているため、上位および下位階層制御ファイルを変更するだけで、ローダを変更することなく、リムーバブルメディアからコンピュータの揮発性の記憶手段にプログラムをロードする際のブートシーケンスを柔軟に変更することができるコンピュータシステムを得ることができるという効果を奏する。   According to the present invention, a plurality of lower layer control files in which the program names of program files to be loaded on a computer are registered on a removable medium, and an identifier for identifying the lower layer control file is associated with the lower layer control file. Stores the upper layer control file in which the file name is registered and each program file indicated by the program name registered in the lower layer control file, and controls the lower layer based on the selection information input from the outside and the upper layer control file. Select the file and load the program file indicated by the program name registered in the selected lower level control file from the removable media to the nonvolatile storage means in the computer. Just change the loader It not, there is an effect that it is possible to obtain a computer system capable of flexibly changing the boot sequence for loading the program from the removable media in a volatile memory means of the computer.

また、本発明によれば、リムーバブルメディアに、コンピュータにロードすべきプログラムファイルのプログラム名に関連付けて、プログラム種別情報と起動情報とを含む制御情報およびプログラムファイルのロードアドレスが登録される制御ファイルと、制御ファイルに登録されたプログラム名が示す各プログラムファイルとを格納し、コンピュータは、制御ファイルに登録されたプログラム種別情報が所定のプログラム種別を示していると判定した場合には、制御ファイルに登録されたプログラム名が示すプログラムファイルを予め定められたテンポラリーアドレスが示す記憶手段の領域にロードし、プログラム種別情報が所定のプログラム種別を示していないと判定した場合には、制御ファイルに登録されたプログラム名が示すプログラムファイルをプログラム名に関連付けて制御ファイルに登録されたロードアドレスが示す記憶手段の領域にロードし、記憶手段のテンポラリーアドレスが示す領域にロードしたプログラムファイルを実行する際には、テンポラリーアドレスが示す領域にロードしたプログラムファイルを、当該プログラムファイルを示すプログラム名に関連付けて制御ファイルのロードアドレスが示す記憶手段の領域にコピーして実行するようにしているため、制御ファイルの制御情報のプログラム種別情報を変更するだけで、ローダを変更することなく、制御ファイルのロードアドレスが示す記憶手段の領域に当該プログラムファイルをロードするのか、制御ファイルのロードアドレスとは異なるテンポラリーアドレスが示す記憶手段の領域にロードするのかを選択することができるコンピュータシステムを得ることができるという効果を奏する。   According to the present invention, the control file in which the control information including the program type information and the startup information and the load address of the program file are registered in the removable medium in association with the program name of the program file to be loaded into the computer, Each program file indicated by the program name registered in the control file, and when the computer determines that the program type information registered in the control file indicates a predetermined program type, When the program file indicated by the registered program name is loaded into the area of the storage means indicated by the predetermined temporary address and it is determined that the program type information does not indicate the predetermined program type, the program file is registered in the control file. The program indicated by the program name When the program file loaded in the area indicated by the temporary address of the storage means is loaded into the area of the storage means indicated by the load address registered in the control file in association with the program name, the temporary address indicates Since the program file loaded in the area is copied and executed in the storage means area indicated by the load address of the control file in association with the program name indicating the program file, the program type information in the control information of the control file The program file is loaded into the storage device area indicated by the load address of the control file without changing the loader, or the storage means area indicated by the temporary address different from the load address of the control file is changed. To load An effect that whether it is possible to obtain a computer system that can be selected.

以下に添付図面を参照して、この発明にかかるコンピュータシステムの最良な実施の形態を詳細に説明する。   Exemplary embodiments of a computer system according to the present invention will be explained below in detail with reference to the accompanying drawings.

(第1の実施の形態)
図1〜図6を用いてこの発明の第1の実施の形態を説明する。図1は、この発明におけるコンピュータシステムの第1の実施の形態の構成を示す図である。なお、図1に示したコンピュータシステムの構成は、この発明における第1の実施の形態のコンピュータシステムに必要な機能のみを示している。
(First embodiment)
A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a diagram showing a configuration of a first embodiment of a computer system according to the present invention. The configuration of the computer system shown in FIG. 1 shows only functions necessary for the computer system according to the first embodiment of the present invention.

図1において、コンピュータシステムは、コンピュータ1と、このコンピュータ1と着脱可能であってブート処理によってコンピュータ1にロードされる各種制御ファイル(POWON.BTF21、OS1.BTF22−1、DIAG.BTF22−2、HWMON.BTF22−3、およびOS2.BTF22−4)、および各種プログラムファイル(SYSROM0.BIN23−1、SYSROM2.BIN23−2、LDSYS.SRE23−3、INITSYS.SRE23−4、およびHWMON.SRE23−5)を格納するリムーバブルメディア2とを備えている。   In FIG. 1, a computer system includes a computer 1 and various control files (POWON.BTF21, OS1.BTF22-1, DIAG.BTF22-2, detachable from the computer 1 and loaded into the computer 1 by boot processing). HWMON.BTF22-3 and OS2.BTF22-4), and various program files (SYSROM0.BIN23-1, SYSROM2.BIN23-2, LDSYS.SRE23-3, INITSYS.SRE23-4, and HWMON.SRE23-5) And a removable medium 2 for storing.

リムーバブルメディア2は、ブート処理によってコンピュータ1にロードされる制御ファイル(上位階層制御ファイルおよび下位階層制御ファイル)と、各種プログラムファイルを格納する。図1においては、リムーバブルメディア2は、POWON.BTF21、OS1.BTF22−1、DIAG.BTF22−2、HWMON.BTF22−3、OS2.BTF22−4、SYSROM0.BIN23−1、SYSROM2.BIN23−2、LDSYS.SRE23−3、INITSYS.SRE23−4、およびHWMON.SRE23−5を格納している。なお、ここでは、以下の説明に必要なファイルのみを記載しており、実際には、その他のプログラムファイルも格納している。   The removable medium 2 stores control files (upper layer control file and lower layer control file) loaded on the computer 1 by boot processing and various program files. In FIG. 1, the removable media 2 is POWON. BTF21, OS1. BTF 22-1, DIAG. BTF22-2, HWMON. BTF22-3, OS2. BTF22-4, SYSROM0. BIN23-1, SYSROM2. BIN23-2, LDSYS. SRE23-3, INITSYS. SRE23-4, and HWMON. SRE23-5 is stored. Here, only files necessary for the following description are described, and actually other program files are also stored.

POWON.BTF21は、上位階層制御ファイルであって、ブート処理によってコンピュータ1に最初にロードされる制御ファイルである。POWON.BTF21には、IDに関連付けて下位階層制御ファイルのファイル名が登録される。図2は、POWON.BTF21の一例を示す図である。図2において、POWON.BTF21には、「#」で始まるコメント行と、ファイルの最終行を示す「END」との間に、ID(識別子)とIDに関連付けられた下位階層制御ファイルのファイル名として、「BTF_00:OS1.BTF」、「BTF_01:DIAG.BTF」、「BTF_02:HWMON.BTF」、および「BTF_03:OS2.BTF」が登録されている。ここでは、「BTF_」に続く「00」、「01」、「02」、「03」がIDであり、「OS1.BTF」、「DIAG.BTF」、「HWMON.BTF」、「OS2.BTF」が下位階層制御ファイルのファイル名である。「OS1.BTF」は、第1のOS(オーベレー寝具システム)としてのOS1を起動するための下位階層制御ファイルのファイル名であり、「DIAG.BTF」は、自己診断モードを起動するための下位階層制御ファイルのファイル名であり、「HWMON.BTF」は、H/Wモニタ(ハードウェアモニタ)を起動するための下位階層制御ファイルのファイル名であり、「OS2.BTF」は、第2のOSとしてのOS2を起動するための下位階層制御ファイルのファイル名である。   POWON. The BTF 21 is an upper layer control file and is a control file that is first loaded into the computer 1 by the boot process. POWON. In the BTF 21, the file name of the lower layer control file is registered in association with the ID. FIG. 2 shows POWON. It is a figure which shows an example of BTF21. In FIG. The BTF 21 includes “BTF — 00: OS1” as a file name of an ID (identifier) and a lower layer control file associated with the ID between a comment line starting with “#” and “END” indicating the last line of the file. .BTF "," BTF_01: DIAG.BTF "," BTF_02: HWMON.BTF ", and" BTF_03: OS2.BTF "are registered. Here, “00”, “01”, “02”, “03” following “BTF_” are IDs, and “OS1.BTF”, “DIAG.BTF”, “HWMON.BTF”, “OS2.BTF”. "Is the file name of the lower layer control file. “OS1.BTF” is a file name of a lower layer control file for starting OS1 as the first OS (overlay bedding system), and “DIAG.BTF” is a lower name for starting the self-diagnosis mode. The file name of the hierarchical control file, “HWMON.BTF” is the file name of the lower hierarchical control file for starting the H / W monitor (hardware monitor), and “OS2.BTF” is the second name. This is the file name of the lower layer control file for starting up OS2 as the OS.

図1に戻って、リムーバブルメディア2に格納されるOS1.BTF22−1、DIAG.BTF22−2、HWMON.BTF22−3、およびOS2.BTF22−4は、下位階層制御ファイルであって、コンピュータ1にロードすべきプログラムファイルのプログラム名と当該プログラム名が示すプログラムファイルのオプション情報(制御情報、ロードアドレス、およびスタートアドレス)が登録される。図3は、HWMON.BTF22−3の一例を示す図である。図3において、HWMON.BTF22−3には、「#」で始まるコメント行と、ファイルの最終行を示す「END」との間に、プログラム名「SYSROM0.BIN」、制御情報「00000003」、ロードアドレス「a0080000」、およびスタートアドレス「a0080100」と、プログラム名「SYSROM2.BIN」、制御情報「00000002」、ロードアドレス「a00c0000」、およびスタートアドレス「a00c0100」と、プログラム名「LDSYS.SRE」、制御情報「00000002」、ロードアドレス「a00f0000」、およびスタートアドレス「a00f0100」と、プログラム名「INITSYS.SRE」、制御情報「00000002」、ロードアドレス「a0100000」、およびスタートアドレス「a0100100」と、プログラム名「HWMON.SRE」、制御情報「00000002」、ロードアドレス「a0130000」、およびスタートアドレス「a0130100」とが登録されている。   Returning to FIG. 1, the OS 1. BTF 22-1, DIAG. BTF22-2, HWMON. BTF22-3, and OS2. The BTF 22-4 is a lower layer control file in which the program name of the program file to be loaded into the computer 1 and the option information (control information, load address, and start address) of the program file indicated by the program name are registered. . FIG. 3 shows HWMON. It is a figure which shows an example of BTF22-3. In FIG. 3, HWMON. In the BTF 22-3, a program name “SYSROM0.BIN”, control information “00000003”, a load address “a0080000”, and a comment line beginning with “#” and “END” indicating the last line of the file are included. Start address “a0080100”, program name “SYSROM2.BIN”, control information “00000002”, load address “a00c0000”, start address “a00c0100”, program name “LDSYS.SRE”, control information “00000002”, load Address “a00f0000”, start address “a00f0100”, program name “INITSYS.SRE”, control information “00000002”, load address “a0100000”, and start address "A0100100", program name "HWMON.SRE", control information "00000002", load address "a0130000", and start address "a0130100" are registered.

図3において、制御情報、ロードアドレス、およびスタートアドレスがオプション情報である。このオプション情報はコンピュータ1にプログラムを読み込む際に用いられる情報であるが、詳細は後述する第3の実施の形態で説明する。なお、ここでは、HWMON.BTF22−3を一例として説明したが、OS1.BTF22−1、DIAG.BTF22−2、およびOS2.BTF22−4も登録フォーマットは同様で、コンピュータ1にロードすべきプログラム名とオプション情報とが登録される。   In FIG. 3, control information, a load address, and a start address are option information. The option information is information used when the program is read into the computer 1, and details will be described in a third embodiment to be described later. Here, HWMON. Although BTF22-3 has been described as an example, OS1. BTF 22-1, DIAG. BTF 22-2, and OS2. The registration format of the BTF 22-4 is the same, and the program name and option information to be loaded into the computer 1 are registered.

図1に戻って、リムーバブルメディア2に格納されたSYSROM0.BIN23−1、SYSROM2.BIN23−2、LDSYS.SRE23−3、INITSYS.SRE23−4、およびHWMON.SRE23−5は、コンピュータ1にロードされて実行されるプログラムファイルである。   Returning to FIG. 1, the SYSROM 0. BIN23-1, SYSROM2. BIN23-2, LDSYS. SRE23-3, INITSYS. SRE23-4, and HWMON. The SRE 23-5 is a program file that is loaded into the computer 1 and executed.

コンピュータ1は、Powerスイッチ11、Resetスイッチ12、スイッチ監視回路13、ROM(Read Only Memory)14、RAM(Random Access Memory)15、CPU(Central Processing Unit)16、およびリムーバブルメディアインタフェース部(以下、リムーバブルメディアI/F部という)17を備えている。Powerスイッチ11は、コンピュータ1の電源スイッチであって、ユーザによって操作されその操作によってコンピュータ1に電源を供給するか否かを制御する。Resetスイッチ12は、ユーザによって操作され、その操作によってコンピュータ1をリセットするか否かを制御する。また、Powerスイッチ11およびResetスイッチ12は、コンピュータシステムのブートシーケンスを選択するブートシーケンス入力手段として用いられる。   The computer 1 includes a power switch 11, a reset switch 12, a switch monitoring circuit 13, a ROM (Read Only Memory) 14, a RAM (Random Access Memory) 15, a CPU (Central Processing Unit) 16, and a removable media interface unit (hereinafter referred to as a removable medium). 17 (referred to as media I / F section). The power switch 11 is a power switch of the computer 1 and is operated by a user to control whether power is supplied to the computer 1 by the operation. The reset switch 12 is operated by the user and controls whether or not the computer 1 is reset by the operation. The Power switch 11 and the Reset switch 12 are used as boot sequence input means for selecting a boot sequence of the computer system.

スイッチ監視回路13は、Powerスイッチ11およびResetスイッチ12の状態を監視して、Powerスイッチ11およびResetスイッチ12がブートシーケンス入力手段として用いられた際のユーザの操作の状態(入力動作)からブートシーケンスを選択するためのステータスを認識する。スイッチ監視回路13は、認識したステータスをCPU16に通知する。   The switch monitoring circuit 13 monitors the states of the power switch 11 and the reset switch 12, and determines the boot sequence from the state of the user operation (input operation) when the power switch 11 and the reset switch 12 are used as boot sequence input means. Recognize the status for selecting. The switch monitoring circuit 13 notifies the recognized status to the CPU 16.

図4は、Powerスイッチ11およびResetスイッチ12を選択情報入力手段として用いる際のステータスと入力動作の対応の一例を示す図である。図1においては、Powerスイッチ11およびResetスイッチ12は、押しボタンのスイッチとしている。スイッチ監視回路13は、Powerスイッチ11が押された時間が予め定められた閾値以下の場合には、入力動作はPower短押しでありステータスは「00」であると認識する。スイッチ監視回路13は、Powerスイッチ11が押された時間が予め定められた閾値より長い場合には、入力動作はPower長押しでありステータスは「01」であると認識する。スイッチ監視回路13は、Powerスイッチ11およびResetスイッチ12が両方押された時間が予め定められた閾値以下の場合には、入力動作はPower+Reset短押しでありステータスは「02」であると認識する。スイッチ監視回路13は、Powerスイッチ11およびResetスイッチ12が両方押された時間が予め定められた閾値より長い場合には、入力動作はPower+Reset長押しでありステータスは「03」であると認識する。   FIG. 4 is a diagram showing an example of correspondence between statuses and input operations when the power switch 11 and the reset switch 12 are used as selection information input means. In FIG. 1, the power switch 11 and the reset switch 12 are push button switches. The switch monitoring circuit 13 recognizes that the input operation is a power short press and the status is “00” when the time when the power switch 11 is pressed is equal to or less than a predetermined threshold. When the time for which the power switch 11 is pressed is longer than a predetermined threshold, the switch monitoring circuit 13 recognizes that the input operation is a power long press and the status is “01”. When the time when both the power switch 11 and the reset switch 12 are pressed is equal to or less than a predetermined threshold, the switch monitoring circuit 13 recognizes that the input operation is the power + reset short press and the status is “02”. When the time when both the power switch 11 and the reset switch 12 are pressed is longer than a predetermined threshold, the switch monitoring circuit 13 recognizes that the input operation is the power + reset long press and the status is “03”.

なお、ここでは、入力動作を「Power短押し」、「Power長押し」、「Power+Reset短押し」、および「Power+Reset長押し」として4種類のステータスを割り当てたが、入力動作はこれに限るものではなく、ステータスの数もこれに限るものではない。   Here, four types of statuses are assigned as “Power short press”, “Power long press”, “Power + Reset short press”, and “Power + Reset long press”, but the input operation is not limited to this. In addition, the number of statuses is not limited to this.

図1に戻って、リムーバブルメディアI/F部17は、リムーバブルメディア2とコンピュータ1とのインタフェース機能を備えている。ROM14はローダプログラム141を格納する。ローダプログラム141は、ブート時にCPU16に最初に実行されるプログラムである。CPU16は、ローダプログラム141を実行することで、リムーバブルメディアI/F部17を介してリムーバブルメディア2に格納された各種プログラムを読み込んでRAM15に格納するロード処理を実行するローダ部として動作する。   Returning to FIG. 1, the removable media I / F unit 17 has an interface function between the removable media 2 and the computer 1. The ROM 14 stores a loader program 141. The loader program 141 is a program that is first executed by the CPU 16 at the time of booting. By executing the loader program 141, the CPU 16 operates as a loader unit that reads various programs stored in the removable medium 2 via the removable medium I / F unit 17 and executes a load process for storing in the RAM 15.

ローダ部として動作するCPU16は、スイッチ監視回路13から通知されるステータスに基づいて、POWON.BTF21に登録された下位階層制御ファイルを選択し、選択した下位階層制御ファイルに登録されたプログラムファイルをRAM15に格納する。   Based on the status notified from the switch monitoring circuit 13, the CPU 16 that operates as a loader unit performs POWON. The lower layer control file registered in the BTF 21 is selected, and the program file registered in the selected lower layer control file is stored in the RAM 15.

つぎに、この第1の実施の形態のコンピュータシステムの動作について説明する。ユーザは、コンピュータ1をブートするためにPowerスイッチ11、またはPowerスイッチ11とResetスイッチ12とを押す。Powerスイッチ11が押されたことにより、コンピュータ1の各構成要素に電源が供給され、CPU16は、ROM14に格納されたローダプログラム141の実行を開始し、スイッチ監視回路13は、Powerスイッチ11およびResetスイッチ12の状態の監視を開始する。   Next, the operation of the computer system according to the first embodiment will be described. The user presses the power switch 11 or the power switch 11 and the reset switch 12 to boot the computer 1. When the power switch 11 is pressed, power is supplied to each component of the computer 1, the CPU 16 starts executing the loader program 141 stored in the ROM 14, and the switch monitoring circuit 13 includes the power switch 11 and the reset. Monitoring of the state of the switch 12 is started.

まず、図5のフローチャートを参照して、スイッチ監視回路13のステータス認識処理の動作を説明する。スイッチ監視回路13は、Powerスイッチ11が押されたことを検出すると(ステップS100,Yes)、Resetスイッチ12が押されているか否かを判定する(ステップS101)。Resetスイッチ12が押されていると判定した場合(ステップS101,Yes)、スイッチ監視回路13は、コンピュータ1内の計時機能を用いて押し時間の計測を開始する(ステップS102)。スイッチ監視回路13は、Powerスイッチ11およびResetスイッチ12が押されているか否かを判定する(ステップS103)。Powerスイッチ11およびResetスイッチ12が押されていないと判定した場合(ステップS103,No)、スイッチ監視回路13は、押し時間の計測を終了する(ステップS104)。   First, the operation of status recognition processing of the switch monitoring circuit 13 will be described with reference to the flowchart of FIG. When the switch monitoring circuit 13 detects that the power switch 11 has been pressed (step S100, Yes), it determines whether or not the reset switch 12 has been pressed (step S101). When it is determined that the Reset switch 12 has been pressed (step S101, Yes), the switch monitoring circuit 13 starts measuring the pressing time using the timekeeping function in the computer 1 (step S102). The switch monitoring circuit 13 determines whether or not the power switch 11 and the reset switch 12 are pressed (step S103). When it is determined that the Power switch 11 and the Reset switch 12 are not pressed (No at Step S103), the switch monitoring circuit 13 ends the measurement of the pressing time (Step S104).

スイッチ監視回路13は、計測した押し時間と予め定められた閾値Aとを比較する(ステップS105)。計測した押し時間が閾値A以上の場合(ステップS105,Yes)、スイッチ監視回路13は、先の図4に示した入力動作「Power+Reset長押し」であると認識し、OS2を起動するステータス「03」をCPU16に通知する(ステップS106)。計測した押し時間が閾値Aより小さい場合(ステップS105,No)、スイッチ監視回路13は、先の図4に示した入力動作「Power+Reset短押し」であると認識し、H/Wモニタを起動するステータス「02」をCPU16に通知する(ステップS107)。   The switch monitoring circuit 13 compares the measured pressing time with a predetermined threshold A (step S105). When the measured pressing time is greater than or equal to the threshold A (Yes at step S105), the switch monitoring circuit 13 recognizes that the input operation “Power + Reset long pressing” shown in FIG. Is notified to the CPU 16 (step S106). When the measured pressing time is smaller than the threshold A (No at Step S105), the switch monitoring circuit 13 recognizes that the input operation is “Power + Reset short pressing” shown in FIG. 4 and activates the H / W monitor. The status “02” is notified to the CPU 16 (step S107).

一方、Resetスイッチ12が押されていないと判定した場合(ステップS101,No)、スイッチ監視回路13は、コンピュータ1内の計時機能を用いて押し時間の計測を開始する(ステップS108)。スイッチ監視回路13は、Powerスイッチ11が押されているか否かを判定する(ステップS109)。Powerスイッチ11が押されていないと判定した場合(ステップS109,No)、スイッチ監視回路13は、押し時間の計測を終了する(ステップS110)。   On the other hand, when it is determined that the Reset switch 12 has not been pressed (No at Step S101), the switch monitoring circuit 13 starts measuring the pressing time using the time measuring function in the computer 1 (Step S108). The switch monitoring circuit 13 determines whether or not the power switch 11 is being pressed (step S109). When it is determined that the power switch 11 is not pressed (No at Step S109), the switch monitoring circuit 13 ends the measurement of the pressing time (Step S110).

スイッチ監視回路13は、計測した押し時間と予め定められた閾値Bとを比較する(ステップS111)。計測した押し時間が閾値B以上の場合(ステップS111,Yes)、スイッチ監視回路13は、先の図4に示した入力動作「Power長押し」であると認識し、自己診断モードを起動するステータス「01」をCPU16に通知する(ステップS112)。計測した押し時間が閾値Bより小さい場合(ステップS111,No)、スイッチ監視回路13は、先の図4に示した入力動作「Power短押し」であると認識し、OS1を起動するステータス「00」をCPU16に通知する(ステップS113)。   The switch monitoring circuit 13 compares the measured pressing time with a predetermined threshold value B (step S111). When the measured pressing time is greater than or equal to the threshold value B (step S111, Yes), the switch monitoring circuit 13 recognizes the input operation “Power long press” shown in FIG. 4 and starts the self-diagnosis mode. “01” is notified to the CPU 16 (step S112). When the measured pressing time is smaller than the threshold B (No in step S111), the switch monitoring circuit 13 recognizes that the input operation “Power short pressing” shown in FIG. "Is notified to the CPU 16 (step S113).

つぎに、図6のフローチャートを参照して、ロード処理の動作について説明する。Powerスイッチ11が押されたことにより、コンピュータ1の各構成要素に電源が供給され、CPU16は、ROM14に格納されたローダプログラム141の実行を開始して、ローダ部として動作する。ローダ部として動作するCPU16は、リムーバブルメディアI/F部17を介してリムーバブルメディア2にアクセスしてPOWON.BTF21をRAM15にロードする(ステップS200)。この動作は、スイッチ監視回路13がステータスを認識する動作と同時に行なわれてもよい。   Next, the operation of the load process will be described with reference to the flowchart of FIG. When the power switch 11 is pressed, power is supplied to each component of the computer 1, and the CPU 16 starts executing the loader program 141 stored in the ROM 14 and operates as a loader unit. The CPU 16 that operates as a loader unit accesses the removable medium 2 via the removable medium I / F unit 17 and accesses POWON. The BTF 21 is loaded into the RAM 15 (step S200). This operation may be performed simultaneously with the operation in which the switch monitoring circuit 13 recognizes the status.

スイッチ監視回路13からステータスが通知されると、ローダ部として動作するCPU16は、通知されたステータス、およびPOWON.BTF21に基づいて下位階層制御ファイルを選択する(ステップS201)。具体的には、CPU16は、POWON.BTF21に登録されたIDの中から、通知されたステータスと一致するIDを抽出する。CPU16は、抽出したIDに関連付けられた下位階層制御ファイルのファイル名を取得する。先の図2に示したPOWON.BTF21の場合は、通知されたステータスが「00」であれば、OS1を起動するファイル名「OS1.BTF」を取得し、通知されたステータスが「01」であれば、自己診断モードを起動するファイル名「DIAG.BTF」を取得し、通知されたステータスが「02」であれば、H/Wモニタを起動するファイル名「HWMON.BTF」を取得し、通知されたステータスが「03」であれば、OS2を起動するファイル名「OS2.BTF」を取得する。ここでは、通知されたステータスが「02」であり、CPU16は、H/Wモニタを起動するファイル名「HWMON.BTF」を取得したものとする。   When the status is notified from the switch monitoring circuit 13, the CPU 16 operating as a loader unit receives the notified status, POWON. A lower hierarchy control file is selected based on the BTF 21 (step S201). Specifically, the CPU 16 executes the POWON. An ID that matches the notified status is extracted from the IDs registered in the BTF 21. The CPU 16 acquires the file name of the lower layer control file associated with the extracted ID. POWON. Shown in FIG. In the case of the BTF 21, if the notified status is “00”, the file name “OS1.BTF” for starting OS1 is acquired, and if the notified status is “01”, the self-diagnosis mode is started. If the file name “DIAG.BTF” is acquired and the notified status is “02”, the file name “HWMON.BTF” for starting the H / W monitor is acquired, and the notified status is “03”. If there is, the file name “OS2.BTF” for starting OS2 is acquired. Here, it is assumed that the notified status is “02” and the CPU 16 has acquired the file name “HWMON.BTF” for starting the H / W monitor.

ローダ部として動作するCPU16は、リムーバブルメディアI/F部17を介して、選択(取得)した下位階層制御ファイルをリムーバブルメディア2からRAM15にロードする(ステップS202)。ここでは、ファイル名「HWMON.BTF」が選択されているので、CPU16は、リムーバブルメディア2に格納されたHWMON.BTF22−3をRAM15にロードする。   The CPU 16 operating as a loader unit loads the selected (acquired) lower layer control file from the removable medium 2 to the RAM 15 via the removable medium I / F unit 17 (step S202). Here, since the file name “HWMON.BTF” is selected, the CPU 16 stores the HWMON.B stored in the removable medium 2. The BTF 22-3 is loaded into the RAM 15.

ローダ部として動作するCPU16は、下位階層制御ファイルに基づいて必要なプログラムファイルをリムーバブルメディア2からRAM15にロードする(ステップS203)。ここでは、下位階層制御ファイルとしてHWMON.BTF22−3をRAM15にロードしている。CPU16は、リムーバブルメディアI/F部17を介して、HWMON.BTF22−3に登録されたプログラム名が示すプログラムファイルをRAM15にロードする。たとえば、図3に示したHWMON.BTF22−3の場合、SYSROM0.BIN23−1、SYSROM2.BIN23−2、LDSYS.SRE23−3、INITSYS.SRE23−4、およびHWMON.SRE23−5をRAM15にロードする。HWMON.BTF22−3に登録されたプログラム名が示すプログラムファイルをすべてRAM15にロードした後、CPU16は、H/Wモニタとしての機能を実行する。   The CPU 16 operating as a loader unit loads a necessary program file from the removable medium 2 to the RAM 15 based on the lower layer control file (step S203). Here, HWMON. The BTF 22-3 is loaded into the RAM 15. The CPU 16 passes through the removable media I / F unit 17 to HWMON. The program file indicated by the program name registered in the BTF 22-3 is loaded into the RAM 15. For example, HWMON. In the case of BTF22-3, SYSROM0. BIN23-1, SYSROM2. BIN23-2, LDSYS. SRE23-3, INITSYS. SRE23-4, and HWMON. The SRE 23-5 is loaded into the RAM 15. HWMON. After loading all the program files indicated by the program names registered in the BTF 22-3 into the RAM 15, the CPU 16 executes a function as an H / W monitor.

以上説明したように、この第1の実施の形態においては、リムーバブルメディア2に、コンピュータ1にロードすべきプログラムファイルのプログラム名が登録される複数の下位階層制御ファイルと、下位階層制御ファイルを識別するための識別子(ID)に関連付けて下位階層制御ファイルのファイル名が登録される上位階層制御ファイルと、下位階層制御ファイルに登録されたプログラム名が示す各プログラムファイルとを格納し、Powerスイッチ11およびResetスイッチ12の状態を監視して、Powerスイッチ11およびResetスイッチ12の状態の組合せを示すステータスと一致するIDに関連付けられて上位階層制御ファイルに登録された下位階層制御ファイルのファイル名が示す下位階層制御ファイルを選択し、選択した下位階層制御ファイルに登録されたプログラム名が示すプログラムファイルをリムーバブルメディア2からコンピュータ1内の不揮発性の記憶手段であるRAM15にロードするようにしている。すなわち、上位および下位制御ファイルの登録内容を変更するだけで、Powerスイッチ11およびResetスイッチ12の状態の組合せによって、コンピュータ1内の不揮発性記憶手段であるROM14に格納されたローダプログラム141を変更することなく、リムーバブルメディア2からコンピュータ1のRAM15にプログラムをロードする際のブートシーケンスを柔軟に変更することが可能となる。   As described above, in the first embodiment, a plurality of lower layer control files in which the program names of program files to be loaded into the computer 1 are registered in the removable medium 2 and lower layer control files are identified. An upper layer control file in which the file name of the lower layer control file is registered in association with an identifier (ID) for storing, and each program file indicated by the program name registered in the lower layer control file are stored, and the power switch 11 And the state of the Reset switch 12 are monitored, and the file name of the lower layer control file registered in the upper layer control file associated with the ID indicating the status indicating the combination of the states of the Power switch 11 and the Reset switch 12 is indicated. Select lower layer control file , And to load the program file indicating the program name registered in the selected lower layer control file RAM15 from the removable medium 2 is a non-volatile memory means in the computer 1. That is, the loader program 141 stored in the ROM 14 which is a nonvolatile storage means in the computer 1 is changed by only changing the registered contents of the upper and lower control files, depending on the combination of the states of the power switch 11 and the reset switch 12. Accordingly, it is possible to flexibly change the boot sequence when loading the program from the removable medium 2 to the RAM 15 of the computer 1.

(第2の実施の形態)
図7〜図9を用いてこの発明の第2の実施の形態を説明する。先の第1の実施の形態では、ブートシーケンスの入力手段としてPowerスイッチおよびResetスイッチを用いた場合について説明した。この第2の実施の形態では、入力手段としてキーボードやマウスなど通常コンピュータ1の入力手段をブートシーケンスの入力手段として用いる場合について説明する。
(Second Embodiment)
A second embodiment of the present invention will be described with reference to FIGS. In the first embodiment, the case where the Power switch and the Reset switch are used as the boot sequence input means has been described. In the second embodiment, a description will be given of a case where an input unit of a normal computer 1 such as a keyboard or a mouse is used as an input unit of a boot sequence.

図7は、この発明におけるコンピュータシステムの第2の実施の形態の構成を示す図である。図7に示した第2の実施の形態のコンピュータシステムは、先の図1に示した第1の実施の形態のコンピュータシステムのROM14が格納するローダプログラム141の代わりに、ROM14にはローダプログラム141aが格納され、ブートシーケンスの入力手段であるPowerスイッチ11およびResetスイッチ12と、スイッチ監視回路13とが削除され、キーボード18と表示部19とが追加されている。先の図1に示した第1の実施の形態のコンピュータシステムと同じ機能を持つ構成部分には同一符号を付し、重複する説明は省略する。なお、Powerスイッチ11およびResetスイッチ12は、この第2の実施の形態のブートシーケンスの入力手段としての機能として必要がないので構成要件から削除したが、通常のコンピュータ1に電源を供給するスイッチとしての機能、コンピュータ1をリセットするスイッチしての機能としては存在している。   FIG. 7 is a diagram showing the configuration of the second embodiment of the computer system according to the present invention. The computer system of the second embodiment shown in FIG. 7 has a loader program 141a in the ROM 14 instead of the loader program 141 stored in the ROM 14 of the computer system of the first embodiment shown in FIG. Are stored, the power switch 11 and the reset switch 12 which are boot sequence input means, and the switch monitoring circuit 13 are deleted, and a keyboard 18 and a display unit 19 are added. Components having the same functions as those of the computer system according to the first embodiment shown in FIG. 1 are given the same reference numerals, and redundant descriptions are omitted. Note that the power switch 11 and the reset switch 12 are not necessary as functions as input means of the boot sequence of the second embodiment, and thus are deleted from the configuration requirements. However, the power switch 11 and the reset switch 12 are switches that supply power to the normal computer 1. This function exists as a switch function for resetting the computer 1.

表示部19は、文字や画像などを表示するディスプレイである。キーボード18は、ユーザからに操作されるコンピュータ1の入力手段である。ここでは、キーボード18としたが、マウスなどの入力手段であってもよい。   The display unit 19 is a display that displays characters, images, and the like. The keyboard 18 is input means of the computer 1 operated by the user. Although the keyboard 18 is used here, input means such as a mouse may be used.

ローダプログラム141aは、ブート時にCPU16に最初に実行されるプログラムである。CPU16は、ローダプログラム141aを実行することで、リムーバブルメディアI/F部17を介してリムーバブルメディア2に格納された各種プログラムを読み込んでRAM15に格納するロード処理を実行するローダ部として動作する。   The loader program 141a is a program that is first executed by the CPU 16 at the time of booting. The CPU 16 operates as a loader unit that executes a load process of reading various programs stored in the removable medium 2 via the removable medium I / F unit 17 and storing them in the RAM 15 by executing the loader program 141a.

ローダ部として動作するCPU16は、上位階層制御ファイルであるPOWON.BTF21に登録されたIDおよび下位階層制御ファイルのファイル名を表示部19に表示させる。また、CPU16は、ユーザがキーボード18を用いて選択したIDに基づいて、POWON.BTF21に登録された下位階層制御ファイルを選択し、選択した下位階層制御ファイルに登録されたプログラムファイルをRAM15に格納する。   The CPU 16 that operates as a loader unit receives the POWON. The display unit 19 displays the ID registered in the BTF 21 and the file name of the lower layer control file. Further, the CPU 16 determines the POWON. Based on the ID selected by the user using the keyboard 18. The lower layer control file registered in the BTF 21 is selected, and the program file registered in the selected lower layer control file is stored in the RAM 15.

つぎに、図8のフローチャートを参照して、この第2の実施の形態のコンピュータシステムの動作について説明する。なお、先の図6を用いて説明したロード処理と同じ動作については、その詳細な説明を省略する。コンピュータ1に電源が供給されると、CPU16は、ROM14に格納されたローダプログラム141aの実行を開始して、ローダ部としての動作を開始する。   Next, the operation of the computer system according to the second embodiment will be described with reference to the flowchart of FIG. The detailed description of the same operation as that of the load process described with reference to FIG. 6 is omitted. When power is supplied to the computer 1, the CPU 16 starts executing the loader program 141 a stored in the ROM 14 and starts an operation as a loader unit.

ローダ部として動作するCPU16は、リムーバブルメディアI/F部17を介してリムーバブルメディア2にアクセスしてPOWON.BTF21をRAM15にロードする(ステップS300)。CPU16は、ロードしたPOWON.BTF21に基づいて下位階層制御ファイルの選択画面を表示部19に表示する(ステップS301)。たとえば、図9に示すように、POWON.BTF21に登録されたIDと下位階層制御ファイルのファイル名とを関連付けた選択画面を表示部19に表示する。   The CPU 16 that operates as a loader unit accesses the removable medium 2 via the removable medium I / F unit 17 and accesses POWON. The BTF 21 is loaded into the RAM 15 (step S300). The CPU 16 loads the loaded POWON. A lower layer control file selection screen is displayed on the display unit 19 based on the BTF 21 (step S301). For example, as shown in FIG. A selection screen in which the ID registered in the BTF 21 is associated with the file name of the lower layer control file is displayed on the display unit 19.

ユーザは、表示部19に表示された選択画面に基づいて、実行したいブートシーケンスの下位階層制御ファイルを選択して入力する。たとえば、ユーザは、H/Wモニタを起動する下位階層制御ファイルであるHWMON.BTFを選択する場合、キーボード18を用いて「02」を入力する。   The user selects and inputs a lower layer control file of a boot sequence to be executed based on the selection screen displayed on the display unit 19. For example, the user selects HWMON., Which is a lower-level control file that activates the H / W monitor. When selecting BTF, “02” is input using the keyboard 18.

キーボード18は、入力された値をステータスとしてCPU16に通知する。キーボード18からの通知、すなわちユーザからの入力があると(ステップS302,Yes)、CPU16は、通知されたステータス、およびPOWON.BTF21に基づいて、下位階層制御ファイルを選択する(ステップS303)。ここでは、通知されたステータスが「02」であり、CPU16は、H/Wモニタを起動するファイル名「HWMON.BTF」を取得したものとする。   The keyboard 18 notifies the CPU 16 of the input value as a status. When there is a notification from the keyboard 18, that is, when there is an input from the user (step S302, Yes), the CPU 16 determines that the notified status and POWON. Based on the BTF 21, a lower layer control file is selected (step S303). Here, it is assumed that the notified status is “02” and the CPU 16 has acquired the file name “HWMON.BTF” for starting the H / W monitor.

ローダ部として動作するCPU16は、リムーバブルメディアI/F部17を介して、選択(取得)した下位階層制御ファイルをリムーバブルメディア2からRAM15にロードする(ステップS304)。ここでは、ファイル名「HWMON.BTF」が選択されているので、CPU16は、リムーバブルメディア2に格納されたHWMON.BTF22−3をRAM15にロードする。   The CPU 16 operating as a loader unit loads the selected (acquired) lower layer control file from the removable medium 2 to the RAM 15 via the removable medium I / F unit 17 (step S304). Here, since the file name “HWMON.BTF” is selected, the CPU 16 stores the HWMON.B stored in the removable medium 2. The BTF 22-3 is loaded into the RAM 15.

ローダ部として動作するCPU16は、下位階層制御ファイルに基づいて必要なプログラムファイルをリムーバブルメディア2からRAM15にロードする(ステップS305)。ここでは、下位階層制御ファイルとしてHWMON.BTF22−3をRAM15にロードしている。CPU16は、リムーバブルメディアI/F部17を介して、HWMON.BTF22−3に登録されたプログラム名が示すプログラムファイルをRAM15にロードする。たとえば、図3に示したHWMON.BTF22−3の場合、SYSROM0.BIN23−1、SYSROM2.BIN23−2、LDSYS.SRE23−3、INITSYS.SRE23−4、およびHWMON.SRE23−5をRAM15にロードする。HWMON.BTF22−3に登録されたプログラム名が示すプログラムファイルをすべてRAM15にロードした後、CPU16は、H/Wモニタとしての機能を実行する。   The CPU 16 operating as a loader unit loads a necessary program file from the removable medium 2 to the RAM 15 based on the lower layer control file (step S305). Here, HWMON. The BTF 22-3 is loaded into the RAM 15. The CPU 16 passes through the removable media I / F unit 17 to HWMON. The program file indicated by the program name registered in the BTF 22-3 is loaded into the RAM 15. For example, HWMON. In the case of BTF22-3, SYSROM0. BIN23-1, SYSROM2. BIN23-2, LDSYS. SRE23-3, INITSYS. SRE23-4, and HWMON. The SRE 23-5 is loaded into the RAM 15. HWMON. After loading all the program files indicated by the program names registered in the BTF 22-3 into the RAM 15, the CPU 16 executes a function as an H / W monitor.

以上説明したように、この第2の実施の形態においては、リムーバブルメディア2に、コンピュータ1にロードすべきプログラムファイルのプログラム名が登録される複数の下位階層制御ファイルと、下位階層制御ファイルを識別するための識別子(ID)に関連付けて下位階層制御ファイルのファイル名が登録される上位階層制御ファイルと、下位階層制御ファイルに登録されたプログラム名が示す各プログラムファイルとを格納し、上位階層制御ファイルの登録内容をメニューとして表示してユーザに選択させ、ユーザが選択した下位階層制御ファイルに登録されたプログラム名が示すプログラムファイルをリムーバブルメディア2からコンピュータ1内の不揮発性の記憶手段であるRAM15にロードするようにしている。すなわち、上位および下位制御ファイルの登録内容を変更するだけで、コンピュータ1内の不揮発性記憶手段であるROM14に格納されたローダプログラム141を変更することなく、リムーバブルメディア2からコンピュータ1のRAM15にプログラムをロードする際のブートシーケンスを柔軟に変更することが可能となる。   As described above, in the second embodiment, a plurality of lower layer control files in which the program names of program files to be loaded into the computer 1 are registered in the removable medium 2 and lower layer control files are identified. An upper layer control file in which the file name of the lower layer control file is registered in association with an identifier (ID) for storing and each program file indicated by the program name registered in the lower layer control file is stored, and the upper layer control The registered contents of the file are displayed as a menu and are selected by the user, and the program file indicated by the program name registered in the lower-level control file selected by the user is transferred from the removable medium 2 to the RAM 15 which is a nonvolatile storage means in the computer 1. To load. That is, the program from the removable medium 2 to the RAM 15 of the computer 1 can be changed without changing the loader program 141 stored in the ROM 14 which is a nonvolatile storage means in the computer 1 only by changing the registered contents of the upper and lower control files. It is possible to flexibly change the boot sequence when loading.

(第3の実施の形態)
図10〜図17を用いてこの発明の第3の実施の形態を説明する。この第3の実施の形態では、先の第1および第2の実施の形態の下位階層制御ファイルのオプション情報を用いて、リムーバブルメディア2からRAM15にプログラムファイルをロードする詳細な動作について説明する。
(Third embodiment)
A third embodiment of the present invention will be described with reference to FIGS. In the third embodiment, a detailed operation of loading a program file from the removable medium 2 to the RAM 15 using the option information of the lower layer control file of the first and second embodiments will be described.

図10は、この発明のコンピュータシステムの第3の実施の形態の構成を示す図である。図10に示したこの第3の実施の形態のコンピュータシステムは、先の図1に示した第1の実施の形態のコンピュータシステムのROM14に格納されるローダプログラム141の代わりにローダプログラム141bが格納されている。先の図1に示した第1の実施の形態のコンピュータシステムと同じ機能を持つ構成部分には同一符号を付し、重複する説明は省略する。   FIG. 10 is a diagram showing the configuration of the third embodiment of the computer system of the present invention. The computer system of the third embodiment shown in FIG. 10 stores a loader program 141b instead of the loader program 141 stored in the ROM 14 of the computer system of the first embodiment shown in FIG. Has been. Components having the same functions as those of the computer system according to the first embodiment shown in FIG. 1 are given the same reference numerals, and redundant descriptions are omitted.

まず、先の図3に示したHWMON.BTF22−3のオプション情報について説明する。オプション情報は、制御情報、ロードアドレス、およびスタートアドレスで構成される。制御情報には、関連付けられたプログラム名が示すプログラムファイルの起動情報やプログラムロード情報、プログラム種別情報、動作モード情報、エラー処理情報、メッセージレベル情報など、当該プログラムファイルのロード処理および実行時の処理の各種情報が登録される。   First, the HWMON. The option information of BTF 22-3 will be described. The option information includes control information, a load address, and a start address. Control information includes program file start information, program load information, program load information, program type information, operation mode information, error processing information, message level information, etc. Various information is registered.

図3においては、制御情報は32ビットの各ビットに各種情報が割り当てられ、16進数で記載されている。ビット0は起動情報が割り当てられ、各種プログラムファイルをリムーバブルメディア2からRAM15にロードした後の起動ファイルであるか否かが登録される。ここでは、「1」が起動ファイルであることを示し、「0」が起動ファイルではないことを示している。   In FIG. 3, various information is assigned to each of the 32 bits of control information, and is described in hexadecimal. Activation information is assigned to bit 0, and whether or not the program file is an activation file after various program files are loaded from the removable medium 2 to the RAM 15 is registered. Here, “1” indicates that it is a startup file, and “0” indicates that it is not a startup file.

ビット1はプログラムロード情報が割り当てられ、ロードすべきプログラムファイルであるか否かが登録される。ここでは、「1」がロードすべきプログラムファイルであることを示し、「0」がロードすべきプログラムファイルではないことを示している。ビット2〜10はプログラム種別情報が割り当てられ、ブートやOS、テストなどのプログラム種別を示す情報が登録される。ここでは、ビット3が「1」であればブートに関するプログラムファイルであることを示し、ビット4が「1」であればOSに関するプログラムファイルであることを示し、ビット5が「1」であればテストに関するプログラムファイルであることを示し、ビット2、6〜10は予備とする。   Bit 1 is assigned program load information and registered as to whether or not it is a program file to be loaded. Here, “1” indicates that the program file is to be loaded, and “0” indicates that the program file is not to be loaded. Bits 2 to 10 are assigned program type information, and information indicating the program type such as boot, OS, and test is registered. Here, if bit 3 is “1”, it indicates that the program file is related to boot, if bit 4 is “1”, it indicates that the program file is related to OS, and if bit 5 is “1”, It indicates that the program file is related to the test, and bits 2 and 6 to 10 are reserved.

ビット16〜19は動作モード情報が割り当てられている。ビット20〜25はエラー処理情報が割り当てられ、エラー発生時の処理に関する情報(実行停止、メッセージを出力など)が登録される。ビット26〜31はメッセージレベル情報が割り当てられ、プログラムファイルのメッセージ表示のレベルを示す情報が登録される。動作モード情報、エラー処理情報、およびメッセージレベル情報は、プログラムファイルを起動した実行時に用いられる情報で、ロード処理時には参照することはない。また、ビット11〜15は、予備のビットであり、必要に応じて情報を割り当てればよい。   Bits 16 to 19 are assigned operation mode information. Bits 20 to 25 are assigned error processing information, and information related to processing at the time of error occurrence (execution stop, message output, etc.) is registered. Bits 26 to 31 are assigned message level information, and information indicating the message display level of the program file is registered. The operation mode information, error processing information, and message level information are information that is used when the program file is activated and are not referred to during the load process. Bits 11 to 15 are reserved bits, and information may be assigned as necessary.

ロードアドレスには、関連付けられたプログラム名が示すプログラムファイルをロードするRAM15の先頭アドレスが登録される。スタートアドレスには、関連付けられたプログラム名が示すプログラムファイルを起動する際に実行する最初の命令が格納されたRAM15のアドレスが登録される。   The start address of the RAM 15 that loads the program file indicated by the associated program name is registered in the load address. Registered in the start address is the address of the RAM 15 that stores the first instruction to be executed when the program file indicated by the associated program name is activated.

RAM15にロードした下位階層制御ファイル(この場合はHWMON.BTF22−3)は、ロード処理によってリムーバブルメディア2からRAM15にロードされる各種プログラムファイルやアプリケーションプログラムからも参照可能であり、各種プログラムファイルやアプリケーションプログラムからHWMON.BTF22−3に登録されたプログラム名のプログラムファイルを起動する際には、プログラム名に関連付けられたスタートアドレスに登録されたアドレスが示すRAM15の領域に格納された命令に制御を移行して当該プログラムファイルを起動する。   The lower layer control file loaded in the RAM 15 (in this case, HWMON.BTF22-3) can also be referred to from various program files and application programs loaded from the removable medium 2 to the RAM 15 by the loading process. From the program HWMON. When a program file having a program name registered in the BTF 22-3 is activated, control is transferred to the instruction stored in the area of the RAM 15 indicated by the address registered in the start address associated with the program name, and the program Launch the file.

ローダプログラム141bは、起動処理プログラム1411と、制御ファイル解析プログラム1412と、プログラムロード処理プログラム1413とで構成される。起動処理プログラム1411は、ブート時にCPU16に最初に起動されるプログラムで、ROM14に格納されたローダプログラム141b内の制御ファイル解析プログラム1412およびプログラムロード処理プログラム1413をRAM15にロードさせるプログラムである。   The loader program 141b includes a startup processing program 1411, a control file analysis program 1412, and a program load processing program 1413. The start processing program 1411 is a program that is first started by the CPU 16 at the time of booting, and is a program that loads the control file analysis program 1412 and the program load processing program 1413 in the loader program 141 b stored in the ROM 14 into the RAM 15.

制御ファイル解析プログラム1412は、上位階層制御ファイル(ここではPOWON.BTF21)および下位階層制御ファイル(ここではOS1.BTF22−1、DIAG.BTF22−2、HWMON.BTF22−3、およびOS2.BTF22−4)の登録内容を解析するプログラムである。プログラムロード処理プログラム1413は、リムーバブルメディアI/F部17を介してリムーバブルメディア2からRAM15に各種プログラムをロードするプログラムである。   The control file analysis program 1412 includes an upper layer control file (here POWON.BTF21) and a lower layer control file (here, OS1.BTF22-1, DIAG.BTF22-2, HWMON.BTF22-3, and OS2.BTF22-4). ) Is a program that analyzes the registered contents. The program load processing program 1413 is a program for loading various programs from the removable medium 2 to the RAM 15 via the removable medium I / F unit 17.

CPU16は、起動処理プログラム1411、制御ファイル解析プログラム1412、およびプログラムロード処理プログラム1413を実行することで、図11に示すように起動処理部161、制御ファイル解析部162、およびプログラムロード処理部163として動作する。起動処理部161は、ROM14に格納されるローダプログラム141b内の制御ファイル解析プログラム1412およびプログラムロード処理プログラム1413をRAM15にロードする。   The CPU 16 executes a startup processing program 1411, a control file analysis program 1412, and a program load processing program 1413, thereby forming a startup processing unit 161, a control file analysis unit 162, and a program load processing unit 163 as shown in FIG. Operate. The activation processing unit 161 loads the control file analysis program 1412 and the program load processing program 1413 in the loader program 141 b stored in the ROM 14 into the RAM 15.

制御ファイル解析部162は、スイッチ監視回路13から通知されたステータスに基づいて、POWON.BTF21に登録された下位階層制御ファイルを選択し、選択した下位階層制御ファイルを解析してプログラムファイルのロードに必要な情報(ロード情報)をプログラムロード処理部163に通知する。プログラムロード処理部163は、制御ファイル解析部162から通知されたロード情報に基づいて、リムーバブルメディアI/F部17を介してリムーバブルメディア2からRAM15にプログラムファイルをロードする。   Based on the status notified from the switch monitoring circuit 13, the control file analysis unit 162 generates the POWON. The lower layer control file registered in the BTF 21 is selected, the selected lower layer control file is analyzed, and information necessary for loading the program file (load information) is notified to the program load processing unit 163. The program load processing unit 163 loads a program file from the removable medium 2 to the RAM 15 via the removable medium I / F unit 17 based on the load information notified from the control file analysis unit 162.

つぎに、この第3の実施の形態のコンピュータシステムのロード処理の動作について説明する。この第3の実施の形態のコンピュータシステムのロード処理の動作は、下位階層制御ファイルの制御情報のプログラム種別情報にテストに関するプログラムであることが登録されている場合と、テストに関するプログラムではないことが登録されている場合と
で異なる。まず、図12のフローチャートを参照して、下位階層制御ファイルの制御情報のプログラム種別情報にテストに関するプログラムではないことが登録されている場合のロード処理の動作について説明する。
Next, the load processing operation of the computer system according to the third embodiment will be described. The load processing operation of the computer system according to the third embodiment may be a case where the program related to the test is registered in the program type information of the control information of the lower layer control file, and the case where the program is not related to the test. It differs depending on whether it is registered. First, with reference to the flowchart of FIG. 12, the operation of the load process when it is registered that the program type information of the control information of the lower layer control file is not a program related to the test will be described.

ユーザは、コンピュータ1をブートするためにPowerスイッチ11、またはPowerスイッチ11とResetスイッチ12とを押す。Powerスイッチ11が押されたことにより、コンピュータ1の各構成要素に電源が供給され、CPU16は、ROM14に格納されたローダプログラム141bの実行を開始し、スイッチ監視回路13は、Powerスイッチ11およびResetスイッチ12の状態の監視を開始する。スイッチ監視回路13は、先の図5のフローチャートを参照して説明したステータス認識処理によって、認識したステータスをCPU16に通知する。   The user presses the power switch 11 or the power switch 11 and the reset switch 12 to boot the computer 1. When the power switch 11 is pressed, power is supplied to each component of the computer 1, the CPU 16 starts executing the loader program 141b stored in the ROM 14, and the switch monitoring circuit 13 includes the power switch 11 and the reset. Monitoring of the state of the switch 12 is started. The switch monitoring circuit 13 notifies the CPU 16 of the recognized status through the status recognition process described with reference to the flowchart of FIG.

一方、CPU16は、ROM14に格納されたローダプログラム141b内の起動処理プログラム1411を実行することで起動処理部161として動作する。起動処理部161は、ROM14に格納されたローダプログラム141b内の制御ファイル解析プログラム1412およびプログラムロード処理プログラム1413をRAM15にロードする(ステップS400)。   On the other hand, the CPU 16 operates as the activation processing unit 161 by executing the activation processing program 1411 in the loader program 141 b stored in the ROM 14. The activation processing unit 161 loads the control file analysis program 1412 and the program load processing program 1413 in the loader program 141b stored in the ROM 14 into the RAM 15 (step S400).

起動処理部161は、制御ファイル解析プログラム1412およびプログラムロード処理プログラム1413をRAM15にロードした後に、RAM15にロードした制御ファイル解析プログラムを起動する(ステップS401)。これにより、CPU16は、制御ファイル解析部162として動作する。制御ファイル解析部162は、リムーバブルメディアI/F部17を介して、POWON.BTF21をRAM15にロードする(ステップS402)。   The activation processing unit 161 loads the control file analysis program 1412 and the program load processing program 1413 into the RAM 15, and then activates the control file analysis program loaded into the RAM 15 (step S401). As a result, the CPU 16 operates as the control file analysis unit 162. The control file analysis unit 162 is connected via the removable media I / F unit 17 to POWON. The BTF 21 is loaded into the RAM 15 (step S402).

制御ファイル解析部162は、スイッチ監視回路13から通知されたステータス、およびPOWON.BTF21に基づいて下位階層制御ファイルを選択する(ステップS403)。具体的には、制御ファイル解析部162は、POWON.BTF21に登録されたIDの中から、通知されたステータスと一致するIDを抽出する。ここでは、ステータスとして「02」が通知され、制御ファイル解析部162、H/Wモニタを起動するファイル名「HWMON.BTF」を取得したものとする。   The control file analysis unit 162 displays the status notified from the switch monitoring circuit 13 and the POWON. A lower layer control file is selected based on the BTF 21 (step S403). Specifically, the control file analysis unit 162 performs the POWON. An ID that matches the notified status is extracted from the IDs registered in the BTF 21. Here, it is assumed that “02” is notified as the status and the control file analysis unit 162 and the file name “HWMON.BTF” for starting the H / W monitor are acquired.

制御ファイル解析部162は、リムーバブルメディアI/F部17を介して、選択(取得)した下位階層制御ファイルをリムーバブルメディア2からRAM15にロードする(ステップS404)。ここでは、ファイル名「HWMON.BTF」が選択されているので、制御ファイル解析部162は、リムーバブルメディア2に格納されたHWMON.BTF22−3をRAM15にロードする。   The control file analysis unit 162 loads the selected (acquired) lower layer control file from the removable media 2 to the RAM 15 via the removable media I / F unit 17 (step S404). Here, since the file name “HWMON.BTF” is selected, the control file analysis unit 162 stores the HWMON.B stored in the removable medium 2. The BTF 22-3 is loaded into the RAM 15.

制御ファイル解析部162は、ロードした下位階層制御ファイルをリードしてファイル名およびオプション情報(制御情報、ロードアドレス、およびスタートアドレス)を取得する(ステップS405)。先の図3に示したHWMON.BTF22−3の場合、制御ファイル解析部162は、まず、コメント行を除く最初の行のプログラム名「SYSROM0.BIN」、制御情報「00000003」、ロードアドレス「a0080000」、およびスタートアドレス「a0080100」を取得する。   The control file analysis unit 162 reads the loaded lower layer control file and acquires the file name and option information (control information, load address, and start address) (step S405). The HWMON. In the case of the BTF 22-3, the control file analysis unit 162 first obtains the program name “SYSROM0.BIN”, the control information “00000003”, the load address “a0080000”, and the start address “a0080100” on the first line excluding the comment line. get.

制御ファイル解析部162は、取得した制御情報に基づいてロードの必要があるか否かを判定する(ステップS406)。上述したように、制御情報のプログラムロード情報(制御情報のビット1)にロードすべきプログラムファイルであるか否かの情報が登録されている。したがって、制御ファイル解析部162は、制御情報のビット1が「1」であればロードの必要があるファイルであると判定し、制御情報のビット1が「0」であればロードの必要がないファイルであると判定する。ロードの必要がないと判定した場合(ステップS406,No)、制御ファイル解析部162は、下位階層制御ファイルの現在リードしたつぎの行をリードしてプログラム名およびオプション情報を取得するステップS405の処理に戻る。ここでは、制御情報は「00000003」でありビット1は「1」である。よって、制御ファイル解析部162は、プログラム名「SYSROM0.BIN」はロードすべきプログラムファイルであると判定する。   The control file analysis unit 162 determines whether or not loading is necessary based on the acquired control information (step S406). As described above, information indicating whether or not a program file is to be loaded is registered in the program load information (control information bit 1) of the control information. Therefore, the control file analysis unit 162 determines that the file needs to be loaded if bit 1 of the control information is “1”, and does not need to be loaded if bit 1 of the control information is “0”. Judged to be a file. If it is determined that there is no need for loading (No at step S406), the control file analysis unit 162 reads the next line currently read in the lower layer control file and acquires the program name and option information in step S405. Return to. Here, the control information is “00000003” and bit 1 is “1”. Therefore, the control file analysis unit 162 determines that the program name “SYSROM0.BIN” is a program file to be loaded.

ロードの必要があると判定した場合(ステップS406、Yes)、制御ファイル解析部162は、制御情報のビット0(起動ビット)が起動ファイルであることを示しているか否かを判定し、起動ファイルであることを示している場合にはスタートアドレスを保持しておく。制御ファイル解析部162は、取得したプログラム名およびロードアドレスをロード情報としてプログラムロード処理プログラム1413を起動する(ステップS407)。これにより、CPU16は、プログラムロード処理部163として動作する。ここでは、ロード情報は、プログラム名「SYSROM0.BIN」、およびロードアドレス「a0080000」となる。   When it is determined that loading is necessary (step S406, Yes), the control file analysis unit 162 determines whether or not bit 0 (start bit) of the control information indicates a start file, and the start file If this is the case, the start address is retained. The control file analysis unit 162 activates the program load processing program 1413 using the acquired program name and load address as load information (step S407). As a result, the CPU 16 operates as the program load processing unit 163. Here, the load information is the program name “SYSROM0.BIN” and the load address “a0080000”.

プログラムロード処理部163は、制御ファイル解析部162からのロード情報に基づいて、リムーバブルメディアI/F部17を介してリムーバブルメディア2からRAM15にプログラムファイルをロードする(ステップS408)。ここでは、ロード情報は、プログラム名「SYSROM0.BIN」、およびロードアドレス「a0080000」、であるので、プログラムロード処理部163は、リムーバブルメディアI/F部17を介して、リムーバブルメディア2に格納されたSYSROM0.BIN23−1を、RAM15のアドレス「a0080000」が示す領域にロードする。   Based on the load information from the control file analysis unit 162, the program load processing unit 163 loads the program file from the removable medium 2 to the RAM 15 via the removable medium I / F unit 17 (step S408). Here, since the load information is the program name “SYSROM0.BIN” and the load address “a0080000”, the program load processing unit 163 is stored in the removable medium 2 via the removable medium I / F unit 17. SYSROM0. The BIN 23-1 is loaded into the area indicated by the address “a0080000” of the RAM 15.

RAM15にプログラムファイル(ここでは、SYSROM0.BIN23−1)をロードした後、プログラムロード処理部163は、制御ファイル解析プログラム1412を起動する。これにより、CPU16は、制御ファイル解析部162として動作する。   After loading the program file (here, SYSROM0.BIN23-1) into the RAM 15, the program load processing unit 163 activates the control file analysis program 1412. As a result, the CPU 16 operates as the control file analysis unit 162.

制御ファイル解析部162は、下位階層制御ファイルの最終行(図3においては「END」)を検出するまで、下位階層制御ファイルをリードしてプログラム名およびオプション情報を取得し、オプション情報内の制御情報に基づいてロードの必要があるか否かを判定し、ロードの必要があると判定した場合には、プログラムロード処理部163が、プログラム名およびロードアドレスに基づいてリムーバブルメディア2からRAM15にプログラムファイルをロードする処理を繰り返し、下位階層制御ファイルに登録されたロードすべきプログラムファイルをRAM15にロードする(ステップS405〜S409)。   The control file analysis unit 162 reads the lower layer control file to acquire the program name and option information until the last line of the lower layer control file ("END" in FIG. 3) is detected, and acquires the control information in the option information. Based on the information, it is determined whether or not loading is necessary. If it is determined that loading is necessary, the program load processing unit 163 loads the program from the removable medium 2 to the RAM 15 based on the program name and load address. The process of loading the file is repeated, and the program file to be loaded registered in the lower layer control file is loaded into the RAM 15 (steps S405 to S409).

先の図3に示したHWMON.BTF22−3の場合、プログラム名「SYSROM0.BIN」、「SYSROM2.BIN」、「LDSYS.SRE」、「INITSYS.SRE」、「HWMON.SRE」の各制御情報のロード情報(ビット1)が「1」であるので、リムーバブルメディア2に格納されたSYSROM0.BIN23−1がRAM15のアドレス「a008000」から格納され、リムーバブルメディア2に格納されたSYSROM2.BIN23−2がRAM15のアドレス「a00c000」から格納され、リムーバブルメディア2に格納されたLDSYS.SRE23−3がRAM15のアドレス「a00f000」から格納され、リムーバブルメディア2に格納されたINITSYS.SRE23−4がRAM15のアドレス「a010000」から格納され、リムーバブルメディア2に格納されたHWMON.SRE23−5がRAM15のアドレス「a013000」から格納される。また、プログラム名「SYSROM0.BIN」に関連付けられた制御情報の起動情報(ビット0)が「1」であるので、プログラム名「SYSROM0.BIN」に関連付けられたスタートアドレス「a0080100」が保持される。   The HWMON. In the case of BTF22-3, the load information (bit 1) of each control information of the program names “SYSROM0.BIN”, “SYSROM2.BIN”, “LDSYS.SRE”, “INITSYS.SRE”, “HWMON.SRE” is “ 1 ”, the SYSROM 0. BIN 23-1 is stored from the address “a008000” of the RAM 15, and the SYSROM 2. BIN23-2 is stored from the address "a00c000" of the RAM 15, and the LDSYS.BIN stored in the removable medium 2 is stored. SRE23-3 is stored from the address "a00f000" in the RAM 15, and the INITSYS. SRE 23-4 is stored from the address “a010000” of the RAM 15, and the HWMON. SRE 23-5 is stored from the address “a013000” of the RAM 15. Further, since the activation information (bit 0) of the control information associated with the program name “SYSROM0.BIN” is “1”, the start address “a0080100” associated with the program name “SYSROM0.BIN” is retained. .

下位階層制御ファイルの終了(最終行)まで解析した後(ステップS409,Yes)、制御ファイル解析部162は、下位階層制御ファイルで起動プログラムとして設定されたプログラムに制御を移行する(ステップS410)。具体的には、制御ファイル解析部162は、下位階層制御ファイルの解析の際に保持したスタートアドレス、すなわち、起動ビットに「1」が登録されていた制御情報に関連付けられたプログラム名のスタートアドレスに登録されたアドレスが示すRAM15の領域に格納された命令に制御を移行して当該プログラムファイルを起動する。ここでは、プログラム名「SYSROM0.BIN」に関連付けられたスタートアドレス「a0080100」が保持されているので、アドレス「a0080100」が示すRAM15の領域に格納された命令に制御を移行してプログラム名「SYSROM0.BIN」のプログラムファイルを起動する。   After analyzing to the end (last line) of the lower layer control file (step S409, Yes), the control file analysis unit 162 shifts control to the program set as the activation program in the lower layer control file (step S410). Specifically, the control file analysis unit 162 stores the start address held when analyzing the lower layer control file, that is, the start address of the program name associated with the control information in which “1” is registered in the start bit. The control is transferred to the instruction stored in the area of the RAM 15 indicated by the address registered in, and the program file is activated. Here, since the start address “a0080100” associated with the program name “SYSROM0.BIN” is held, control is transferred to the instruction stored in the area of the RAM 15 indicated by the address “a0080100”, and the program name “SYSROM0” is stored. .BIN "program file is started.

また、プログラム名「SYSROM0.BIN」のプログラムファイルから下位階層制御ファイルの制御情報の起動情報に起動プログラムではないことが登録されたプログラム名のプログラムファイルを起動する場合には、下位階層制御ファイルを参照して、起動すべきプログラムファイルのプログラム名に関連付けられたスタートアドレスを取得し、取得したスタートアドレスに登録されたアドレスが示すRAM15の領域に格納された命令に制御を移行して当該プログラムファイルを起動する。   When starting a program file having a program name registered as not being a start program in the start information of the control information of the lower layer control file from the program file of the program name “SYSROM0.BIN”, the lower layer control file is Referring to and acquiring the start address associated with the program name of the program file to be activated, control is transferred to the instruction stored in the area of the RAM 15 indicated by the address registered in the acquired start address, and the program file Start up.

つぎに、図13〜図15を用いて、下位階層制御ファイルの制御情報のプログラム種別情報にテストに関するプログラムであることが登録されている場合について説明する。図13は、制御情報のプログラム種別情報にテストに関するプログラムであることが登録されている下位階層制御ファイルの一例を示す図である。図13においては、プログラム名「TEST1.BIN:TEST1」に関連付けて制御情報「00000022」、ロードアドレス「a0030000」、スタートアドレス「a0030100」が登録され、プログラム名「TEST2.BIN:TEST2」に関連付けて制御情報「00000022」、ロードアドレス「a0030000」、スタートアドレス「a0030100」が登録され、プログラム名「BOOTFW.BIN」に関連付けて制御情報「00000003」、ロードアドレス「a0080000」、スタートアドレス「a0080000」が登録され、プログラム名「OS.BIN」に関連付けて制御情報「00000002」、ロードアドレス「a00c0000」、スタートアドレス「a00c0100」が登録され、プログラム名「TEST9_BIN:TEST3」に関連付けて制御情報「00000022」、ロードアドレス「a0030000」、スタートアドレス「a0030100」が登録され、プログラム名「TEST10_BIN:TEST4」に関連付けて制御情報「00000022」、ロードアドレス「a0030000」、スタートアドレス「a0030100」が登録されている。すなわち、制御情報のプログラム種別情報にテストに関するプログラムであることが登録されている(制御情報のビット5が「1」)プログラム名(TEST1.BIN、TEST2.BIN、TEST9.BIN、TEST10.BIN)に関連付けられたロードアドレスおよびスタートアドレスには、それぞれ同一のアドレス「a0030000」および「a0030100」が登録されている。このように、デバッグモニタ上(非OS下)で動作させるテストプログラムなどは、固定の同じ物理アドレスで動作させることが多い。   Next, a case where a program related to a test is registered in the program type information of the control information of the lower layer control file will be described with reference to FIGS. FIG. 13 is a diagram illustrating an example of a lower layer control file in which the program type information of the control information is registered as a program related to a test. In FIG. 13, the control information “00000002”, the load address “a0030000”, and the start address “a0030100” are registered in association with the program name “TEST1.BIN: TEST1”, and are associated with the program name “TEST2.BIN: TEST2”. Control information “00000002”, load address “a0030000”, and start address “a0030100” are registered, and control information “00000003”, load address “a0080000”, and start address “a0080000” are registered in association with the program name “BOOTTW.BIN”. In association with the program name “OS.BIN”, the control information “00000002”, the load address “a00c0000”, and the start address “a00c0100” The control information “00000002”, the load address “a0030000”, and the start address “a0030100” are registered in association with the program name “TEST9_BIN: TEST3”, and the control information “00000002” in association with the program name “TEST10_BIN: TEST4”. A load address “a0030000” and a start address “a0030100” are registered. That is, it is registered in the program type information of the control information that the program is related to the test (bit 5 of the control information is “1”). Program name (TEST1.BIN, TEST2.BIN, TEST9.BIN, TEST10.BIN) The same addresses “a0030000” and “a0030100” are registered in the load address and the start address associated with. As described above, a test program or the like that is operated on the debug monitor (under the non-OS) is often operated at the same fixed physical address.

図14のフローチャートを参照して、下位階層制御ファイルの制御情報のプログラム種別情報にテストに関するプログラムであることが登録されている場合のコンピュータシステムのロード処理の動作について説明する。なお、電源が投入されてCPU16がローダプログラム141b内の起動処理プログラム1411を実行することで起動処理部161として動作してRAM15に制御ファイル解析プログラム1412およびプログラムロード処理プログラム1413をロードし、CPU16が、制御ファイル解析プログラム1412を実行することで制御ファイル解析部162として動作してPOWON.BTF21をリムーバブルメディア2からRAM15にロードし、スイッチ監視回路13から通知されたステータスおよびPOWON.BTF21に基づいて下位階層制御ファイルをリムーバブルメディア2からRAM15にロードする動作は、先の図12のフローチャートを参照して説明したステップS400〜S404と同様の動作であるので、ここではその説明を省略する。なお、ここでは、先の図13に示した下位階層制御ファイルをリムーバブルメディア2からRAM15にロードしたものとする。   With reference to the flowchart of FIG. 14, the operation of the load processing of the computer system when the program type information of the control information of the lower layer control file is registered as a program related to the test will be described. When the power is turned on and the CPU 16 executes the boot processing program 1411 in the loader program 141b, the CPU 16 operates as the boot processing unit 161, loads the control file analysis program 1412 and the program load processing program 1413 into the RAM 15, and the CPU 16 By executing the control file analysis program 1412, the control file analysis unit 162 operates as a POWON. The BTF 21 is loaded from the removable medium 2 into the RAM 15, and the status and POWON. The operation of loading the lower layer control file from the removable medium 2 to the RAM 15 based on the BTF 21 is the same as the operation in steps S400 to S404 described with reference to the flowchart of FIG. To do. Here, it is assumed that the lower layer control file shown in FIG. 13 is loaded from the removable medium 2 to the RAM 15.

制御ファイル解析部162は、ロードした下位階層制御ファイルをリードしてプログラム名およびオプション情報(制御情報、ロードアドレス、およびスタートアドレス)を取得する(ステップS500)。制御ファイル解析部162は、取得した制御情報に基づいてロードの必要があるか否かを判定する(ステップS501)。ロードの必要がないと判定した場合(ステップS501,No)、制御ファイル解析部162は、下位階層制御ファイルの現在リードしたつぎの行をリードしてプログラム名およびオプション情報を取得するステップS500の処理に戻る。   The control file analysis unit 162 reads the loaded lower layer control file and acquires the program name and option information (control information, load address, and start address) (step S500). The control file analysis unit 162 determines whether or not loading is necessary based on the acquired control information (step S501). If it is determined that there is no need to load (No in step S501), the control file analysis unit 162 reads the next line currently read in the lower layer control file and acquires the program name and option information in step S500. Return to.

ロードの必要があると判定した場合(ステップS501,Yes)、制御ファイル解析部162は、取得した制御情報に基づいてプログラム退避を行なうか否かを判定する(ステップS502)。具体的には、制御ファイル解析部162は、制御情報のプログラム種別情報がテストに関するプログラムであることを示しているか否か、(ここでは、制御情報のビット5が「1」であるか否か)を判定し、制御情報のビット5が「1」である場合にはプログラム退避を行なうと判定し、制御情報のビット5が「0」である場合にはプログラム退避を行なわないと判定する。プログラム退避とは、一旦プログラムをRAM15のテンポラリー領域に記憶し、プログラム実行の際に当該プログラムをRAM15の所定の領域にコピーして実行させることをいう。   If it is determined that loading is necessary (step S501, Yes), the control file analysis unit 162 determines whether to save the program based on the acquired control information (step S502). Specifically, the control file analysis unit 162 determines whether or not the program type information of the control information indicates that the program is related to a test (in this case, whether or not bit 5 of the control information is “1”). When the control information bit 5 is “1”, it is determined that the program is to be saved, and when the control information bit 5 is “0”, it is determined that the program is not to be saved. The program saving means that a program is temporarily stored in a temporary area of the RAM 15 and the program is copied to a predetermined area of the RAM 15 and executed when the program is executed.

プログラム退避を行なわないと判定した場合(ステップS502,No)、制御情報のビット0(起動ビット)が起動ファイルであることを示しているか否かを判定し、起動ファイルであることを示している場合にはスタートアドレスを保持しておく。制御ファイル解析部162は、取得したプログラム名およびロードアドレスをロード情報とし、プログラムロード処理プログラム1413を起動する(ステップS503)。これにより、CPU16は、プログラムロード処理部163として動作する。   If it is determined not to save the program (No in step S502), it is determined whether or not bit 0 (activation bit) of the control information indicates a startup file, indicating that it is a startup file. In this case, the start address is held. The control file analysis unit 162 uses the acquired program name and load address as load information, and starts the program load processing program 1413 (step S503). As a result, the CPU 16 operates as the program load processing unit 163.

プログラムロード処理部163は、制御ファイル解析部162からのロード情報に基づいて、リムーバブルメディアI/F部17を介してリムーバブルメディア2からRAM15にプログラムファイルをロードする(ステップS504)。すなわち、プログラムロード処理部163は、下位階層制御ファイルのロードアドレスに示されたRAM15のアドレスに下位階層制御ファイルのプログラム名に登録されたプログラム名が示すリムーバブルメディア2内のプログラムファイルをロードする。   Based on the load information from the control file analysis unit 162, the program load processing unit 163 loads a program file from the removable medium 2 to the RAM 15 via the removable medium I / F unit 17 (step S504). That is, the program load processing unit 163 loads the program file in the removable medium 2 indicated by the program name registered in the program name of the lower hierarchy control file at the address of the RAM 15 indicated by the load address of the lower hierarchy control file.

一方、プログラム退避を行なうと判定した場合(ステップS502,Yes)、制御ファイル解析部162は、下位階層制御ファイルから取得したプログラム名とテンポラリーアドレスとをロード情報とする。テンポラリーアドレスとは、下位階層制御ファイルから取得したロードアドレスで指定された領域とは異なるRAM15のテンポラリー領域を示すアドレスであり、実際にプログラム名が示すプログラムファイルがロードされるRAM15のアドレスのことである。   On the other hand, if it is determined that the program is to be saved (step S502, Yes), the control file analysis unit 162 uses the program name and temporary address acquired from the lower layer control file as load information. The temporary address is an address indicating a temporary area of the RAM 15 different from the area specified by the load address acquired from the lower layer control file, and is an address of the RAM 15 where the program file indicated by the program name is actually loaded. is there.

制御ファイル解析部162は、下位階層制御ファイルから取得したプログラム名、制御情報、ロードアドレス、およびスタートアドレスと、テンポラリーアドレスとを関連付けたプログラムロード情報をRAM15の所定の領域に格納する(ステップS505)。制御ファイル解析部162は、取得したプログラム名およびテンポラリーアドレスをロード情報としてプログラムロード処理プログラム1413を起動する(ステップS506)。これにより、CPU16は、プログラムロード処理部163として動作する。   The control file analysis unit 162 stores program load information in which the program name, control information, load address, start address, and temporary address acquired from the lower layer control file are associated with the temporary address in a predetermined area of the RAM 15 (step S505). . The control file analysis unit 162 starts the program load processing program 1413 using the acquired program name and temporary address as load information (step S506). As a result, the CPU 16 operates as the program load processing unit 163.

プログラムロード処理部163は、制御ファイル解析部162からのロード情報に基づいて、リムーバブルメディアI/F部17を介してリムーバブルメディア2からRAM15にプログラムファイルをテンポラリー領域にロードする(ステップS507)。   Based on the load information from the control file analysis unit 162, the program load processing unit 163 loads a program file from the removable medium 2 to the RAM 15 via the removable medium I / F unit 17 (step S507).

制御ファイル解析部162は、下位階層制御ファイルの最終行(図13においては「END」)を検出するまで、下位階層制御ファイルをリードしてプログラム名およびオプション情報を取得し、オプション情報内の制御情報に基づいてロードの必要があるか否かおよびプログラム退避が必要であるか否かを判定し、ロードの必要がありかつプログラム退避が必要でないと判定された場合には、プログラムロード処理部163が下位階層制御ファイルのプログラム名が示すリムーバブルメディア2内のプログラムファイルを下位階層制御ファイルのロードアドレスが示すRAM15の領域にロードし、ロードの必要がありかつプログラム退避が必要である判定された場合には、プログラムロード処理部163が下位階層制御ファイルのプログラム名が示すリムーバブルメディア2内のプログラムファイルを下位階層制御ファイルのロードアドレスとは異なるテンポラリーアドレスが示すRAM15の領域にロードする動作を繰り返す(ステップS502〜S508)。   The control file analysis unit 162 reads the lower layer control file to acquire the program name and option information until the last line of the lower layer control file ("END" in FIG. 13) is detected, and acquires the control information in the option information. Based on the information, it is determined whether or not loading is necessary and whether or not program saving is necessary. When it is determined that loading is necessary and program saving is not necessary, the program loading processing unit 163 When the program file in the removable medium 2 indicated by the program name of the lower hierarchy control file is loaded into the area of the RAM 15 indicated by the load address of the lower hierarchy control file, it is determined that the program needs to be loaded and the program needs to be saved. In this case, the program load processing unit 163 displays the program of the lower layer control file. The program files in the removable medium 2 beam name indicates repeated operation of loading the region of RAM15 shown different temporary address from the load address of the lower layer control file (step S502~S508).

制御ファイル解析部162は、下位階層制御ファイルの終了(最終行)まで解析した後(ステップS508,Yes)、下位階層制御ファイルで起動プログラムとして設定されたプログラムに制御を移行する(ステップS509)。   The control file analysis unit 162 analyzes until the end (last line) of the lower layer control file (step S508, Yes), and then transfers control to the program set as the activation program in the lower layer control file (step S509).

図15は、先の図13に示した下位階層制御ファイルに基づいてリムーバブルメディア2に格納されたプログラムファイルをRAM15にロードした際のロード状態を示す図である。先の図13に示した下位階層制御ファイルにおいては、プログラム名「TEST1.BIN:TEST1」、「TEST2.BIN:TEST2」、「TEST9_BIN:TEST3」、「TEST10_BIN:TEST4」の制御情報のプログラム種別情報にはテストに関するプログラムであること(制御情報のビット5に「1」)が登録され、プログラム名「BOOTFW.BIN」、「OS.BIN」の制御情報のプログラム種別情報にはテストに関するプログラムではないこと(制御情報のビット5に「0」)が登録されている。したがって、リムーバブルメディア2に格納されたプログラム名「TEST1.BIN:TEST1」のプログラムファイルは、テンポラリーアドレス「b0000000」が示すRAM15の領域にロードされ、リムーバブルメディア2に格納されたプログラム名「TEST2.BIN:TEST2」のプログラムファイルは、テンポラリーアドレス「b0050000」が示すRAM15の領域にロードされ、リムーバブルメディア2に格納されたプログラム名「TEST9_BIN:TEST3」は、テンポラリーアドレス「b0100000」が示すRAM15の領域にロードされ、リムーバブルメディア2に格納されたプログラム名「TEST10_BIN:TEST4」のプログラムファイルは、テンポラリーアドレス「b01f0000」が示すRAM15の領域にロードされている。また、リムーバブルメディア2に格納されたプログラム名「BOOTFW.BIN」が示すプログラムファイルは、下位階層制御ファイルのロードアドレス「a0080000」が示すRAM15の領域にロードされ、ムーバブルメディア2に格納されたプログラム名「OS.BIN」が示すプログラムファイルは、下位階層制御ファイルのロードアドレス「a00c0000」が示すRAM15の領域にロードされている。   FIG. 15 is a diagram showing a loading state when the program file stored in the removable medium 2 is loaded into the RAM 15 based on the lower layer control file shown in FIG. In the lower layer control file shown in FIG. 13, the program type information of the control information of the program names “TEST1.BIN: TEST1”, “TEST2.BIN: TEST2”, “TEST9_BIN: TEST3”, “TEST10_BIN: TEST4”. Is a program related to the test ("1" in bit 5 of the control information), and the program type information of the control information of the program names "BOOTFW.BIN" and "OS.BIN" is not a program related to the test ("0" in bit 5 of the control information) is registered. Therefore, the program file with the program name “TEST1.BIN: TEST1” stored in the removable medium 2 is loaded into the area of the RAM 15 indicated by the temporary address “b0000000” and the program name “TEST2.BIN stored in the removable medium 2 is stored. : TEST2 "is loaded into the RAM 15 area indicated by the temporary address" b00500000 ", and the program name" TEST9_BIN: TEST3 "stored in the removable medium 2 is loaded into the RAM 15 area indicated by the temporary address" b0100000 ". The program file with the program name “TEST10_BIN: TEST4” stored in the removable medium 2 has a temporary address “b01”. 0000 "is loaded in the area of the RAM15 shown. The program file indicated by the program name “BOOTFW.BIN” stored in the removable medium 2 is loaded into the area of the RAM 15 indicated by the load address “a0080000” of the lower layer control file, and the program name stored in the removable medium 2 is stored. The program file indicated by “OS.BIN” is loaded in the area of the RAM 15 indicated by the load address “a00c0000” of the lower layer control file.

また、RAM15のデータ領域には、制御ファイル解析部162が図14のステップS505の処理によって生成したプログラムロード情報が格納されている。図16は、プログラムロード情報の一例を示す図である。図16において、プログラムロード情報には、プログラム名「TEST1.BIN:TEST1」に関連付けた制御情報「00000022」、ロードアドレス「a0030000」、スタートアドレス「a0030100」、およびテンポラリーアドレスとしてのRAMアドレス「b0000000」と、プログラム名「TEST2.BIN:TEST2」に関連付けた制御情報「00000022」、ロードアドレス「a0030000」、スタートアドレス「a0030100」、およびテンポラリーアドレスとしてのRAMアドレス「b0050000」と、プログラム名「TEST9_BIN:TEST3」に関連付けた制御情報「00000022」、ロードアドレス「a0030000」、スタートアドレス「a0030100」、およびテンポラリーアドレスとしてのRAMアドレス「b0100000」と、プログラム名「TEST10_BIN:TEST4」に関連付けた制御情報「00000022」、ロードアドレス「a0030000」、スタートアドレス「a0030100」、およびテンポラリーアドレスとしてのRAMアドレス「b01f0000」とが登録されたプログラムロード情報が格納されている。   The data area of the RAM 15 stores program load information generated by the control file analysis unit 162 by the process of step S505 in FIG. FIG. 16 is a diagram illustrating an example of program load information. In FIG. 16, the program load information includes control information “00000002” associated with the program name “TEST1.BIN: TEST1”, load address “a0030000”, start address “a0030100”, and RAM address “b0000000” as a temporary address. Control information “00000002” associated with the program name “TEST2.BIN: TEST2”, load address “a0030000”, start address “a0030100”, RAM address “b0050000” as a temporary address, and program name “TEST9_BIN: TEST3” ”Related control information“ 00000002 ”, load address“ a0030000 ”, start address“ a003010 ” ”, The RAM address“ b0100000 ”as the temporary address, the control information“ 00000002 ”associated with the program name“ TEST10_BIN: TEST4 ”, the load address“ a0030000 ”, the start address“ a0030100 ”, and the RAM address“ temporary address ” Program load information in which “b01f0000” is registered is stored.

つぎに、図17のフローチャートを参照して、テンポラリー領域に格納されたプログラムファイルを起動するテストプログラム起動処理の動作について説明する。先の図14を参照して説明したロード処理において、制御ファイル解析部162として動作するCPU16は、下位階層制御ファイルの終了(最終行)まで解析した後、下位階層制御ファイルで起動プログラムとして設定されたプログラムに制御を移行し、その後、RAM15に格納されたアプリケーションプログラムを実行して、テストに関するプログラムファイルを起動する。アプリケーションプログラムを実行することによってアプリケーション処理部として動作するCPU16は、プログラムファイルを起動する際に、起動すべきプログラムファイルのプログラム名がプログラムロード情報のプログラム名に登録されているか否かを判定する(ステップS600)。   Next, the operation of the test program activation process for activating the program file stored in the temporary area will be described with reference to the flowchart of FIG. In the loading process described with reference to FIG. 14, the CPU 16 that operates as the control file analysis unit 162 analyzes until the end of the lower hierarchy control file (last line), and is set as a startup program in the lower hierarchy control file. Then, control is transferred to the program, and then the application program stored in the RAM 15 is executed to start a program file relating to the test. The CPU 16 that operates as an application processing unit by executing the application program determines whether or not the program name of the program file to be activated is registered in the program name of the program load information when the program file is activated ( Step S600).

起動すべきプログラムファイルのプログラム名がプログラムロード情報のプログラム名に登録されている場合(ステップS600,Yes)、アプリケーション処理部は、プログラムロード情報に基づいて、起動すべきプログラムファイルをテンポラリー領域からテストプログラム格納領域にコピーする(ステップS601)。たとえば、プログラム名「TEST1.BIN:TEST1」を起動する場合、アプリケーション処理部は、プログラムロード情報のプログラム名「TEST1.BIN:TEST1」に関連付けられた制御情報「00000022」、ロードアドレス「a0030000」、スタートアドレス「a0030100」、およびRAMアドレス「b0000000」を取得する。   When the program name of the program file to be activated is registered in the program name of the program load information (Yes in step S600), the application processing unit tests the program file to be activated from the temporary area based on the program load information. Copy to the program storage area (step S601). For example, when the program name “TEST1.BIN: TEST1” is activated, the application processing unit performs control information “00000002” associated with the program name “TEST1.BIN: TEST1” of the program load information, load address “a0030000” The start address “a0030100” and the RAM address “b0000000” are acquired.

アプリケーション処理部は、取得したRAMアドレス「b0000000」を先頭アドレスとするRAM15の領域に格納されているプログラム名「TEST1.BIN:TEST1」のプログラムファイルを、取得したロードアドレス「a0030000」を先頭アドレスとするRAM15のテストプログラム格納領域にコピーする。   The application processing unit reads the program file “TEST1.BIN: TEST1” stored in the area of the RAM 15 with the acquired RAM address “b0000000” as the start address, and the acquired load address “a0030000” as the start address. To the test program storage area of the RAM 15

アプリケーション処理部は、プログラムロード情報に基づいて起動すべきプログラムを起動する(ステップS602)。具体的には、プログラムロード情報から取得したスタートアドレス(この場合は、スタートアドレス「a0030100」)が示すRAM15のプログラムファイルの命令を実行することで起動すべきプログラムを起動してテストに関するプログラムファイルに処理を移行する。   The application processing unit starts a program to be started based on the program load information (step S602). Specifically, the program to be started is started by executing an instruction of the program file in the RAM 15 indicated by the start address (in this case, the start address “a0030100”) acquired from the program load information, and the program file related to the test is started. Migrate processing.

一方、起動すべきプログラムファイルのプログラム名がプログラムロード情報のプログラム名に登録されていない場合(ステップS600,No)、アプリケーション処理部は、下位階層制御ファイルに基づいて起動すべきプログラムを起動する(ステップS603)。具体的には、アプリケーション処理部は、起動すべきプログラムファイルを示すプログラム名に関連付けて下位階層制御ファイルのプログラム名に関連付けて登録されたスタートアドレスを取得する。アプリケーション処理部は、取得したスタートアドレスが示すRAM15のプログラムファイルの命令を実行することで起動すべきプログラムを起動して処理を移行する。   On the other hand, when the program name of the program file to be activated is not registered in the program name of the program load information (No in step S600), the application processing unit activates the program to be activated based on the lower hierarchy control file ( Step S603). Specifically, the application processing unit acquires a start address registered in association with the program name of the lower layer control file in association with the program name indicating the program file to be activated. The application processing unit starts a program to be started by executing an instruction of the program file in the RAM 15 indicated by the acquired start address, and shifts the processing.

つぎに、テンポラリー領域に格納された複数のプログラムファイルをアプリケーションプログラムを順番に起動する動作について説明する。なお、ここでは、先の図14のフローチャートを参照して説明したロード処理によって、RAM15のデータ領域に先の図16に示したプログラムロード情報が格納されているものとする。また、アプリケーションプログラムは、プログラム名「TEST1.BIN:TEST1」、プログラム名「TEST2.BIN:TEST2」、プログラム名「TEST9_BIN:TEST3」、プログラム名「TEST10_BIN:TEST4」の順にプログラムファイルを起動するものとする。   Next, an operation for starting a plurality of program files stored in the temporary area in order of application programs will be described. Here, it is assumed that the program load information shown in FIG. 16 is stored in the data area of the RAM 15 by the load process described with reference to the flowchart of FIG. The application program starts program files in the order of program name “TEST1.BIN: TEST1”, program name “TEST2.BIN: TEST2”, program name “TEST9_BIN: TEST3”, and program name “TEST10_BIN: TEST4”. To do.

アプリケーションプログラムを実行することでCPU16はアプリケーション処理部として動作する。アプリケーション処理部は、プログラム名「TEST1.BIN:TEST1」を起動する際に、先の図17のフローチャートを参照して説明したテストプログラム起動処理を実行する。これにより、プログラム名「TEST1.BIN:TEST1」に関連付けられてプログラムロード情報に登録されたRAMアドレス「b0000000」を先頭アドレスとするRAM15のテンポラリー領域に格納されているプログラム名「TEST1.BIN:TEST1」のプログラムファイルは、プログラム名「TEST1.BIN:TEST1」に関連付けられてプログラムロード情報に登録されたロードアドレス「a0030000」を先頭アドレスとするテストプログラム格納領域にコピーされ、プログラム名「TEST1.BIN:TEST1」に関連付けられてプログラムロード情報に登録されたスタートアドレス「a0030100」が示すRAM15のプログラムファイルの命令を実行することでプログラム名「TEST1.BIN:TEST1」のプログラムファイルに処理を移行する。これにより、CPU16は、第1のテスト処理部として第1のテスト処理を実行する。第1のテスト処理部は第1のテスト処理の実行が終了するとアプリケーションプログラムに処理を移行する。これにより、CPU16は、アプリケーション処理部として動作する。   By executing the application program, the CPU 16 operates as an application processing unit. When starting the program name “TEST1.BIN: TEST1”, the application processing unit executes the test program starting process described with reference to the flowchart of FIG. As a result, the program name “TEST1.BIN: TEST1” stored in the temporary area of the RAM 15 having the RAM address “b0000000” associated with the program name “TEST1.BIN: TEST1” and registered in the program load information as the head address. ”Is copied to a test program storage area having a load address“ a0030000 ”associated with the program name“ TEST1.BIN: TEST1 ”and registered in the program load information as the head address, and the program name“ TEST1.BIN ”. : The program name “TE” by executing the instruction of the program file in the RAM 15 indicated by the start address “a0030100” registered in the program load information in association with “TEST1”. T1.BIN: TEST1 to the program file of "the process proceeds. Thereby, the CPU 16 executes the first test process as the first test processing unit. When the execution of the first test process ends, the first test processing unit shifts the process to the application program. Thereby, the CPU 16 operates as an application processing unit.

アプリケーション処理部は、プログラム名「TEST2.BIN:TEST2」を起動する際に、先の図17のフローチャートを参照して説明したテストプログラム起動処理を実行する。これにより、プログラム名「TEST2.BIN:TEST2」に関連付けられてプログラムロード情報に登録されたRAMアドレス「b0050000」を先頭アドレスとするRAM15のテンポラリー領域に格納されているプログラム名「TEST2.BIN:TEST2」のプログラムファイルは、プログラム名「TEST2.BIN:TEST2」に関連付けられてプログラムロード情報に登録されたロードアドレス「a0030000」を先頭アドレスとするテストプログラム格納領域にコピーされ、プログラム名「TEST2.BIN:TEST2」に関連付けられてプログラムロード情報に登録されたスタートアドレス「a0030100」が示すRAM15のプログラムファイルの命令を実行することでプログラム名「TEST2.BIN:TEST2」のプログラムファイルに処理を移行する。これにより、CPU16は、第2のテスト処理部として第2のテスト処理を実行する。第2のテスト処理部は第2のテスト処理の実行が終了するとアプリケーションプログラムに処理を移行する。これにより、CPU16は、アプリケーション処理部として動作する。   When starting the program name “TEST2.BIN: TEST2”, the application processing unit executes the test program starting process described with reference to the flowchart of FIG. As a result, the program name “TEST2.BIN: TEST2” stored in the temporary area of the RAM 15 having the RAM address “b0050000” associated with the program name “TEST2.BIN: TEST2” and registered in the program load information as the head address. ”Is copied to a test program storage area having a load address“ a0030000 ”associated with the program name“ TEST2.BIN: TEST2 ”and registered in the program load information as a head address, and the program name“ TEST2.BIN ”. : The program name “TE” by executing the instruction of the program file in the RAM 15 indicated by the start address “a0030100” registered in the program load information in association with “TEST2”. T2.BIN: TEST2 shifts the process to program files ". Thereby, the CPU 16 executes the second test process as the second test processing unit. When the execution of the second test process ends, the second test processing unit shifts the process to the application program. Thereby, the CPU 16 operates as an application processing unit.

アプリケーション処理部は、プログラム名「TEST9_BIN:TEST3」を起動する際に、先の図17のフローチャートを参照して説明したテストプログラム起動処理を実行する。これにより、プログラム名「TEST9_BIN:TEST3」に関連付けられてプログラムロード情報に登録されたRAMアドレス「b0100000」を先頭アドレスとするRAM15のテンポラリー領域に格納されているプログラム名「TEST9_BIN:TEST3」のプログラムファイルは、プログラム名「TEST9_BIN:TEST3」に関連付けられてプログラムロード情報に登録されたロードアドレス「a0030000」を先頭アドレスとするテストプログラム格納領域にコピーされ、プログラム名「TEST9_BIN:TEST3」に関連付けられてプログラムロード情報に登録されたスタートアドレス「a0030100」が示すRAM15のプログラムファイルの命令を実行することでプログラム名「TEST9_BIN:TEST3」のプログラムファイルに処理を移行する。これにより、CPU16は、第3のテスト処理部として第3のテスト処理を実行する。第3のテスト処理部は第3のテスト処理の実行が終了するとアプリケーションプログラムに処理を移行する。これにより、CPU16は、アプリケーション処理部として動作する。   When starting the program name “TEST9_BIN: TEST3”, the application processing unit executes the test program starting process described with reference to the flowchart of FIG. Accordingly, the program file “TEST9_BIN: TEST3” stored in the temporary area of the RAM 15 having the RAM address “b0100000” associated with the program name “TEST9_BIN: TEST3” and registered in the program load information as the head address. Is copied to the test program storage area with the load address “a0030000” registered in the program load information associated with the program name “TEST9_BIN: TEST3” as the head address, and the program associated with the program name “TEST9_BIN: TEST3”. By executing an instruction of the program file in the RAM 15 indicated by the start address “a0030100” registered in the load information, the program name “TE T9_BIN: TEST3 shifts the process to program files ". Thereby, the CPU 16 executes the third test process as the third test processing unit. The third test processing unit shifts the processing to the application program when the execution of the third test processing is completed. Thereby, the CPU 16 operates as an application processing unit.

アプリケーション処理部は、プログラム名「TEST10_BIN:TEST4」を起動する際に、先の図17のフローチャートを参照して説明したテストプログラム起動処理を実行する。これにより、プログラム名「TEST10_BIN:TEST4」に関連付けられてプログラムロード情報に登録されたRAMアドレス「b01f0000」を先頭アドレスとするRAM15のテンポラリー領域に格納されているプログラム名「TEST10_BIN:TEST4」のプログラムファイルは、プログラム名「TEST10_BIN:TEST4」に関連付けられてプログラムロード情報に登録されたロードアドレス「a0030000」を先頭アドレスとするテストプログラム格納領域にコピーされ、プログラム名「TEST10_BIN:TEST4」に関連付けられてプログラムロード情報に登録されたスタートアドレス「a0030100」が示すRAM15のプログラムファイルの命令を実行することでプログラム名「TEST10_BIN:TEST4」のプログラムファイルに処理を移行する。これにより、CPU16は、第4のテスト処理部として第4のテスト処理を実行する。第4のテスト処理部は第4のテスト処理の実行が終了するとアプリケーションプログラムに処理を移行する。これにより、CPU16は、アプリケーション処理部として動作する。   When starting the program name “TEST10_BIN: TEST4”, the application processing unit executes the test program starting process described with reference to the flowchart of FIG. As a result, the program file “TEST10_BIN: TEST4” stored in the temporary area of the RAM 15 having the RAM address “b01f0000” associated with the program name “TEST10_BIN: TEST4” and registered in the program load information as the head address. Is copied to the test program storage area with the load address “a0030000” associated with the program name “TEST10_BIN: TEST4” and registered in the program load information as the head address, and is associated with the program name “TEST10_BIN: TEST4”. The program is executed by executing the instruction of the program file in the RAM 15 indicated by the start address “a0030100” registered in the load information. "TEST10_BIN: TEST4" the process proceeds to the program file of. Thereby, the CPU 16 executes the fourth test process as the fourth test processing unit. The fourth test processing unit shifts the processing to the application program when the execution of the fourth test processing is completed. Thereby, the CPU 16 operates as an application processing unit.

以上説明したように、この第3の実施の形態においては、リムーバブルメディア2は、コンピュータ1にロードすべきプログラムファイルのプログラム名に関連付けて、プログラム種別情報と起動情報とを含む制御情報およびプログラムファイルのロードアドレスが登録される制御ファイルである下位階層制御ファイルと、下位階層制御ファイルに登録されたプログラム名が示す各プログラムファイルとを格納し、コンピュータ1は、下位階層制御ファイルに登録されたプログラム種別情報が所定のプログラム種別を示していると判定した場合には、下位階層制御ファイルに登録されたプログラム名が示すプログラムファイルを予め定められたテンポラリーアドレスが示す揮発性の記憶手段であるRAM15の領域にロードし、プログラム種別情報が所定のプログラム種別を示していないと判定した場合には、下位階層制御ファイルに登録されたプログラム名が示すプログラムファイルをプログラム名に関連付けて制御ファイルに登録されたロードアドレスが示すRAM15の領域にロードし、RAM15のテンポラリーアドレスが示す領域にロードしたプログラムファイルを実行する際には、テンポラリーアドレスが示す領域にロードしたプログラムファイルを、当該プログラムファイルを示すプログラム名に関連付けて下位階層制御ファイルのロードアドレスが示すRAM15の領域にコピーして実行するようにしているため、制御ファイルの制御情報のプログラム種別情報を変更するだけで、ローダを変更することなく、制御ファイルのロードアドレスが示す記憶手段の領域に当該プログラムファイルをロードするのか、制御ファイルのロードアドレスとは異なるテンポラリーアドレスが示す記憶手段の領域にロードするのかを選択することが可能となる。   As described above, in the third embodiment, the removable medium 2 associates the program name of the program file to be loaded into the computer 1 with the control information and program file including the program type information and the startup information. The lower layer control file, which is a control file in which the load address of the program is registered, and each program file indicated by the program name registered in the lower layer control file are stored. The computer 1 stores the program registered in the lower layer control file. When it is determined that the type information indicates a predetermined program type, the program file indicated by the program name registered in the lower layer control file is stored in the RAM 15 which is a volatile storage means indicated by a predetermined temporary address. Load to region and program type If it is determined that the information does not indicate a predetermined program type, the RAM 15 area indicated by the load address registered in the control file in association with the program name associated with the program name registered in the lower-level control file When the program file loaded in the area indicated by the temporary address in the RAM 15 is executed, the program file loaded in the area indicated by the temporary address is associated with the program name indicating the program file in the lower layer control file. Since the program is copied to the area of the RAM 15 indicated by the load address and executed, the storage means indicated by the load address of the control file can be changed only by changing the program type information of the control information of the control file, without changing the loader. Area Or to load the program file, it is possible to choose whether to load in the region of the memory means indicated by the different temporary address from the load address of the control file.

また、デバッグモニタ上(非OS下)で動作させるテストプログラムなどは、固定の物理アドレスで動作させることが多く、テストプログラムが多数存在するとき、プログラム1つのみを1回のシステム起動でロードすることは非効率である。しかし、この第3の実施の形態においては、下位階層制御ファイルに、プログラム種別情報が所定のプログラム種別であることを示し、RAM16への当該プログラムファイルのロードアドレスに同一のアドレスが登録された複数のプログラム名を登録しておくことで、プログラム種別情報に所定のプログラム種別であることを示す複数のプログラムファイルをRAM15のテンポラリーアドレスが示す領域にロードしておき、各プログラムファイルの実行の際にテンポラリーアドレスが示すRAM15の領域にロードされた各プログラムファイルを、制御ファイルのロードアドレスに登録された同一のアドレスが示すRAM15の領域にコピーしてから各プログラムファイルを実行するようにしているため、コンピュータ1を再起動することなく、ロードアドレスが同一アドレスのプログラムファイルを順次実行することを可能としている。   Also, a test program or the like that operates on the debug monitor (under the non-OS) is often operated with a fixed physical address, and when there are a large number of test programs, only one program is loaded at one system startup. That is inefficient. However, in the third embodiment, the lower layer control file indicates that the program type information indicates a predetermined program type, and a plurality of the same addresses registered in the load address of the program file to the RAM 16 are registered. By registering the program name, a plurality of program files indicating that the program type is a predetermined program type is loaded in the area indicated by the temporary address of the RAM 15 in the program type information, and each program file is executed at the time of execution. Since each program file loaded in the area of the RAM 15 indicated by the temporary address is copied to the area of the RAM 15 indicated by the same address registered in the load address of the control file, each program file is executed. Restart computer 1 No, is it possible that the load address is sequentially executing the program file at the same address.

また、この第3の実施の形態においては、リムーバブルメディア2からRAM15に下位階層制御ファイルに登録されたすべてのプログラムファイルをロードした後に、起動情報に起動プログラムであることを示す情報が登録されたプログラム名に関連付けられて下位階層制御ファイルのスタートアドレスに登録されたスタートアドレスが示すRAM15の領域の命令に制御を移行してプログラムファイルを起動するようにしているため、起動時に使用するプログラムファイルの構成や、ローダから制御を移行するプログラムファイルのスタートアドレスに変更があった場合でも、下位階層制御ファイルを変更するだけで、ローダを変更することなく対応することが可能となる。   In the third embodiment, after loading all program files registered in the lower layer control file from the removable medium 2 to the RAM 15, information indicating that the program is a startup program is registered in the startup information. Since the program file is activated by transferring control to the instruction in the area of the RAM 15 indicated by the start address registered in the start address of the lower layer control file associated with the program name, the program file used at the time of activation Even if there is a change in the configuration or the start address of the program file to which control is transferred from the loader, it is possible to respond without changing the loader only by changing the lower layer control file.

さらに、この第3の実施の形態においては、下位階層制御ファイルの制御情報のプログラムロード情報に基づいて、当該プログラム名が示すプログラムファイルをリムーバブルメディア2からRAM15にロードするか否かを判定するようにしているため、リムーバブルメディア2内のプログラムファイルを変更することなく、下位階層制御ファイルを変更するだけで、ロードするプログラムファイルを変更することが可能となる。   Further, in the third embodiment, based on the program load information of the control information of the lower layer control file, it is determined whether or not to load the program file indicated by the program name from the removable medium 2 to the RAM 15. Therefore, the program file to be loaded can be changed by changing only the lower layer control file without changing the program file in the removable medium 2.

なお、この第3の実施の形態においては、ブートシーケンスを選択する入力手段としてPowerスイッチ11およびResetスイッチ12を用いた第1の実施の形態のコンピュータシステムを例に挙げて説明したが、ブートシーケンスを選択する入力手段としてキーボード18を用いる第2の実施の形態のコンピュータシステムであってもかまわない。   In the third embodiment, the computer system of the first embodiment using the Power switch 11 and the Reset switch 12 as input means for selecting a boot sequence has been described as an example. The computer system of the second embodiment that uses the keyboard 18 as an input means for selecting the menu may be used.

また、第1〜第3の実施の形態においては、上位および下位階層制御ファイルをリムーバブルメディア2からRAM15にロードして解析するようにしたが、RAM15にロードすることなく、直接リムーバブルメディア2内の上位および下位階層制御ファイルを解析し、プログラムファイルのみをリムーバブルメディア2からRAM15にロードするようにしてもよい。   In the first to third embodiments, the upper and lower layer control files are loaded from the removable medium 2 to the RAM 15 for analysis. However, the files in the removable medium 2 are directly loaded without being loaded into the RAM 15. The upper and lower layer control files may be analyzed, and only the program file may be loaded from the removable medium 2 to the RAM 15.

この発明におけるコンピュータシステムの第1の実施の形態の構成を示す図。The figure which shows the structure of 1st Embodiment of the computer system in this invention. 図1に示したPOWON.BTFの一例を示す図。POWON. The figure which shows an example of BTF. 図1に示したHWMON.BTFの一例を示す図。HWMON. The figure which shows an example of BTF. PowerスイッチおよびResetスイッチを選択情報入力手段として用いる際のステータスと入力動作の対応の一例を示す図。The figure which shows an example of a response | compatibility with the status at the time of using a Power switch and a Reset switch as a selection information input means. 図1に示したスイッチ監視回路のステータス認識処理の動作を説明するためのフローチャート。3 is a flowchart for explaining an operation of status recognition processing of the switch monitoring circuit shown in FIG. 1. 第1の実施の形態のコンピュータシステムのロード処理の動作を説明するためのフローチャート。The flowchart for demonstrating operation | movement of the load process of the computer system of 1st Embodiment. この発明におけるコンピュータシステムの第2の実施の形態の構成を示す図。The figure which shows the structure of 2nd Embodiment of the computer system in this invention. 第2の実施の形態のコンピュータシステムのロード処理の動作を説明するためのフローチャート。The flowchart for demonstrating operation | movement of the load process of the computer system of 2nd Embodiment. 図7に示した表示部に表示される選択画面の一例を示す図。The figure which shows an example of the selection screen displayed on the display part shown in FIG. この発明におけるコンピュータシステムの第3の実施の形態の構成を示す図。The figure which shows the structure of 3rd Embodiment of the computer system in this invention. この発明におけるコンピュータシステムの第3の実施の形態の構成を示す図。The figure which shows the structure of 3rd Embodiment of the computer system in this invention. 第3の実施の形態のコンピュータシステムのロード処理の動作を説明するためのフローチャート。10 is a flowchart for explaining an operation of a load process of the computer system according to the third embodiment. 制御情報のプログラム種別情報にテストに関するプログラムであることが登録されている下位階層制御ファイルの一例を示す図。The figure which shows an example of the lower hierarchy control file in which it is registered that it is a program regarding a test in the program classification information of control information. 第3の実施の形態のコンピュータシステムのロード処理の動作を説明するためのフローチャート。10 is a flowchart for explaining an operation of a load process of the computer system according to the third embodiment. リムーバブルメディアに格納されたプログラムファイルをRAMにロードした際のロード状態を示す図。The figure which shows the loading state at the time of loading the program file stored in the removable medium to RAM. プログラムロード情報の一例を示す図。The figure which shows an example of program load information. テンポラリーアドレスに格納されたプログラムファイルの起動の動作を説明するためのフローチャート。The flowchart for demonstrating the starting operation | movement of the program file stored in the temporary address.

符号の説明Explanation of symbols

1 コンピュータ
2 リムーバブルメディア
11 Powerスイッチ
12 Resetスイッチ
13 スイッチ監視回路
14 ROM
15 RAM
16 CPU
18 キーボード
19 表示部
21 POWON.BTF
22−1 OS1.BTF
22−2 DIAG.BTF
22−3 HWMON.BTF
22−4 OS2.BTF
23−1 SYSROM0.BIN
23−2 SYSROM2.BIN
23−3 LDSYS.SRE
23−4 INITSYS.SRE
23−5 HWMON.SRE
141、141a、141b ローダプログラム
161 起動処理部
162 制御ファイル解析部
163 プログラムロード処理部
1411 起動処理プログラム
1412 制御ファイル解析プログラム
1413 プログラムロード処理プログラム
1 Computer 2 Removable Media 11 Power Switch 12 Reset Switch 13 Switch Monitoring Circuit 14 ROM
15 RAM
16 CPU
18 Keyboard 19 Display 21 POWON. BTF
22-1 OS1. BTF
22-2 DIAG. BTF
22-3 HWMON. BTF
22-4 OS2. BTF
23-1 SYSROM0. BIN
23-2 SYSROM2. BIN
23-3 LDSYS. SRE
23-4 INITSYS. SRE
23-5 HWMON. SRE
141, 141a, 141b Loader program 161 Startup processing unit 162 Control file analysis unit 163 Program load processing unit 1411 Startup processing program 1412 Control file analysis program 1413 Program load processing program

Claims (5)

コンピュータと、該コンピュータと着脱可能なリムーバブルメディアとで構成されるコンピュータシステムにおいて、
前記リムーバブルメディアは、
前記コンピュータにロードすべきプログラムファイルのプログラム名が登録される複数の下位階層制御ファイルと、
前記下位階層制御ファイルを識別するための識別子に関連付けて前記下位階層制御ファイルのファイル名が登録される上位階層制御ファイルと、
前記下位階層制御ファイルに登録されたプログラム名が示す各プログラムファイルと、
を格納し、
前記コンピュータは、
揮発性の記憶手段と、
複数のスイッチと、これらスイッチの状態を監視してスイッチの状態の組合せを前記上位階層制御ファイルの識別子に対応付けたステータス情報をローダ手段に通知するスイッチ監視手段とを有する選択情報入力手段と、
前記スイッチ監視手段から通知されたステータス情報と一致する識別子に関連付けられて前記上位階層制御ファイルに登録された下位階層制御ファイルのファイル名が示す下位階層制御ファイルに登録されたプログラムファイルのプログラム名が示すプログラムファイルをリムーバブルメディアから前記記憶手段にロードするローダ手段と、
を備えることを特徴とするコンピュータシステム。
In a computer system comprising a computer and a removable medium removable from the computer,
The removable media is
A plurality of lower layer control files in which program names of program files to be loaded into the computer are registered;
An upper layer control file in which a file name of the lower layer control file is registered in association with an identifier for identifying the lower layer control file;
Each program file indicated by the program name registered in the lower layer control file,
Store
The computer
Volatile storage means;
Selection information input means having a plurality of switches and switch monitoring means for monitoring the status of these switches and notifying the loader means of status information in which a combination of switch statuses is associated with the identifier of the upper layer control file;
The program name of the program file registered in the lower hierarchy control file indicated by the file name of the lower hierarchy control file registered in the upper hierarchy control file in association with the identifier that matches the status information notified from the switch monitoring means is Loader means for loading the program file shown from the removable medium into the storage means;
A computer system comprising:
コンピュータと、該コンピュータと着脱可能なリムーバブルメディアとで構成されるコンピュータシステムにおいて、
前記リムーバブルメディアは、
前記コンピュータにロードすべきプログラムファイルのプログラム名が登録される複数の下位階層制御ファイルと、
前記下位階層制御ファイルを識別するための識別子に関連付けて前記下位階層制御ファイルのファイル名が登録される上位階層制御ファイルと、
前記下位階層制御ファイルに登録されたプログラム名が示す各プログラムファイルと、
を格納し、
前記コンピュータは、
揮発性の記憶手段と、
前記上位階層制御ファイルの登録内容を表示する表示手段と、
外部から入力された識別子をステータス情報としてローダ手段に通知する選択情報入力手段と、
前記上位階層制御ファイルに登録された識別子および前記下位階層制御ファイルのファイル名を前記表示手段に表示させるとともに、前記選択情報入力手段から通知されたステータス情報と一致する識別子に関連付けられて前記上位階層制御ファイルに登録された下位階層制御ファイルのファイル名が示す下位階層制御ファイルに登録されたプログラムファイルのプログラム名が示すプログラムファイルをリムーバブルメディアから前記記憶手段にロードするローダ手段と、
を備えることを特徴とするコンピュータシステム。
In a computer system comprising a computer and a removable medium removable from the computer,
The removable media is
A plurality of lower layer control files in which program names of program files to be loaded into the computer are registered;
An upper layer control file in which a file name of the lower layer control file is registered in association with an identifier for identifying the lower layer control file;
Each program file indicated by the program name registered in the lower layer control file,
Store
The computer
Volatile storage means;
Display means for displaying registration contents of the upper layer control file;
A selection information input means for notifying the loader means of an identifier input from the outside as status information;
The identifier registered in the upper layer control file and the file name of the lower layer control file are displayed on the display unit, and the upper layer is associated with an identifier that matches the status information notified from the selection information input unit. Loader means for loading the program file indicated by the program name of the program file registered in the lower hierarchy control file indicated by the file name of the lower hierarchy control file registered in the control file from the removable medium to the storage means;
A computer system comprising:
コンピュータと、該コンピュータと着脱可能なリムーバブルメディアとで構成されるコンピュータシステムにおいて、
前記リムーバブルメディアは、
前記コンピュータにロードすべきプログラムファイルのプログラム名に関連付けて、プログラム種別情報と起動情報とを含む制御情報およびプログラムファイルのロードアドレスが登録される制御ファイルと、
前記制御ファイルに登録されたプログラム名が示す各プログラムファイルと、
を格納し、
前記コンピュータは、
揮発性の記憶手段と、
前記制御ファイルに登録されたプログラム種別情報が所定のプログラム種別を示しているか否かを判定する制御ファイル解析手段と、
前記制御ファイル解析手段が制御ファイルに登録されたプログラム種別情報が所定のプログラム種別を示していると判定した場合には、制御ファイルに登録されたプログラム名が示すプログラムファイルを予め定められたテンポラリーアドレスが示す前記記憶手段の領域にロードし、プログラム種別情報が所定のプログラム種別を示していないと判定した場合には、制御ファイルに登録されたプログラム名が示すプログラムファイルをプログラム名に関連付けて制御ファイルに登録されたロードアドレスが示す前記記憶手段の領域にロードするプログラムロード処理手段と、
を備え、
前記記憶手段のテンポラリーアドレスが示す領域にロードしたプログラムファイルを実行する際には、前記テンポラリーアドレスが示す領域にロードしたプログラムファイルを、当該プログラムファイルを示すプログラム名に関連付けて前記制御ファイルのロードアドレスが示す記憶手段の領域にコピーして実行すること、
を特徴とするコンピュータシステム。
In a computer system comprising a computer and a removable medium removable from the computer,
The removable media is
In association with the program name of the program file to be loaded into the computer, control information including program type information and startup information and a control file in which the load address of the program file is registered,
Each program file indicated by the program name registered in the control file;
Store
The computer
Volatile storage means;
Control file analysis means for determining whether or not the program type information registered in the control file indicates a predetermined program type;
If the control file analysis unit determines that the program type information registered in the control file indicates a predetermined program type, the program file indicated by the program name registered in the control file is set to a predetermined temporary address. When the program type information is loaded to the storage means area and the program type information does not indicate the predetermined program type, the program file indicated by the program name registered in the control file is associated with the program name in the control file. Program load processing means for loading into the area of the storage means indicated by the load address registered in
With
When executing the program file loaded in the area indicated by the temporary address of the storage means, the program file loaded in the area indicated by the temporary address is associated with the program name indicating the program file and the load address of the control file Copying to the storage means area indicated by
A computer system characterized by the above.
揮発性の記憶手段を有するコンピュータが、前記コンピュータにロードすべきプログラムファイルのプログラム名が登録される複数の下位階層制御ファイルと、前記下位階層制御ファイルを識別するための識別子に関連付けて前記下位階層制御ファイルのファイル名が登録される上位階層ファイルと、前記下位階層制御ファイルに登録されたプログラム名が示す各プログラムファイルとが格納されたリムーバブルメディアから、前記揮発性の記憶手段に前記プログラムファイルをロードするプログラムロード方法であって、
前記下位階層制御ファイルを選択するための選択情報の入力を受け付ける選択情報受付ステップと、
前記選択情報受付ステップによって受け付けた選択情報および前記上位階層制御ファイルに基づいて前記下位階層制御ファイルを選択し、選択した下位階層制御ファイルに登録されたプログラム名が示すプログラムファイルを前記リムーバブルメディアから前記記憶手段にロードするローダステップと、
を含むことを特徴とするプログラムロード方法。
A plurality of lower layer control files in which a program name of a program file to be loaded into the computer is registered by a computer having volatile storage means, and the lower layer associated with an identifier for identifying the lower layer control file The program file is stored in the volatile storage means from a removable medium storing an upper layer file in which the file name of the control file is registered and each program file indicated by the program name registered in the lower layer control file. A program loading method for loading,
A selection information receiving step for receiving selection information for selecting the lower layer control file;
The lower layer control file is selected based on the selection information received by the selection information receiving step and the upper layer control file, and the program file indicated by the program name registered in the selected lower layer control file is read from the removable medium. A loader step for loading into the storage means;
A program loading method comprising:
揮発性の記憶手段を有するコンピュータが、前記コンピュータにロードすべきプログラムファイルのプログラム名に関連付けて、プログラム種別情報と起動情報とを含む制御情報およびプログラムファイルのロードアドレスが登録される制御ファイルと、前記制御ファイルに登録されたプログラム名が示す各プログラムファイルとが格納されたリムーバブルメディアから、前記プログラムファイルを前記記憶手段にロードするプログラムロード方法であって、
前記制御ファイルに登録されたプログラム種別情報が所定のプログラム種別を示しているか否かを判定する制御ファイル解析ステップと、
前記制御ファイル解析ステップによって制御ファイルに登録されたプログラム種別情報が所定のプログラム種別を示していると判定した場合には、制御ファイルに登録されたプログラム名が示すプログラムファイルを予め定められたテンポラリーアドレスが示す前記記憶手段の領域にロードし、プログラム種別情報が所定のプログラム種別を示していないと判定した場合には、制御ファイルに登録されたプログラム名が示すプログラムファイルをプログラム名に関連付けて制御ファイルに登録されたロードアドレスが示す前記記憶手段の領域にロードするプログラムロード処理ステップと、
前記コンピュータが前記プログラムロード処理ステップによって前記記憶手段のテンポラリーアドレスが示す領域にロードしたプログラムを実行する際には、前記テンポラリーアドレスが示す領域にロードしたプログラムを、当該プログラムファイルを示すプログラム名に関連付けて前記制御ファイルのロードアドレスが示す記憶手段の領域にコピーした後にコピーしたプログラムを実行する実行処理ステップと、
を含むことを特徴とするプログラムロード方法。
A computer having volatile storage means, in association with the program name of the program file to be loaded into the computer, control information including program type information and startup information, and a control file in which the load address of the program file is registered; A program loading method for loading the program file into the storage means from a removable medium storing each program file indicated by the program name registered in the control file,
A control file analysis step for determining whether or not the program type information registered in the control file indicates a predetermined program type;
If it is determined that the program type information registered in the control file by the control file analysis step indicates a predetermined program type, the program file indicated by the program name registered in the control file is set to a predetermined temporary address. When the program type information is loaded to the area of the storage means indicated by and the program type information does not indicate the predetermined program type, the program file indicated by the program name registered in the control file is associated with the program name in the control file. A program load processing step for loading into the area of the storage means indicated by the load address registered in
When the computer executes the program loaded in the area indicated by the temporary address of the storage means in the program load processing step, the program loaded in the area indicated by the temporary address is associated with the program name indicating the program file. An execution processing step of executing the copied program after copying to the storage means area indicated by the load address of the control file;
A program loading method comprising:
JP2008010717A 2008-01-21 2008-01-21 Computer system and program loading method Pending JP2009175792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008010717A JP2009175792A (en) 2008-01-21 2008-01-21 Computer system and program loading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008010717A JP2009175792A (en) 2008-01-21 2008-01-21 Computer system and program loading method

Publications (1)

Publication Number Publication Date
JP2009175792A true JP2009175792A (en) 2009-08-06

Family

ID=41030852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008010717A Pending JP2009175792A (en) 2008-01-21 2008-01-21 Computer system and program loading method

Country Status (1)

Country Link
JP (1) JP2009175792A (en)

Similar Documents

Publication Publication Date Title
JP4746455B2 (en) Computer apparatus, start control method, and start control program
JP2007087112A (en) Failure diagnostic device
JP2010092127A (en) Computer system, processor diagnostic method, and processor diagnosis control program
JP2010086364A (en) Information processing device, operation state monitoring device and method
JP4935107B2 (en) Information processing device
JP5293062B2 (en) Computer apparatus, memory diagnosis method, and memory diagnosis control program
US20060235766A1 (en) Information processing apparatus and image display program product
JP2008152762A (en) Program installable device
JP2009175792A (en) Computer system and program loading method
JP5115023B2 (en) Fault diagnosis apparatus, method and program
US9448817B2 (en) Information processing apparatus that saves data in main storage device and control method therefor, and storage medium
JP5970080B2 (en) Programmable display, program
JP7426269B2 (en) Information processing equipment and information processing system
JP6465752B2 (en) Control device, control method, and program
JP4957506B2 (en) Management program, information processing apparatus, and information processing system
JP5870214B2 (en) Programmable controller system, its programmable display, support device, program
JP2006079155A (en) Information processor
JP2009003557A (en) Device start time diagnostic method, diagnostic program, and start time diagnostic device
JP2007280240A (en) Production management method, electronic device production system, production managing apparatus and electronic device
JP2005346473A (en) Information processing method, information processor, and imaging apparatus
JP2007304639A (en) Software management system, software management program and recording medium
JP2019175233A (en) Information processing apparatus and image forming apparatus
US11354194B2 (en) Programmable display device and data management method
KR100854823B1 (en) Method and apparatus for detecting error of an image display device
JPS61131129A (en) Initial diagnostic system