CTRDG Demos

# Game Pak Sample Demo

## Location

`$NitroSDK/build/demos/ctrdg`

## Compilation

Move to `$NitroSDK/build/demos/ctrdg` directory, and input:

> `% make`

The run file (`.nef`, `.srl` file) is created below the following directory:

> `$NitroSDK/build/demos/ctrdg/sample_name/bin/platform/target/`

For example,

> `$NitroSDK/build/demos/ctrdg/pullout-1/bin/ARM9-TS/Release/`

## Execution

Move to the `$NitroSDK/build/demos/ctrdg/sample_name/bin/platform/target/` directory and do one of the following:

- Run `*.nef` and `*.srl` with ensata.
- Run `*.srl` with TEG version of IS-NITRO-EMULATOR.
- Load and run the `*.nlf` file with IS-NITRO-DEBUGGER.
- Run `*.srl` with IS-NITRO-DEBUGGER.

## Description

`pullout-1` | Detects removal of Game Pak and Game Card, displays warning message, and stops.

## Operation

In ensata, `pullout-1` does not operate normally.

## See Also

CTRDG List of Functions

## Revision History

09/21/2004 Initial version