Mail Archives: djgpp/1998/05/06/15:31:36
Martijn de Munnik <munnik AT fys DOT ruu DOT nl> wrote:
> I use the new operator to allocate mem for an object or simple type. Is it
> possible to allocate all my memory e.g. 48MB or are there some limits. If
> there are limits what sould I do to allocate more mem.
Is possible and impossible ;-)
Under W95:
You can't have more than 64Mb of DPMI memory and:
1) W95 doesn't allow to allocate more than the half of the memory in one call,
so no more than 32Mb will be provided.
2) Allocating 48Mb with v2.01 will need 64Mb and that doesn't let space for
the EXE.
So under W95 is impossible.
Under DOS+CWSDPMI:
If you have enough free disk, yes is possible.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -