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>OSEnableCodeExecOnMEM2Lo8MB</title> 10</head> 11 12<body> 13 14<h1>OSEnableCodeExecOnMEM2Lo8MB</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20void OSEnableCodeExecOnMEM2Lo8MB( void ); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<p>None.</p> 25 26<h2>Return Values</h2> 27<p>None.</p> 28 29<H2>Description</H2> 30<P> 31Allows the execution of code located in the first 8MB of external main memory (MEM2 region). 32</P> 33<P> 34The OS prohibits execution of code in the MEM2 region by default. An ISI exception is generated if an attempt is made to execute code in the MEM2 region. This function changes this setting to allow the execution of code in the first 8MB of memory. 35</P> 36<P> 37This function must be executed ahead of time to expand executable code in the MEM2 region using the RSO library, etc. If a region of memory 8MB or larger is needed to expand code, <CODE><a href="OSEnableCodeExecOnMEM2Lo16MB.html">OSEnableCodeExecOnMEM2Lo16MB</a></CODE> is available. 38</P> 39 40<h2>See Also</h2> 41<P class="reference"> 42<a href="OSDisableCodeExecOnMEM1Hi8MB.html">OSDisableCodeExecOnMEM1Hi8MB</a> 43<a href="OSDisableCodeExecOnMEM1Hi16MB.html">OSDisableCodeExecOnMEM1Hi16MB</a> 44<a href="OSEnableCodeExecOnMEM2Lo16MB.html">OSEnableCodeExecOnMEM2Lo16MB</a> 45</p> 46 47<H2>Revision History</H2> 48<P> 492008/01/17 Initial version.<br> 50</P> 51 52<hr><p>CONFIDENTIAL</p></body> 53</html>