[comp.sys.mac.programmer] Detecting memory beyond 8mb under current Mac OS?

maymudes@husc4.HARVARD.EDU (David M. Maymudes) (03/15/89)

With all of the people who are selling 4mb SIMMs now, it is quite possible
for a MacII(c)(x) owner to have up to 32 Meg of memory installed.  In 24-bit
addressing mode, you can't address more than 8Mb of RAM.  If you switch to
32-bit mode, you can access all of your RAM.  But whatever Mac OS call is 
supposed to tell you where the top of memory is will report at most 8MB as
present.

Is there any way, short of actually testing by brute force, to determine
how much memory is in the machine?  (For example, a global variable that
recorded the size of the SIMMs in each bank?)


						--David Maymudes

maymudes%husc4@harvard.ARPA	maymudes@husc4.harvard.edu
maymudes@husc4.UUCP		maymudes@HARVUNXU.BITNET
..{seismo, harpo, ihnp4, linus, allegra, ut-sally}!harvard!husc4!maymudes
davidm@harvarda.BITNET