tedj@hpcilzb.HP.COM (Ted Johnson) (02/27/88)
What is the proper way to calculate the total amount of RAM installed on a Macintosh? I was using the following: long totalRAM; totalRAM = (long)TopMem()/1024; This worked fine with System/Finder 4.1/5.5, but gives me too small of a number (e.g., 179 instead of 1024) when run under MultiFinder. BTW, I'm doing this from inside a DA. Any pointers/clues are much appreciated! -Ted