I'm having trouble programmatically determining how much memory is in the computer.
For the original Macintosh and later systems not running MultiFinder, the answer seems to be the
For the original Macintosh and later systems not running MultiFinder, the answer seems to be the
TopMem() function, which returns the _MemTop global variable. However when running MultiFinder it returns the end of the current program's address space, not the machine's.Gestalt has the gestaltPhysicalRAMSize and gestaltLogicalRAMSize selectors I could use, but Gestalt is only in System 6.0.4 and later. What do I do for System 6.0.3 and earlier when running MultiFinder?