$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 Explorer if the path has not been configured.
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 single Wii console and a single PC. The dual demo was designed to use EXI0 for communication from the NDEV to the PC via one channel, and MrEXI for communication from the PC to the NDEV via a separate channel. However, because the current hardware does not support transfers using EXI0, only unidirectional communication from the PC to the NDEV works. |
| multi.exe/multi.elf | Demo for communicating between multiple Wii consoles and a single PC. Although the multi demo is meant to work with multiple NDEV consoles connected to a single PC, at this time the demo has not been verified to operate when multiple NDEV units are connected.When one NDEV is connected, the demo is meant to operate in the opposite way of dual: it uses EXI0 for communication from the PC to the NDEV, and MrEXI for communication from the NDEV to the PC. However, for the reason mentioned above, currently only unidirectional communication from the NDEV to the PC works. |
2010/06/17 Added information about the hio2demo demos, dual and multi.
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