摘要 |
PROBLEM TO BE SOLVED: To provide a control device of a game machine, for keeping the value of a counter to a value within an original updating range even in the case of repeatedly updating the value of the counter during the residual time of interrupt processing. SOLUTION: When a low level signal is output at intervals of 2 ms from an OR circuit 39, a high level signal is input to a PR terminal of a D flip-flop 42. Since Vcc is input to a CLR terminal, when an operation code fetch signal is output form a CPU 11 and the output of the LIR terminal falls from high level to low level, the input to a CK terminal of the D flip-flop 42 rises from low level to high level so that the low output input to the D terminal is output from Q terminal to URES terminal, and a user reset interrupt is caused in time to fetching of an operation code. Accordingly, reset interrupt processing is not carried out during the execution of a write instruction, so that even if the value of an initial value counter is repeatedly updated during the remaining time of the reset interrupt processing, the value can be kept to the value within the original updating range. COPYRIGHT: (C)2004,JPO
|