★ APPLICATIONS ★ DIVERS ★ Amstrad CPC File Recovery ★![]() |
| Recover | Applications Divers |
This program sets up an RSX command called |RECOVER which allows the user to selectively recover deleted files from the disk. The program works by reading into memory the four sectors that make up the directory. The first byte of each tile's directory entry is the active/erased byte; the program checks this byte for each file in the directory. If a file has been erased, the program displays its name and asks if you want to restore it. If the file is to be restored, the active/erased byte is set to active and the program keeps checking through the directory. Some files are too large to fit in one directory entry, so another directory entry is used. This is called an extent' and is displayed with '(ext)' after the filename. AM extents must be restored to properly restore a deleted file. Another point to note is that files may have already been physically overwritten although the directory is still intact, Restoring these will have no effect. When all the files have been displayed for recovery, the changed directory is written back to the disk. The program can be run by typing |RECOVER when the code has been loaded. Australian Personal Computer
|