PAD Demos

# PAD Sample Demos

## Location

`$TwlSDK/build/demos/pad`

## Compilation

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

> `% make`

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

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

For example:

> `$TwlSDK/build/demos/pad/padRead/bin/ARM9-TS/Release/main.srl`

will be the executable file for the `padRead` 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
--- | --- | ---
`padRead` | `demos` | Displays pad status.

## Operation

Operates normally in all operating environments.

## See Also

`PAD Function list`

## Revision History

2008/07/11 Changed descriptions to support TWL.
2005/03/02 Revised descriptions to reflect current support environment conditions.
2004/08/17 Standardized the notation of the IS-NITRO-EMULATOR.
2004/07/10 Changed from BIN to SRL file format.
2004/01/09 Initial version.

CONFIDENTIAL