Disk access using the BIOS (INT 13h): Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Added note to make it more obvious that the offset must precede the segment in the disk address packet
Line 8: Line 8:


Reading or writing an ATA hard disk in Real Mode with CHS addressing is <i>precisely</i> the same as doing the same operation on a floppy drive. Also remember that there are severe addressing limitations with CHS addressing. Typically only the first 8GB of the media can be accessed, at most.
Reading or writing an ATA hard disk in Real Mode with CHS addressing is <i>precisely</i> the same as doing the same operation on a floppy drive. Also remember that there are severe addressing limitations with CHS addressing. Typically only the first 8GB of the media can be accessed, at most.
And when you read from USB (as floppy), 1440 Kb is the most.


===Converting LBA to CHS===
===Converting LBA to CHS===