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>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</P>
17<BLOCKQUOTE><CODE>% make</CODE></BLOCKQUOTE>
18<P>&nbsp;Compiling will begin, and the SRL executable file and the NEF or TEF files having binary information will be generated in <CODE>$TwlSDK/build/demos/gx/tips/(sample name)/bin/(platform)/(target)/</CODE>.</P>
19
20<P>For example:</P>
21<BLOCKQUOTE><CODE>$TwlSDK/build/demos/tips/MultiLink/bin/ARM9-TS/Release/main.srl</CODE></BLOCKQUOTE>
22<P>will be 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 a 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 a 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 a 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 a 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 a 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"><CODE>BuildFinalRom</CODE></TD>
72<TD><CODE>demos</CODE></TD>
73<TD width="525">This demo 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 TWL_FINALROM is defined.</TD>
74    </TR>
75    <TR>
76<TD width="187"><CODE>MultiLink</CODE></TD>
77<TD><CODE>demos</CODE></TD>
78<TD width="525">This sample process compiles source files in their respective multiple sub-directories and links them in the parent directory.</TD>
79    </TR>
80    <TR>
81<TD width="187"><CODE>MyBuildMessages</CODE></TD>
82<TD><CODE>demos</CODE></TD>
83<TD width="525">This demo changes messages for individual build-time commands such as CC and LD.</TD>
84    </TR>
85    <TR>
86<TD width="187"><CODE>SwapCrossOver</CODE></TD>
87<TD><CODE>demos</CODE></TD>
88<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>
89    </TR>
90    <TR>
91<TD width="187"><CODE>NTRBanner</CODE></TD>
92<TD><CODE>demos</CODE></TD>
93<TD width="525">This demo converts a source image into an NTR banner and embeds it in ROM.</TD>
94    </TR>
95    <TR>
96<TD width="187"><CODE>TWLBanner_anim1</CODE></TD>
97<TD><CODE>demos.TWL</CODE></TD>
98<TD width="525">This demo converts source Nitro-Character data into an animated TWL banner and embeds it in ROM.</TD>
99    </TR>
100    <TR>
101<TD width="187"><CODE>TWLBanner_anim2</CODE></TD>
102<TD><CODE>demos.TWL</CODE></TD>
103<TD width="525">This demo converts a source comprising 8 bitmap files and an XML file into an animated TWL banner and embeds it in ROM.</TD>
104    </TR>
105    <TR>
106<TD width="187"><CODE>TWLBanner_image</CODE></TD>
107<TD><CODE>demos.TWL</CODE></TD>
108<TD width="525">This demo converts a source image into a still-image TWL banner and embeds it in ROM.</TD>
109    </TR>
110  </TBODY>
111</TABLE>
112<H2>Operation</H2>
113<P>The <CODE>MultiLink</CODE> demo is related to the linking process.<BR>The <CODE>SwapCrossOver</CODE> demo will not work properly with <CODE>ensata</CODE>.<BR> <CODE>NTRBanner</CODE> functions normally only when using NITRO ROM.</P>
114<H2>See Also</H2>
115<H2>Revision History</H2>
116<P>
1172008/09/29 Added a banner demo.<BR> 2008/07/11 Changed descriptions corresponding to TWL.<BR> 2005/03/02 Revised descriptions to meet the conditions of the currently supported environment.<BR> 2004/08/17 Standardized the notation used for IS-NITRO-EMULATOR.<BR> 2004/07/10 Initial version.</P>
118<BR>
119<hr><p>CONFIDENTIAL</p></body>
120</HTML>