Date: Thu, 27 Jan 2000 19:13:38 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Julian Rolon cc: djgpp AT delorie DOT com Subject: Re: DMA access In-Reply-To: <001301bf68c7$fe83e2e0$43fa4dc6@julianro> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 27 Jan 2000, Julian Rolon wrote: > faq states two methods for correct DMA accessig, one of these is = > allocate a buffer in conventional memory with DPMI function = > allocate_dos_memory but this function return a real mode segment between = > 0000 and FFFF, How can i guarantee that segment returned falls into = > Conventional memory?? The function __dpmi_allocate_dos_memory, by its very definition, *always* allocates buffers in conventional memory. So you don't have to worry about that. (Only conventional memory buffers can have a real-mode segment, btw.)