![]() |
libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
|
Go to the source code of this file.
Data Structures | |
struct | EvmuRootBlock |
struct | EvmuFatUsage |
struct | EvmuFatInfo |
struct | EvmuFatClass |
struct | EvmuFat |
Typedefs | |
typedef uint16_t | EvmuBlock |
Functions | |
GblType | EvmuFat_type (void) |
EvmuFat peripheral and FAT filesystem API.
EvmuFat offers a mid-level API around the VMU's flash storage, which sits above the physical flash controller and below an actual filesystem API. The API operates at the block-level and also offers a low-level 8-bit FAT abstraction.
Definition in file evmu_fat.h.
Function-tyle GblInstance cast.
Definition at line 46 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_COUNT_DEFAULT 256 |
Default block capacity for a standard VMU.
Definition at line 59 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_DIRECTORY_DEFAULT 253 |
Default directory start block for a standard VMU.
Definition at line 66 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_DIRECTORY_ENTRIES_DEFAULT 200 |
Default number of directory entries for a standard-sized directory.
Definition at line 68 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_DIRECTORY_SIZE_DEFAULT 13 |
Default number of directory blocks for a standard VMU.
Definition at line 67 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_EXTRA_DEFAULT 200 |
Default hidden start block for a standard VMU.
Definition at line 64 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_EXTRA_SIZE_DEFAULT 31 |
Default number of hidden blocks for a standard VMU.
Definition at line 65 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_FAT_COUNT_DEFAULT 256 |
Default number of FAT entries for a standard-sized FAT
Definition at line 71 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_FAT_DAMAGED 0xffff |
FAT entry value signifying an unused, damaged block
Definition at line 92 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_FAT_DEFAULT 254 |
Default FAT start block for a standard VMU.
Definition at line 69 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_FAT_LAST_IN_FILE 0xfffa |
FAT entry value signifying the last block of a file.
Definition at line 91 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_FAT_SIZE_DEFAULT 1 |
Default number of FAT blocks for a standard VMU.
Definition at line 70 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_FAT_UNALLOCATED 0xfffc |
FAT entry value signifying an unallocated block.
Definition at line 90 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_ROOT 255 |
Default root block number for a standard VMU.
Definition at line 60 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_ROOT_SIZE 1 |
Default root size for a standard VMU.
Definition at line 61 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_SIZE 512 |
Default block size for a standard VMU.
Definition at line 58 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_USERDATA_DEFAULT 0 |
Default userdata start block for a standard VMU.
Definition at line 62 of file evmu_fat.h.
#define EVMU_FAT_BLOCK_USERDATA_SIZE_DEFAULT 200 |
Default number of userdata blocks for a standard VMU.
Definition at line 63 of file evmu_fat.h.
#define EVMU_FAT_CLASS | ( | klass | ) | (GBL_CLASS_CAST(EvmuFat, klass)) |
Function-style GblClass cast.
Definition at line 47 of file evmu_fat.h.
#define EVMU_FAT_GAME_VMS_HEADER_OFFSET 0x200 |
Offset of the VMS header from the file start for a GAME.
Definition at line 52 of file evmu_fat.h.
#define EVMU_FAT_GET_CLASS | ( | self | ) | (GBL_CLASSOF(EvmuFat, self)) |
Get EvmuFatClass from GblInstance
Definition at line 48 of file evmu_fat.h.
#define EVMU_FAT_NAME "fat" |
Definition at line 51 of file evmu_fat.h.
#define EVMU_FAT_ROOT_BLOCK_FORMATTED_BYTE 0x55 |
Value string that must be preset in the EvmuRootBlock to signify a formatted card.
Definition at line 79 of file evmu_fat.h.
#define EVMU_FAT_ROOT_BLOCK_FORMATTED_SIZE 16 |
Size in bytes of the format string in the EvmuRootBlock structure.
Definition at line 78 of file evmu_fat.h.
#define EVMU_FAT_ROOT_BLOCK_ICON_SHAPE_MAX 123 |
Maximum allowable value for icon shape in the EvmuRootBlock structure.
Definition at line 81 of file evmu_fat.h.
#define EVMU_FAT_ROOT_BLOCK_RESERVED2_SIZE 8 |
Size in bytes of the second reserved field in the EvmuRootBlock structure
Definition at line 83 of file evmu_fat.h.
#define EVMU_FAT_ROOT_BLOCK_RESERVED_SIZE 8 |
Size in bytes of the first reserved field in the EvmuRootBlock structure.
Definition at line 82 of file evmu_fat.h.
#define EVMU_FAT_ROOT_BLOCK_VOLUME_LABEL_SIZE 32 |
Size in bytes of the volume label in the EvmuRootBlock structure.
Definition at line 80 of file evmu_fat.h.
#define EVMU_FAT_TYPE (GBL_TYPEID(EvmuFat)) |
UUID for EvmuFat type.
Definition at line 45 of file evmu_fat.h.
typedef uint16_t EvmuBlock |
FAT block index.
Definition at line 104 of file evmu_fat.h.