1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<title>NAND Sample Demos</title> 9</head> 10 11<body> 12 13<H1>NAND Library Sample Demo Programs</H1> 14 15<H2>Location</H2> 16<p> 17<CODE>$REVOLUTION_SDK_ROOT/build/demos/nanddemo</CODE> 18</p> 19 20<H2>Description</H2> 21<TABLE border="1"> 22 <TBODY> 23 <TR> 24<TD width="120"><EM><STRONG><CODE>basic</CODE></STRONG></EM></TD> 25<TD width="520">This sample demo program is for learning the basic usage of the NAND API. It shows how to create, open, write, seek, read, close, and delete a file.</TD> 26 </TR> 27 <TR> 28<TD width="120"><EM><STRONG><CODE>directory</CODE></STRONG></EM></TD> 29<TD width="520">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.</TD> 30 </TR> 31 <TR> 32<TD width="120"><EM><STRONG><CODE>async</CODE></STRONG></EM></TD> 33<TD width="520">This sample demo program shows an example of how to use asynchronous functions.</TD> 34 </TR> 35 <TR> 36<TD width="120"><EM><STRONG><CODE>gamesave</CODE></STRONG></EM></TD> 37<TD width="520">This is a simple sample demo program that can display the content of a save data directory, delete files, etc.</TD> 38 </TR> 39 <TR> 40 <TD width="120"><EM><STRONG><CODE>safe</CODE></STRONG></EM></TD> 41 <TD width="520">This demo program shows that a file update can be terminated in an incomplete state. However, the demo also introduces a method for avoiding this problem using the functions <CODE>NANDSafeOpen()</CODE> and <CODE>NANDSafeClose()</CODE>. </TD> 42 </TR> 43 </TBODY> 44</TABLE> 45 46<H2>See Also</H2> 47<p><a href="../toc.html">NAND Functions</a></p> 48 49<H2>Revision History</H2> 50<p> 5106/16/2006 Initial version. <br> 8/15/2006 Added the sample demo safe.<br> 52</p> 53 54<hr> 55<P>CONFIDENTIAL</p> 56</BODY> 57</HTML>