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

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
smwikipedia
Member
Member
Posts: 49
Joined: Tue Apr 20, 2010 1:11 am

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

Post 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!
quok
Member
Member
Posts: 490
Joined: Wed Oct 18, 2006 10:43 pm
Location: Kansas City, KS, USA

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

Post 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.
Post Reply