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 17<h2>C Specification</h2> 18 19<dl> 20 <dd><pre><code>#include <revolution/os.h></code></pre> 21 </dd> 22 <dd><pre><code>u32 OSGetConsoleSimulatedMem1Size(void);</code></pre> 23 </dd> 24 <dd><pre><code>#define OSGetPhysicalMemSize OSGetPhysicalMem1Size</code></pre> </dd> 25</dl> 26 27<h2>Arguments</h2> 28 29<p>None.</p> 30 31<h2>Return Values</h2> 32 33<P>The size of internal main memory (MEM1) that simulates a console. Normally 0x018000000 (24Mbyte).</P> 34<H2>Description</H2> 35<P>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 <a href="OSGetPhysicalMem1Size.html"><code>OSGetPhysicalMem1Size</code></a>.</P> 36 37<P>To maintain backward compatibility, it is also defined as the name <code>OSGetConsoleSimulatedMemSize</code>. </P> 38 39<h2>See Also</h2> 40 41<p> 42<a href="OSGetPhysicalMem1Size.html"><code>OSGetPhysicalMem1Size</code></a>, <a href="OSGetConsoleSimulatedMem2Size.html"><code>OSGetConsoleSimulatedMem2Size</code></a>, <a href="OSGetPhysicalMem2Size.html"><code>OSGetPhysicalMem2Size</code></a> 43</p> 44 45<H2>Revision History</H2> 46<P>2006/03/01 Initial version.</P> 47<hr> 48<P>CONFIDENTIAL</p> 49</BODY> 50</HTML>