Hello mates,
I've implemented the floppy disk driver (FDC/FDD), and I'm using DMA to copy from floppy disk sectors to 0x1000 memory location.
It seems to work, and I get the interrupt when the copy is completed, but when I try to read from 0x1000 I get a page fault
What do you think about ? read/write failed ??
Many thanks..
[SOLVED]Page fault while reading from memory written by dma
[SOLVED]Page fault while reading from memory written by dma
Last edited by Luca91 on Thu Jan 16, 2014 7:37 am, edited 1 time in total.
Re: Page fault while reading from memory written by dma
Well, what does the error code from the exception tell you?
Re: Page fault while reading from memory written by dma
Hi, I've fixed it thanks anyway iansjack
I realized that I forgot to deinit that memory region, so that's why I got that pagefault..
I realized that I forgot to deinit that memory region, so that's why I got that pagefault..