delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/27/13:38:23

Date: Thu, 27 Jan 2000 19:13:38 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Julian Rolon <jrolon AT alpha DOT telecom-co DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: DMA access
In-Reply-To: <001301bf68c7$fe83e2e0$43fa4dc6@julianro>
Message-ID: <Pine.SUN.3.91.1000127191152.19181C-100000@is>
MIME-Version: 1.0
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

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.)

- Raw text -


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