Page 1 of 1

How to interact with disks or cd-roms in Protected Mode?

Posted: Thu Apr 28, 2011 10:02 am
by smwikipedia
Hi,

This is a big problem to me. In Real Mode, I can rely on BIOS to deal with disks and cd-roms (sometimes LBA BIOS extenstion is used). But once I enter the Protected Mode, I cannot use BIOS interrupt any more. So, should I write my own device driver? Is there any best practice?


Many thanks!

Re: How to interact with disks or cd-roms in Protected Mode?

Posted: Thu Apr 28, 2011 12:16 pm
by quok
Obviously, you should check the wiki. There's plenty of articles and links to forum threads and specifications. Check it out: http://wiki.osdev.org/Category:ATA

And yes, you'll need to write a device driver.