adfs deleted files?

Tools, techniques and guides for software preservation - get help archiving your discs here!
Post Reply
gtoal
Posts: 89
Joined: Sat Nov 04, 2017 2:07 am
Contact:

adfs deleted files?

Post by gtoal »

I have a disk image file https://gtoal.com/acorn/arm/notblank/BLANK.ADF which none of the utilities I have for reading Acorn disks show as having any files on it. But 'strings' of the image suggests there is quite a lot there. My guess is that I saved the image to be used as a blank after deleting all the files on the original floppy but not having reformatted it. I'm wondering if anyone here has any utilities for undeleting ADFS files? Either something I can compile and run on linux, or something that runs on a Beeb or Archie that you wouldn't mind using on that image file for me? (I don't have a working Beeb or Archie at the moment myself).

It's possible that I do have already the significant files on that image but it would be nice to know for sure.
(The other files I have which look similar are in https://gtoal.com/acorn/arm/DISK0406/ and https://gtoal.com/acorn/arm/DISK0407/ )

Thanks,

G
User avatar
davidb
Posts: 3395
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: adfs deleted files?

Post by davidb »

The ADF2INF.py tool in this repository lists the disk contents as this:

Code: Select all

$.aof (empty)
$.Decode        8000            BCBC            F040
$.Doit          FEB             23:40:35, Mon 02 Feb 2002       9E
$.Doit2         FEB             23:31:54, Mon 02 Feb 2002       7D
$.Imp (empty)
$.Imp77         8000            8000            37378
$.Implib        FFF             20:15:29, Mon 01 Jan 1900       20638
$.Link          8000            8000            1B018
$.lis (empty)
$.lst (empty)
$.tmp (empty)
$.Twin          8000            8000            7C68
Mounting the disk in RPCEmu also shows that it has these files.
gtoal
Posts: 89
Joined: Sat Nov 04, 2017 2:07 am
Contact:

Re: adfs deleted files?

Post by gtoal »

Thanks. I'll get a copy of that utility. It looks like there's nothing significantly new there. The "doit" files are just 1-liners to compile and link one of the programs. Everything else we have already. Appreciate you checking it out for me.

Graham
User avatar
BeebMaster
Posts: 7380
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: adfs deleted files?

Post by BeebMaster »

Just for interest, recently I had to manually reconstruct the map & root of an ADFS disc where track 0 had become unreadable:

viewtopic.php?p=361641#p361641
Image
User avatar
jgharston
Posts: 5321
Joined: Thu Sep 24, 2009 12:22 pm
Location: Whitby/Sheffield
Contact:

Re: adfs deleted files?

Post by jgharston »

BeebMaster wrote: Sun Aug 14, 2022 11:13 pm Just for interest, recently I had to manually reconstruct the map & root of an ADFS disc where track 0 had become unreadable:
If you've got a valid directory tree, you can recreate a free space map with MkMap: link. I keep meaning to write the complementary tool to recover the directory tree.

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.45
(C) Copyright J.G.Harston 1989,2005-2024
>_
Post Reply

Return to “software preservation”