News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_nivrig

Undelete or Recover files from a disk?

Started by nivrig, 22:09, 25 October 11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nivrig


Is there a CPC or Windows based utility that can search a (potentially partially corrupted) DATA format disk and recover or undelete files on it?


SyX

In the wiki appears this tool, but you can find a lot of disk tools here (search for disc, era or similar string), i don't know which tool recommend you, because the last time that i need recover files from a disk, i was using DiskSalv in my Amiga :P

Although to recover or undelete files, you can use a hex editor, load the disk image, the catalog the first 4 sectors (remember that they are interleaved 1,6,2,7,3,8,4,9,5), the byte before each filename is the USER for that file (usually a 0) an $E5 in the case is erased, change the $E5 to 0 and the file will appear when you make a CAT... of course, the sectors can be in use by other file written in the disk at a later date.

Cholo

Well, ive never been much of a disc user myself, and im trying hard to recall the names of programs ive used for saving files from disc/tape. I remember especially a quite nifty program that allowed you to load basic programs even tho they suffered from Error A/B and then allow you to delete/alter the bad lines in the middel of the program and save it somewhere else safely.
Also there is a lot of "Disc format" or "disc edit" tools out there that allow you to un-hide, un-delete whole files or just view/edit single bytes/sectors.
Then there is the programs to use after recovering the discs to "mark" bad area on the disc with "dummyfiles" so that the rest of the disc becomes usefull again.

Here is a couple i can remember from AA tapes:

Disc Editor, Amstrad Action, issue 28, jan 1988 "Christmas 1987" (the christmas tape with The Duct on one side): Disc monitor/editor program (aka view/edit disc directly as Hex and Chars a bit like Maxam assembler view).

DMon, Amstrad Action issue 88, January 1993 Tape "Pack 22": Another Disc sector editor program.

Special Disc Formatter, Amstrad Action issue 37, oct 1988 "Birthday" (the birthday tape with the AA Dizzy SE game on one side): This program will reformat the disc and mark all bad sectors into a "corrupted"-dummy file. (Note it erases the disc so only use AFTER you have saved your data/files).

Johnny Olsen

A quick way to see deleted files is poke &a701,&e5 then make a cat.
You can now load a file - poke &a701,0 and save it again.
This works for basic files not overwritten.

TFM

Quote from: girv on 22:09, 25 October 11
Is there a CPC or Windows based utility that can search a (potentially partially corrupted) DATA format disk and recover or undelete files on it?

You can use the REName function of FutureOS. Just change to user number from &E5 back to &00.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

TomEtJerry

Hello,

If the directory of the disk is totally damaged, you can use Dir Doktor. This tool is not very "user friendly" (sorry, done for my own business when I used to store datas on an external drive that sometimes had the strange habit to unformat track 0), but is always better in most cases that other programs not designed for this difficult task.

T&J/GPA

TFM

Well, if you have problems reading sectors, you also can reduce the number of reads to 1 under FutureOS and you get what the FDC delivers. Check it 3 times and be sure that some reads are the same. This always brought best results to me. If detailed help is needed let me know.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Executioner

From ParaDOS, choose 'F'ilespec, then use the left cursor key to go to the User: field and enter 229. You should then be able to see the deleted files and use 'M'ove to move them back to User 0.

AMSDOS

There was something like this in AA50:


poke &a701,229:|ren,"0:filename.ext","filename.ext":poke &a701,0:cat


which works in BASIC 1.1.
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

00WReX

#9
OddJob from Pride Utilities (1985) has a utility within it called "Diredit". This has an "unerase" option.
If files are erased and available to be unerased it will list them.

Check out the screenshot...

Cheers,
Shane
The CPC in Australia...
Awa - CPCWiki

Powered by SMFPacks Menu Editor Mod