From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: Re: AGAIN: How to allocate dynamicly memory below 1MB ? Date: Mon, 02 Dec 1996 12:27:01 +0100 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 33 Message-ID: <32A2BD05.41C6@LSTM.Ruhr-UNI-Bochum.De> References: <329D2647 DOT 7118 AT physik DOT uni-marburg DOT de> <32A31426 DOT 402F AT physik DOT uni-marburg DOT de> NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: marcus DOT eger AT physik DOT uni-marburg DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Marcus Eger wrote: > > Hi, AGAIN: > > is there a way to allocate dynamicly memory under 1MB? > I need a buffer for DMA - in communication with a conventional > DOS-driver. > Thanks > __dpmi_allocate_dos_memory() is probably what you're looking for. You can find the description by typing info libc __dpmi_allocate_d -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * Voice/Fax Box: +49 2561 91371 2056 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************