Mail Archives: djgpp/1999/11/07/12:23:26
On Fri, 5 Nov 1999, Frederic Cazenave wrote:
> What is the difference between dos memory and
> linear memory?
DOS memory is the part of memory below the 1MB mark. It is also known
as the ``conventional memory''.
As to ``linear memory'', I don't know what that is. Perhaps if you
explain in what context did you see that term, I could try guessing
what does that mean.
> When I do a dpmi_get_free_memory_info and if
> I malloc maximum_locked_page_allocation_in_pages is
> there any dos_memory free or not ?
The maximum locked page allocation usually doesn't include DOS memory
(which is already locked).
> What's the better way :
>
> to make a malloc or to use dpmi_allocate
Use malloc, it is much easier. Allocation through DPMI is very
complicated and should not be used unless you cannot do it with
malloc.
- Raw text -