摘要 |
<p><P>PROBLEM TO BE SOLVED: To provide a game machine in which the updating processing of a count value of a counter for extracting a random number is not obstructed by a processing based on interruption, and inconvenience is not caused for generating the random number used in the game machine. <P>SOLUTION: In a main routine, a processing of an interruption inhibited state is set, then a display random number updating processing for updating the count value of the counter for generating the random number for display and an initial value decision random number updating processing for updating the count value of the counter for generating the random number for initial value decision are executed, and thereafter a processing for setting an interruption permitted state is repeatedly executed. In such a manner, the counter updating processing of the counter in the display random number updating processing and the initial value decision random number updating processing is executed in the interruption inhibited state. Thus, the maskable interruption of timer interruption, or the like, can not be performed during a time when a numerical value updating processing is executed, and the numerical value updating processing is executed without being interrupted by an interruption processing. <P>COPYRIGHT: (C)2004,JPO&NCIPI</p> |