摘要 |
<P>PROBLEM TO BE SOLVED: To provide a game machine controlling the timing of performance of a retraction unit with interrupt permission timing, and simplifying a program and reducing the volume of the program. <P>SOLUTION: INT interrupt processing for processing at power failure is allowed to set the prohibition of interruption, and when timer interrupt processing for controlling a game is performed, an MPU is brought into an interruption prohibition state, so that even if the INT interrupt is generated by the output of a power failure signal during the control of the game, the performance of the INT interrupt is made to wait until the interruption is permitted in main processing S19 after the end of the timer interrupt processing. The timing of performing the processing at power failure is controlled with the interrupt permission timing. The processing at power failure is performed only with timing suitable for the processing at power failure, and is made to wait with disadvantageous timing to perform the processing at power failure. <P>COPYRIGHT: (C)2013,JPO&INPIT |