Wed, 13 Mar 2013 00:43:25 +0000

Philip Pemberton <>
Wed, 13 Mar 2013 00:43:25 +0000
changeset 134
parent 131

[wd2010,main] WD2010 disc geometry fixes

I believe I have fixed the geometry problem with FreeBee. The geometry was set
to 17 sectors per track instead of 16, which obviously throws off addressing.
I changed it to use 16 sectors per track. However, s4diag tries to format
sector 17, so I changed the WD2010 emulation to accept any address when
formatting (since the format command doesn't actually do anything, it doesn't
matter). It is now possible to format the hard disk, initialize the file
system, and mount it. However, cpio still fails to copy the system to the hard

Author: Andrew Warkentin <andreww591 gmail com>

philpem@131 1 TODO -- things to check
philpem@131 2
philpem@131 3 * Realtime clock
philpem@131 4 * WD2010 command handler logic
philpem@131 5 * Disabling page write protect logic allows userspace to run up but HDD won't mount
philpem@131 6 * DMA Page Fault issues (see wd2010.c and test code)