Mail Archives: djgpp/1997/09/05/14:25:43
johan AT technologist DOT com (Johan Levin) wrote:
> I wish to allocate a DMA buffer.
> How do I do that in DJGPP?
Take a look at Allegro, is a good example.
> Must DMA buffers be in the low 1 MB?
For 8 bits DMA? yes. For 16 bits DMA under 16Mb ... in practice you'll use ever
under 1Mb.
> 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.
Take a look to Allegro.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -