OSGetConsoleSimulatedMem2Size

Syntax

#include <revolution/os.h>

u32 OSGetConsoleSimulatedMem2Size(void);

Arguments

None.

Return Values

The size of external main memory (MEM2) that simulates a console. One of 0x04000000 (64Mbyte) or 0x08000000 (128Mbyte).

Description

Gets the size of external memory (MEM2) that simulates a console. The development machine can have more external memory than the production version to make game development easier. However, as game development nears the end, developers may want to use the same memory map as the actual system. For this purpose, we plan to provide a feature that simulates the memory map of the actual system. (Note: This feature is not provided with SDK 1.0.) This function gets the size of the external main memory (MEM2) that instructs the system to simulate.

See Also

OSGetPhysicalMem1Size, OSGetConsoleSimulatedMem1Size, OSGetPhysicalMem2Size

Revision History

2006/03/01 Initial version.


CONFIDENTIAL