home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / programm / misc / 1309 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!wupost!eclnews!swarm.wustl.edu!wilcox
  3. From: wilcox@swarm.wustl.edu (Don Wilcox)
  4. Subject: DMA in Windows
  5. Message-ID: <1992Aug13.125330.9899@wuecl.wustl.edu>
  6. Sender: usenet@wuecl.wustl.edu (Usenet Administrator)
  7. Nntp-Posting-Host: swarm
  8. Organization: Washington University in St. Louis, MO
  9. Date: Thu, 13 Aug 1992 12:53:30 GMT
  10. Lines: 29
  11.  
  12. I have do develop an interface for an acquisition card which does DMA directly
  13. into a buffer.  I have almost no docs on any of this stuff (that would make the
  14. task too easy :-)), and I have a couple of questions.
  15.  
  16. First, what would be a good doc on the PC's DMA interface in general, and any
  17. limitations on that interface in Windows?
  18.  
  19. Second, the source code that I have (for DOS) wants the input buffer to be
  20. aligned on a 256K boundary.  Any ideas why?
  21.  
  22. I have a DOS app that interfaces with the board, and when it is run from DOS,
  23. it works just fine.  When I run it in a window in Windows, the acquisition is
  24. garbled.  I've tried munging with PIF file settings, but I cannot seem to get
  25. a combination that works.  2 questions here:  since the DOS app is running in
  26. a VM (this is enhanced mode Windows), could the DMA buffer be mis-aligned and
  27. this cause the problem; and second, any ideas on PIF settings?
  28.  
  29. I'm certain that this is not an unsolvable problem, I just cannot seem to get
  30. to the correct references.  Any help that anyone can provide (including source
  31. for doing DMA in Windows) would be appreciated.
  32.  
  33. Thanks in advance,
  34.  
  35. Don
  36.  
  37. -- 
  38. Don Wilcox                         | "For I am not ashamed of the Gospel of
  39. Washington University in St. Louis |   Christ, for it is the power of salvation
  40. email: wilcox@swarm.wustl.edu      |   to all who believe."
  41.