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=utf-8">
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>Tips Demos</TITLE>
9</HEAD>
10<BODY>
11<H1>Other Sample Demos: Tips</H1>
12<H2>Location</H2>
13<P><CODE>$TwlSDK/build/demos/tips</CODE></P>
14
15<H2>Compilation</H2>
16<P>Move to the <CODE>$TwlSDK/build/demos/tips</CODE> directory and enter the following.</P>
17<BLOCKQUOTE><CODE>% make</CODE></BLOCKQUOTE>
18<P> The compilation begins, and the SRL executable file and the NEF or TEF files with binary information are generated in the following directory.</P>
19<BLOCKQUOTE><CODE>$TwlSDK/build/demos/tips/(sample name)/bin/(platform)/(target)/</CODE></BLOCKQUOTE>
20<P>    For example:</P>
21<BLOCKQUOTE><CODE>$TwlSDK/build/demos/tips/MultiLink/bin/ARM9-TS/Release/main.srl</CODE></BLOCKQUOTE>
22<P>is the executable file for the <CODE>MultiLink</CODE> demo.</P>
23
24<H2>Execution</H2>
25<H3>For NITRO ROMs</H3>
26<P>If using the Ensata emulator:</P>
27<UL>
28<LI>Execute NEF and SRL files with ensata
29</UL>
30<P>If using IS-NITRO-DEBUGGER:</P>
31<UL>
32<LI>Load and execute an NLF file with IS-NITRO-DEBUGGER
33<LI>Execute an SRL file with IS-NITRO-DEBUGGER
34<LI>Execute an SRL file with IS-NITRO-DEBUGGER using the <CODE>loadrun.exe</CODE> tool from the command line
35</UL>
36<P>If using IS-TWL-DEBUGGER:</P>
37<UL>
38<LI>Load and execute an NLF file with IS-TWL-DEBUGGER
39<LI>Execute an SRL file with IS-TWL-DEBUGGER
40<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from the command line
41</UL>
42<H3>For TWL/NITRO HYBRID ROMs</H3>
43<P>If using IS-NITRO-DEBUGGER:</P>
44<UL>
45<LI>Execute an SRL file with IS-NITRO-DEBUGGER
46<LI>Execute an SRL file with IS-NITRO-DEBUGGER using the <CODE>loadrun.exe</CODE> tool from the command line
47</UL>
48<P>If using IS-TWL-DEBUGGER:</P>
49<UL>
50<LI>Load and execute a TLF file with IS-TWL-DEBUGGER
51<LI>Execute an SRL file with IS-TWL-DEBUGGER
52<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from the command line
53</UL>
54<H3>For TWL LIMITED ROMs</H3>
55<P>If using IS-TWL-DEBUGGER:</P>
56<UL>
57<LI>Load and execute a TLF file with IS-TWL-DEBUGGER
58<LI>Execute an SRL file with IS-TWL-DEBUGGER
59<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from the command line
60</UL>
61
62<H2>Description</H2>
63<TABLE width="720">
64  <TBODY>
65    <TR>
66<TH>Name</TH>
67<TH>Directory</TH>
68<TH>Operation</TH>
69    </TR>
70    <TR>
71<TD width="187"><EM><STRONG><CODE>BuildFinalRom</CODE></STRONG></EM></TD>
72<TD><CODE>demos</CODE></TD>
73<TD width="525">Shows an example of the process that incorporates files that need to be included in the final ROM. For building from the upper directory, this directory is built only when <CODE>TWL_FINALROM</CODE> is defined.</TD>
74    </TR>
75    <TR>
76<TD width="187"><EM><STRONG><CODE>DisplayLogo</CODE></STRONG></EM></TD>
77<TD><CODE>demos</CODE></TD>
78<TD width="525">Shows a sample display of the Licensed by Nintendo logo with gray letters on a white background. During display, further display can be skipped by pressing the A Button.</TD>
79    </TR>
80    <TR>
81<TD width="187"><EM><STRONG><CODE>MultiLink</CODE></STRONG></EM></TD>
82<TD><CODE>demos</CODE></TD>
83<TD width="525">Compiles source files in their respective multiple subdirectories and links them in the parent directory.</TD>
84    </TR>
85    <TR>
86<TD width="187"><EM><STRONG><CODE>MyBuildMessages</CODE></STRONG></EM></TD>
87<TD><CODE>demos</CODE></TD>
88<TD width="525">Changes messages for individual build-time commands such as CC and LD.</TD>
89    </TR>
90    <TR>
91<TD width="187"><EM><STRONG><CODE>SwapCrossOver</CODE></STRONG></EM></TD>
92<TD><CODE>demos</CODE></TD>
93<TD width="525">Use this procedure to check for process omissions in 3D screen drawing processes. It sends dummy polygons to the graphics engine and checks by counting polygons.</TD>
94    </TR>
95    <TR>
96<TD width="187"><EM><STRONG><CODE>NTRBanner</CODE></STRONG></EM></TD>
97<TD><CODE>demos</CODE></TD>
98<TD width="525">Converts a source image into an NTR banner and embeds it in ROM.</TD>
99    </TR>
100    <TR>
101<TD width="187"><EM><STRONG><CODE>TWLBanner_anim1</CODE></STRONG></EM></TD>
102<TD><CODE>demos.TWL</CODE></TD>
103<TD width="525">Converts source Nitro-Character data into an animated TWL banner and embeds it in ROM.</TD>
104    </TR>
105    <TR>
106<TD width="187"><EM><STRONG><CODE>TWLBanner_anim2</CODE></STRONG></EM></TD>
107<TD><CODE>demos.TWL</CODE></TD>
108<TD width="525">Converts a source comprising 8 bitmap files and an XML file into an animated TWL banner and embeds it in ROM.</TD>
109    </TR>
110    <TR>
111<TD width="187"><EM><STRONG><CODE>TWLBanner_image</CODE></STRONG></EM></TD>
112<TD><CODE>demos.TWL</CODE></TD>
113<TD width="525">Converts a source image into a still-image TWL banner and embeds it in ROM.</TD>
114    </TR>
115  </TBODY>
116</TABLE>
117<H2>Operation</H2>
118<P><CODE>The <CODE>MultiLink</CODE> demo is related to the linking process.<BR>The <CODE>SwapCrossOver</CODE> demo does not work properly with Ensata.<BR> <CODE>NTRBanner</CODE> functions normally only when using NITRO ROM.</CODE></P>
119<H2>See Also</H2>
120<H2>Revision History</H2>
121<P>
1222009/11/10 Added a DisplayLogo demo.<BR>2008/09/29 Added a banner demo.<BR>2008/07/11 Changed the description to match TWL.<BR>2005/03/02 Revised the description to match current support environment conditions.<BR>2004/08/17 Standardized the notation for IS-NITRO-EMULATOR.<BR>2004/07/10 Initial version.</P>
123<BR>
124<hr><p>CONFIDENTIAL</p></body>
125</HTML>