OSGetPhysicalMem1Size

C Specification

#include <revolution/os.h>
u32 OSGetPhysicalMem1Size(void);
#define OSGetConsoleSimulatedMemSize OSGetConsoleSimulatedMem1Size

Arguments

None.

Return Values

Always returns 0x01800000 (the size of the Hollywood internal main memory).

Description

Gets 24 MB (0x01800000), which is the size of the internal main memory (MEM1) that is implemented on the machine. The internal main memory size is 24 MB for the production version and development machine.

To maintain backward compatibility, this function is also defined under the name OSGetPhysicalMemSize.

See Also

OSGetConsoleSimulatedMem1Size, OSGetPhysicalMem2Size, OSGetConsoleSimulatedMem2Size

Revision History

03/01/2006 Initial version.