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