[go: up one dir, main page]

JPH04191927A - Operating system switching device - Google Patents

Operating system switching device

Info

Publication number
JPH04191927A
JPH04191927A JP32092490A JP32092490A JPH04191927A JP H04191927 A JPH04191927 A JP H04191927A JP 32092490 A JP32092490 A JP 32092490A JP 32092490 A JP32092490 A JP 32092490A JP H04191927 A JPH04191927 A JP H04191927A
Authority
JP
Japan
Prior art keywords
operating system
switching
processing means
reset
command processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP32092490A
Other languages
Japanese (ja)
Inventor
Toshihisa Takeuchi
竹内 敏尚
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP32092490A priority Critical patent/JPH04191927A/en
Publication of JPH04191927A publication Critical patent/JPH04191927A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To dispense with the preparation of an operating system switching program for every plural respective operating systems by providing an operating system switching means to switch the plural operating systems and to load to a main storage device in a read only memory. CONSTITUTION:An operating system switching means 20 provided in a read only memory 13 loads an operating system assigned by a command processing means 22 to a main storage device 14 when the judged result of a reset factor register 16 is a reset by the command processing means 22. Accordingly, the switching of the operating system is executed by the operating system switching means 20 in a read only memory 13. Thus, it is unnecessary to provide a program for operating system switching to the plural respective operating systems.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、複数のオペレーティングシステム(以下、O
8と呼ぶ)を搭載した電子計算機システムにおける使用
○Sの切換え装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention is applicable to multiple operating systems (hereinafter referred to as O
This invention relates to a switching device for use in an electronic computer system equipped with a ○S (referred to as 8).

(従来の技術) 今日、パーソナルコンピュータや金融機関の端末等の電
子計算機システムでは複数のosが搭載可能なものがあ
る。そして、このような電子計算機システムでは従来、
−Mに以下のように複数の○Sの切換えを行なっていた
(Prior Art) Today, some electronic computer systems such as personal computers and terminals at financial institutions can be equipped with multiple OSs. Conventionally, in such electronic computer systems,
-M had multiple ○S switches as shown below.

第2図は、従来のO8切換え装置を用いた電子計算機シ
ステムの構成図である。
FIG. 2 is a block diagram of a computer system using a conventional O8 switching device.

図のシステムは、CPU (中央処理装置)1と、この
CPU 1にバス2を介して接続されている主記憶装置
3と、ディスク装置4とからなる。
The system shown in the figure includes a CPU (central processing unit) 1, a main storage device 3 connected to the CPU 1 via a bus 2, and a disk device 4.

主記憶装置3はRAM (ランダム・アクセス・メモリ
)で構成され、その内部には現在使用中のOS5が格納
されている。また、このOS5はO8切換えプログラム
6を備えている。
The main storage device 3 is composed of a RAM (random access memory), and the OS 5 currently in use is stored therein. The OS 5 also includes an O8 switching program 6.

ディスク装置4は、その記憶単位が複数の分割され、各
分割された領域(論理的に分割された領域)に、IPL
(イニシャル・プログラム・ローダ)及びブートストラ
ップ可能な形式でO8が記憶されている(図中、O8■
、oSO,・・・。
The disk device 4 is divided into a plurality of storage units, and each divided area (logically divided area) has an IPL.
(Initial program loader) and O8 is stored in a bootstrapable format (in the figure, O8
,oSO,...

O20で示す)。(denoted as O20).

次に、このような電子計算機システムにおいて、O8の
切換え動作を説明する。
Next, the switching operation of O8 in such a computer system will be explained.

尚、ここで、現在使用しているOS5をoSOとし、切
換えるO8をO20とする。
Note that the currently used OS5 is assumed to be oSO, and the OS to be switched to is assumed to be O20.

(1)利用者がO8切換えコマンドを図示しないキーボ
ード等により入力する。
(1) The user inputs an O8 switching command using a keyboard (not shown) or the like.

(2)これにより、現在使用中のOS5はそのO8切換
えプログラム6を起動する。
(2) As a result, the OS 5 currently in use starts its O8 switching program 6.

(3)起動されたO8切換えプログラム6は、切換え対
象となるO8、即ちO8■のブートプログラムをディス
ク装置4から主記憶装置3Gこ読込む。
(3) The activated O8 switching program 6 reads the boot program for the O8 to be switched, that is, O8■, from the disk device 4 into the main storage device 3G.

(4)読込まれたoSOのブートプログラムへ毒1j御
を移す、即ち、現在使用中のOS5カイO8■力)らo
SOに切換えられる。
(4) Transfer control of the poison 1j to the loaded oSO boot program, i.e., transfer control of the OS5 currently in use.
Switched to SO.

このように、従来のO8切換えは、現在使用中のO3S
内に組込まれたO8切換えプログラム6により実行され
ていた。
In this way, conventional O8 switching is
It was executed by the O8 switching program 6 built into the system.

(発明が解決しようとする課題) しかしながら、上記従来のO8切換え装置は、例えばデ
ィスク装置4にn個のO8を搭載した場合、n個の各O
8毎に全てO3切換えプログラム6を備えなければなら
ない等、各O8毎にO8切換えプログラムを作成しなけ
ればならないという問題があった。
(Problem to be Solved by the Invention) However, in the conventional O8 switching device described above, when n O8s are installed in the disk drive 4, for example, each of the n O8s is
There is a problem in that an O8 switching program must be created for each O8, such as having to provide an O3 switching program 6 for each O8.

本発明は上記の問題点を解決するためになされたもので
、電子計算機システムに搭載される複数のO8毎にO8
切換えプログラムを作ることなく、複数O8の切換えを
行なうことのできるオペレーティングシステム切換え装
置を提供することを目的とする。
The present invention has been made to solve the above problems, and the present invention has been made in order to solve the above problems.
It is an object of the present invention to provide an operating system switching device capable of switching a plurality of O8s without creating a switching program.

(課題を解決するための手段) 本発明のオペレーティングシステム切換え装置は、複数
のオペレーティングシステムを搭載する電子計算機シス
テムの実行オペレーティングシステムを切換えるオペレ
ーティングシステム切換え装置において、利用者の入力
したコマンドにより切換えるオペレーティングシステム
を指定するコマンド処理手段と、前記コマンド処理手段
で指定されたオペレーティングシステムの識別データを
格納する起動オペレーティングシステム識別データ格納
レジスタと、前記コマンド処理手段により、切換えるオ
ペレーティングシステムが指定された場合、中央処理装
置のリセットを行なうリセットスイッチと、前記中央処
理装置のリセットが前記コマンド処理手段により行なわ
れたか否かを判断するリセット要因格納レジスタと、読
出し専用メモリ内に設けられ、前記中央処理装置のリセ
ットが前記コマンド処理手段で行なわれた場合、前記コ
マンド処理手段で指定されたオペレーティングシステム
を主記憶装置にロードするオペレーティングシステム切
換え手段とを設けたものである。
(Means for Solving the Problems) An operating system switching device of the present invention is an operating system switching device for switching the running operating system of a computer system equipped with a plurality of operating systems. a starting operating system identification data storage register that stores identification data of the operating system specified by the command processing means; a reset switch for resetting the device; a reset factor storage register for determining whether or not the central processing unit has been reset by the command processing means; and operating system switching means for loading the operating system specified by the command processing means into the main storage device when the command processing means performs the switching.

(作用) 本発明の装置は、利用者がオペレーティングシステム切
換えコマンドを入力すると、コマンド処理手段は切換え
るオペレーティングシステムを指定する。
(Operation) In the apparatus of the present invention, when the user inputs an operating system switching command, the command processing means specifies the operating system to be switched.

このオペレーティングシステムの指定により、起動オペ
レーティングシステム識別データ格納レジスタは、切換
えるオペレーティングシステムの識別データを格納し、
また、リセットスイッチにより中央処理装置がリセット
される。
By specifying this operating system, the startup operating system identification data storage register stores the identification data of the operating system to be switched.
Further, the central processing unit is reset by the reset switch.

一方、リセット要因レジスタは、中央処理装置のリセッ
トがコマンド処理手段で行なわれたか否かを判断する。
On the other hand, the reset cause register determines whether or not the central processing unit has been reset by the command processing means.

読出し専用メモリ内に設けられた才ベレーティングシス
テム切換え手段は、リセット要因レジスタの判断結果が
、コマンド処理手段によるリセットであった場合、コマ
ンド処理手段で指定されたオペレーティングシステムを
主記憶装置にロードする。
If the determination result of the reset cause register is a reset by the command processing means, the automatic verifying system switching means provided in the read-only memory loads the operating system specified by the command processing means into the main storage device. .

従って、オペレーティングシステムの切換えが読出し専
用メモリ内のオペレーティングシステム切換え手段によ
って行なわれるため、複数の各オペレーティングシステ
ムはオペレーティングシステム切換えのためのプログラ
ムを備える必要がない。
Therefore, since the operating system is switched by the operating system switching means in the read-only memory, each of the plurality of operating systems does not need to have a program for operating system switching.

(実施例) 以下、本発明のオペレーティングシステム切換え装置を
図の実施例を用いて詳細に説明する。
(Embodiment) Hereinafter, the operating system switching device of the present invention will be explained in detail using the embodiment shown in the drawings.

第1図は本発明のオペレーティングシステム切換え装置
を示すブロック図である。
FIG. 1 is a block diagram showing an operating system switching device of the present invention.

図の装置は、CPU (中央処理装置)11と、このC
PUIIにバス12を介して接続されたROM(読出し
専用メモリ)13と、主記憶装置14と、起動オペレー
ティングシステム識別データ格納レジスタ15と、リセ
ット要因格納レジスタ16と、ディスク装置17と、リ
セットスイッチ18とからなる。
The device in the figure consists of a CPU (central processing unit) 11 and this C
A ROM (read-only memory) 13 connected to the PUII via a bus 12, a main storage device 14, a startup operating system identification data storage register 15, a reset factor storage register 16, a disk device 17, and a reset switch 18. It consists of.

ROM13には、電源投入時、ディスク装置17から決
められたオペレーティングシステム(以下、O8という
)をロードするためのIPL(イニシャル・プログラム
・ローダ)プログラム19と、後述するコマンド処理手
段により指定されたO8をディスク装置17から主記憶
装置14上にローディングするためのO8切換え手段2
0とが格納されている。また、このoS切換え手段20
はO8切換えプログラムで構成されている。
The ROM 13 contains an IPL (Initial Program Loader) program 19 for loading a specified operating system (hereinafter referred to as O8) from the disk device 17 when the power is turned on, and an O8 specified by a command processing means to be described later. O8 switching means 2 for loading from the disk device 17 onto the main storage device 14
0 is stored. Moreover, this oS switching means 20
consists of an O8 switching program.

主記憶装置14はRAM (ランダム・アクセス・メモ
リ)で構成され、現在使用中の0S21と、この○S2
1の下で動作し、利用者からのoS切換え指示を受ける
コマンドを処理するためのコマンド処理手段22とが格
納されている。また、コマンド処理手段22はO8切換
えコマンドプログラムで構成されている。
The main storage device 14 is composed of RAM (random access memory), and it stores the currently used 0S21 and this ○S2.
1, and a command processing means 22 for processing commands that receive an OS switching instruction from a user. Further, the command processing means 22 is composed of an O8 switching command program.

起動オペレーティングシステム識別データ格納レジスタ
(以下、起動O8識別データ格納レジスタという)15
は、システムハードウェアがリセットされても内容が保
持されるレジスタであり、O8切換えの際、次に起動す
るO8の名前または番号等の識別データを格納する機能
を有している。
Startup operating system identification data storage register (hereinafter referred to as startup O8 identification data storage register) 15
is a register whose contents are retained even if the system hardware is reset, and has a function of storing identification data such as the name or number of the next O8 to be activated when O8 is switched.

リセット要因格納レジスタ16は、CPUIIのリセッ
トがコマンド処理手段22によりリセットされたか、ま
たはその他の要因(電源の投入、使用者によるリセット
スイッチ18の押下)によりリセットされたかをO8切
換え手段20に通知するためのデータを格納するレジス
タである。
The reset factor storage register 16 notifies the O8 switching means 20 whether the CPU II has been reset by the command processing means 22 or by some other factor (turning on the power, pressing the reset switch 18 by the user). This is a register that stores data for.

ディスク装置17は、従来と同様に複数のos(OS■
、○S■、・・・、OS@)が主記憶装置14上にロー
ド可能な状態で格納されている。
The disk device 17 supports multiple OS (OS
, ○S■, . . . , OS@) are stored in the main storage device 14 in a loadable state.

リセットスイッチ18は、コマンド処理手段22により
CPUIIをリセットするためのスイッチであると共に
、利用者による押下時や電源投入時にもCPUIIをリ
セットする機能を有している。
The reset switch 18 is a switch for resetting the CPU II by the command processing means 22, and also has a function of resetting the CPU II when pressed by the user or when the power is turned on.

次に上記構成のO8切換え装置の動作について説明する
Next, the operation of the O8 switching device having the above configuration will be explained.

第3図はO8切換え処理のフローチャートである。FIG. 3 is a flowchart of O8 switching processing.

先ず、電子計算機システムの利用者は、現在使用中のo
Sから他のO8へ切換える必要がある場合、O8切換え
コマンドにより切換えたいO8の名称(またはO8に対
応した番号)を図示しないキーボード等により指定する
(ステップS1)。
First of all, the user of the electronic computer system must
If it is necessary to switch from S to another O8, the name of the O8 (or the number corresponding to the O8) to be switched is specified using an O8 switching command using a keyboard (not shown) or the like (step S1).

これにより、コマンド゛処理手段22は、切換えるoS
の名称(または番号)を、起動○sl!i別データ格納
レジスタ15にセットする(ステップS2)。
This causes the command processing means 22 to switch the oS
Start the name (or number) of ○sl! It is set in the i-specific data storage register 15 (step S2).

また、コマンド処理手段22は、電子計算機システムを
初期状態とし、ROM13に格納されたプログラムへ制
御を移すため、リセットスイッチ18によりCPUII
をリセットする(ステップS3)。
In addition, the command processing means 22 sets the computer system to an initial state and transfers control to the program stored in the ROM 13 by using the reset switch 18 to reset the CPU II.
(step S3).

CPU 11 ノリセy tl:l:J:’)、CPU
IIは初期状態からスタートし、ROM13内のプログ
ラムに制御が移る(ステップ5ll)。
CPU 11 tl:l:J:'), CPU
II starts from the initial state, and control is transferred to the program in the ROM 13 (step 5ll).

これ以降は、ROM13内のIPLプログラム19とO
8切換え手段20が制御を行なう。
From now on, IPL program 19 in ROM 13 and O
8 switching means 20 performs control.

先ず、IPLプログラム19は、リセット要因格納レジ
スタ16を参照し、CPtJllのリセットがコマンド
処理手段22により行なわれたか、または電源の投入や
利用者によるリセットスイッチ゛18の押下等のその他
の要因によるものかを判定する(ステップ512)。
First, the IPL program 19 refers to the reset factor storage register 16 and determines whether the CPtJll was reset by the command processing means 22 or due to other factors such as turning on the power or pressing the reset switch 18 by the user. It is determined whether it is true (step 512).

この判定の結果、コマンド処理手段22がリセットスイ
ッチ18によりCPLIIIをリセットしたのであれば
、○S切換え手段2oにより、起動05w1別データ格
納レジスタ15にセットされているO8の名称(または
番号)に該当するO8をディスク装置17より主記憶装
置14上へロードする(ステップ513)。
As a result of this determination, if the command processing means 22 resets the CPLIII using the reset switch 18, the ○S switching means 2o indicates that the name (or number) of O8 set in the data storage register 15 for startup 05w1 corresponds to O8 is loaded from the disk device 17 onto the main storage device 14 (step 513).

また、その他の要因によるリセットであれば、IPLプ
ログラム19が図示しない起動用レジスタを参照し、電
源投入時やリセットスィッチ18押下時にロードすべき
O8を主記憶装置14上にロードする(ステップ514
)。即ち、初期プログラムロードな実行する。
If the reset is due to other factors, the IPL program 19 refers to a startup register (not shown) and loads O8 onto the main memory 14 when the power is turned on or the reset switch 18 is pressed (step 514).
). That is, the initial program is loaded and executed.

その後、主記憶装置14上にロードしたO8のプログラ
ムに制御を移しくステップ515)、O8切換え処理を
終了する。
Thereafter, control is transferred to the O8 program loaded onto the main storage device 14 (step 515), and the O8 switching process is ended.

尚、上記実施例では、起動○S識別データ格納レジスタ
15にセットするO8の識別データをO8の名称または
番号としたが、これに限定されるものではなく、例えば
記号等の識別データモあっても良い。
In the above embodiment, the identification data of O8 set in the startup ○S identification data storage register 15 is the name or number of O8, but it is not limited to this. For example, identification data such as a symbol may also be used. good.

(発明の効果) 以上、詳細に説明したように本発明によれば、複数のオ
ペレーティングシステムを切換久て主記憶装置にロード
するオペレーティングシステム切換え手段を読出し専用
メモリ内に設けたので、複数の各オペレーティングシス
テム毎にオペレーティングシステム切換えプログラムを
作成する必要がなく、オペレーティングシステムのサイ
ズ縮小化を図ることができると共にコスト低減化を図る
ことができる。
(Effects of the Invention) As described above in detail, according to the present invention, the operating system switching means for loading a plurality of operating systems into the main storage device after switching is provided in the read-only memory. There is no need to create an operating system switching program for each operating system, and it is possible to reduce the size of the operating system and reduce costs.

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

第1図は本発明のオペレーティングステップ切換え装置
の構成図、第2図は従来のオペレーティングシステム切
換え装置の構成図、第3図は本発明のオペレーティング
システム切換え装置の動作フローチャートである。 11・・・CPU (中央処理装置)、13・・・読出
し専用メモリ、14・・・主記憶装置、15・・・起動
オペレーティングシステム識別データ格納レジスタ、 16・・・リセット要因格納レジスタ、17・・・ディ
スク装置、18・・・リセットスイッチ、20・・・オ
ペレーティングシステム切換え手段、22・・・コマン
ド処理手段。 第  l  図 唱 従来装置の構成図 第  2  図
FIG. 1 is a block diagram of an operating step switching device of the present invention, FIG. 2 is a block diagram of a conventional operating system switching device, and FIG. 3 is an operation flowchart of the operating system switching device of the present invention. DESCRIPTION OF SYMBOLS 11... CPU (central processing unit), 13... Read-only memory, 14... Main storage device, 15... Boot operating system identification data storage register, 16... Reset factor storage register, 17. . . . Disk device, 18 . . . Reset switch, 20 . . . Operating system switching means, 22 . . . Command processing means. Fig. 1. Configuration diagram of conventional singing device Fig. 2

Claims (1)

【特許請求の範囲】 複数のオペレーティングシステムを搭載する電子計算機
システムの実行オペレーティングシステムを切換えるオ
ペレーティングシステム切換え装置において、 利用者の入力したコマンドにより切換えるオペレーティ
ングシステムを指定するコマンド処理手段と、 前記コマンド処理手段で指定されたオペレーティングシ
ステムの識別データを格納する起動オペレーティングシ
ステム識別データ格納レジスタと、 前記コマンド処理手段により、切換えるオペレーティン
グシステムが指定された場合、中央処理装置のリセット
を行なうリセットスイッチと、前記中央処理装置のリセ
ットが前記コマンド処理手段により行なわれたか否かを
判断するリセット要因格納レジスタと、 読出し専用メモリ内に設けられ、前記中央処理装置のリ
セットが前記コマンド処理手段で行なわれた場合、前記
コマンド処理手段で指定されたオペレーティングシステ
ムを主記憶装置にロードするオペレーティングシステム
切換え手段とを設けたことを特徴とするオペレーティン
グシステム切換え装置。
[Scope of Claims] An operating system switching device for switching the operating system to be executed in a computer system equipped with a plurality of operating systems, comprising: a command processing means for specifying an operating system to be switched according to a command input by a user; and the command processing means. a boot operating system identification data storage register for storing identification data of the operating system specified by the command processing means; a reset switch for resetting the central processing unit when an operating system to be switched is specified by the command processing means; a reset factor storage register for determining whether or not the device has been reset by the command processing means; and a reset factor storage register provided in a read-only memory, which is configured to store the reset factor when the central processing unit is reset by the command processing means. 1. An operating system switching device comprising: operating system switching means for loading an operating system specified by the processing means into a main storage device.
JP32092490A 1990-11-27 1990-11-27 Operating system switching device Pending JPH04191927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32092490A JPH04191927A (en) 1990-11-27 1990-11-27 Operating system switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32092490A JPH04191927A (en) 1990-11-27 1990-11-27 Operating system switching device

Publications (1)

Publication Number Publication Date
JPH04191927A true JPH04191927A (en) 1992-07-10

Family

ID=18126802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32092490A Pending JPH04191927A (en) 1990-11-27 1990-11-27 Operating system switching device

Country Status (1)

Country Link
JP (1) JPH04191927A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6327653B1 (en) * 1995-11-07 2001-12-04 Samsung Electronics Co., Ltd. Technique for easily changing operating systems of a digital computer system using at least two pushbuttons
US6647492B1 (en) * 2000-07-28 2003-11-11 Ncr Corporation Method of providing persistent memory to a hand-held platform operating system on a computer system
JP2014531099A (en) * 2011-10-28 2014-11-20 インテル・コーポレーション Switching operating context

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6327653B1 (en) * 1995-11-07 2001-12-04 Samsung Electronics Co., Ltd. Technique for easily changing operating systems of a digital computer system using at least two pushbuttons
US6647492B1 (en) * 2000-07-28 2003-11-11 Ncr Corporation Method of providing persistent memory to a hand-held platform operating system on a computer system
JP2014531099A (en) * 2011-10-28 2014-11-20 インテル・コーポレーション Switching operating context

Similar Documents

Publication Publication Date Title
US6434696B1 (en) Method for quickly booting a computer system
US5448741A (en) Personal computer capable of changing boot priority
JPH02267634A (en) Interrupt system
JPH0775014B2 (en) Device and method for loading BIOS on computer
JPH11316686A (en) BIOS data storage device for computer system and method of driving the same
JPH04191927A (en) Operating system switching device
JPH0554009A (en) Program load system
JPH04169929A (en) Boot priority changing device
KR100292155B1 (en) Digital computer having easy operation environment and using method thereof
JPH05274120A (en) Os mode switching device
JPH09319583A (en) System starting method for miniaturized electronic computer
JP2972930B2 (en) Optimal environment setting device for computer system
JPH04175924A (en) Multiple OS execution method
KR100467514B1 (en) How to light a BIOS image
KR19990074371A (en) Computer system having a ROM device and a method of starting the computer system
JPH0418639A (en) Program activating system
JPH0816405A (en) System initialization device
JPH01124039A (en) Memory switching device for information processor
JPH11316691A (en) Execution method for operating system and information processor using the method
JPH0619705B2 (en) Electronic computer system
JPH05233308A (en) Program maintaining method
JP2001134449A (en) Data processing device and control method thereof
JPH09293012A (en) Information processor
JPH02129745A (en) Computer
JPH06139162A (en) Information processor