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<h2>Syntax</h2>
16<dl><dd><pre class="construction">
17#include &lt;revolution/os.h&gt;
18
19u32 OSGetPhysicalMem1Size(void);
20
21#define OSGetPhysicalMemSize OSGetPhysicalMem1Size
22</pre></dd></dl>
23
24<h2>Arguments</h2>
25<p>None.</p>
26
27<h2>Return Values</h2>
28<p>Always returns 0x01800000 (the size of the internal main memory of Hollywood).</p>
29
30<H2>Description</H2>
31<P>Gets 24 MB (0x01800000), which is the size of the internal main memory (MEM1) that is implemented on the machine. The size of internal main memory is 24MB for both development hardware and mass-produced models.</P>
32
33<P>To maintain backward compatibility, this function is also defined under the name <code>OSGetPhysicalMemSize</code>.</P>
34
35<h2>See Also</h2>
36<P class="reference">
37<a href="OSGetConsoleSimulatedMem1Size.html">OSGetConsoleSimulatedMem1Size</a>,
38<a href="OSGetPhysicalMem2Size.html">OSGetPhysicalMem2Size</a>,
39<a href="OSGetConsoleSimulatedMem2Size.html">OSGetConsoleSimulatedMem2Size</a>
40</p>
41
42<H2>Revision History</H2>
43<P>
442007/10/31 Corrected an error in the Syntax.<br>2006/03/01 Initial version.<br>
45</P>
46
47<hr><p>CONFIDENTIAL</p></body>
48</html>