摘要 |
PURPOSE:To prevent a program from running away, and a document in a memory from being cleared, by setting a power source cut-off flag when starting a copy of a floppy disk, and resetting its flag at the time point when the copy has been completed. CONSTITUTION:A CPU 10 checks a status, confirms a fact that a disk has been set, and checks whether a write protection has been set or not. When it is confirmed that the write protection has been set, a power source cut-off flag is set, and a data is read from a source disk, and stored in a RAM 20. Subsequently, the contents of the source disk which has been stored in said RAM 20 are written in a destination disk. In this state, at the time point when a copy operation has been ended, the power source cut-off flag is reset, the RAM is initialized, and a copy routine is ended.
|