Re: z-machine memory map query


13 Nov 1995 18:44:05 GMT

Richard Barnett <richard@wg.icl.co.uk> wrote:
> The dynamic memory area must therefore include property and attribute
> data for all the objects; so if it's less than 64k, doesn't this place
> a limit on the number of objects which can be accommodated (contrary
> to what is stated elsewhere)?

Yes, a limit is placed on the number of objects by the size of the
dynamic data area (aka "save area"). Objects are stored in a highly
compressed form (six bytes for the attributes and about three bytes per
property) so it would be a complicated object that required more than 50
bytes to store. I would guess that you might begin to be in trouble if
you had more than 1500 objects.

Try compiling with the -p option to see how large the save area is.

-- 
Gareth Rees