MCS Demos

# Multiple Channel Stream Library Demos

## Location

`$NitroSystem/build/demos/mcs`

## Compilation

### For the Nintendo DS Program

Move to the `$NitroSystem/build/demos/mcs` and enter:

> `% make`

Executable (`.nef`, `.srl`) files will be generated in

> `$NitroSystem/build/demos/mcs/(sample name)/nitro/bin/(platform)/(target)/`

For example:

> `$NitroSystem/build/demos/mcs/basic/nitro/bin/ARM9-TS/Release/`

The MCS library is used for debugging, so the (platform) directory does not normally operate the "Rom" executable file.

### For the Windows Program

In order to compile a Windows program, you must have "Visual C++ .NET 2003" or higher installed.

Go to the `$NitroSystem/build/demos/mcs/(sample name)/win` directory and open the (sample).sln file.

> `$NitroSystem/build/demos/mcs/(sample name)/win/(target)/`

For example:

> `$NitroSystem/build/demos/mcs/basic/win/Release/`

## Execution

1. Start up the mcs server and connect it with the Nintendo DS hardware.

2. Open the `.srl` file in the `$NitroSystem/build/demos/mcs/(sample name)/bin/(platform)/(target)` directory. After a moment, the program will start up on the Nintendo DS hardware.

3. For a "basic" sample, you must also execute the Windows program in the `$NitroSystem/build/demos/mcs/basic/win/(target)` directory.

## Description

`basic` (DS source ) (Windows source) | Moves the picture displayed on the Nintendo DS BG screen in accordance with the coordinate data sent from the Windows program side. If one Windows program has been started, the picture will scroll from side to side. If two Windows programs have been started, the picture will scroll diagonally.
`file_io` (DS source) | Loads the file from the PC, then after its contents have been inverted, writes a new file back to the PC.

## Operating Environment

Normal operation for all of the samples using the IS-NITRO-EMULATOR and ensata have been confirmed.

## See Also

`An Overview of the MCS Functions`

## Revision History

04/04/2005 Corrected error in directory path
01/28/2005 Initial version.