Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Harvey ! (Registered 2024-11-25) You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > Formatting disks with faults
2015-08-18 19:33
soci

Registered: Sep 2003
Posts: 479
Formatting disks with faults

Is there a disk formatting tool for 1541 which is able to detect a small faulty location and then it can lay out the sectors so that the fault ends up somewhere in a gap?

I have lots of slightly faulty disks which I don't want to throw out just because there's a small fault on one of the tracks.
2015-08-18 19:39
JackAsser

Registered: Jun 2002
Posts: 2014
You can always tag the faulty blocks as claimed in the BAM. New files will not occupy that space then. Doing a verify operation will however undo your BAM-trickery.
2015-08-18 19:40
chatGPZ

Registered: Dec 2001
Posts: 11359
thats not a good idea, it would mean modifying the gap lengths, which in turn increases the chance that writing to the disk will no more work.

other than that, you can use the formatter from "the final replay" - it will mark bad sectors as used in the BAM.
2015-08-19 01:14
soci

Registered: Sep 2003
Posts: 479
BAM marking is ok for files, but I want to write D64 images, as file loader demos are long gone.

You're partly right about problems with changing gap lengths. The header gap is always a fixed number of bytes, so the first write will undo any gap size change there. But the inter-sector gap can be safely increased. (see Format II by LFT)

There's no need to change the gap sizes at all. I was only thinking about moving the tail gap to the faulty location, which would be the most compatible option.

This would be done by writing the first sector right after the fault. The last sector would be hopefully finished before the fault comes around again.

Achieving this would be a world first then?
2015-08-19 11:28
Krill

Registered: Apr 2002
Posts: 2969
soci: I am not aware of such a tool. But it should be possible if, as you suggested, there's only one error on the track AND it's not bigger than a tail gap on that track.

Quoting soci
but I want to write D64 images, as file loader demos are long gone.
Not true, many demos still use files with the standard format. But yes, you'd not file-copy demos to your faulty disks and risk skewed timing and strange bugs.
2015-08-19 12:22
chatGPZ

Registered: Dec 2001
Posts: 11359
one big problem with this idea is that you dont have a reference point (index signal) so you could shift the track to a defined offset... it'd be tricky to make a formatter that does this (in reasonable time anyway)
2015-08-19 13:46
ThunderBlade

Registered: Jan 2002
Posts: 77
What is the point of this? Keep using disks that are broken? I'm sure there are enough working disks left - especially with the ton of 1541 Ultimate's being sold, I bet many are ready to donate a few, if needed. :)
2015-08-19 19:25
soci

Registered: Sep 2003
Posts: 479
Sure, but if I throw them away and get new ones then where's the challenge? ;)

Groepaz: The fault location can be the reference point. Using absolute positioning (e.g with an 1571) would only complicate it.

I think I'll give it a try, this sounds like a fun project ;)
2015-08-20 14:04
soci

Registered: Sep 2003
Posts: 479
Seems to work. But still a lot to trash ;)
2015-08-21 11:29
ThunderBlade

Registered: Jan 2002
Posts: 77
A cool challenge in any case.
2015-08-22 21:43
soci

Registered: Sep 2003
Posts: 479
Less trash now that I've fixed up the algorithm and the weak area detection.

This is what came out of this:
21st Century Floppy Disk Formatter V0.1

Probably not perfect, but it also depends on the disks too. Sometimes only soap and water helps ;)
 
... 4 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Six/G★P
lA-sTYLe/Quantum
Brataccas/HF
Xiny6581/Dees Produc..
Alakran_64
McMeatLoaf
CopAss/Leader
Andy/AEG
Guests online: 87
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.2)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.051 sec.