1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//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<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<title>OSGetPhysicalMem1Size</title>
9</head>
10
11<body>
12
13<h1>OSGetPhysicalMem1Size</h1>
14
15
16<h2>C Specification</h2>
17
18<dl>
19  <dd><pre><code>#include &lt;revolution/os.h&gt;</code></pre>
20  </dd>
21  <dd><pre><code>u32 OSGetPhysicalMem1Size(void);</code></pre>
22  </dd>
23  <dd><pre><code>#define OSGetConsoleSimulatedMemSize OSGetConsoleSimulatedMem1Size</code></pre>
24  </dd>
25</dl>
26
27<h2>Arguments</h2>
28
29<p>None.</p>
30
31<h2>Return Values</h2>
32
33<p>Always returns 0x01800000 (the size of the Hollywood internal main memory).</p>
34<H2>Description</H2>
35<P>Gets 24 MB (0x01800000), which is the size of the internal main memory (MEM1) that is implemented on the machine. The internal main memory size is 24 MB for the production version and development machine.</P>
36
37<P>To maintain backward compatibility, this function is also defined under the name <code>OSGetPhysicalMemSize</code>. </P>
38
39
40<h2>See Also</h2>
41
42<p>
43<a href="OSGetConsoleSimulatedMem1Size.html"><code>OSGetConsoleSimulatedMem1Size</code></a>, <a href="OSGetPhysicalMem2Size.html"><code>OSGetPhysicalMem2Size</code></a>, <a href="OSGetConsoleSimulatedMem2Size.html"><code>OSGetConsoleSimulatedMem2Size</code></a>
44</p>
45
46<H2>Revision History</H2>
47<P>2006/03/01 Initial version.</P>
48<hr>
49<P>CONFIDENTIAL</p>
50</BODY>
51</HTML>