1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../css/nitro.css"> 8<TITLE>CTRDG Demos</TITLE> 9</HEAD> 10<BODY> 11<H1>Game Pak Sample Demo</H1> 12<H2>Location</H2> 13<P><CODE>$TwlSDK/build/demos/ctrdg</CODE></P> 14<H2>Compilation</H2> 15<P>Move to the <CODE>$TwlSDK/build/demos/ctrdg</CODE> directory and enter the following:</P> 16<BLOCKQUOTE><CODE>% make</CODE></BLOCKQUOTE> 17<P> The <CODE>SRL</CODE> executable file and the <CODE>NEF</CODE> or <CODE>TEF</CODE> files having binary information are created in <CODE>$TwlSDK/build/demos/ctrdg/(sample name)/bin/(platform)/(target)/</CODE>.</P> 18<BLOCKQUOTE><CODE></CODE></BLOCKQUOTE> 19<P> For example:</P> 20<BLOCKQUOTE><CODE>$TwlSDK/build/demos/ctrdg/pullout-1/bin/ARM9-TS/Release/main.srl</CODE></BLOCKQUOTE> 21<P>will be the executable file for the <CODE>pullout-1</CODE> demo.</P> 22 23<H2>Execution</H2> 24<H3>For NITRO ROMs:</H3> 25 26<P>If using IS-NITRO-DEBUGGER:</P> 27<UL> 28<LI>Load and execute an NLF file with IS-NITRO-DEBUGGER. 29<LI>Execute an SRL file with IS-NITRO-DEBUGGER 30<LI>Execute an SRL file with IS-NITRO-DEBUGGER using the <CODE>loadrun.exe</CODE> tool from a command line. 31</UL> 32<H3>For TWL/NITRO HYBRID ROMs:</H3> 33<P>If using IS-NITRO-DEBUGGER:</P> 34<UL> 35<LI>Execute an SRL file with IS-NITRO-DEBUGGER 36<LI>Execute an SRL file with IS-NITRO-DEBUGGER using the <CODE>loadrun.exe</CODE> tool from a command line. 37</UL> 38 39<H2>Description</H2> 40<BR> 41<TABLE width="720"> 42 <TBODY> 43 <TR> 44<TH>Name</TH> 45<TH>Directories</TH> 46<TH>Operation</TH> 47 </TR> 48 <TR> 49<TD width="187"><CODE>pullout-1</CODE></TD> 50<TD><CODE>demos</CODE></TD> 51<TD width="525">Detects removal of Game Pak and Game Card, displays warning message, and stops.</TD> 52 </TR> 53 <TR> 54<TD width="187"><CODE>backup-1</CODE></TD> 55<TD><CODE>demos</CODE></TD> 56<TD width="525">Accesses the AGB backup device using the CTRDG library.</TD> 57 </TR> 58 </TBODY> 59</TABLE> 60<H2>Operation</H2> 61<P>The CTRDG library demos will only work with IS-NITRO-DEBUGGER.</P> 62<H2>See Also</H2> 63<P><A href="../../ctrdg/list_ctrdg.html"><CODE>CTRDG List of Functions</CODE></A></P> 64<H2>Revision History</H2> 65<P> 662008/07/11 Changed descriptions to support TWL.<br>2006/04/06 Added the <CODE>backup-1</CODE> sample demo<br /> 2005/03/02 Revised descriptions to reflect current support environment conditions.<br /> 2004/09/21 Initial version. 67</P> 68<hr><p>CONFIDENTIAL</p></body> 69</HTML>