JPH06208525A - Method for switching operation mode of processor - Google Patents

Method for switching operation mode of processor

Info

Publication number
JPH06208525A
JPH06208525A JP5002270A JP227093A JPH06208525A JP H06208525 A JPH06208525 A JP H06208525A JP 5002270 A JP5002270 A JP 5002270A JP 227093 A JP227093 A JP 227093A JP H06208525 A JPH06208525 A JP H06208525A
Authority
JP
Japan
Prior art keywords
mode
operation mode
application program
operating system
program
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.)
Withdrawn
Application number
JP5002270A
Other languages
Japanese (ja)
Inventor
Toshiharu Matsui
俊治 松井
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP5002270A priority Critical patent/JPH06208525A/en
Publication of JPH06208525A publication Critical patent/JPH06208525A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To provide a method for starting an application program which differs in an operation mode without switching the operation mode with an operation mode changeover switch by providing an operation mode switching process part on a processor and its peripheral device which have two operation modes. CONSTITUTION:An operation mode switching process (step 4) which is actuated at a request made by the application program is provided, and the operation mode switching process (step 4) includes a step 5 wherein an operating system is read in again, a step 6 wherein the operation mode of the processor and peripheral device is changed, a step 7 wherein the peripheral device, a basic input/output program, and the operating system are initialized, a step 10 wherein the application program is loaded, and a step 11 wherein the application program is started.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、2つの動作モードを
有する処理装置の動作モード切替え方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an operation mode switching method for a processor having two operation modes.

【0002】[0002]

【従来の技術】従来、パーソナルコンピュータなどの小
型処理装置は、接続する周辺装置の機種に応じて、処理
装置の動作モードを選択する切替えスイッチを有してい
る。そして、動作モードを切替えるとき、処理装置の動
作を一旦停止し、切替えスイッチを切替えた後、オペレ
ーティングシステムプログラムを再ロードし、アプリケ
ーションプログラムを起動している。
2. Description of the Related Art Conventionally, a small processing device such as a personal computer has a changeover switch for selecting an operation mode of the processing device according to a model of a peripheral device to be connected. Then, when the operation mode is switched, the operation of the processing device is temporarily stopped, the switching switch is switched, the operating system program is reloaded, and the application program is started.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のアプリ
ケーションプログラムの起動手法では、現在動作してい
る動作モードと異なる動作モードで動作するアプリケー
ションプログラムを起動する場合、処理装置の動作モー
ド切替スイッチを切替える必要があるため、必ずシステ
ムを一旦停止し、再起動しなければならない。この発明
の目的は機械的な動作モード切替えスイッチの切替えを
必要としない、動作モード切替え処理プログラムによる
処理装置の動作モード切替え方法を提供する。
According to the above-mentioned conventional application program starting method, when the application program operating in the operation mode different from the operation mode currently operating is started, the operation mode changeover switch of the processing device is switched. It is necessary to stop and restart the system. An object of the present invention is to provide an operation mode switching method of a processing device by an operation mode switching processing program which does not require mechanical switching of the operation mode switching switch.

【0004】[0004]

【課題を解決するための手段】この発明の処理装置の動
作モード切替え方法は、接続する周辺装置に対応して動
作モードを選択する処理装置において、オペレーティン
グシステムプログラムを再読み込みする手順と、前記処
理装置の動作モードを変更する手順と、前記処理装置お
よび前記周辺装置を初期化する手順と、前記処理装置お
よび前記周辺装置の入出力動作を制御する基本入出力プ
ログラムならびに前記オペレーティングシステムを初期
化する手順と、アプリケーションプログラムを読み込み
前記アプリケーションプログラムを起動する手順と、を
備えることを特徴とする処理装置の動作モード切替え方
法。
SUMMARY OF THE INVENTION The operation mode switching method for a processing device according to the present invention comprises a procedure for re-reading an operating system program in a processing device for selecting an operation mode corresponding to a peripheral device to be connected, and the above-mentioned processing. A procedure for changing the operation mode of the device, a procedure for initializing the processing device and the peripheral device, a basic input / output program for controlling the input / output operation of the processing device and the peripheral device, and the operating system A method of switching an operation mode of a processing device, comprising: a procedure; and a procedure of loading an application program and starting the application program.

【0005】[0005]

【実施例】次に、この発明の実施例について図面を参照
して説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0006】この発明の一実施例の手順の流れを示す図
1を参照すると、オペレーティングシステムを起動する
オペレーティングシステム起動処理1と、オペレーティ
ングシステム起動処理1によって、Aモードで動作する
アプリケーションプログラムをロードするAモードアプ
リケーションプログラム用環境設定処理2と、Aモード
アプリケーションプログラムのロード完了によって、A
モードアプリケーションプログラムを起動するAモード
アプリケーションプログラム起動処理3と、Aモードア
プリケーションプログラムの要求によって、動作モード
をBモードに切替えるための動作モード切替え処理4
と、動作モードを切替えるためオペレーティングシステ
ムプログラムを動作モード切替え処理4の指令によって
読み込むオペレーティングシステムプログラム再読み込
み処理5と、アプリケーションプログラムの動作モード
に合わせて処理装置および周辺装置の動作モードを切替
えるハードウェアモード変更処理6と、ハードウェアモ
ード変更処理6によって変更される処理装置および周辺
装置を初期化するハードウェア初期化処理7と、基本入
出力プログラムを切替えられる動作モードに初期化する
基本入出力プログラム初期化処理8と、オペレーティン
グシステムを切替えられる動作モードに初期化するオペ
レーティングシステム初期化処理9と、Bモードで動作
するアプリケーションプログラムをロードするBモード
アプリケーションプログラム用環境設定処理10と、B
モードアプリケーションプログラムを起動するBモード
アプリケーションプログラム起動処理11と、を含む。
Referring to FIG. 1, which shows the flow of the procedure of an embodiment of the present invention, an operating system starting process 1 for starting an operating system, and an operating system starting process 1 load an application program operating in the A mode. By the environment setting process 2 for the A mode application program and the completion of loading the A mode application program, A
A mode application program starting process 3 for starting the mode application program and operation mode switching process 4 for switching the operation mode to the B mode at the request of the A mode application program.
And an operating system program reloading process 5 for reading an operating system program according to a command of the operation mode switching process 4 for switching the operation mode, and a hardware mode for switching the operation mode of the processing device and the peripheral device according to the operation mode of the application program. Change process 6, hardware initialization process 7 for initializing the processing device and peripheral devices changed by the hardware mode change process 6, and basic input / output program initialization for initializing the basic input / output program to the switchable operation mode Initialization process 8, operating system initialization process 9 for initializing the operating system into an operation mode in which the operating system can be switched, and B mode application for loading an application program that operates in B mode A program for the environment setting process 10, B
B mode application program start processing 11 for starting the mode application program.

【0007】次に、この実施例の構成を説明する図2を
参照すると、この動作モード切替え方法を実行するシス
テム20の構成は、オペレーティングシステムプログラ
ムを実行する制御部21と、周辺装置との入出力を実行
する基本入出力部22と、Aモードで動作する周辺装置
231およびBモードで動作する周辺装置232と、A
モードで動作するアプリケーションプログラムを実行す
るAモードアプリケーション部24と、Bモードで動作
するアプリケーションプログラムを実行するBモードア
プリケーション部25と、アプリケーション部24およ
び25から動作モード切替えの要求を受理し、制御部2
1に動作モード切替えの指令を送付する動作モード切替
え部26と、を備える。更に、動作モード切替え部26
は制御部21のAモード動作部211あるいはBモード
動作部212の一方に切替え指令を送付する。制御部2
1はAモードあるいはBモードの要求に応じ、基本入出
力部22のAモード動作部221あるいはBモード動作
部222の一方に切替え指令を送付する。基本入出力部
22はAモードあるいはBモードの指令に応じ、周辺装
置23あるいは24の一方を対応するモードで制御す
る。
Next, referring to FIG. 2 for explaining the configuration of this embodiment, the configuration of the system 20 for executing this operation mode switching method is such that the control unit 21 for executing the operating system program and the peripheral device are connected. A basic input / output unit 22 that executes output, a peripheral device 231 that operates in the A mode, and a peripheral device 232 that operates in the B mode;
A mode application unit 24 that executes an application program that operates in the mode, B mode application unit 25 that executes an application program that operates in the B mode, and a control unit that receives an operation mode switching request from the application units 24 and 25. Two
1 and an operation mode switching unit 26 that sends an operation mode switching command. Furthermore, the operation mode switching unit 26
Sends a switching command to one of the A mode operation unit 211 and the B mode operation unit 212 of the control unit 21. Control unit 2
1 sends a switching command to one of the A mode operating unit 221 and the B mode operating unit 222 of the basic input / output unit 22 in response to the request of the A mode or the B mode. The basic input / output unit 22 controls one of the peripheral devices 23 and 24 in a corresponding mode in response to an A mode or B mode command.

【0008】次に、この実施例の手順の流れを図2を併
用して説明する。先ず、Aモードに設定してある処理装
置(図示せず)および周辺装置231に電源を投入する
と、オペレーティングシステムプログラムを有する制御
部21のオペレーティングシステム起動処理1によっ
て、自動的に処理装置および周辺装置をAモードに初期
化し、Aモードの動作が動作可能になる。また、制御部
1は基本入出力プログラムを有する基本入出力部22を
初期化し、基本入出力部22のAモード機能221を動
作可能にする(図1のステップ1)。次に、制御部21
に含まれるAモードアプリケーションプログラム用環境
設定処理がAモードアプリケーションプログラムをAモ
ードアプリケーション部24にロードする(ステップ
2)。次に、Aモードアプリケーションプログラム起動
処理3が起動され、Aモードアプリケーション部24を
動作可能する。そして、Aモードアプリケーション部2
4によって、Bモードへの動作モード切替え処理4の起
動が要求される(ステップ3)。動作モード切替え処理
4を実行する動作モード切替え部26は、まず、Bモー
ド用に処理装置および周辺装置ならびにオペレーティン
グシステムを再初期化するためオペレーティングシステ
ムプログラムの再読み込み処理(ステップ5)を実行す
る。オペレーティングシステムプログラム再読み込み処
理の実行において、動作モード切替え部26は外部記憶
装置(図示せず)からオペレーティングシステムプログ
ラムを動作モード切替え部26自身の主記憶上の領域
(図示せず)に読み込む(ステップ5)。次に、ハード
ウェアモード変更処理の実行において、動作モード切替
部26はAモードで動作していた処理装置の動作モード
をBモードに変更し、主記憶上の領域にBモードを記憶
する(ステップ6)。この領域に記憶されたBモードを
表わす情報に基づいて、動作モード切替え部26は、ハ
ードウェア初期化処理の実行において、、処理装置のB
モード周辺装置232を制御部21および基本入出力部
22を介して、動作可能にする。このBモード周辺装置
232を制御する基本入出力プログラムを有する基本入
出力部22のBモード機能222は、制御部21の基本
入出力プログラム初期化処理を実行するBモード動作部
212によって、動作可能になる(ステップ8)。更
に、基本入出力部22のBモード機能222を制御する
制御部21のBモード機能212は、オペレーティング
システム初期化処理を実行し、動作モード切替え部26
自身の記憶領域にあるオペレーティングシステムプログ
ラムを制御部1のオペレーティングシステムプログラム
の領域に移送する(ステップ9)。そして、制御部21
がアプリケーションプログラム環境設定処理を実行し、
BモードアプリケーションプログラムをBモードアプリ
ケーション部25にロードする(ステップ10)。更
に、制御部21はアプリケーションプログラム起動処理
を実行し、BモードアプリケーションプログラムがBモ
ードアプリケーション部において起動される(ステップ
11)。
Next, the flow of the procedure of this embodiment will be described with reference to FIG. First, when the processing device (not shown) and the peripheral device 231 set to the A mode are turned on, the processing device and the peripheral device are automatically processed by the operating system starting process 1 of the control unit 21 having the operating system program. Is initialized to the A mode, and the operation in the A mode becomes operable. Further, the control unit 1 initializes the basic input / output unit 22 having the basic input / output program to enable the A mode function 221 of the basic input / output unit 22 (step 1 in FIG. 1). Next, the control unit 21
The A-mode application program environment setting process included in step A loads the A-mode application program into the A-mode application section 24 (step 2). Next, the A-mode application program activation process 3 is activated, and the A-mode application unit 24 can operate. Then, the A mode application unit 2
4, the activation of the operation mode switching process 4 to the B mode is requested (step 3). The operation mode switching unit 26 that executes the operation mode switching process 4 first executes the reloading process (step 5) of the operating system program for re-initializing the processing device, the peripheral device, and the operating system for the B mode. In executing the operating system program reloading process, the operation mode switching unit 26 reads an operating system program from an external storage device (not shown) into an area (not shown) on the main memory of the operation mode switching unit 26 itself (step). 5). Next, in the execution of the hardware mode changing process, the operation mode switching unit 26 changes the operation mode of the processing device operating in the A mode to the B mode, and stores the B mode in the area on the main memory (step 6). Based on the information indicating the B mode stored in this area, the operation mode switching unit 26 performs the B of the processing device during the hardware initialization process.
The mode peripheral device 232 is made operable via the control unit 21 and the basic input / output unit 22. The B-mode function 222 of the basic input / output unit 22 having the basic input / output program for controlling the B-mode peripheral device 232 can be operated by the B-mode operation unit 212 which executes the basic input / output program initialization processing of the control unit 21. (Step 8). Further, the B-mode function 212 of the control unit 21, which controls the B-mode function 222 of the basic input / output unit 22, executes the operating system initialization process, and the operation mode switching unit 26.
The operating system program in its own storage area is transferred to the operating system program area of the control unit 1 (step 9). Then, the control unit 21
Executes the application program environment setting process,
The B-mode application program is loaded into the B-mode application unit 25 (step 10). Further, the control unit 21 executes the application program starting process, and the B mode application program is started in the B mode application unit (step 11).

【0009】[0009]

【発明の効果】以上説明したようにこの発明によれば、
2つの動作モードを有するパーソナルコンピュータ等の
小型処理装置において、動作モード切替えスイッチの切
替えによって動作モードを変更せず、アプリケーション
部に動作モード切替え処理を備えることによって、動作
モード変更を行う。異なるモードで動作するアプリケー
ションプログラムがシステムを一旦停止せず、かつ再起
動することもなく動作モードを切替えて起動される。し
たがって、処理装置の扱いに不慣な操作者にも容易に動
作モード切替操作を行うことができる。
As described above, according to the present invention,
In a small processing device such as a personal computer having two operation modes, the operation mode is not changed by switching the operation mode changeover switch, but the operation mode changeover process is provided in the application unit to change the operation mode. An application program operating in a different mode switches the operation mode and is started without temporarily stopping the system and restarting the system. Therefore, an operation mode switching operation can be easily performed even by an operator who is not accustomed to handling the processing device.

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

【図1】この発明の一実施例の手順の流れを示す図であ
る。
FIG. 1 is a diagram showing a procedure flow of an embodiment of the present invention.

【図2】図1のシステム構成を示す図である。FIG. 2 is a diagram showing a system configuration of FIG.

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

1 オペレーティングシステム起動処理 2 Aモードアプリケーションプログラム用環境設定
処理 3 Aモードアプリケーションプログラム起動処理 4 動作モード切替え処理 5 オペレーティングシステム再読み込み処理 6 ハードウェアモード変更処理 7 ハードウェア初期化処理 8 基本入出力プログラム初期化処理 9 オペレーティングシステム初期化処理 10 Bモードアプリケーションプログラム用環境設
定処理 11 Bモードアプリケーションプログラム起動処理 20 動作モード切替えシステム
1 Operating system startup processing 2 Environment setting processing for A mode application programs 3 A mode application program startup processing 4 Operation mode switching processing 5 Operating system reloading processing 6 Hardware mode change processing 7 Hardware initialization processing 8 Basic input / output program initialization Processing 9 Operating system initialization processing 10 B mode application program environment setting processing 11 B mode application program startup processing 20 Operation mode switching system

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 接続する周辺装置に対応して動作モード
を選択する処理装置において、オペレーティングシステ
ムプログラムを再読み込みする手順と、前記処理装置の
動作モードを変更する手順と、前記処理装置および前記
周辺装置を初期化する手順と、前記処理装置および前記
周辺装置の入出力動作を制御する基本入出力プログラム
ならびに前記オペレーティングシステムを初期化する手
順と、アプリケーションプログラムを読み込み前記アプ
リケーションプログラムを起動する手順と、を備えるこ
とを特徴とする処理装置の動作モード切替え方法。
1. A processing device for selecting an operation mode corresponding to a peripheral device to be connected, a procedure of reloading an operating system program, a process of changing an operation mode of the processing device, the processing device and the peripheral device. A procedure for initializing a device, a procedure for initializing a basic input / output program for controlling input / output operations of the processing device and the peripheral device and the operating system, a procedure for loading an application program and starting the application program, An operation mode switching method for a processing device, comprising:
JP5002270A 1993-01-11 1993-01-11 Method for switching operation mode of processor Withdrawn JPH06208525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5002270A JPH06208525A (en) 1993-01-11 1993-01-11 Method for switching operation mode of processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5002270A JPH06208525A (en) 1993-01-11 1993-01-11 Method for switching operation mode of processor

Publications (1)

Publication Number Publication Date
JPH06208525A true JPH06208525A (en) 1994-07-26

Family

ID=11524686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5002270A Withdrawn JPH06208525A (en) 1993-01-11 1993-01-11 Method for switching operation mode of processor

Country Status (1)

Country Link
JP (1) JPH06208525A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08286972A (en) * 1995-04-19 1996-11-01 Nec Corp Information processor
JP2006338554A (en) * 2005-06-03 2006-12-14 Ntt Docomo Inc Service using method and terminal
WO2009116702A1 (en) * 2008-03-19 2009-09-24 Hyundai Engineering & Construction Co., Ltd. Dredging monitoring system
US7774586B2 (en) 2005-07-22 2010-08-10 Getac Technology Corporation System and method for express execution of playing computer multimedia data
US11455608B2 (en) 2019-10-18 2022-09-27 Hewlett-Packard Development Company, L.P. Operating modes for a point of sale peripheral device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08286972A (en) * 1995-04-19 1996-11-01 Nec Corp Information processor
JP2006338554A (en) * 2005-06-03 2006-12-14 Ntt Docomo Inc Service using method and terminal
JP4732805B2 (en) * 2005-06-03 2011-07-27 株式会社エヌ・ティ・ティ・ドコモ Service usage method and terminal
US7774586B2 (en) 2005-07-22 2010-08-10 Getac Technology Corporation System and method for express execution of playing computer multimedia data
WO2009116702A1 (en) * 2008-03-19 2009-09-24 Hyundai Engineering & Construction Co., Ltd. Dredging monitoring system
US11455608B2 (en) 2019-10-18 2022-09-27 Hewlett-Packard Development Company, L.P. Operating modes for a point of sale peripheral device

Similar Documents

Publication Publication Date Title
US6327653B1 (en) Technique for easily changing operating systems of a digital computer system using at least two pushbuttons
JP2000020285A (en) Computer system
JPH06208525A (en) Method for switching operation mode of processor
JP2006099704A (en) Information processor and startup control method
JPH0981370A (en) Setting method for operating environment of information processor
JP2003044284A (en) Activation method for computer system and program for activation
JPH08263219A (en) Method for starting recording and reproducing device
JP2561340B2 (en) Information processing device
JPH05274120A (en) Os mode switching device
JPS6213704B2 (en)
JPH09128244A (en) Controller
KR100292155B1 (en) Digital computer having easy operation environment and using method thereof
JPH10149232A (en) System processing request system for power-off time
JPH0883187A (en) Data processor
JPH08272653A (en) Freeze processing system
JPH0227689B2 (en)
JPH08194622A (en) Program starting method using memory card
JPH04169929A (en) Boot priority changing device
JPH01267734A (en) System for loading initial microprogram
JPH01205310A (en) System for controlling power supply of data processor
JPH03244029A (en) Computer system
JPH0259948A (en) Initial program loading system
JPS63265328A (en) Storing system for control program of information processing system
JPH07104781B2 (en) Micro program control system
JPH02302198A (en) Exchange processing start system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000404