Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" 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 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Q: DMA buffer allocation Precedence: bulk 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