摘要 |
A digital camera includes a CPU. When a memory card recorded with an additional program is mounted, the CPU detects a size of the additional program, a maximum vacant area formed in a flash memory and a size thereof. The CPU then compares the size of the additional program with the size of the maximum vacant area. If the maximum area is sufficiently large, it is written by the additional program. On the other hand, if the size of the maximum vacant area is not greater than the size of the additional program, the photographed image data recorded following the maximum vacant area is moved, for each cluster, to another vacant area, thereby extending the maximum vacant area. <IMAGE> |