摘要 |
PROBLEM TO BE SOLVED: To prevent false execution of the process at the time of the power supply suspension caused by generation of noise. SOLUTION: In the process of confirming the power supply cut, a CPU confirms whether a power supply cut signal is on or not, and if the signal is not on, an initial value is set as a count value of a power supply cut determining counter. If the signal is on, 1 is added to the count value of the power supply cut determining counter. If the count value of the power supply cut determining counter is 2 as the result of the addition, the process at the time of power supply suspension is executed. The power supply cut determining counter is a counter to count the number of times of consecutive detection that the power supply cut signal is on in the process of confirming the power supply cut executed at a prescribed cycle. When the power supply is started, the held count value in the power supply cut determining counter is confirmed; if the count value is 2, the process of recovering the state of progress of the game is executed. Accordingly, false execution of the process at the time of power supply suspension can be prevented even if the power supply cut signal is temporarily on by mistake because of the generation of noise. COPYRIGHT: (C)2005,JPO&NCIPI
|