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
IDE driver
Re:IDE driver
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.
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.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:IDE driver
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
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
(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