1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>OSGetConsoleSimulatedMem1Size</title> 10</head> 11 12<body> 13 14<h1>OSGetConsoleSimulatedMem1Size</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20u32 OSGetConsoleSimulatedMem1Size(void); 21 22#define OSGetConsoleSimulatedMemSize OSGetConsoleSimulatedMem1Size 23</pre></dd></dl> 24 25<h2>Arguments</h2> 26<p>None.</p> 27 28<h2>Return Values</h2> 29<P>The size of internal main memory (MEM1) that simulates a console. Normally 0x018000000 (24 MB).</P> 30 31<H2>Description</H2> 32<P>Gets the size of the internal main memory (MEM1) that simulates a console. The size of internal main memory on the Wii is the same for the development machine and the production machine, and hence the value returned by this function is always equal to the value returned by the <a href="OSGetPhysicalMem1Size.html"><code>OSGetPhysicalMem1Size</code></a> function.</P> 33 34<P>To maintain backward compatibility, it is also defined as the name <code>OSGetConsoleSimulatedMemSize</code>.</P> 35 36<h2>See Also</h2> 37<P class="reference"> 38<a href="OSGetPhysicalMem1Size.html">OSGetPhysicalMem1Size</a>, 39<a href="OSGetConsoleSimulatedMem2Size.html">OSGetConsoleSimulatedMem2Size</a>, 40<a href="OSGetPhysicalMem2Size.html">OSGetPhysicalMem2Size</a> 41</p> 42 43<H2>Revision History</H2> 44<P> 452007/10/31 Corrected an error in the Syntax.<br>2006/03/01 Initial version.<br> 46</P> 47 48<hr><p>CONFIDENTIAL</p></body> 49</html>