摘要 |
PROBLEM TO BE SOLVED: To discriminate, when power source is turned on, whether or not the data that is preserved by control information storing means such as RAM is damaged, and restores the damaged data.SOLUTION: In a game machine, a sub control part 70 which controls performance according to progression of game based on a command outputted from a main control part 60 includes: a sub ROM 72 which stores control program and program management data, or the like; DRAM 73-1 which temporarily stores control information; and SRAM 73-2 which backs up the control information. The program management data of the sub ROM 72 contains a magic code capable of damage check of stored data. The sub control part 70 determines whether or not a sum value of the stored data of the SRAM 73-2 is correct and whether or not the magic code in the sub ROM 72 agrees with the magic code backed up in the SRAM 73-2. If the sum value is correct and the magic codes agree with each other, it copies the backup data to the DRAM 73-1. |