Host I/O (HIO2) Sample Demos

Location

$REVOLUTION_SDK_ROOT/build/demos/hio2demo

Compilation

Each demo consists of two parts: the target side and the host side.

Microsoft Visual Studio 2005 or later is required to build an executable program for the host.

Target

Change directories to $REVOLUTION_SDK_ROOT/build/demos/hio2demo and enter "make". The executable programs (.elf files) will be generated under $REVOLUTION_SDK_ROOT/build/demos/hio2demo/bin/RVL/.

Host

Change directories to $REVOLUTION_SDK_ROOT/build/demos/hio2demo and enter make X86 = TRUE. The executables (.exe files) will be generated under $REVOLUTION_SDK_ROOT/X86/hio2demo/.

Pre-built sample programs are available under

$REVOLUTION_SDK_ROOT/RVL/bin/demos/hio2demo/ (Target side)
$REVOLUTION_SDK_ROOT/X86/hio2demo/ (Host side)

These files are overwritten when you compile the demos.

Execution

To run an application on the host side, move to $REVOLUTION_SDK_ROOT/X86/hio2demo/ in the bash shell called from RVL_NDEV.bat, and execute the .exe file.

Note: This must be done because these programs use dll files in the /X86/bin/ portion of the SDK install directories, and because path settings are made inside RVL_NDEV.bat. Note that applications cannot be started from Explore or under other conditions where the path has not been set.

To run the target side application, go to $REVOLUTION_SDK_ROOT/build/demos/hio2demo/bin/RVL/ and do one of the following:

Description

simple.exe/simple.elf Sample on using HIO2.
dual.exe/dual.elf Demo for communicating between a stand-alone Wii and a stand-alone PC.
multi.exe/multi.elf Demo for communicating between multiple Wii consoles and a stand-alone PC.

See Also

Host I/O(HIO2) API

Revision History

2008/07/22 Explicitly stated the compiler versions that can build a program for the host.
2006/04/07 Revised the description about starting the PC-side hio2demo program.
2006/03/01 Initial version.


CONFIDENTIAL