OSGetConsoleSimulatedMem1Size

C Specification

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

Arguments

None.

Return Values

The size of internal main memory (MEM1) that simulates a console. Normally 0x018000000 (24Mbyte).

Description

Gets the size of the internal main memory (MEM1) that simulates a console. With Revolution, the size of internal main memory is the same for the development machine and the production machine, and the value returned by this function is always equal to the value returned by OSGetPhysicalMem1Size.

To maintain backward compatibility, it is also defined as the name OSGetConsoleSimulatedMemSize.

See Also

OSGetPhysicalMem1Size, OSGetConsoleSimulatedMem2Size, OSGetPhysicalMem2Size

Revision History

03/01/2006 Initial version.