cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/05/14:25:43

Message-Id: <m0x6xMU-000S23C@inti.edu.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT edu DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: johan AT technologist DOT com (Johan Levin), djgpp AT delorie DOT com
Date: Fri, 5 Sep 1997 15:43:56 +0000
MIME-Version: 1.0
Subject: Re: Q: DMA buffer allocation

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019