摘要 |
PROBLEM TO BE SOLVED: To provide a game machine capable of controlling an acoustic control part (sound chip) having a prohibition item that needs a predetermined interval after receiving a specific command without using a timer.SOLUTION: A processing part for executing performance processing, an acoustic device for generating sound, an acoustic control part for controlling the acoustic device on the basis of a command of the processing part are provided. The processing part executes a performance management task 20T1 repeated in a first cycle to manage a performance and generate a performance command, and a transmission task 20T2 repeated in a second cycle to send a command to the acoustic control part. The performance management task 20T1 determines whether to need a prohibition interval about a plurality of commands written in a buffer 20R, and sets section termination information when the prohibition interval is needed. The transmission task 20T2 reads a command from the buffer 20R to send the command to the acoustic control part, determines whether the section termination information is set, and terminates processing when the section termination information is set. |