View Single Post
Old 29 October 2013, 15:06   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by phx View Post
That would mean to decode the whole track and copy the contents to a buffer, before constructing the track from scratch, even when I only change a single sector in it.

Maybe it is better in this case to shift MFM data around in the buffer? I will find out...
I don't see any point in attempting to optimize this case, or attempting to optimize single track writes. This isn't speed critical disk copier or formatter.

IMHO disk support should be as generic as possible, without special cases that are difficult to test. (depends on disk position etc..)
Toni Wilen is offline  
 
Page generated in 0.24701 seconds with 11 queries