ENV Demos

# Environment Resource Sample Demos

## Location

`$TwlSDK/build/demos/env`

## Compilation

Move to the `$TwlSDK/build/demos/env` directory and enter the following:

> `% make`

The SRL executable file and the NEF or TEF files with binary information are created in `$TwlSDK/build/demos/env/(sample name)/bin/(platform)/(target)/`.

> ``

For example:

> `$TwlSDK/build/demos/env/env-1/bin/ARM9-TS/Release/main.srl`

will be the executable file for the `env-1` 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 | Directories | Operation
--- | --- | ---
`env-1` | `demos` | Demo obtains and displays the resource from the resource set.

## Operation

Operates normally in all operating environments.

## See Also

`ENV function list`

## Revision History

2008/07/11 Changed descriptions to support TWL.
2005/09/08 Initial version.

CONFIDENTIAL