摘要 |
PROBLEM TO BE SOLVED: To hold the playing conditions by properly setting the operating conditions of electric components when the power supply is stopped and to prevent a player is loss in that case. SOLUTION: A backup flag is set by executing a process for saving the playing conditions, and then a CPU sets clear data and the number of processes. The address of an output port 0 is set in an IO pointer. The clear data is set at the address indicated by the IO pointer and the processes of increasing the value of the IO pointer by one and subtracting one from the value of the number of processes are repeated until the value of the number of processes becomes zero. As a result, the clear data are set at all of output ports and all the output ports are turned off. The process of restoring the playing conditions is carried out if the backup flag has been set at the time when the power supply is resumed.
|