Tips Demos

# Other Sample Demos: Tips

## Location

`$TwlSDK/build/demos/tips`

## Compilation

Move to the `$TwlSDK/build/demos/tips` directory and enter the following.

> `% make`

The compilation begins, and the SRL executable file and the NEF or TEF files with binary information are generated in the following directory.

> `$TwlSDK/build/demos/tips/(sample name)/bin/(platform)/(target)/`

For example:

> `$TwlSDK/build/demos/tips/MultiLink/bin/ARM9-TS/Release/main.srl`

is the executable file for the `MultiLink` demo.

## Execution

### For NITRO ROMs

If using the Ensata emulator:

- Execute NEF and SRL files with ensata

If using IS-NITRO-DEBUGGER:

- Load and execute an NLF file with IS-NITRO-DEBUGGER
- Execute an SRL file with IS-NITRO-DEBUGGER
- Execute an SRL file with IS-NITRO-DEBUGGER using the `loadrun.exe` tool from the command line

If using IS-TWL-DEBUGGER:

- Load and execute an NLF file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from the command line

### For TWL/NITRO HYBRID ROMs

If using IS-NITRO-DEBUGGER:

- Execute an SRL file with IS-NITRO-DEBUGGER
- Execute an SRL file with IS-NITRO-DEBUGGER using the `loadrun.exe` tool from the command line

If using IS-TWL-DEBUGGER:

- Load and execute a TLF file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from the command line

### For TWL LIMITED ROMs

If using IS-TWL-DEBUGGER:

- Load and execute a TLF file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from the command line

## Description

Name | Directory | Operation
--- | --- | ---
`BuildFinalRom` | `demos` | 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.
`DisplayLogo` | `demos` | 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.
`MultiLink` | `demos` | Compiles source files in their respective multiple subdirectories and links them in the parent directory.
`MyBuildMessages` | `demos` | Changes messages for individual build-time commands such as CC and LD.
`SwapCrossOver` | `demos` | 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.
`NTRBanner` | `demos` | Converts a source image into an NTR banner and embeds it in ROM.
`TWLBanner_anim1` | `demos.TWL` | Converts source Nitro-Character data into an animated TWL banner and embeds it in ROM.
`TWLBanner_anim2` | `demos.TWL` | Converts a source comprising 8 bitmap files and an XML file into an animated TWL banner and embeds it in ROM.
`TWLBanner_image` | `demos.TWL` | Converts a source image into a still-image TWL banner and embeds it in ROM.

## Operation

`The `MultiLink` demo is related to the linking process.
The `SwapCrossOver` demo does not work properly with Ensata.
`NTRBanner` functions normally only when using NITRO ROM.`

## See Also

## Revision History

2009/11/10 Added a DisplayLogo demo.
2008/09/29 Added a banner demo.
2008/07/11 Changed the description to match TWL.
2005/03/02 Revised the description to match current support environment conditions.
2004/08/17 Standardized the notation for IS-NITRO-EMULATOR.
2004/07/10 Initial version.

CONFIDENTIAL