Wii Console NAND Memory (NAND) Sample Demos

Location

$REVOLUTION_SDK_ROOT/build/demos/nanddemo

Compilation

Navigate to the $REVOLUTION_SDK_ROOT/build/demos/nanddemo directory and enter "make". Executable (.elf) files will be generated under the path $REVOLUTION_SDK_ROOT/RVL/bin/demos/nanddemo.

Execution

Navigate to the $REVOLUTION_SDK_ROOT/RVL/bin/demos/nanddemo directory and perform the following steps.

Description

basic This sample demo program is for learning the basic usage of NAND functions. It shows how to create, open, write, seek, read, close and delete a file.
directory This sample demo program is for learning directory operations. It shows how to display the contents of a directory, create/delete directories, and get/move the current directory.
async This sample demo program shows an example of how to use asynchronous functions.
gamesave This is a simple sample demo program that can display the contents of a save data directory, delete the files, and so on.
safe This demo program shows that a file update can be terminated in an incomplete state. However, a workaround for this problem is introduced, using the NANDSimpleSafeOpen and NANDSimpleSafeClose functions.
check Shows an example of using the NANDCheck function.
banner Demonstrates the procedures for creating a banner file. Includes a sample .tga file used as the banner's raw image and a sample .tcs script file for the TexConv tool, located in the ./tpl folder.
cancel Shows error processing code that is applicable when NANDSimpleSafe-related functions are in use.

See Also

NAND Function List

Revision History

2007/05/09 Added the cancel demo.
2006/10/25 Added information about the banner sample demo. Added links.
2006/09/19 Added the banner sample demo.
2006/09/07 Added the check sample demo.
2006/08/15 Added the safe sample demo.
2006/06/16 Initial version.


CONFIDENTIAL