home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!psgrain!hippo!ucthpx!casper.cs.uct.ac.za!dtinker
- From: dtinker@casper.cs.uct.ac.za (D G Tinker)
- Subject: DMA and Windows
- Message-ID: <BuM2Ht.MD5@casper.cs.uct.ac.za>
- Summary: DMA and Windows
- Keywords: DMA
- Organization: Computer Science Department, University of Cape Town
- Date: Tue, 15 Sep 1992 08:34:41 GMT
- Lines: 21
-
- I need to sample data from a data aquisition board under windows. I have
- to use DMA to get high enough sampling rates.
-
- How do I make sure that:
-
- a) the block of memory for the transfer is all in one piece in
- 386 enhanced mode.
-
- b) get the actual physical address of the block for programming
- the DMA controller.
-
- I have managed to figure out the linear address of the block
- (GlobalLock,GlobalPageLock,GetSelectorBase etc) but this block's
- pages may be scattered accross physical memory.
-
- Do I have to write a VxD or can I just use a simple DLL?
-
- Any replies much appreciated.
-
- Cheers.
-
-