OSGetPhysicalMem1Size

Syntax

#include <revolution/os.h>

u32 OSGetPhysicalMem1Size(void);

#define OSGetPhysicalMemSize OSGetPhysicalMem1Size

Arguments

None.

Return Values

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

Description

Gets 24 MB (0x01800000), which is the size of the internal main memory (MEM1) that is implemented on the machine. The size of internal main memory is 24MB for both development hardware and mass-produced models.

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

See Also

OSGetConsoleSimulatedMem1Size, OSGetPhysicalMem2Size, OSGetConsoleSimulatedMem2Size

Revision History

2007/10/31 Corrected an error in the Syntax.
2006/03/01 Initial version.


CONFIDENTIAL