[comp.sys.mac] Excel Meg Limit

erics@dartvax.UUCP (Eric Schlegel) (10/01/87)

Does anyone know the exact state of the meg limit on Excel? I recall hearing    that Microsoft used 20-bit addresses in their p-code, and thus Excel can't 
address more than a meg. Would this apply to just the location of the code, or
does it mean that Excel couldn't use memory over a meg for data either?

This question is about to become very important with MultiFinder. The latest 
issue of MacWEEK states that Excel will only work under MF if it is loaded      first, presumably so that the code will fall in the first meg.

Eric
--------
Eric Schlegel		erics@u2.dartmouth.edu  BITNET
			erics@dartvax		UUCP

#include	<std_disclaimer.h>
#include	<quote.h>

loucks@intvax.UUCP (Cliff Loucks) (10/06/87)

in article <7272@dartvax.UUCP>, erics@dartvax.UUCP (Eric Schlegel) says:
> Does anyone know the exact state of the meg limit on Excel?

Someone just the other day said this limitation has been removed.

> The latest issue of MacWEEK states that Excel will only work under
> MF if it is loaded first, presumably so that the code will fall in
> the first meg.

I just loaded and ran Excel in Juggler with Versaterm and Moire
loaded first.  I don't have any huge files, but it runs fine
for me.

-- 
Cliff Loucks   [gatech | ucbvax]!unmvax!sandia!intvax!loucks
Sandia National Labs, Albuquerque, New Mexico

Poor New Mexico;  So far from Heaven, and so close to Texas.

lsr@apple.UUCP (Larry Rosenstein) (10/12/87)

In article <341@intvax.UUCP> loucks@intvax.UUCP (Cliff Loucks) writes:
>in article <7272@dartvax.UUCP>, erics@dartvax.UUCP (Eric Schlegel) says:
>
>> The latest issue of MacWEEK states that Excel will only work under
>> MF if it is loaded first, presumably so that the code will fall in
>> the first meg.
>
>I just loaded and ran Excel in Juggler with Versaterm and Moire
>loaded first.  I don't have any huge files, but it runs fine
>for me.

The reason it works is that Multifinder allocates memory for applications
starting with the top of memory and working its way down.  This makes it
possible for the system heap (which is at the low end of memory) to expand
as needed.  

I believe that Excel requires that it be loaded low in memory, and that
Multifinder contains code to accommodate this need.  Since most application
are loaded high, the low end of memory will usually be free, regardless
of the order in which application are run.

-- 
Larry Rosenstein

Object Specialist
Apple Computer

AppleLink: Rosenstein1
UUCP:  {sun, voder, nsc, mtxinu, dual}!apple!lsr
CSNET: lsr@Apple.com