摘要 |
PROBLEM TO BE SOLVED: To preserve data accurately in the preservation of necessary data at the moment of power shutdown such as an interruption of power and restart the game from the state the moment of the power shutdown. SOLUTION: In the power failure outbreak interrupt processing, firstly, the CPU is set to inhibit interruption and then, all output ports are turned off. Subsequently, the contents of individual registers are stored into a backup RAM area, if necessary. A power source shutdown flag is also set. Moreover, an appropriate initial value is set for a backup check data area of the backup RAM area, an exclusive OR is carried out for the initial value and the data in the backup RAM area and the final operation values are set for a backup parity data area. Thereafter, the access to the RAM is inhibited. Then, the CPU issues a halt command (HALT command). COPYRIGHT: (C)2007,JPO&INPIT
|