Tips Demos

# Other Sample Demos: Tips

## Location

`$TwlSDK/build/demos/tips`

## Compilation

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

> `% make`

Compiling will begin, and the SRL executable file and the NEF or TEF files having binary information will be generated in `$TwlSDK/build/demos/gx/tips/(sample name)/bin/(platform)/(target)/`.

For example:

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

will be 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 a 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 a 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 a 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 a 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 a command line

## Description

Name | Directory | Operation
--- | --- | ---
`BuildFinalRom` | `demos` | 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.
`MultiLink` | `demos` | This sample process compiles source files in their respective multiple sub-directories and links them in the parent directory.
`MyBuildMessages` | `demos` | This demo 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` | This demo converts a source image into an NTR banner and embeds it in ROM.
`TWLBanner_anim1` | `demos.TWL` | This demo converts source Nitro-Character data into an animated TWL banner and embeds it in ROM.
`TWLBanner_anim2` | `demos.TWL` | This demo 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` | This demo 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 will not work properly with `ensata`.
`NTRBanner` functions normally only when using NITRO ROM.

## See Also

## Revision History

2008/09/29 Added a banner demo.
2008/07/11 Changed descriptions corresponding to TWL.
2005/03/02 Revised descriptions to meet the conditions of the currently supported environment.
2004/08/17 Standardized the notation used for IS-NITRO-EMULATOR.
2004/07/10 Initial version.

CONFIDENTIAL