DMA Help
Posted: Thu Dec 04, 2008 6:26 pm
Hi.
With Floppy DMA, if I do not support paging which address should I use? I have tried to set it up using 0x00000000 and it worked but not on real-hardware. I also tried to send it a unsigned char buffer[512], but it doesn't seem to write to that buffer as it never changes neither on real or emulated hardware. I followed the guide in the wiki to build my dma setup function (translated to C), so it isn't anything fancy, but it should still work. Can someone please advise me on what to do when setting up DMA for floppy usage? I don't have a kmalloc function but I have memset and memcpy and again I am not supporting paging. thanks
With Floppy DMA, if I do not support paging which address should I use? I have tried to set it up using 0x00000000 and it worked but not on real-hardware. I also tried to send it a unsigned char buffer[512], but it doesn't seem to write to that buffer as it never changes neither on real or emulated hardware. I followed the guide in the wiki to build my dma setup function (translated to C), so it isn't anything fancy, but it should still work. Can someone please advise me on what to do when setting up DMA for floppy usage? I don't have a kmalloc function but I have memset and memcpy and again I am not supporting paging. thanks