摘要 |
PROBLEM TO BE SOLVED: To provide a game machine allowing programming of main processing or interruption processing without considering a performance timing of saving means for electric outage.SOLUTION: At the time of a power discontinuity due to an occurrence and the like of an electric outage, the power discontinuity is immediately recognized by a non-maskable interruption (Fig. 3) to which no inhibition setting for interruption can be set, and an electric outage flag providing notification of the occurrence of an electric outage is turned on by the non-maskable interruption. When the electric outage flag is being set on, processing at the time of electric outage (S20 to S24) are performed in main processing at Fig. 4. Accordingly, such the processing at the time of electric outage are not performed during the time when each processing (S19) for performing control of games in a pachinko machine is being performed. This means that the processing at the time of electric outage can be performed at a suitable timing not to affect other controls, which enables simplification and reduction in capacity of a control program.SELECTED DRAWING: Figure 4 |