Page 1 of 1

IDE driver

Posted: Fri Aug 02, 2002 9:33 am
by Cyber_Ghost
Hi I'm writing an IDE driver and would like to get some pointers to info on doing it.

It should be a protected mode driver and should only be able to write and read a sector for starters.
Do I only need to write functions that read and write a sector or do I need something else too?
I've tried to write the functions but when I use them it makes VMware crash, so I guess I need to do something before I write a sector.
What is it?

Thanks,
Peleg

Re:IDE driver

Posted: Mon Aug 05, 2002 6:05 am
by Cyber_Ghost
anyone?

Re:IDE driver

Posted: Mon Aug 05, 2002 7:58 am
by crazybuddha
General information regarding programming disk controllers:

http://www.nondot.org/sabre/os/articles ... iscDrives/

http://www.ata-atapi.com/


If you are looking for code samples, you will have to scour the available OSes which have matured to this level.

Re:IDE driver

Posted: Tue Aug 13, 2002 8:48 am
by Pype.Clicker
My OS is currently missing an IDE driver ... i'd be pretty interrested to see what your code looks like once you're done (especially if it's in C :)

Re:IDE driver

Posted: Fri Aug 16, 2002 10:29 am
by Cyber_Ghost
I hope It'll be done sometime.

Re:IDE driver

Posted: Fri Aug 16, 2002 11:34 am
by frank
I wrote some ide stuff before..
(tried to use the ide ports to load in my kenrel >] ,
which I (ofcourse) do not do now :))

I've found this article very usefull:
http://www.nondot.org/sabre/os/files/Disk/HD_PORTS.asm