$REVOLUTION_SDK_ROOT/build/demos/hio2demo
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.
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/.
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.
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:
ndrun script, using the .elf file as an argument.ide with the .elf file as an argument.| 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. |
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