Hi
I 've been working on ata driver. What are the limitations of PIO mode except the fact it takes processor's clock cycles. What is the maximum size of the disk that can be accessed in PIO mode? because i tried to read from a 40gb disk, it's reading the lower sectors efficiently but it is not reading sectors beyond certain limit, i double checked the block address and verified that it is the correct block address by hexediting the disk. it works fine when i use image file of smaller size.
limitation of PIO mode
limitation of PIO mode
everyone here are best programmers ( not yet not yet)
Re: limitation of PIO mode
Hi,
Cheers,
Brendan
There's 2 completely seperate issues here - telling the disk drive which sectors to read or write (CHS, LBA, LBA-48, ATAPI, etc) and transferring data to/from the drive (PIO and DMA modes). It sounds like you've got problems with the first part (and the transfer itself is working fine).pulsar wrote:Hi
I 've been working on ata driver. What are the limitations of PIO mode except the fact it takes processor's clock cycles. What is the maximum size of the disk that can be accessed in PIO mode? because i tried to read from a 40gb disk, it's reading the lower sectors efficiently but it is not reading sectors beyond certain limit, i double checked the block address and verified that it is the correct block address by hexediting the disk. it works fine when i use image file of smaller size.
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.