Re: File recovery utility for CBM disks?

From: Ethan Dicks <ethan.dicks_at_gmail.com>
Date: Mon, 8 Mar 2021 13:30:15 -0500
Message-ID: <CAALmimn+k4ckVeUgoEr6e4CuGvKmXS74djLznX+oFhXdTtGZqw_at_mail.gmail.com>
On Mon, Mar 8, 2021 at 7:02 AM <groepaz_at_gmx.net> wrote:
>
> Am Montag, 8. März 2021, 08:08:15 CET schrieb Ethan Dicks:
> > Hi, All,
> >
> > I'm looking for a tool that will look at the first two bytes of every
> > sector, and if not 00 00, chase the pointers to figure out the forward
> > chain and note which track/sector is the start of the chain.
>
> if you dont mind using a d64:

Not at all.

> https://csdb.dk/release/?id=66765

Thanks for the pointer to this.  It appears to be very much the sort
of tool I was looking for.  I see it works with extended-format .d64
images which is perfect since the imaging process did record some read
errors...

(The files with a start address of $0401 and $0801 are undoubtedly for
the PET and C-64; the file with a $4000 start address are probably
machine language programs I've written, and the ones with random start
addresses are probably program fragments).

$ ./d64scan PET-unknown-recovered.d64  -extdir

4      "0801 17. 0"        prg  (17. 0)  $0801  [  3:   762] 23,read
error (crc error in data block),17,01
5      "0401  6. 9"        prg  ( 6. 9)  $0401  [  5:  1208]
15     "488a  6.15"        prg  ( 6.15)  $488a  [ 15:  3685]
50     "4000  9. 2"        prg  ( 9. 2)  $4000  [ 49: 12446] 23,read
error (crc error in data block),06,05
65     "4000 12. 5"        prg  (12. 5)  $4000  [ 65: 16385]
3      "2c37 13. 4"        prg  (13. 4)  $2c37  [  3:   583]
2      "5453 13. 6"        prg  (13. 6)  $5453  [  1:   254] 23,read
error (crc error in data block),13,16
17     "9000 13. 9"        prg  (13. 9)  $9000  [ 17:  4097]
64     "0401 16. 4"        prg  (16. 4)  $0401  [ 63: 16002] 23,read
error (crc error in data block),13,18
3      "02c3 16.15"        prg  (16.15)  $02c3  [  2:   508] 23,read
error (crc error in data block),16,01
3      "a450 16.16"        prg  (16.16)  $a450  [  2:   508] 23,read
error (crc error in data block),16,02
3      "02d1 16.17"        prg  (16.17)  $02d1  [  2:   508] 23,read
error (crc error in data block),16,03
8      "1000 17. 6"        prg  (17. 6)  $1000  [  7:  1778] 23,read
error (crc error in data block),16,00
3      "0099 17. 9"        prg  (17. 9)  $0099  [  2:   508] 23,read
error (crc error in data block),17,17
3      "2060 17.10"        prg  (17.10)  $2060  [  2:   508] 23,read
error (crc error in data block),17,18
5      "0f29 17.11"        prg  (17.11)  $0f29  [  5:  1133]
found 16 files in 253 blocks.
Received on 2021-03-08 20:03:13

Archive generated by hypermail 2.3.0.