JPH0588794A - System for controlling automatic display off function - Google Patents

System for controlling automatic display off function

Info

Publication number
JPH0588794A
JPH0588794A JP3252124A JP25212491A JPH0588794A JP H0588794 A JPH0588794 A JP H0588794A JP 3252124 A JP3252124 A JP 3252124A JP 25212491 A JP25212491 A JP 25212491A JP H0588794 A JPH0588794 A JP H0588794A
Authority
JP
Japan
Prior art keywords
display
key input
int
function
time
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
JP3252124A
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 JP3252124A priority Critical patent/JPH0588794A/en
Publication of JPH0588794A publication Critical patent/JPH0588794A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To prevent the display from being turned OFF at the time of key input and to prevent the display from being turned ON even at the time of key input by managing whether or not one point time key input control is performed with a BIOS. CONSTITUTION:Whether or not the key input control is performed for the constant time is managed with a basic I/O control system (BIOS) stored in a nonvolatile memory. In the case a keyboard control routine (INT 16) is not used for the constant time, the INT 16 is judged to be controlled by the application program. In this case, when no key input is judged for the constant time, the automatic display OFF function is not performed. Namely, whether the INT 16 is used for the constant time is monitored by a timer interrupt routine (INT 18), and the automatic display OFF function is not performed even when no key input is judged for the constant time in the case the INT 1 is not used.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、特にパーソナルコンピ
ュータに用いて好適な自動表示オフ機能制御方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic display off function control system suitable for a personal computer.

【0002】[0002]

【従来の技術】パーソナルコンピュータの分野では、消
費電力を抑える目的で一定時間使用していなければ表示
装置への電力供給を止めてしまう自動表示オフ機能があ
る。この実現方法として、特別なハードウェアを設けて
実現する方法と、特別なハードウェアを設けずソフトウ
ェアで実現する2種の方法がある。これら実現方法のう
ち、ソフトウェアで実現する後者の場合、基本入出力制
御システム(BIOS)のタイマ割り込みルーチン(I
NT8)、キーボードハードウェア割り込みルーチン
(INT9)、およびキーボード制御ルーチン(INT
16)等によって実現する。つまり、時間をINT8に
よって監視し、INT9またはINT16によって一定
時間キー入力が行われないことで、INT8によって自
動表示オフ機能を実現する。自動表示オフ後、INT9
またはINT16のコントロールの下、キー入力が行わ
れると、再び表示がオン(表示装置への電源供給再開)
となる。
2. Description of the Related Art In the field of personal computers, there is an automatic display off function for stopping the power supply to a display device if it has not been used for a certain period of time in order to reduce power consumption. As a method of realizing this, there are a method of realizing with special hardware and a method of realizing with software without providing special hardware. In the latter of these implementation methods, which is implemented by software, in the basic input / output control system (BIOS) timer interrupt routine (I
NT8), keyboard hardware interrupt routine (INT9), and keyboard control routine (INT
16) and the like. That is, the time is monitored by the INT 8, and the key input is not performed for a certain period of time by the INT 9 or the INT 16, so that the INT 8 realizes the automatic display off function. After the automatic display is turned off, INT9
Alternatively, when key input is performed under the control of INT16, the display is turned on again (power supply to the display device is restarted).
Becomes

【0003】[0003]

【発明が解決しようとする課題】しかし、上述した従来
例において、アプリケーションプログラムによってはI
NT9およびINT16をアプリケーションプログラム
自身で制御してしまい、BIOSのそれらが使用されな
くなる場合がある。この場合、キー入力があってもキー
入力がなかったものと判断されてしまう為、キー入力が
あっても一定時間後表示オフとなり、その後、キー入力
を行っても表示をON(オン)することが出来なくなっ
てしまうという問題があった。
However, in the above-mentioned conventional example, depending on the application program, I
In some cases, the application program itself controls the NT9 and the INT16, and those in the BIOS are no longer used. In this case, even if there is a key input, it is determined that there is no key input. Therefore, even if there is a key input, the display is turned off after a certain period of time, and then the display is turned on even if a key input is performed. There was a problem that I could not do it.

【0004】本発明は上記事情に鑑みてなされたもので
あり、特別なハードウェアを設けずに一定時間キー入力
制御が行われているか否かをBIOSで管理することに
より、キー入力制御がアプリケーションプログラムで行
われた場合に、キー入力があっても表示OFF(オフ)
となってしまったり、あるいは表示OFFの状態でキー
入力を行っても表示ON(オン)とならない不具合を解
消した表示制御方式を提供することを目的とする。
The present invention has been made in view of the above circumstances, and the key input control is controlled by the BIOS by managing whether or not the key input control is performed for a certain period of time without providing special hardware. Display OFF even if there is a key input when it is done by the program
It is an object of the present invention to provide a display control method that solves the problem that the display is not turned on even if a key input is performed in the display turned off state.

【0005】[0005]

【課題を解決するための手段】本発明は、キー入力をタ
イマ監視することにより、定時間キー入力が行われない
ことを検知して表示装置に対する電力供給を禁止する、
自動表示オフ機能をサポートするパーソナルコンピュー
タにおいて、BIOS中のキーボード制御のためのプロ
グラムが使用されたか否かをタイマ割り込みによって監
視し、上記プログラムが定時間内に使用されなかったこ
とを確認した場合に、キーボードはアプリケーションプ
ログラムによって制御されているものと判断して、定時
間キー入力がない場合であっても上記自動オフ表示機能
の実行を禁止することを特徴とする。
According to the present invention, by monitoring a key input by a timer, it is detected that no key input is performed for a fixed time, and power supply to a display device is prohibited.
In a personal computer that supports the automatic display off function, whether or not a program for controlling the keyboard in the BIOS is used is monitored by a timer interrupt, and it is confirmed that the program is not used within a fixed time. It is characterized in that the keyboard is judged to be controlled by an application program and the execution of the automatic off display function is prohibited even when there is no key input for a fixed time.

【0006】[0006]

【作用】本発明は、INT16が一定時間(a)使用さ
れたか否かをINT8によって監視し、INT16が使
用されなかった場合には、INT16はアプリケーショ
ンプログラム自身によって制御されているものと判断
し、この場合は、キー入力が一定時間(b)ないと判断
しても自動表示オフ機能を行わない様にする。上記一定
時間bとaの関係は、b〉aである必要がある。本発明
によれば特別なハードウェアを設けずに一定時間キー入
力制御が行われているか否かをBIOSで管理すること
により、キー入力制御がアプリケーションプログラムで
行われた場合に、キー入力があっても表示OFFとなっ
てしまったり、あるいは表示OFFの状態でキー入力を
行っても表示ONとならないような不具合が解消でき
る。
The present invention monitors whether or not the INT 16 has been used for a certain time (a) by the INT 8, and when the INT 16 is not used, determines that the INT 16 is controlled by the application program itself, In this case, even if it is determined that the key input has not been made for a certain period (b), the automatic display off function is not performed. The relationship between the constant time b and a needs to be b> a. According to the present invention, by controlling whether or not the key input control is performed for a certain period of time by the BIOS without providing special hardware, the key input control is performed when the application program performs the key input. However, it is possible to solve the problem that the display is turned off, or the display is not turned on even if a key is input while the display is off.

【0007】[0007]

【実施例】以下、図面を使用して本発明実施例について
詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0008】図1は本発明の実施例を示すブロック図で
ある。図において、符号1はシステムの制御中枢となる
CPUである。符号2はBIOSプログラムが格納され
るROMであり、本体を含む周辺装置のための各種制御
ルーチンが格納される。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, reference numeral 1 is a CPU which is a control center of the system. Reference numeral 2 is a ROM that stores a BIOS program, and stores various control routines for peripheral devices including the main body.

【0009】符号3はシステムRAMであり、オペレー
ティングシステム(OS)他各種アプリケーションプロ
グラムが格納される。符号4は表示コントローラであ
り、CPU1によるパラメータ設定の下で接続されるC
RTディスプレイ、プラズマディスプレイ、液晶等表示
装置5をコントロールする。
Reference numeral 3 is a system RAM in which an operating system (OS) and other various application programs are stored. Reference numeral 4 is a display controller, which is connected under the parameter setting by the CPU 1
The display device 5 such as an RT display, a plasma display, and a liquid crystal is controlled.

【0010】符号6はアドレス、データ、コントロール
のためのラインが複数本から成るシステムバスであり、
上述した各モジュール1〜4がこのバス6を介して共通
接続される。CPU1はROM2、システムRAM3に
格納されたプログラムを読み出し、そのアプリケーショ
ンを実行するために演算もしくは入出力制御を実行する
ものである。
Reference numeral 6 is a system bus composed of a plurality of lines for address, data and control.
The modules 1 to 4 described above are commonly connected via the bus 6. The CPU 1 reads out a program stored in the ROM 2 and the system RAM 3 and executes calculation or input / output control to execute the application.

【0011】図2は本発明実施例の動作を示すフローチ
ャートであり、詳しくは、ROM2に格納されるBIO
Sプログラムの一部であるINT8ならびにINT16
の動作手順を示す。図中、破線で囲った部分が本発明の
実施例に従う制御部分である。本発明実施例ではプログ
ラムの中で各種フラグならびにカウンタが使用される。
以下に簡単に説明する。INT16−ACTは“1”の
ときINT16が使用されたことを示す割り込みフラグ
である。KEY−ACTは“1”の時、INT16にて
キー入力があったことを示すキーフラグである。INT
16−CNTはINT16がある期間使用されていない
ことを判別するために使用される割り込みカウンタであ
る。ATOFF−CNTはある期間キー入力がなかった
ことを判別するために使用される自動オフカウンタであ
る。DISP−OFFは“1”の時、表示オフ状態であ
ることを示す表示オフフラグである。
FIG. 2 is a flow chart showing the operation of the embodiment of the present invention. More specifically, the BIO stored in the ROM 2 is shown.
INT8 and INT16 that are part of the S program
The operation procedure of is shown. In the figure, the part surrounded by the broken line is the control part according to the embodiment of the present invention. In the embodiment of the present invention, various flags and counters are used in the program.
A brief description will be given below. INT16-ACT is an interrupt flag indicating that INT16 is used when it is "1". KEY-ACT is a key flag indicating that there is a key input at INT16 when it is "1". INT
16-CNT is an interrupt counter used to determine that INT 16 has not been used for a certain period. ATOFF-CNT is an automatic OFF counter used to determine that there has been no key input for a certain period. DISP-OFF is a display-off flag that indicates a display-off state when "1".

【0012】以下、フローチャートを参照しながら本発
明実施例の動作について詳細に説明する。
The operation of the embodiment of the present invention will be described in detail below with reference to the flow chart.

【0013】本発明の実施例は、INT16が一定時間
(a)使用されたか否かをINT8によって監視し、I
NT16が使用されなかった場合には、INT16はア
プリケーションプログラム自身によって制御されている
ものと判断し、この場合は、キー入力が一定時間(b)
ないと判断しても自動表示オフ機能を行わない様にす
る。この一定時間(b)と(a)の関係は、(b)>
(a)である必要がある。即ち、CPU1はBIOSプ
ログラムが格納されたROM2のINT16をアクセス
して、まず割り込みフラグをチェックし、INT16が
使用されたか否かを調べる。ここで、割り込みフラグが
“1”となっていたときに割り込みカウンタに初期値
“0”を設定してカウントを開始すると共に自動オフカ
ウンタをセットする。以降はINT16が使用されてい
るか否かをチェックするステップを実行する。即ち、キ
ーフラグをチェックして“0”のとき自動オフカウンタ
に値“ATOFF−CNT−1”をセットし、“0”に
なったことを確認して表示オフを実現する。“0”でな
い場合は表示オフフラグに“1”をセットして表示オフ
状態であることを通知する。キーフラグが“0”のとき
は表示オフフラグをチェックして“1”のとき表示オ
ン、“0”のとき自動オフカウンタをセットして次の処
理に入る。
The embodiment of the present invention monitors whether the INT 16 has been used for a certain time (a) by the INT 8, and
If the NT16 is not used, the INT16 determines that it is controlled by the application program itself, and in this case, the key input is for a certain time (b).
Even if it is determined that there is no automatic display off function. The relationship between this constant time (b) and (a) is (b)>
It must be (a). That is, the CPU 1 accesses the INT 16 of the ROM 2 in which the BIOS program is stored, first checks the interrupt flag, and checks whether or not the INT 16 has been used. Here, when the interrupt flag is "1", an initial value "0" is set in the interrupt counter to start counting and an automatic off counter is set. Thereafter, the step of checking whether or not the INT 16 is used is executed. That is, when the key flag is checked and the value is "0", the value "ATOFF-CNT-1" is set in the automatic off counter, and it is confirmed that the value is "0" to realize the display off. If it is not "0", the display off flag is set to "1" to notify the display off state. When the key flag is "0", the display off flag is checked. When the key flag is "1", the display is turned on. When the key flag is "0", the automatic off counter is set and the next processing is started.

【0014】一方、割り込みフラグが“0”となってい
た場合には、更に割り込みカウンタをチェックし、
“0”のときキーフラグをチェックする。“1”のと
き、割り込みカウンタに値“INT16−CNT−1”
をセットし、再度割り込みフラグが“0”か否かをチェ
ックする。ここで“0”でなければキーフラグをチェッ
クして後述する制御を、“0”のとき、表示オフカウン
タをチェックし、更にキーフラグをチェックして以下に
述べる制御ルーチンの実行に入る。即ち、ここでキーフ
ラグが“1”のとき更に表示フラグをチェックし“1”
のとき表示をONさせ、“0”のとき表示OFFカウン
タをセットして次の処理を実行する。キーフラグが
“0”となっていた場合には上記の処理をスルーして次
の処理を実行する。INT16の動作は以下のとおりで
ある。まず、INT16が使用されたことを示す割り込
みフラグを“1”をセットする。そしてキー入力の有無
をチェックし、有りが確認されたときキーフラグを
“1”にセットして次の処理へ、又、無い場合は、上記
の処理をスルーして次の処理に移る。
On the other hand, when the interrupt flag is "0", the interrupt counter is further checked,
When it is "0", the key flag is checked. When it is "1", the value "INT16-CNT-1" is displayed in the interrupt counter.
Is set and it is checked again whether the interrupt flag is "0". If it is not "0", the key flag is checked and the control described later is performed. When it is "0", the display off counter is checked, the key flag is checked, and the control routine described below is started. That is, when the key flag is "1", the display flag is further checked to "1".
When, the display is turned on, and when it is "0", the display OFF counter is set and the following processing is executed. If the key flag is "0", the above processing is skipped and the next processing is executed. The operation of INT16 is as follows. First, the interrupt flag indicating that the INT 16 has been used is set to "1". Then, the presence / absence of a key input is checked, and when the presence is confirmed, the key flag is set to "1" and the next processing is performed. If there is no key input, the above processing is skipped and the next processing is performed.

【0015】[0015]

【発明の効果】以上説明のように本発明によれば、特別
なハードウェアを設けずに一定時間キー入力制御が行わ
れているか否かをBIOSで管理することにより、キー
入力制御がアプリケーションプログラムで行われた場合
に、キー入力があっても表示OFFとなってしまった
り、あるいは表示OFFの状態でキー入力を行っても表
示ONとならないような不具合が解消される。
As described above, according to the present invention, the key input control is controlled by the BIOS by managing whether or not the key input control is performed for a certain period of time without providing special hardware. In this case, the problem that the display is turned off even if there is a key input, or the display is not turned on even if a key input is performed in the display off state is solved.

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

【図1】本発明の実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明実施例の動作を示すフローチャート。FIG. 2 is a flowchart showing the operation of the embodiment of the present invention.

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

1…CPU、2…BIOS−ROM、3…システムRA
M、4…表示コントローラ、5…表示装置、6…システ
ムバス。
1 ... CPU, 2 ... BIOS-ROM, 3 ... System RA
M, 4 ... Display controller, 5 ... Display device, 6 ... System bus.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 キー入力をタイマ監視することにより、
定時間キー入力が行われないことを検知して表示装置に
対する電力供給を禁止する、自動表示オフ機能をサポー
トするパーソナルコンピュータにおいて、BIOS中の
キーボード制御のためのプログラムが使用されたか否か
をタイマ割り込みによって監視し、上記のプログラムが
定時間内に使用されなかったことを確認した場合、キー
ボードはアプリケーションプログラムによって制御され
ているものと判断し、定時間キー入力がない場合であっ
ても上記自動オフ表示機能の実行を禁止することを特徴
とする自動表示オフ機能制御方式。
1. By monitoring a key input by a timer,
In a personal computer that supports the automatic display off function, which detects that no key input is performed for a fixed time and prohibits power supply to the display device, a timer determines whether a program for controlling the keyboard in the BIOS is used. If it is confirmed by the interrupt that the above program is not used within the fixed time, it is judged that the keyboard is controlled by the application program, and even if there is no fixed time key input, the automatic An automatic display off function control method that prohibits execution of the off display function.
JP3252124A 1991-09-30 1991-09-30 System for controlling automatic display off function Pending JPH0588794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3252124A JPH0588794A (en) 1991-09-30 1991-09-30 System for controlling automatic display off function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3252124A JPH0588794A (en) 1991-09-30 1991-09-30 System for controlling automatic display off function

Publications (1)

Publication Number Publication Date
JPH0588794A true JPH0588794A (en) 1993-04-09

Family

ID=17232809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3252124A Pending JPH0588794A (en) 1991-09-30 1991-09-30 System for controlling automatic display off function

Country Status (1)

Country Link
JP (1) JPH0588794A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002236529A (en) * 2001-02-13 2002-08-23 Toshiba Corp Information processor and control method for information processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002236529A (en) * 2001-02-13 2002-08-23 Toshiba Corp Information processor and control method for information processor

Similar Documents

Publication Publication Date Title
US6076169A (en) Computer system having a screen saver with a power shutdown function and a control method thereof
JP3701965B2 (en) Protection mode Microprocessor and hard disk suspend / resume function and idle mode implementation
JP2007520777A (en) How to enable a multi-task computing device that saves resources
KR970002550A (en) Information processing device and its control method
JP2004046324A (en) Information processor with standby mode, and standby mode starting method and standby mode canceling method for the same
JPH05108218A (en) Computer system
JPH0588794A (en) System for controlling automatic display off function
JP2000132428A (en) Computer system, application monitoring method for computer system, and program recording medium
JP3290868B2 (en) Display control device
JP3542409B2 (en) Information processing equipment
JP2004213122A (en) Stable operation method of control system by client/server and program therefor
JP4439711B2 (en) Data processing apparatus and system
JPH0462614A (en) Portable data processor
JPH03228018A (en) Automatic turning on/off device for back light
JPH04352231A (en) Personal computer
JPH06337739A (en) Computer system
JP2818519B2 (en) Power supply device controlled by CPU
JPS6136850A (en) Input and output interruption information system
JPH02121047A (en) Input/output control system
JPH05197461A (en) Battery driven type computer
JPH0635757A (en) Abnormality detector of cpu
JPH05265602A (en) Power management control device
KR980010711A (en) Personal computer automatic shutdown method
JPH02139614A (en) Ac driven personal computer
JPH03171271A (en) Graphic plotting device