Mail Archives: djgpp/1997/09/04/22:33:01
From: | johan AT technologist DOT com (Johan Levin)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Q: DMA buffer allocation
|
Date: | 1 Sep 1997 17:08:26 GMT
|
Organization: | -
|
Lines: | 18
|
Message-ID: | <5uesqa$p9u@mn5.swip.net>
|
NNTP-Posting-Host: | dialup92-6-16.swipnet.se
|
Mime-Version: | 1.0
|
NNTP-Posting-User: | s-49839
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I wish to allocate a DMA buffer.
How do I do that in DJGPP?
Must DMA buffers be in the low 1 MB?
I know that DMA buffers may not cross a 64k border.
If I allocate a buffer in DJGPP how do I know that it doesn't cross
such a border - virtual memory and paging tend to make you lose
control of these things.
TIA
--
Johan Levin Sweden
------------------------------------------
homepage: http://home2.swipnet.se/~w-21572
mail : mailto:johan AT technologist DOT com
- Raw text -