This section explains the SD Card Archive that is prepared by default in the file system.
Basic SD Card archive operations are shown below.
sdmc
.FS_InitFatDriver
function is called.FS_RESULT_UNSUPPORTED
will be returned if such functions are called.)Because the memory space within SD Cards is not in NitroROM format, the internal implementation of archives does not use the sort of procedure mechanism used for ROM archives. As a result, it supports several new functions that did not exist in NITRO-SDK. On the other hand, it does not support several existing functions. The FS functions that can be used with SD Card archives are shown below.
Usable Function |
Unusable Function |
Functions | Comments |
FS_OpenFileEx (FS_OpenFile) | |
FS_OpenFileFast | Commands that use file IDs are not supported. |
FS_ConvertPathToFileID | |
FS_CloseFile | |
FS_OpenFileDirect | Commands that directly access a device's address space are not supported. |
FS_GetFileImageTop | |
FS_GetFileImageBottom | |
FS_GetFileLength | |
FS_SetFileLength | |
FS_GetFilePosition | |
FS_SeekFile FS_SeekFileToBegin FS_SeekFileToEnd | |
FS_ReadFile | |
FS_ReadFileAsync | |
FS_WriteFile | |
FS_WriteFileAsync | |
FS_FlushFile | |
FS_OpenDirectory (FS_FindDir) | |
FS_ReadDirectory (FS_ReadDir) | |
FS_CloseDirectory | |
FS_TellDir | Commands that use directory IDs are not supported. |
FS_SeekDir | |
FS_RewindDir | |
FS_GetPathName | Commands that search through handles for a path name are not supported. |
FS_GetPathLength | |
FS_CreateFile | |
FS_DeleteFile | |
FS_RenameFile | |
FS_CreateDirectory | |
FS_DeleteDirectory | |
FS_RenameDirectory |
2009/02/27 Corrected the text regarding the behavior of asynchronous functions.
2008/07/14 Made slight revision to text regarding archive name.
2007/09/26 Initial version.
CONFIDENTIAL