I'm attempting to perform a DMA transfer from a ADC card into either VRAM or normal RAM. In order to achieve the latter I need to find the page & Offset of the memory allocated by calloc. Is there any way of extracting the Seg:Off address or am I looking at it the wrong way? I'm new to Devcpp & trying to avoid all DPMI (counts out DJGPP) any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm attempting to perform a DMA transfer from a ADC card into either VRAM or normal RAM. In order to achieve the latter I need to find the page & Offset of the memory allocated by calloc. Is there any way of extracting the Seg:Off address or am I looking at it the wrong way? I'm new to Devcpp & trying to avoid all DPMI (counts out DJGPP) any ideas?
Ummm...Directx? lol, kidding. Um, we aren't smart enough to answer this kinda question.
Kip