JPH0527954A - Computer system - Google Patents

Computer system

Info

Publication number
JPH0527954A
JPH0527954A JP17820691A JP17820691A JPH0527954A JP H0527954 A JPH0527954 A JP H0527954A JP 17820691 A JP17820691 A JP 17820691A JP 17820691 A JP17820691 A JP 17820691A JP H0527954 A JPH0527954 A JP H0527954A
Authority
JP
Japan
Prior art keywords
memory
switching
oss
controller
computer system
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
JP17820691A
Other languages
Japanese (ja)
Inventor
Masayuki Sumino
正幸 角野
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
Original Assignee
Toshiba 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 filed Critical Toshiba Corp
Priority to JP17820691A priority Critical patent/JPH0527954A/en
Publication of JPH0527954A publication Critical patent/JPH0527954A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To provide the computer system which can simultaneously activate respective OS, can realize the operation of communication between the respective OS and can develop an application program freely operated between the respective OS concerning the system in a system to activate the various kinds of plural OS. CONSTITUTION:When a switch key 7a of a keyboard 7 is operated, the switching of various OS is instructed. Corresponding to this switching instruction, an interface software stored in a memory 2 executes memory control to change the arrangement of the memory 2 for each OS, and the respective OS are mutually switched and activated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えばパーソナルコン
ピュータに関し、異種の複数のオペレーティングシステ
ムを起動させることが可能なコンピュータシステムに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a personal computer, for example, and relates to a computer system capable of starting a plurality of operating systems of different types.

【0002】[0002]

【従来の技術】従来、パーソナルコンピュータ等のコン
ピュータシステムでは、ハードディスクまたはフロッピ
ーディスクに記憶された例えばMS−DOS(登録商
標)等のオペレーティングシステム(OS)がメインメ
モリにセットされて、このOSにより動作するアプリケ
ーション・プログラムが実行されることになる。
2. Description of the Related Art Conventionally, in a computer system such as a personal computer, an operating system (OS) such as MS-DOS (registered trademark) stored in a hard disk or a floppy disk is set in a main memory and operated by the OS. Application program is executed.

【0003】ところで、コンピュータシステムには、例
えばMS−DOS、OS/2等の異種の複数のOSを起
動できる方式のものがある。このような方式のシステム
では、起動中の一方のOSをハードウェア的にリセット
し(システム電源の切替え)、他方のOSを起動させ
る。このため、固有のOSにより動作するシステムにお
いて、異なるOSにより動作するアプリケーション・プ
ログラムを起動させたい場合に、固有のOS用に移植す
るような処理は不要となる利点がある。
By the way, there is a computer system that can start a plurality of different OSs such as MS-DOS and OS / 2. In such a system, one of the operating OSs is reset by hardware (switching of system power supply) and the other OS is activated. Therefore, in a system operating with a unique OS, when it is desired to start an application program that operates with a different OS, there is an advantage that a process for porting for the unique OS is unnecessary.

【0004】[0004]

【発明が解決しようとする課題】異種の複数のOSを起
動する方式のシステムでは、複数のOSから選択的に一
方のOSを起動することができる。このような方式であ
れば、異なるOSにより動作するアプリケーション・プ
ログラムを自在に利用することが可能となる。しかしな
がら、各OSの切替え動作には、ハードウェア的なリセ
ット処理が必要であるため、システム全体としては効率
の低下を招く欠点がある。
In a system in which a plurality of different kinds of OSs are activated, one of the OSs can be selectively activated. With such a system, it is possible to freely use application programs that run on different OSs. However, since the switching operation of each OS requires a hardware reset process, there is a drawback that the efficiency of the entire system decreases.

【0005】本発明の目的は、異種の複数のOSを起動
する方式のシステムにおいて、各OS間で相互に効率的
な切替え動作を実現して、結果的にシステムの性能の向
上を図ることができるコンピュータシステムを提供する
ことにある。
It is an object of the present invention to realize a mutually efficient switching operation between OSs in a system of a system in which a plurality of different OSs are started up, and consequently improve the system performance. It is to provide a computer system capable of doing so.

【0006】[0006]

【課題を解決するための手段】本発明は、異種の複数の
OSを格納するメモリ手段、各OSを相互に切替えるた
めの切替え指示を行なう入力手段および各OS間のイン
ターフェースを実現するインターフェース手段とを備え
たコンピュータシステムである。
According to the present invention, there are provided a memory means for storing a plurality of different OSs, an input means for issuing a switching instruction for switching each OS, and an interface means for realizing an interface between the OSs. It is a computer system equipped with.

【0007】[0007]

【作用】本発明では、入力手段により切替え指示がなさ
れると、インターフェース手段はメモリ手段のメモリ配
置を各OS毎に変更するメモリ制御を実行し、各OSを
相互に切替え起動する。
According to the present invention, when a switching instruction is given by the input means, the interface means executes memory control for changing the memory arrangement of the memory means for each OS, and switches and starts each OS mutually.

【0008】[0008]

【実施例】以下図面を参照して本発明の実施例を説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0009】図1は同実施例に係わるコンピュータシス
テムの構成を示すブロック図である。本システムは、プ
ロセッサ(CPU)1、複数のOSを格納できるメモリ
2、クロック発生器3およびコントローラを構成するゲ
ートアレイ4を備えている。
FIG. 1 is a block diagram showing the configuration of a computer system according to the embodiment. This system includes a processor (CPU) 1, a memory 2 capable of storing a plurality of OSs, a clock generator 3, and a gate array 4 constituting a controller.

【0010】メモリ2は、メインのOS(OS−A)を
格納するメインメモリ2aおよびメインとは異種のOS
(OS−B)を使用する場合に利用される拡張メモリ2
bから構成されている。クロック発生器3は、CPU1
およびゲートアレイ4の動作に必要なクロックを発生す
る。ゲートアレイ4は、メモリ2の制御を行なうメモリ
コントローラ4aおよび各種I/O機器の制御を行なう
I/Oコントローラ4bを構成したLSIである。メモ
リコントローラ4aは、メインメモリ2aと拡張メモリ
2bとのバンク切替え制御を実行する。
The memory 2 includes a main memory 2a for storing a main OS (OS-A) and an OS different from the main OS.
Extended memory 2 used when (OS-B) is used
b. The clock generator 3 is the CPU 1
And a clock required for the operation of the gate array 4 is generated. The gate array 4 is an LSI including a memory controller 4a that controls the memory 2 and an I / O controller 4b that controls various I / O devices. The memory controller 4a executes bank switching control between the main memory 2a and the extension memory 2b.

【0011】さらに、本システムは、液晶ディスプレイ
(LCD)5、LCDコントローラ6、キーボード7、
キーボードコントローラ8、フロッピーディスク装置
(FDD)9、フロッピーディスク・コントローラ(F
DC)10、プリンタ11、プリンタコントローラ12
およびビデオRAM(V−RAM)13を有する。
Further, this system includes a liquid crystal display (LCD) 5, an LCD controller 6, a keyboard 7,
Keyboard controller 8, floppy disk device (FDD) 9, floppy disk controller (F
DC) 10, printer 11, printer controller 12
And a video RAM (V-RAM) 13.

【0012】LCDコントローラ6は、V−RAM13
に展開された表示データを、LCD5の画面に表示する
制御動作を行なう。キーボード7は、各種文字キー、フ
ァンクションキー以外に、OSを切替えを指示するため
の切替えキー7aを有する。キーボードコントローラ8
は、キーボード7からのキー入力信号をキーコードに変
換し、ゲートアレイ4のI/Oコントローラ4bに出力
する。FDC10は、外部記憶装置であるFDD9の動
作を制御し、I/Oコントローラ4bを通じてCPU1
とのデータの記録・再生を実行する。次に、同実施例の
動作を説明する。
The LCD controller 6 is a V-RAM 13
The control operation of displaying the display data expanded on the screen of the LCD 5 is performed. The keyboard 7 has a switching key 7a for instructing switching of the OS in addition to various character keys and function keys. Keyboard controller 8
Converts a key input signal from the keyboard 7 into a key code and outputs it to the I / O controller 4b of the gate array 4. The FDC 10 controls the operation of the FDD 9, which is an external storage device, and controls the CPU 1 through the I / O controller 4b.
Record and play back data with and. Next, the operation of the embodiment will be described.

【0013】まず、システムに電源が投入されると、C
PU1はリセットされて、システムの初期チェック処理
を実行する。さらに、IPL(initialprog
ram loader)により、FDD9に記憶された
OS−Aが読出されて、メインメモリ2aにセットされ
る。
First, when the system is powered on, C
PU1 is reset and executes the initial check processing of the system. In addition, IPL (initialprog)
RAM-loader) reads the OS-A stored in the FDD 9 and sets it in the main memory 2a.

【0014】メインメモリ2aにセットされたOS−A
が初期化されて起動すると(ステップS1)、CPU1
はOS−Aにより動作するアプリケーション・プログラ
ムを実行する(ステップS2)。
OS-A set in the main memory 2a
Is initialized and activated (step S1), the CPU1
Executes an application program operated by OS-A (step S2).

【0015】ここで、OS−Aとは異種のOS−BがF
DD9から読出されて、メモリ2の拡張メモリ2bにセ
ットされる。したがって、メモリ2には、異種の2つの
OSがセットされたことになる。このような状態におい
て、キーボード2の切替えキー7aが操作されると(ス
テップS3のYES)、図2の(A)に示すように、メ
インメモリ2aにセットされたインターフェースソフト
ウェアが起動する。インターフェースソフトウェアは、
OS−AとOS−Bとの相互切替え処理および各OS間
の交信処理を行なうためのプログラムである。
Here, OS-B, which is different from OS-A, is F
It is read from the DD 9 and set in the expansion memory 2b of the memory 2. Therefore, two different OSs are set in the memory 2. In this state, when the switching key 7a of the keyboard 2 is operated (YES in step S3), the interface software set in the main memory 2a is activated as shown in FIG. The interface software is
It is a program for performing mutual switching processing between OS-A and OS-B and communication processing between each OS.

【0016】インターフェースソフトウェアの起動によ
り、OS−Aの各種制御情報を保持した各種レジスタの
内容をセーブする(ステップS4)。各種レジスタとは
PSW(program status word)レ
ジスタ等である。さらに、図2の(B)に示すように、
拡張メモリ2bのOS−B用のジャンプベクタBがセッ
トされて、割り込みが禁止の状態となる(ステップS
5)。
By starting the interface software, the contents of various registers holding various control information of OS-A are saved (step S4). The various registers are PSW (program status word) registers and the like. Further, as shown in FIG.
The jump vector B for OS-B of the expansion memory 2b is set, and interrupts are disabled (step S
5).

【0017】ゲートアレイ4のメモリコントローラ4a
は、拡張メモリ2bを0番地から割り付けて、有効な状
態とする(ステップS6)。即ち、メモリコントローラ
4aはメインメモリ2aから拡張メモリ2bに対するバ
ンク切替えを実行し、メモリ2のメモリ配置を変更させ
る制御を行なう。
Memory controller 4a of gate array 4
Allocates the extension memory 2b from the address 0 to make it effective (step S6). That is, the memory controller 4a executes bank switching from the main memory 2a to the expansion memory 2b, and performs control to change the memory arrangement of the memory 2.

【0018】さらに、割り込みが許可の状態となり(ス
テップS7)、OS−Bを初期化して起動する(ステッ
プS8)。これにより、CPU1はOS−Bにより動作
するアプリケーション・プログラムを実行する(ステッ
プS9)。
Further, the interrupt is enabled (step S7), and OS-B is initialized and activated (step S8). As a result, the CPU 1 executes the application program operated by the OS-B (step S9).

【0019】このOS−Bによるアプリケーション・プ
ログラムの実行が終了すると(ステップS11のYE
S)、再度インターフェースソフトウェアが起動し、O
S−Aに復帰させる(ステップS12)。即ち、図2の
(A)に示すように、メインメモリ2aのOS−A用の
ジャンプベクタAがセットされて、セーブしたOS−A
の各種レジスタを復帰させる。
When the execution of the application program by the OS-B is completed (YES in step S11)
S), the interface software starts again, and
It returns to S-A (step S12). That is, as shown in FIG. 2A, the jump vector A for OS-A of the main memory 2a is set and the saved OS-A is saved.
Restore various registers of.

【0020】ところで、OS−Bによりアプリケーショ
ン・プログラムを実行中に、OS−Aとの交信を行なう
ために、インターフェースソフトウェアを起動すると、
インターフェースソフトウェアはOS−Aをコール(C
ALL)する処理を実行する(ステップS10のYE
S)。
By the way, when the interface software is started in order to communicate with OS-A while the application program is being executed by OS-B,
The interface software calls OS-A (C
ALL) is executed (YE in step S10)
S).

【0021】このOS間の交信処理では、インターフェ
ースソフトウェアは、図4に示すように、OS−Aの各
種制御情報を保持した各種レジスタの内容をセーブする
(ステップS20)。さらに、セーブしたOS−Aの各
種レジスタを復帰し(ステップS21)、必要に応じて
プログラムのパラメータ等をインターフェースソフトウ
ェア内にコピーする(ステップS22)。
In the communication process between the OSs, the interface software saves the contents of various registers holding various control information of the OS-A as shown in FIG. 4 (step S20). Further, the saved various registers of the OS-A are restored (step S21), and the program parameters and the like are copied into the interface software as needed (step S22).

【0022】インターフェースソフトウェアは、割り込
みを禁止状態にし(ステップS23)、ゲートアレイ4
のメモリコントローラ4aに対してI/O命令を出力す
る。このメモリコントローラ4aにより、拡張メモリ2
bをOS−A用に戻す(ステップS24)。この後、割
り込みを許可状態にし(ステップS25)、OS−Aの
システムコール処理を実行する(ステップS26)。こ
の処理では、OS−Bにより動作するアプリケーション
・プログラムがOS−Aをコールするのを、シミュレー
トすることである。
The interface software disables interrupts (step S23), and the gate array 4
I / O command is output to the memory controller 4a. With this memory controller 4a, the expansion memory 2
b is returned for OS-A (step S24). After that, the interrupt is enabled (step S25), and the OS-A system call process is executed (step S26). This processing is to simulate that an application program running on OS-B calls OS-A.

【0023】さらに、インターフェースソフトウェア
は、割り込みを禁止状態にし(ステップS27)、ゲー
トアレイ4のメモリコントローラ4aに対してI/O命
令を出力する。メモリコントローラ4aは、拡張メモリ
2bを0番地から割り付けて、有効な状態とする(ステ
ップS28)。即ち、拡張メモリ2bはOS−B用のメ
モリマッピングに変更される。この後、割り込みを許可
状態にし(ステップS29)、セーブしたOS−Bの各
種レジスタを復帰する(ステップS30)。
Further, the interface software disables interrupts (step S27) and outputs an I / O command to the memory controller 4a of the gate array 4. The memory controller 4a allocates the expansion memory 2b from the address 0 to make it effective (step S28). That is, the expansion memory 2b is changed to the memory mapping for OS-B. After that, the interrupt is enabled (step S29), and the saved various registers of the OS-B are restored (step S30).

【0024】このようにして、OSの切替えを指示する
切替えキー7aが操作されると、インターフェースソフ
トウェアが起動する。このインターフェースソフトウェ
アにより、メモリコントローラ4aがいわばメモリ2の
バンク切替え動作を実行する。したがって、各OSを起
動するための割り込みベクタA,Bを独立してメモリ2
に保持させて、異種の各OSを相互に切替えることがで
きる。これにより、システム電源の切替えにより各OS
を切り替える必要はなく、切替えキー7aの操作に応じ
て簡単に切り替えることが可能となる。
In this way, when the switching key 7a for instructing the switching of the OS is operated, the interface software is activated. With this interface software, the memory controller 4a executes, so to speak, a bank switching operation of the memory 2. Therefore, the interrupt vectors A and B for booting each OS are independently stored in the memory 2
, And different types of OSs can be switched to each other. This allows each OS to be switched by switching the system power supply.
Need not be switched, and it is possible to easily switch according to the operation of the switching key 7a.

【0025】また、インターフェースソフトウェアによ
り、一方のOSの起動中に、他方のOSのシステムコー
ルを行なうことにより、各OS間の交信を実現すること
ができる。これにより、各OS間で自由に動作するアプ
リケーション・プログラムの開発を図ることができる。
Further, the interface software makes it possible to realize communication between the OSs by making a system call of the other OS while the other OS is being activated. This makes it possible to develop an application program that operates freely between the OSs.

【0026】[0026]

【発明の効果】以上詳述したように本発明によれば、異
種の複数のOSを起動する方式のシステムにおいて、各
OS間で相互に効率的な切替え動作を実現することがで
きる。これにより、各OS間の交信を実現し、各OS間
で自由に動作するアプリケーション・プログラムの開発
を可能にする。したがって、結果的にシステムの性能の
向上を図ることができる。
As described above in detail, according to the present invention, in a system of a method of booting a plurality of different OSs, it is possible to realize an efficient switching operation between the OSs. As a result, communication between OSs is realized, and it is possible to develop application programs that freely operate between OSs. Therefore, the performance of the system can be improved as a result.

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

【図1】本発明の実施例に係わるコンピュータシステム
の構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a computer system according to an embodiment of the present invention.

【図2】同実施例に係わるメモリの構成を説明するため
の概念図。
FIG. 2 is a conceptual diagram for explaining a configuration of a memory according to the same embodiment.

【図3】同実施例の動作を説明するためのフローチャー
ト。
FIG. 3 is a flowchart for explaining the operation of the embodiment.

【図4】同実施例の動作を説明するためのフローチャー
ト。
FIG. 4 is a flowchart for explaining the operation of the embodiment.

【符号の説明】[Explanation of symbols]

1…CPU、2…メモリ、2a…メインメモリ、2b…
拡張メモリ、4…ゲートアレイ。
1 ... CPU, 2 ... memory, 2a ... main memory, 2b ...
Extended memory, 4 ... Gate array.

Claims (1)

【特許請求の範囲】 【請求項1】 異種の複数のオペレーティングシステム
を格納するメモリ手段と、 前記各オペレーティングシステムを相互に切替えるため
の切替え指示を行なう入力手段と、 この入力手段により切替え指示がなされると、前記メモ
リ手段のメモリ配置を前記各オペレーティングシステム
毎に変更するメモリ制御を実行し、前記各オペレーティ
ングシステムを相互に切替え起動させるインターフェー
ス手段とを具備したことを特徴とするコンピュータシス
テム。
Claim: What is claimed is: 1. A memory means for storing a plurality of operating systems of different types, an input means for issuing a switching instruction for switching between the operating systems, and a switching instruction by the input means. Then, a computer system comprising: interface means for executing a memory control for changing the memory arrangement of the memory means for each of the operating systems, and for switching and starting the operating systems with each other.
JP17820691A 1991-07-18 1991-07-18 Computer system Pending JPH0527954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17820691A JPH0527954A (en) 1991-07-18 1991-07-18 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17820691A JPH0527954A (en) 1991-07-18 1991-07-18 Computer system

Publications (1)

Publication Number Publication Date
JPH0527954A true JPH0527954A (en) 1993-02-05

Family

ID=16044437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17820691A Pending JPH0527954A (en) 1991-07-18 1991-07-18 Computer system

Country Status (1)

Country Link
JP (1) JPH0527954A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100385184B1 (en) * 2000-10-19 2003-05-27 삼성전자주식회사 Computer system and method for setting up an operating system information thereof
US6715016B1 (en) 2000-06-01 2004-03-30 Hitachi, Ltd. Multiple operating system control method
JP2010518512A (en) * 2007-02-06 2010-05-27 マイクロソフト コーポレーション Multiple operating system support in media devices
JP2012155600A (en) * 2011-01-27 2012-08-16 Fujitsu Ltd Information processing apparatus, control method and control program
JP2012524483A (en) * 2009-04-20 2012-10-11 威 伍 Handheld device integrating computer and mobile phone and method for realizing the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6715016B1 (en) 2000-06-01 2004-03-30 Hitachi, Ltd. Multiple operating system control method
US6892261B2 (en) 2000-06-01 2005-05-10 Hitachi, Ltd. Multiple operating system control method
KR100385184B1 (en) * 2000-10-19 2003-05-27 삼성전자주식회사 Computer system and method for setting up an operating system information thereof
JP2010518512A (en) * 2007-02-06 2010-05-27 マイクロソフト コーポレーション Multiple operating system support in media devices
JP2012524483A (en) * 2009-04-20 2012-10-11 威 伍 Handheld device integrating computer and mobile phone and method for realizing the same
JP2012155600A (en) * 2011-01-27 2012-08-16 Fujitsu Ltd Information processing apparatus, control method and control program

Similar Documents

Publication Publication Date Title
JP4291964B2 (en) Virtual computer system
US6327653B1 (en) Technique for easily changing operating systems of a digital computer system using at least two pushbuttons
JPS62171066A (en) Virtual memory/virtual computer type data processing system having co-processor
KR910006823A (en) Computer system with control for controlling the power supply of the storage device
JP2655615B2 (en) Information processing device
JPH0527954A (en) Computer system
JPH04227547A (en) Information processor
JPS61273634A (en) Multi-operating system personal computer
JPH09319583A (en) System starting method for miniaturized electronic computer
JPH10307714A (en) Pc/at compatible personal computer
JP2545645B2 (en) Expandable system
JPH06295217A (en) Keyboard control system for virtual computer
KR20010047483A (en) Method for controlling a function of touch pad operation in computer
JPH04169929A (en) Boot priority changing device
JPH04260908A (en) Computer system starting system
JPH06161974A (en) Diagnosing method for multi-cpu board
JP2972930B2 (en) Optimal environment setting device for computer system
JPS59172059A (en) Electronic computer system
JP2000112576A (en) Reset device and information processor
CN111352669A (en) Method, system and equipment for PCIE Switch configuration
JP2680672B2 (en) I / O device switching method
JPH08272653A (en) Freeze processing system
JPS62295155A (en) Initial program load system
JPH0481934A (en) Information processor
JPH10149232A (en) System processing request system for power-off time