Discussion
The default N64 main memory size is 4 MB. However, with the Memory Pak, the N64 can have 8 MB of main memory. The osGetMemSize() function alters the expansion area but does not alter the original 4 MB N64 area. Therefore, the expansion area should not be used until this function is called to confirm that a Memory Pak is present.
Note: Games which do not use the 4 MB Memory Pak must still operate when the 4 MB Memory Pak is installed in the Control Deck.