|
Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
Go to the documentation of this file.
19 #ifndef XEMU_MEGA65_FAT32_H_INCLUDED
20 #define XEMU_MEGA65_FAT32_H_INCLUDED
22 #define MFAT_FIND_VOL 1
23 #define MFAT_FIND_DIR 2
24 #define MFAT_FIND_FILE 4
26 #define IS_MFAT_DIR(p) (!!((p)&0x10))
27 #define IS_MFAT_VOL(p) (!!((p)&0x08))
28 #define IS_MFAT_FILE(p) (((p)&0x18)==0)
int mfat_search_in_directory(mfat_dirent_t *p, const char *name, int type_filter)
void mfat_init(mfat_io_callback_func_t reader, mfat_io_callback_func_t writer, Uint32 device_size)
Uint32 data_area_fake_ofs
Uint32 cluster_size_in_blocks
struct mfat_part_st * partition
mfat_io_callback_func_t reader
int mfat_use_part(int part)
mfat_io_callback_func_t writer
Uint32 fs_info_block_number
int(* mfat_io_callback_func_t)(Uint32 block, Uint8 *data)
void mfat_open_rootdir(mfat_stream_t *p)
Uint32 mfat_overwrite_file_with_direct_linear_device_block_write(mfat_dirent_t *dirent, const char *name, Uint32 size)
int mfat_read_directory(mfat_dirent_t *p, int type_filter)
int mfat_fatize_name(char *d, const char *s)
int mfat_normalize_name(char *d, const char *s)
Uint32 mfat_get_real_size(mfat_stream_t *p, int *fragmented)