摘要 |
PROBLEM TO BE SOLVED: To enhance security relating to a microcomputer for game control.SOLUTION: A game machine can set generation of first reset (for example, system reset) or generation of second reset (for example, user reset) on the basis of occurrence of a prescribed event (for example, input of an IAT signal from an IAT 506a or input of a time-out signal from a watchdog timer (WDT) 506b). The game machine initializes stored contents in storage means (for example, a backup RAM) when the prescribed event occurs during execution of prescribed processing (for example, loop processing or timer interruption processing in main processing), and executes restoration processing on the basis of the stored contents in the storage means when the prescribed event occurs after execution of power supply stop time processing (for example, power interruption processing). The game machine refers to a Q register value and specifies an address of a data storage area. |