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>Rumble Pak Sample Demo</H1> 12<H2>Location</H2> 13<P><CODE>$TwlSDK/build/demos/vib</CODE></P> 14<H2>Compilation</H2> 15<P>Move to the <CODE>$TwlSDK/build/demos/vib</CODE> directory and enter the following:</P> 16<BLOCKQUOTE><CODE>% make</CODE></BLOCKQUOTE> 17<P> 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/vib/(sample name)/bin/(platform)/(target)/</CODE>.</P> 18<BLOCKQUOTE></BLOCKQUOTE> 19<P> For example:</P> 20<BLOCKQUOTE><CODE>$TwlSDK/build/demos/vib/pulse_vib/bin/ARM9-TS/Release/main.srl</CODE></BLOCKQUOTE> 21<P>will be the executable file for the <CODE>pulse_vib</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 41<TABLE width="720"> 42 <TBODY> 43 <TR> 44<TH>Name</TH> 45<TH>Directory</TH> 46<TH>Operation</TH> 47 </TR> 48 <TR> 49<TD width="187"><CODE>pulse_vib</CODE></TD> 50<TD><CODE>demos</CODE></TD> 51<TD width="525">Sample that allows any pulse to be generated for the Rumble Pak.</TD> 52 </TR> 53 </TBODY> 54</TABLE> 55 56<H2>Operation</H2> 57<P>The <CODE>pulse_vib</CODE> demo works properly only with the IS-NITRO-DEBUGGER.</P> 58<H2>See Also</H2> 59<P><A href="../../vib/list_vib.html">VIB Function List</A></P> 60<H2>Revision History</H2> 61<P> 622008/07/11 Changed descriptions to support TWL.<BR> 2006/03/02 Initial version.<BR> 63</P> 64<hr><p>CONFIDENTIAL</p></body> 65</HTML>