Re: HD driver
Frode Vatvedt Fjeld <[email protected]> Thu, 22 Apr 2004 16:40:16 +0200
| Newsgroups | gmane.lisp.movitz.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] writes: > This is what the spec says: > > Upon receipt of a Class 1 command, the drive sets BSY within 400 nsec. > > But if it's only 400 cycles then it's likely enough that BSY is not > read before it gets set (and possibly reset) in all cases (at least > for testing). So I'll remove the loop. Maybe it's possible to poll the drive's BSY register, so that the driver is truly synchronized with the drive? Anyway, I should probably construct some mechanism for small, calibrated delays such as this. But for now, I think to do nothing, or something simple like (dotimes (i 500)) will be good enough. Any success with reading or writing yet? -- Frode Vatvedt Fjeld