<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 25 Jun 2009 01:03:32 +0100
From   : jgh@... (Jonathan Graham Harston)
Subject: reading data from old hard disk

Phil Blundell wrote:
> Now, though, I discover an additional problem: the disk is using
> 256-byte sectors whereas obviously the PC is set up to expect 512.  I
> 
> Any suggestions for how I might proceed with this?
 
Read each sector as a one-sector transfer. You will then either get
"data underrun" errors as there isn't enough data in each sector,
or you will get the sector ids and part of the next sector data in
bytes 256 onwards in what you've read. Read one sector at a time,
keep only the first 256 bytes and ignore errors.
 
-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
There are three food groups: brown, green and ice cream.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>