JPH0342714A - Backup control system for display memory - Google Patents

Backup control system for display memory

Info

Publication number
JPH0342714A
JPH0342714A JP1178606A JP17860689A JPH0342714A JP H0342714 A JPH0342714 A JP H0342714A JP 1178606 A JP1178606 A JP 1178606A JP 17860689 A JP17860689 A JP 17860689A JP H0342714 A JPH0342714 A JP H0342714A
Authority
JP
Japan
Prior art keywords
memory
display
display data
backup
stored
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
JP1178606A
Other languages
Japanese (ja)
Inventor
Makoto Arai
新井 信
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 JP1178606A priority Critical patent/JPH0342714A/en
Priority to KR1019900010373A priority patent/KR910003501A/en
Publication of JPH0342714A publication Critical patent/JPH0342714A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/16Protection against loss of memory contents

Abstract

PURPOSE:To back up display data by saving the content of a display memory in a backup memory immediately before main power source is cutoff. CONSTITUTION:A system memory 5 is backed up by a back up battery 8 and data to be backed up is stored in the back up memory 51 being a part of the system memory. Display data is stored in VRAM 6, and is displayed in a display device 9 through a display control circuit 7. VRAM 6 is not being backed up. Display data stored in VRAM 6 is stored in the back up memory 51 and a display data storage status memory 4 is set. After power is recovered display data stored in the backup memory 51 is transferred to VRAM 6, and is displayed in the display device 9 when the display data storage status memory 4 is set.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、リジューム機能を持つコンピュータシステ
ムに用いて好適な表示メモリのバックアップ制御方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a display memory backup control method suitable for use in a computer system having a resume function.

(従来の技術) 本体の主電源を遮断してもメモリに記憶されている内容
(以降、記憶データと称す)が消去されす、電源再投入
時プログラムの再実行を可能とする、リジューメ機能付
パーソナルコンピュータが知られている。通常、記憶デ
ータは電池(この様な電池をバックアップ電池と称す)
等によって保持(バックアップ)されている。記憶デー
タを保持するメモリには、主にプログラムやそのデータ
が記憶されるシステムメモリと、表示装置に表示するた
めのデータが記憶される表示メモリ(VRAM)02棟
に大別される。
(Prior technology) Equipped with a resume function that allows the contents stored in the memory (hereinafter referred to as stored data) to be erased even if the main power of the main unit is cut off, and the program can be re-executed when the power is turned on again. Personal computers are known. Usually, stored data is stored in a battery (such a battery is called a backup battery).
It is maintained (backed up) by etc. The memory that holds stored data is broadly divided into system memory, which mainly stores programs and their data, and display memory (VRAM) 02, which stores data to be displayed on a display device.

(発明が解決しようとする課題) 上記従来例に従えば、ハードウェアの制約により、VR
AMに記憶される表示データをバックアップ電池等によ
り保持出来ず、従ってパーソナルコンピータでは、完壁
なリジーーム機能を持つことが出来ない。
(Problem to be solved by the invention) According to the above conventional example, due to hardware constraints, VR
The display data stored in the AM cannot be retained by a backup battery or the like, and therefore a personal computer cannot have a perfect resume function.

この発明はVRAMに記憶されている表示データを、ハ
ードウェアの制約によりバックアップ電池等によシ直接
バックアップ出来ないパーソナルコンピュータに対し、
リジューム機能を持たすことのできる、表示メモリのバ
ックアップ制御方式を提供することを目的とする。
This invention is useful for personal computers that cannot directly back up display data stored in VRAM with a backup battery or the like due to hardware limitations.
The purpose of the present invention is to provide a display memory backup control method that can have a resume function.

[発明の構成] (課題を解決するための手段) 本発明は、システムメモリがバックアップされ、主電源
が連断されても再投入時に電源断直前の状態からプログ
ラムを再実行するりジー−ム機能ヲ持つコンピュータシ
ステムにおいて、表示デタが格納されるバックアップ平
角の表示メモリと、上記システムメモリに割り付けられ
上記表示データの写しが格納されるバックアップ用メモ
リと、上記リジューム機能実現のための実行ステタスが
記憶されるステータスメモリとを具備し、主電源断直前
に上記バックアップ用メモリに表示メモリの内容に退避
してステータスメモリをセラ) L、電源再投入時上記
退避動作を確認して表示メモリへリストアし上記ステー
タスメモリをリセットしてリジューム機能を実現するこ
とを特徴とするものである。
[Structure of the Invention] (Means for Solving the Problems) The present invention provides a system that backs up the system memory and re-executes the program from the state immediately before the power was cut off when the main power is turned on again even if the main power is cut off. In a computer system having this function, there is a backup rectangular display memory in which display data is stored, a backup memory allocated to the system memory and in which a copy of the display data is stored, and an execution status for realizing the resume function. L. Just before the main power is turned off, the contents of the display memory are saved to the backup memory and the status memory is saved.) When the power is turned on again, the above save operation is confirmed and restored to the display memory. The present invention is characterized in that the status memory is reset to realize a resume function.

(作用) 本発明は上述したように、表示データを記憶するVRA
Mと、VRAMの表示データを格納するバックアップ用
メモリと、リジューム機能の芙行スデータスが記憶され
る表示データ格納ステータスメモリと、バックアップ用
メモリと表示データ格納ステータスメモリの内容をバッ
クアップするバンクアップ電池と、リジューム副側jを
行う制御プログラムを内蔵するメモリにより、VRAI
VIIのリジューム機能を実現す小。
(Function) As described above, the present invention provides a VRA that stores display data.
M, a backup memory for storing display data of VRAM, a display data storage status memory for storing resume function data, and a bank-up battery for backing up the contents of the backup memory and display data storage status memory. , VRAI
A small device that realizes the resume function of VII.

VRAMに記憶されている表示データにバックアップ電
池等により直接バックアップ出来ない・ぞ−ンナルコン
ビーータでも1表示データをバックアップされているメ
モリの一部に退避させることによっ−(VRAM 自身
をバックアップするのと同等の機能を持たせ、リジーー
ム機能を実現することが出来る。
Display data stored in VRAM cannot be directly backed up using a backup battery, etc. Even in internal converters, one display data can be backed up to a part of the backed up memory (VRAM itself can be backed up). It is possible to have the same function as the re-gime function.

(実施例) 以下、図面を使用して本発明実施例について説明する。(Example) Embodiments of the present invention will be described below using the drawings.

第1図は本発明の実施例を示すブロック図である。図に
おいて、符号1はCPUであり、システムの制御中枢と
なる。符号2はBIcis ROMであり、CPU 1
のもとで後述する各制御ブロックをコントロールするた
めの制御プログラムが格納される。BiO2ROM 2
は不揮発性メモリで構成され、リジューム制御プログラ
ムを含む。符号3はシスハ0 テムバスであり、データ交換のためのデータdスとなる
。符号4は表示データ格納ステータスメモリであり、リ
ジューム機能を実現するためのステータス(情報)が記
憶されるメモリである。後述するバックアップ電池8に
よってメモリ内容が保− 持される。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, reference numeral 1 is a CPU, which serves as the control center of the system. Code 2 is BIcis ROM, and CPU 1
A control program for controlling each control block to be described later is stored therein. BiO2ROM 2
consists of non-volatile memory and includes a resume control program. Reference numeral 3 is a system bus, which serves as a data bus for data exchange. Reference numeral 4 is a display data storage status memory, which is a memory in which status (information) for realizing a resume function is stored. The memory contents are retained by a backup battery 8, which will be described later.

符号5はシステムメモリであり、アプリケーショングロ
ダラム等が記憶されるメモリであり、バックアップ電池
8によってメモリ内容が保持される。符号6はVRAM
であり、表示データが記憶されるメモリである。符号7
は、表示制御回路であり。
Reference numeral 5 denotes a system memory, which is a memory in which application programs and the like are stored, and the memory contents are retained by a backup battery 8. Code 6 is VRAM
This is a memory in which display data is stored. code 7
is the display control circuit.

VRAM 6に記憶される表示データを表示装置9に表
示させるために、VRAM 6と表示装置t9のインタ
フェースを司る。符号8はバッファラフ″電池であり、
各メモIJ 4 、5 、51に記憶される内容を保持
(バックアラf)する。符号5ノは、バックアップ用メ
モリであり、バックアラff行うために必要なデータが
配憶されるメモリであり、システムメモリ5の一部であ
る。
It controls the interface between the VRAM 6 and the display device t9 in order to display the display data stored in the VRAM 6 on the display device 9. The code 8 is a Buffalough" battery,
The contents stored in each memo IJ 4 , 5 , 51 are held (backed up). Reference numeral 5 denotes a backup memory, which is a part of the system memory 5 and is a memory in which data necessary for performing a backup backup is stored.

第2図は本発明実施例の動作を示すフローチャートであ
り、同図(atはVRAM表示データの退避動作を、同
図(b)は表示データのVRAMへのりストア動作をホ
す。図中、符号21は表示データを退避するステップで
あり、ここでVRAM 、 6に記憶されている表示デ
ータをバックアップ用メモリ5ノに格納す6 る。符号22は表示データ格納ステータスメモリ4をセ
ットするステップであり、ステップ2ノの処理が行われ
たことを記憶しておく。
FIG. 2 is a flowchart showing the operation of the embodiment of the present invention, in which (at) shows the saving operation of VRAM display data, and FIG. 2 (b) shows the storing operation of display data to VRAM. In the figure, Reference numeral 21 is a step for saving display data, in which the display data stored in the VRAM 6 is stored in the backup memory 5. Reference numeral 22 is a step for setting the display data storage status memory 4. It is stored that the process of step 2 was performed.

符号23は表示データの退避有無を判別するステップで
あり、表示データ格納ステータスメモリ4の内容を読み
出してステップ2ノの処理が行われたか否かを判別する
。符号24は表示データをVRAM 6ヘリストアする
ステップであり、ステップ2ノによって退避された表示
データ’i VRAM 6に戻す。符号25は表示デー
タ格納ステータスメモリ4をリセットするステップであ
る。
Reference numeral 23 is a step for determining whether or not display data has been saved, and the contents of the display data storage status memory 4 are read out to determine whether or not the process of step 2 has been performed. Reference numeral 24 is a step of storing the display data in the VRAM 6, and the display data saved in step 2 is returned to the VRAM 6. Reference numeral 25 is a step for resetting the display data storage status memory 4.

さて、バックアップ用メモリ5ノは、システム・メモリ
5の一部であり、あらかじめバックアップ用として割り
当てられる。このメモリ51へのデータの書き込み/耽
み出しは、BiO2ROM 2内蔵のリジューム制御プ
ログラムによって行われる。ノe−ソナルコンピュータ
使用者及びアプリケーションプログラム等から行うこと
は出来ない。表示ブタ格納ステータスメモリ4はリジュ
ーム制御が行われたか否かを識別するためのメモリであ
る。
Now, the backup memory 5 is a part of the system memory 5 and is allocated in advance for backup purposes. This writing/reading of data into the memory 51 is performed by a resume control program built into the BiO2ROM 2. This cannot be done by a computer user or an application program. The display button storage status memory 4 is a memory for identifying whether or not resume control has been performed.

上記メーモリ4,51に記憶されるデータは、ノクンク
アップ電池8によってバックアップされ、コンピュータ
の主電源が落とされても、データの内容が保持される。
The data stored in the memories 4 and 51 is backed up by a knock-up battery 8, and the data contents are retained even if the main power of the computer is turned off.

次に、本発明実施例の動作を第2園に示すフローチャー
トを使用して説明する。筐す第2図[a)は、コンピュ
ータの主電源を落とす際に実施する表示データ退:il
l/L’−チ/の動作を示すフローチャートである。こ
の第2図(a)に示す表示データ退避ルチンはBiO2
ROM 2内のリジューム制@jプログラムによって行
われる。第2図(a)に示すルーチンが起動されると、
 VRAM 6の表示データが読み出され、バックアッ
プ用メモリ51に退避される(ステップ21)。次に、
ステップ21の動作が行われたことを記憶しておくため
に5表示データ格納ステタスメモリ4の内容がセットさ
れる(ステップ22)。この動作が行われた仮、コンピ
ュータの主電源が落とされる。
Next, the operation of the embodiment of the present invention will be explained using the flowchart shown in the second diagram. Figure 2 [a] of the housing shows how the display data is deleted when the main power of the computer is turned off.
It is a flowchart which shows the operation|movement of l/L'-chi/. The display data saving routine shown in FIG. 2(a) is BiO2
This is done by the resume @j program in ROM2. When the routine shown in FIG. 2(a) is started,
The display data in the VRAM 6 is read out and saved in the backup memory 51 (step 21). next,
In order to remember that the operation of step 21 has been performed, the contents of the 5 display data storage status memory 4 are set (step 22). If this operation is performed, the main power of the computer will be turned off.

コンピータの主電源を再投入し7c際に実地する表示デ
゛−タリストアルーチンの動作を紀2図(b)のフロー
チャートに示す。この第2図(b)のルーチンもリジュ
ーム制御プログラムによって行われる。
The operation of the display data restore routine that is carried out at step 7c after the main power of the computer is turned on again is shown in the flowchart of Figure 2 (b). The routine shown in FIG. 2(b) is also executed by the resume control program.

第2図(b)に示すルーチンが起動されると、CPU 
1は表示データ格納ステータスメモリ4の内容を読み出
し、前記ステップ21の処理が行われたか否かを判別す
る(ステラf23)。ステップ2ノの処理が行われてい
ない場合は、リジューム制御として何も行わない。ステ
ラf21の処理が行われている場合CPU Jはステラ
f21によって格納された表示データをバックアップ用
メモリ51から読み出してVRAM 6に格納する。こ
の動作が行われた時、次回の第2図(a)に示すルーチ
ンの起動の為に、CPU 1は表示データ格納ステータ
スメモリ4の状態を餓2図(a)のルーチンが行われて
いない状態に戻す(リセット)。これによってVRAM
 6の状態は、第2図(atのルーチン起動前の状態に
戻る。
When the routine shown in FIG. 2(b) is started, the CPU
1 reads out the contents of the display data storage status memory 4 and determines whether or not the process of step 21 has been performed (Stella f23). If the process in step 2 has not been performed, nothing is performed as resume control. When the Stella f21 process is being performed, the CPU J reads the display data stored by the Stella f21 from the backup memory 51 and stores it in the VRAM 6. When this operation is performed, in order to start the routine shown in FIG. 2(a) next time, the CPU 1 changes the state of the display data storage status memory 4 so that the routine shown in FIG. 2(a) is not performed. Return to state (reset). This allows VRAM
The state at 6 returns to the state before the routine start in FIG. 2 (at).

尚、本発明実施例では、 VRAMの表示データの・ぐ
ツクアップについてのみ述べたが、他の制御メモリのバ
ックアップについても同様に応用可能である。
In the embodiment of the present invention, only the backup of display data in VRAM has been described, but the present invention can be similarly applied to backup of other control memories.

9− [発明の効果コ 以上説明のように本発明によれば、VRAMに記憶され
ている表示データをバックアップ電池等により直接バッ
クアップ出来ないパーソナルコンピュータでも、バック
アップされているメモリの一部に退避させることによっ
てVRAM自身をバックアップするのと同等の機能を持
たせ、リジューム制御を実現することが出来る。
9- [Effects of the Invention] As explained above, according to the present invention, display data stored in VRAM can be saved to a part of the backed-up memory even in a personal computer that cannot be directly backed up with a backup battery or the like. By doing so, it is possible to provide the same function as backing up the VRAM itself and realize resume control.

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

第1図は本発明の実施例を示すブロック図、第2図は本
発明実施例の動作を示すフローチャートである。 1・・・CPU、2・・・BiO2ROM、4・・・表
示データ格納ステータスメモリ、5・・・システムメモ
IJ、51・・・バックアップ用メモリ、6・・・VR
AM (表示メモリ)、8・・・バックアップ電池。 出鮫人代理人 弁理士 鈴 江 武 彦10− 主電源オン 會 主電源オフ (a) 第 起動前の状態に戻る (b) 図
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flow chart showing the operation of the embodiment of the present invention. 1... CPU, 2... BiO2ROM, 4... Display data storage status memory, 5... System memo IJ, 51... Backup memory, 6... VR
AM (display memory), 8... Backup battery. Takehiko Suzue, Patent Attorney, Isameto 10- Main power on, main power off (a) Return to the state before the first startup (b) Figure

Claims (1)

【特許請求の範囲】[Claims] システムメモリがバックアップされ、主電源が遮断され
ても再投入時に電源断直前の状態からプログラムを再実
行するリジューム機能を持つコンピュータシステムにお
いて、表示データが格納されるバックアップ不可の表示
メモリと、上記システムメモリに割付けられ上記表示デ
ータの写しが格納されるバックアップ用メモリと、この
バックアップ用メモリに上記表示メモリの内容が退避さ
れていることを示すための実行ステータスが記憶される
ステータスメモリとを具備し、主電源断直前に上記バッ
クアップ用メモリに上記表示メモリの内容を退避して上
記ステータスメモリをセットし、電源再投入時に上記ス
テータスメモリを参照することにより上記退避動作を確
認して上記バックアップ用メモリの内容を上記表示メモ
リへリストアすると共に上記ステータスメモリをリセッ
トしてリジューム機能を実現することを特徴とする表示
メモリのバックアップ制御方式。
In a computer system in which the system memory is backed up and has a resume function that re-executes the program from the state immediately before the power was turned off when the main power is turned off and turned on again, the display memory that cannot be backed up and stores display data, and the above-mentioned system A backup memory allocated to the memory and storing a copy of the display data, and a status memory storing an execution status indicating that the contents of the display memory are saved in the backup memory. , save the contents of the display memory to the backup memory and set the status memory immediately before the main power is turned off, and when the power is turned on again, refer to the status memory to confirm the save operation and save the contents of the display memory to the backup memory. A display memory backup control method characterized in that the contents of the display memory are restored to the display memory and the status memory is reset to realize a resume function.
JP1178606A 1989-07-11 1989-07-11 Backup control system for display memory Pending JPH0342714A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1178606A JPH0342714A (en) 1989-07-11 1989-07-11 Backup control system for display memory
KR1019900010373A KR910003501A (en) 1989-07-11 1990-07-10 Display data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1178606A JPH0342714A (en) 1989-07-11 1989-07-11 Backup control system for display memory

Publications (1)

Publication Number Publication Date
JPH0342714A true JPH0342714A (en) 1991-02-22

Family

ID=16051394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1178606A Pending JPH0342714A (en) 1989-07-11 1989-07-11 Backup control system for display memory

Country Status (2)

Country Link
JP (1) JPH0342714A (en)
KR (1) KR910003501A (en)

Also Published As

Publication number Publication date
KR910003501A (en) 1991-02-27

Similar Documents

Publication Publication Date Title
US6336161B1 (en) Computer configuration system and method with state and restoration from non-volatile semiconductor memory
JPH04362717A (en) System restarting device
US20030145191A1 (en) Computer system and method of controlling the same
TW200845693A (en) Erase handling method for non-volatile memory device and electronic apparatus thereof
JPH07101376B2 (en) System restart device
JPH077316B2 (en) System restart device
JPH02277129A (en) Data processor
TWI277866B (en) Information processing apparatus, recording medium with program, and memory managing method
JPH0342714A (en) Backup control system for display memory
JPH10240391A (en) Portable document display/processor and power management control method to be applied to the same
JPH08328683A (en) Computer system and method for displaying its message
KR950012065B1 (en) Rebooting system and method therefor
JPH0566951A (en) Computer system
JP2923111B2 (en) Data processing method and apparatus
JPS62242257A (en) Backup system for system
KR20010055981A (en) Method for recovering main memory database system using stable memory
JP2000305830A (en) Method and system for managing file in computer system
JPH0833838B2 (en) Computer system
JP3389138B2 (en) Suspend / resume management method and suspend / resume management device
JPH06124148A (en) Computer having suspend/resume function
JP2913774B2 (en) Editing data storage control method for data processing system
JPS63116253A (en) Protection system for backed-up ram
JPH02139614A (en) Ac driven personal computer
JPH0218739B2 (en)
JPH02122350A (en) Memory write protection system