Size of the Main memory (DRAM)
#include <ultra64.h> /* ultra64.h */ s32 osMemSize;
The osMemSize variable indicates the size in bytes of the installed main memory (DRAM).
Use osGetMemSize to check the size of the RDRAM expansion area.
At the present time, there are no conditions under which you would need to use osMemSize.
1999/06/15 Completely rewritten