home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1845 < prev    next >
Encoding:
Text File  |  1992-09-14  |  981 b   |  33 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!psgrain!hippo!ucthpx!casper.cs.uct.ac.za!dtinker
  3. From: dtinker@casper.cs.uct.ac.za (D G Tinker)
  4. Subject: DMA and Windows
  5. Message-ID: <BuM2Ht.MD5@casper.cs.uct.ac.za>
  6. Summary: DMA and Windows
  7. Keywords: DMA
  8. Organization: Computer Science Department, University of Cape Town
  9. Date: Tue, 15 Sep 1992 08:34:41 GMT
  10. Lines: 21
  11.  
  12. I need to sample data from a data aquisition board under windows. I have
  13. to use DMA to get high enough sampling rates.
  14.  
  15. How do I make sure that:
  16.  
  17. a) the block of memory for the transfer is all in one piece in 
  18.    386 enhanced mode.
  19.  
  20. b) get the actual physical address of the block for programming
  21.    the DMA controller.
  22.  
  23. I have managed to figure out the linear address of the block
  24. (GlobalLock,GlobalPageLock,GetSelectorBase etc) but this block's
  25. pages may be scattered accross physical memory.
  26.  
  27. Do I have to write a VxD or can I just use a simple DLL?
  28.  
  29. Any replies much appreciated.
  30.  
  31. Cheers.  
  32.  
  33.