JPS60221818A - Information apparatus - Google Patents

Information apparatus

Info

Publication number
JPS60221818A
JPS60221818A JP59077871A JP7787184A JPS60221818A JP S60221818 A JPS60221818 A JP S60221818A JP 59077871 A JP59077871 A JP 59077871A JP 7787184 A JP7787184 A JP 7787184A JP S60221818 A JPS60221818 A JP S60221818A
Authority
JP
Japan
Prior art keywords
cpu
program
power supply
rom
ram
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
JP59077871A
Other languages
Japanese (ja)
Inventor
Katsuyuki Ikeda
勝幸 池田
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.)
Seiko Epson Corp
Suwa Seikosha KK
Epson Corp
Original Assignee
Seiko Epson Corp
Suwa Seikosha KK
Epson 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 Seiko Epson Corp, Suwa Seikosha KK, Epson Corp filed Critical Seiko Epson Corp
Priority to JP59077871A priority Critical patent/JPS60221818A/en
Publication of JPS60221818A publication Critical patent/JPS60221818A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute efficiently the processing of a program, when a drop of a power supply voltage has been reset, by providing a main CPU for controlling the whole device, and the first and the second slave CPUs, and providing an LCD control function for a display, a keyboard and a clock function. CONSTITUTION:Arithmetic and the whole system are controlled by a main CPU 1 of an electronic apparatus for executing reprocessing after a power supply voltage has dropped. Also, an I/O port 4 for executing connection to a peripheral apparatus, an interrupting controller 9 for controlling an interruption from the outside, a ROM 2, a RAM 3, etc. are connected to the CPU 1. Moreover, a sub-CPU 5 having a controller function for controlling an LCD for display is connected to the CPU 1, and by an instruction of the CPU 1, the contents of a ROM capsule 6 are loaded to the RAM 3. Also, a sub-CPU 10 having a keyboard and a clock function is connected to the CPU 1. In this state, when a drop of the power supply voltage has been reset, a program is processed in succession to a result of the previous processing.

Description

【発明の詳細な説明】 (技術分野) 本発明は、情報機器に関し、さらに詳しくは電源低下後
の再開処理を能率的に行う情報機器に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to information equipment, and more particularly to information equipment that efficiently performs restart processing after a power failure.

(従来技術) 従来の情報機器は、い′つたん電源電圧が低下し始める
とその後の再開処理は、再びプログラムを一番初めから
実行せねばならなく、能率が非常に悪かった。
(Prior Art) In conventional information equipment, once the power supply voltage begins to drop, the subsequent restart process requires executing the program from the beginning again, which is extremely inefficient.

(目的) 本発明は、上記の欠点を除去し、いったん電源が低下し
た後の再開処理において、プログラムの実行を効率的に
行う情報機器を提供することを目的とする。
(Objective) It is an object of the present invention to provide an information device that eliminates the above-mentioned drawbacks and efficiently executes a program in a restart process after the power supply has once decreased.

(実施例) 第1図は、本発明の一実施例を示す該略ブロック図であ
る。メインCPU 1は演算及び、システム全体の制御
を行なうものである。又、メイン0PU1は2つのスレ
ーブCPUすなわちスレーブ0FUS及びスレーブf:
!PU 10i持つ。そしてメイン0PUIとスレーブ
0PU5、スレーブ0PU10の間ではコマンドやデー
タのやシとシが行なわれる。スレーブcpnsは、表示
のためのLOD(図示せず〕を制御するLCDコントロ
ーラーとして機能し、さらに、メインQpU1の指示に
よ#)ROMカプセル6の内容’j:RAM3にロード
する。一方、スレーブQPU10はキーボード(図示せ
ず)及びクロック機能、さらに電源を制御する。
(Embodiment) FIG. 1 is a schematic block diagram showing an embodiment of the present invention. The main CPU 1 performs calculations and controls the entire system. In addition, the main 0PU1 has two slave CPUs, namely slave 0FUS and slave f:
! I have PU 10i. Commands and data are exchanged between the main 0PUI, slave 0PU5, and slave 0PU10. The slave cpns functions as an LCD controller that controls the LOD (not shown) for display, and also loads the contents of the ROM capsule 6 into the RAM 3 according to instructions from the main QpU1. On the other hand, the slave QPU 10 controls the keyboard (not shown), clock function, and power supply.

次に工10ボート4は、他の周辺機器との接続を行ない
、インタラブドコントローラ9は外部よりの割り込み全
制御するものである。さらに7はシリアルロントローラ
であり、8はタイマーである。そして、ROM2は、プ
ログラムに起動をかけるためのプログラムが格納されて
おjDROMカプセル6にRQMが格納されるとその格
納されたROMの内容がROM2の起動プログラムによ
って、RAM 5にロードされ、プログラムの実行が始
まる。
Next, the computer 10 board 4 connects with other peripheral devices, and the interconnected controller 9 controls all interrupts from the outside. Furthermore, 7 is a serial controller, and 8 is a timer. The ROM2 stores a program for starting the program, and when the RQM is stored in the DROM capsule 6, the contents of the stored ROM are loaded into the RAM 5 by the starting program of the ROM2, and the program is started. Execution begins.

RAM5はROM2に格納される基本プログラムの作業
領域、又はユーザーエリアとして使用される。
The RAM 5 is used as a work area for the basic program stored in the ROM 2 or as a user area.

次に第1図の実施例の基本ソフトウェア構成を第2図の
ブロック図を用いて説明する。
Next, the basic software configuration of the embodiment shown in FIG. 1 will be explained using the block diagram shown in FIG.

第2図において上の方はど高いソフトフェアレベル(人
間に近いレベル)になシ、下の方はと低いソフトフェア
レベル(機械に近いビベル)になる。
In Figure 2, the upper part has a very high software level (close to a human level), and the lower part has a very low software level (close to a machine level).

マス、コンソールΦコマンド・プロセッサ(以下、OO
Pと略す。)22は、コンソールから入力されるコマン
ドを受け付け、対応するアプリケーションプログラム2
1をロード、実行するプログラムである。
mass, console Φ command processor (hereinafter referred to as OO)
Abbreviated as P. ) 22 accepts commands input from the console and executes the corresponding application program 2.
This is a program that loads and executes 1.

次に、ベーシック・ディスク・オペレーティングシステ
ム(以下、BDO8と略す。)25は、RAMディスク
及びフロッピーディスクのファイルを管理するプログラ
ムである。又、ベーシック・インプット・オウトプット
システム(以下、BニーO8と略す。)25は、標準デ
バイス30のハードフェアとオペレーティングシステム
との入出力インターフェイズプログラムである。さらに
、マイクロカセット・テープ・オペレーティングシステ
ム(以下、MTO8と略す。)24はマイクロカセット
テープ(図示せず)のファイルt−を理するプログラム
である。さらに、マイクロカセット・インプント・アッ
トプツトシステム26は、マイクロカセット31のハー
ドフェアとオペレーティングシステムとの入出力インタ
ーフェイスプログラムである。又、拡張BIO827は
、拡張デバイス32のハードフェアとオペレーティング
システムとの入出力インターフェイスプログラムである
Next, the basic disk operating system (hereinafter abbreviated as BDO8) 25 is a program that manages files on the RAM disk and floppy disk. Further, the basic input/output system (hereinafter abbreviated as Bnee O8) 25 is an input/output interface program between the hardware of the standard device 30 and the operating system. Further, a microcassette tape operating system (hereinafter abbreviated as MTO8) 24 is a program for managing file t- of a microcassette tape (not shown). Furthermore, the microcassette input/output system 26 is an input/output interface program between the hardware of the microcassette 31 and the operating system. Further, the expansion BIO 827 is an input/output interface program between the hardware of the expansion device 32 and the operating system.

次に本発明の第1図の実施例の動作を説明する。Next, the operation of the embodiment of the present invention shown in FIG. 1 will be explained.

まず、ROMカプセル6に使用したい業務内容について
のアプリケーションプログラムの格納されたRoM’i
(格納するとそのプログラム、はメイン0PU1からの
指示を受けたスレーブaptrsによってRA M 5
にロードされる。その後、GPUIによって、システム
全体の制御がされ処理が進んでいく。
First, RoM'i in which the application program for the business content that you want to use is stored in the ROM capsule 6.
(Once stored, the program is stored in RAM 5 by the slave aptrs that receive instructions from the main 0PU1.
loaded into. Thereafter, the entire system is controlled by the GPUI and processing proceeds.

そこで、今、電源電圧が低下してきた場合金考える。こ
の電源電圧の低下は、スレーブ0PUIOによって検知
される。スレーブ0PU10#;l:、tS電圧の低下
を検知すると、メイン、QPUlに割シ込みをかけメイ
ン0PU1にパワーフェイルを知らせる。
Therefore, if the power supply voltage drops now, I will think about money. This drop in power supply voltage is detected by slave 0PUIO. Slave 0PU10#;l:, When detecting a drop in the tS voltage, interrupts the main QPU1 and notifies the main 0PU1 of the power fail.

これによりメインaptzはただちにプログラムの実行
を中断し、もしマイクロカセット(図示せず)がリード
/ライト中であればその1クロック分の処理を終了した
後、パワー7エイルの表示を行なう。その後、一定時間
以内に電源スィッチ(図示せず)がオフされない場合に
は、らレープ0PU1’0が強制的に電源を落とす。
As a result, the main aptz immediately interrupts the execution of the program, and if the microcassette (not shown) is in the process of reading/writing, the power 7 error is displayed after completing the processing for one clock. Thereafter, if a power switch (not shown) is not turned off within a certain period of time, the Lalepe 0PU1'0 forcibly turns off the power.

又、プログラムの実行の中断についてさらに詳細に説明
する住以下のようになる。電源の低下がスレーブ0PU
10から通知されるとメインapυ1は、プログラムの
実行を中断しても支障ないように実行°の再開に必要な
情報をRAM3に格納する。そして、たとえばマイクロ
カセットのリードを行なっていれば、1ブロツクの途中
で処理を中断しないで、ブロックの終わりまで完全VC
読み出した後処理を中断する。っまり、メインCPU1
はスレτプ0PU10から電源の低下が報告されると、
プログラムの実行の再開に必要な情報を退避させた後、
切りのいいところで処理を中断させるのである。又、第
1図の実施例で鉱、ROM2及びRAM5は、そnぞn
単数側であるが、増設して複数個のROM、複数個のR
AMとして構成してもよい。又、メイン0PU1.スレ
ーブ0PU5、スレーブ0PU10は、そ詐ぞn4ビツ
トマイクロプロセツサでも8ビツトマイクロプロセツサ
でも16ビツトマイクロプロセツサでもどれでもよい。
Further, the suspension of program execution will be explained in more detail below. Slave 0PU due to power drop
When the main apυ1 receives the notification from the main apυ1, it stores in the RAM 3 information necessary for resuming the execution of the program so that there is no problem even if the execution of the program is interrupted. For example, if you are reading a microcassette, the process will not be interrupted in the middle of one block, and the VC will be completely read until the end of the block.
Aborts post-read processing. Main CPU1
When a drop in power is reported from thread τ0PU10,
After saving the information necessary to resume program execution,
The process is interrupted at a convenient point. Also, in the embodiment shown in FIG. 1, the memory, ROM2 and RAM5 are
Although it is a single unit, it can be expanded to include multiple ROMs and multiple R
It may also be configured as an AM. Also, main 0PU1. Slave 0PU5 and slave 0PU10 may be n4-bit microprocessors, 8-bit microprocessors, or 16-bit microprocessors.

(効果) 本発明は、以上説明した様に電源の低下を検知すると前
もってメイン0PU1が必要な処理をとれる。したがっ
て、電源が復帰した時、プログラムの実行を最初からで
なく、電源が低下する前の段階のところから続けて実行
ができプログラムの実行を能率的に行なえるという効果
を有する。
(Effects) As described above, the present invention allows the main 0PU1 to take necessary processing in advance when a drop in power is detected. Therefore, when the power is restored, the program can be executed not from the beginning but from the stage before the power was turned off, and the program can be executed efficiently.

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

第1図は、本発明の1実施例のブロック図である。M2
図は、本発明の基本ソフトウェア構成を示す図である。 1・・・・・・メインCPU 2 ・・・・・・ROM 3 ・・・・・・RAM 5・・・・・・スレーブCPU 6・・・・・・ROMカプセル 10・・・・・・スレーブcptr 以 上 出願人 エプソン株式会社 株式会社諏訪精工舎 代理人 弁理士 最 上 務
FIG. 1 is a block diagram of one embodiment of the present invention. M2
The figure is a diagram showing the basic software configuration of the present invention. 1...Main CPU 2...ROM 3...RAM 5...Slave CPU 6...ROM capsule 10... Slave cptr Applicant: Epson Corporation Suwa Seikosha Co., Ltd. Agent Patent Attorney Tsutomu Mogami

Claims (1)

【特許請求の範囲】[Claims] 装置全体の制御を行うメインCPUと、電源部を制御す
る第1のスレーブCPUと、表示部及び業務プログラム
の格納されるROM1z収納するROMカプセルを制御
する第2のスレーブCPUと、装置全体を制御する基本
プログラムが格納されるROMと、前記基本プログラム
の作業領域であり、又、ユーザーが使用できる領域であ
るRAMとからなることを特徴とする情報機器。
A main CPU that controls the entire device, a first slave CPU that controls the power supply section, a second slave CPU that controls the display section and a ROM capsule that stores the business program, and a second slave CPU that controls the entire device. 1. An information device comprising a ROM in which a basic program is stored, and a RAM which is a work area for the basic program and an area that can be used by a user.
JP59077871A 1984-04-18 1984-04-18 Information apparatus Pending JPS60221818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59077871A JPS60221818A (en) 1984-04-18 1984-04-18 Information apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59077871A JPS60221818A (en) 1984-04-18 1984-04-18 Information apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP5123963A Division JPH0628067A (en) 1993-05-26 1993-05-26 Information apparatus

Publications (1)

Publication Number Publication Date
JPS60221818A true JPS60221818A (en) 1985-11-06

Family

ID=13646114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59077871A Pending JPS60221818A (en) 1984-04-18 1984-04-18 Information apparatus

Country Status (1)

Country Link
JP (1) JPS60221818A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63184123A (en) * 1986-09-30 1988-07-29 Canon Inc Information processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS586181A (en) * 1981-07-03 1983-01-13 Clarion Co Ltd Variable capacitor
JPS58169218A (en) * 1982-03-31 1983-10-05 Fujitsu Ltd Recovery system of break of power supply

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS586181A (en) * 1981-07-03 1983-01-13 Clarion Co Ltd Variable capacitor
JPS58169218A (en) * 1982-03-31 1983-10-05 Fujitsu Ltd Recovery system of break of power supply

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63184123A (en) * 1986-09-30 1988-07-29 Canon Inc Information processor
JPH0535889B2 (en) * 1986-09-30 1993-05-27 Canon Kk

Similar Documents

Publication Publication Date Title
KR930008258B1 (en) Computer system w/control processor of power supply for memoery unit
JP3904026B2 (en) Protection mode Microprocessor and hard disk suspend / resume function and idle mode implementation
US6832311B2 (en) Information processing system and resume processing method used in the system
JP2002215597A (en) Multiprocessor device
JPS62169218A (en) Application suspension restarter for information processing system
US5274826A (en) Transparent system interrupts with automated input/output trap restart
JP3437238B2 (en) Computer, computer system and control method thereof
US20040199757A1 (en) Information processing device, method of saving and loading data, and information recording medium
JPH1063487A (en) Simple start of computer application software and power saving method and device
JPS60221818A (en) Information apparatus
JPH0628067A (en) Information apparatus
JPS6347812A (en) Sleep mode controller
JPS60233724A (en) Information device
JPH07122839B2 (en) Data processing device
JPH0628233A (en) Information equipment
JPH0883133A (en) Computer system and clock control method for the same
JP2001318744A (en) Information processor and data saving control method therefor
JPS63157238A (en) Computer
JPH0423019A (en) Information processor
JPH04169929A (en) Boot priority changing device
JPH0566860A (en) Power source controller
JPS61184644A (en) Control system of virtual computer system
JPH0276020A (en) Program abnormality processing system for power source control part
KR20070034392A (en) Electronic device and control method
JPH03268033A (en) Remote debugging system