ATA read/write sectors: Difference between revisions

m
[unchecked revision][unchecked revision]
mNo edit summary
Line 84:
 
==Write in CHS mode==
As noted by Dex (aka 'qark') in this [http://forum.osdev.org/viewtopic.php?f=1&t=12268 forum topic], the only difference to ata_chs_read is 30h is sent to command register instead of 20h, and using OUTSW instead of INSW, and of course from [RSI] instead of to [RDI]. So code for ata_chs_write can be obtained this way.
 
==Write in LBA mode==
25

edits