Hello everyone! .'-)
I am just starting my own OS and i need some tutorials on reading and writing to hard drives and CDs through DMA(it would be better if it would be Ultra DMA). I searched the whole darn google and foumd nothing usefull......
P.S. Links and files are preffered
using of DMA
- gravaera
- Member
- Posts: 737
- Joined: Tue Jun 02, 2009 4:35 pm
- Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
Re: using of DMA
Well gosh darn, maybe you need to go search the whole dang thing again...BOTOKILLER wrote:Hello everyone! .'-)
I am just starting my own OS and i need some tutorials on reading and writing to hard drives and CDs through DMA(it would be better if it would be Ultra DMA). I searched the whole darn google and foumd nothing usefull......
P.S. Links and files are preffered
There are multiple storage interfaces you may need to deal with: ATA, SCSI, etc. Each of those, for whatever chipset/platform you're working on will have its own DMA sub specification. So if you want to develop a driver for ATA storage devices, you need to read the ATA specs, and in there, they will describe ATA DMa for you: along with that, there are articles on it in the Wiki, IIRC.
--Have fun
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
- BOTOKILLER
- Member
- Posts: 28
- Joined: Tue Jan 04, 2011 10:25 am
- Location: Ukraine
Re: using of DMA
gravaera wrote:Well gosh darn, maybe you need to go search the whole dang thing again...BOTOKILLER wrote:Hello everyone! .'-)
I am just starting my own OS and i need some tutorials on reading and writing to hard drives and CDs through DMA(it would be better if it would be Ultra DMA). I searched the whole darn google and foumd nothing usefull......
P.S. Links and files are preffered
There are multiple storage interfaces you may need to deal with: ATA, SCSI, etc. Each of those, for whatever chipset/platform you're working on will have its own DMA sub specification. So if you want to develop a driver for ATA storage devices, you need to read the ATA specs, and in there, they will describe ATA DMa for you: along with that, there are articles on it in the Wiki, IIRC.
--Have fun
i looked for this specifcations..... there thousands of them, but there is tutorial in Wiki.... the only thing is that tutorial code is written in C++ and i need assembler tutorial http://wiki.osdev.org/ATAPI
- BOTOKILLER
- Member
- Posts: 28
- Joined: Tue Jan 04, 2011 10:25 am
- Location: Ukraine
Re: using of DMA
berkus wrote:When you convert it to assembler it will be an assembler tutorial.BOTOKILLER wrote:the only thing is that tutorial code is written in C++ and i need assembler tutorial http://wiki.osdev.org/ATAPI
EDIT: Or, you can just compile everything with gcc -S
i know, but my Visual C++ cant compile it