ATAPI question
Posted: Mon Mar 03, 2003 9:59 am
A few of you have written ATAPI drivers, and I was hoping to brain pick those people a bit.
What I am trying to do:
Access an entire large disk in real (16 bit) mode using the bios. By large lets assume 200G or bigger. I do not want to go into protected mode, because that really does not get me 64 bit access anyway (just 32).
Assuming a modern and uptodate BIOS? What are the limitations? From what I can gather, it can be done as long as I fill in the CHS information correctly. Correct?
Basically, givin a 64 bit number (or array of 16 bit numbers) can I seek and read any part of a "LARGE" disk in real mode.
I'm currently writting some library code to do some basic IO, but have realized large disks may pose some problems.
BTW - all the info I could find about LBA mode seems to indicate that this should NOT be used. What are your thoughts here - or am I just reading very old information about it.
Any example would be very appreciated!!!
Thanks
Mark
What I am trying to do:
Access an entire large disk in real (16 bit) mode using the bios. By large lets assume 200G or bigger. I do not want to go into protected mode, because that really does not get me 64 bit access anyway (just 32).
Assuming a modern and uptodate BIOS? What are the limitations? From what I can gather, it can be done as long as I fill in the CHS information correctly. Correct?
Basically, givin a 64 bit number (or array of 16 bit numbers) can I seek and read any part of a "LARGE" disk in real mode.
I'm currently writting some library code to do some basic IO, but have realized large disks may pose some problems.
BTW - all the info I could find about LBA mode seems to indicate that this should NOT be used. What are your thoughts here - or am I just reading very old information about it.
Any example would be very appreciated!!!
Thanks
Mark