Re: Question about LBA on PC's

From: John Meacham <john_at_nospam.org>
Date: Tue May 23 2000 - 14:05:09 PDT

what you want is the ATA-3 Specification, it can be gotten at
http://magic.hurrah.com/~sabre/os/H2Buses/ata3-r6.zip
it is in some ms format so you will have to convert it somehow.
in general the site http://magic.hurrah.com/~sabre/os/ has
pretty much any info one might need to write hardware support for an os.

to answer your question specifically, you can grab the configuration info from
the drive and it will have a bit set which indicated whether LBA mode is
supported, you then turn on LBA mode in one of the control registers and just
use it. works like a charm. incidentally i have written disk code which has the
exact opposite problem from vsta, it only works with LBA drives :)

        John

-- 
--------------------------------------------------------------
John Meacham   http://synergy.foo.net/~john/   john_at_foo.net
California Institute of Technology, Student.
--------------------------------------------------------------
Received on Tue May 23 18:56:12 2000

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:56 PDT