HDD GURU FORUMS
http://forum.hddguru.com/

Merge partially damaged module copy 0 with copy 1
http://forum.hddguru.com/viewtopic.php?f=7&t=45371
Page 1 of 1

Author:  Jirbun [ June 4th, 2025, 15:12 ]
Post subject:  Merge partially damaged module copy 0 with copy 1

DR encounter this all the time, I guess they use the reading composite option.
But if I want to read copy 0 and 1 separately, then there are different areas in both copies that are unreadable represented in digits 21, is there a way to automatically merge the correct data between the two copies?

Author:  pepe [ June 4th, 2025, 15:27 ]
Post subject:  Re: Merge partially damaged module copy 0 with copy 1

of course, you can write a small prog for doing that...

Author:  fzabkar [ June 5th, 2025, 20:31 ]
Post subject:  Re: Merge partially damaged module copy 0 with copy 1

Jirbun wrote:
DR encounter this all the time, I guess they use the reading composite option.
But if I want to read copy 0 and 1 separately, then there are different areas in both copies that are unreadable represented in digits 21, is there a way to automatically merge the correct data between the two copies?

Upload your two copies and I'll write a merge tool for you. In fact, I may have already written one.

Author:  Jirbun [ June 15th, 2025, 23:22 ]
Post subject:  Re: Merge partially damaged module copy 0 with copy 1

Thank you very much fzabkar!
Do you want to send it to me for a fee by email or do you upload it here for everyone?

Attachments:
03 1.rar [111.18 KiB]
Downloaded 22 times

Author:  fzabkar [ June 16th, 2025, 13:56 ]
Post subject:  Re: Merge partially damaged module copy 0 with copy 1

I'll upload it here when I get around to writing it. It's a relatively trivial task.

Author:  fzabkar [ June 16th, 2025, 18:21 ]
Post subject:  Re: Merge partially damaged module copy 0 with copy 1

Using a hex editor, I replaced every sector that was filled with 0x21 with 0x00 (using search and replace). Then I merged the two files by bitwise OR-ing their contents.

I just need to modify my file merging tool to accommodate the bad sectors. Alternatively, if PC3000 can zero-fill each bad sector, then you can use this tool:

https://web.archive.org/web/20230522150553/http://www.users.on.net/~fzabkar/FreeBasic_W32/Utils/filmerg7.exe

https://web.archive.org/web/20230522150553/http://www.users.on.net/~fzabkar/FreeBasic_W32/Utils/filmerg7.bas

I confirmed that the checksum for the merged module is 0x00000000.

Attachments:
merged.7z [65.51 KiB]
Downloaded 17 times

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/