This chapter describes the "ROM Archive" that is provided by default in the file system.
Basic ROM archive operations are shown below.
FS_Init function is called.
A ROM archive implementation is shown below.
[Read callback]The CARD_ReadRomAsync function reads CARD ROM data. It returns FS_RESULT_PROC_ASYNC when the process begins, and on completion responds with FS_RESULT_SUCCESS.
Not supported. Always returns FS_RESULT_FAILURE.
FS_COMMAND_ACTIVATE |
In order to access the CARD ROM that will follow, calls CARD_LockRom. |
FS_COMMAND_IDLE |
In conjunction with the end of CARD ROM access, calls CARD_UnlockRom. |
FS_COMMAND_WRITEFILE |
This command is not supported. Will always return FS_RESULT_UNSUPPORTED. |
| Other | Returns FS_RESULT_PROC_UNKNOWN, and leaves everything to the default command implementation. |
FSArchive, FS_ARCHIVE_PROC_FUNC, FS_SetArchiveProc
09/24/2004 Initial version