摘要 |
A method for alternately storing reference information in two memories in order to prevent the reference information from being damaged by storage errors in a system for storing reference information in a memory and an apparatus therefor are provided. The apparatus for storing the reference information includes at least two memories for storing reference information, a flag storing unit for storing a flag displaying a memory in which effective reference information is stored among the memories, a recording path setting unit for determining a memory in which the reference information is to be recorded with reference to the state of the flag stored in the flag storing unit, setting the recording path so that the reference information is recorded in a second memory when a first memory is effective, and the reference information is recorded in the first memory when the second memory is effective, a recorder for recording the reference information in the memory set by the recording path setting unit, and a flag setting unit for setting the flag of the flag storing unit to show the effective state of a concerned memory only after the recording of the reference information in the memory set by the recording path setting unit has been completed. Thus, it is possible to safely store the reference information even if storage errors are generated by alternately recording the reference information of the system on two memories or recording regions and displaying the memory region to be used.
|