Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!husc6!bbn!uwmcsd1!ig!agate!ucbvax!decwrl!nsc!voder!apple!dan From: dan@Apple.COM (Dan Allen) Newsgroups: comp.sys.mac.programmer Subject: Re: MemTop and MultiFinder Message-ID: <12595@apple.Apple.COM> Date: 21 Jun 88 17:42:25 GMT References: <231@hodge.UUCP> Reply-To: dan@apple.apple.com.UUCP (Dan Allen) Organization: Apple Computer Inc, Cupertino, CA Lines: 22 In article <231@hodge.UUCP> thecloud@pnet06.cts.com (Ken Mcleod) writes: > How do I determine how much RAM is installed in the machine I am >running on under MultiFinder? I can't get this info through MemTop >anymore. There are potentially dangerous ways, involving assumptions >about the address of the screen base, etc., and I suppose I could >always write an INIT to save off MemTop before MultiFinder gets its >hands on it, but there has to be a good "new method." This "feature" of MultiFinder is one of the most brain-damaged aspects of MultiFinder: changing MemTop. And not only do they change it (to help with compatibility with one or two apps), they FORGOT to document their call that returns the right value. I've yelled and yelled, but they won't leave MemTop alone... Here's the call as a Pascal inline: FUNCTION MFMemTop: LongInt; INLINE $3F3C,$0016,$A88F; Have a nice day. And if Erich and/or Phil are listening, (and they are both my friends, or at least were!) FIX MEMTOP!!! Dan Allen