Mail Archives: djgpp/2000/01/27/15:31:59
----- Original Message -----
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Julian Rolon <jrolon AT alpha DOT telecom-co DOT net>
Cc: <djgpp AT delorie DOT com>
Sent: Thursday, January 27, 2000 11:13 AM
Subject: Re: DMA access
>
> 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.)
I am very confused cause function is returning segments like 1FC2 and i need
to pass physical address to a chip, so what is the physical addres of a
segment like this??
- Raw text -