摘要 |
PROBLEM TO BE SOLVED: To provide a game machine for suppressing an increase in a program size in a program for a repetition processing to read data from a ROM to the use area of a RAM for a game control.SOLUTION: A writing destination address in a repetition processing is separately described as first portion address values and second portion address values. The repetition frequencies are constituted as 1-byte data containing an upper s-bit repetition frequency of an upper s-bit and a lower (8-s) bit repetition frequency made to correspond individually to two second portion address values. A control device sets one of the second portion address values, and subtracts 1 from the value of the 1-byte data of the repetition frequency each time one storing processing is executed in the repetition processing. When the value of the lower (8-s) bit of 1 byte data becomes "0", the value of the upper s bits in 1 byte data is shifted to the value of the lower s bits to change the second portion address values, and the storage processing is executed till the value of 1 byte data recorded with the repetition number becomes "0". |