KolibriOS kernel
fat.inc File Reference

Classes

struct  FAT
 Internal data for every FAT partition. More...
 

Variables

label fat_user_functions
 
label fat_user_functions_end
 
dd partition_count
 partitions found by set_FAT32_variables More...
 
dd hd_error
 
dd hd_setup
 
dd hd_wait_timeout
 
dd cache_search_start
 used by find_empty_slot More...
 
label Sector512
 label for dev_hdcd.inc More...
 
label buffer
 
label fat_create_partition_free_return0
 these labels are located before the main function to make most of jumps to these be short More...
 
label fat_create_partition_return0
 
label fat_create_partition
 
label fat_free
 
fat_legal_chars label
 
label fat_name_is_legal
 
label fat_next_short_name
 
label fat_gen_short_name
 
label set_FAT
 
label get_FAT
 
label get_free_FAT
 
label get_free_FAT12
 
label write_fat_sector
 
label get_date_for_file
 
label get_time_for_file
 
label add_disk_free_space
 
label clear_cluster_chain
 
label update_disk
 
label fat_lock
 
label fat_unlock
 
label fat_get_name
 
label fat_find_lfn
 
label fat_time_to_bdfe
 
label fat_date_to_bdfe
 
label bdfe_to_fat_time
 
label bdfe_to_fat_date
 
label fat_entry_to_bdfe
 
label fat_entry_to_bdfe2
 
label bdfe_to_fat_entry
 
label hd_find_lfn
 
label fat_Read
 -------------------------------------------------------------— More...
 
label fat_ReadFolder
 -------------------------------------------------------------— More...
 
label fat1x_root_next
 
label fat1x_root_next_write
 
label fat1x_root_next_sector
 
label fat1x_root_first
 
label fat1x_root_begin_write
 
label fat1x_root_end_write
 
label fat_notroot_next
 
label fat_notroot_next_write
 
label fat_notroot_next_sector
 
label fat_notroot_next_err
 
label fat1x_root_extend_dir
 
label fat_notroot_next_cluster
 
label fat_notroot_first
 
label fat_notroot_begin_write
 
label fat_notroot_end_write
 
label fat_notroot_extend_dir_writeerr
 
label fat_notroot_extend_dir
 
label fat_get_sector
 
label fat_CreateFolder
 -------------------------------------------------------------— More...
 
label fat_CreateFile
 
label fat_read_symbols
 
label fat_Write
 -------------------------------------------------------------— More...
 
label hd_extend_file_zero_size
 
label hd_extend_file
 extends file on hd to given size (new data area is undefined) in: edi->direntry, ecx=new size out: CF=0 => OK, eax=0 CF=1 => error, eax=code (ERROR_FS_FAIL or ERROR_DISK_FULL or ERROR_DEVICE) More...
 
label fat_SetFileEnd
 -------------------------------------------------------------— More...
 
label fat_GetFileInfo
 -------------------------------------------------------------— More...
 
label fat_SetFileInfo
 -------------------------------------------------------------— More...
 
label fat_Delete
 -------------------------------------------------------------— More...
 
label fat_Rename
 -------------------------------------------------------------— More...
 

Variable Documentation

◆ add_disk_free_space

label add_disk_free_space

◆ bdfe_to_fat_date

label bdfe_to_fat_date

◆ bdfe_to_fat_entry

label bdfe_to_fat_entry

◆ bdfe_to_fat_time

label bdfe_to_fat_time

◆ buffer

label buffer

◆ cache_search_start

dd cache_search_start

used by find_empty_slot

Initial value
?
Source
fs/fat.inc:93

◆ clear_cluster_chain

label clear_cluster_chain

◆ fat1x_root_begin_write

label fat1x_root_begin_write

◆ fat1x_root_end_write

label fat1x_root_end_write

◆ fat1x_root_extend_dir

label fat1x_root_extend_dir

◆ fat1x_root_first

label fat1x_root_first

◆ fat1x_root_next

label fat1x_root_next

◆ fat1x_root_next_sector

label fat1x_root_next_sector

◆ fat1x_root_next_write

label fat1x_root_next_write

◆ fat_create_partition

label fat_create_partition

◆ fat_create_partition_free_return0

label fat_create_partition_free_return0

these labels are located before the main function to make most of jumps to these be short

Source
fs/fat.inc:101

◆ fat_create_partition_return0

label fat_create_partition_return0

◆ fat_CreateFile

label fat_CreateFile

◆ fat_CreateFolder

label fat_CreateFolder

-------------------------------------------------------------—

Source
fs/fat.inc:1839

◆ fat_date_to_bdfe

label fat_date_to_bdfe

◆ fat_Delete

label fat_Delete

-------------------------------------------------------------—

Source
fs/fat.inc:2983

◆ fat_entry_to_bdfe

label fat_entry_to_bdfe

◆ fat_entry_to_bdfe2

label fat_entry_to_bdfe2

◆ fat_find_lfn

label fat_find_lfn

◆ fat_free

label fat_free

◆ fat_gen_short_name

label fat_gen_short_name

◆ fat_get_name

label fat_get_name

◆ fat_get_sector

label fat_get_sector

◆ fat_GetFileInfo

label fat_GetFileInfo

-------------------------------------------------------------—

Source
fs/fat.inc:2907

◆ fat_lock

label fat_lock

◆ fat_name_is_legal

label fat_name_is_legal

◆ fat_next_short_name

label fat_next_short_name

◆ fat_notroot_begin_write

label fat_notroot_begin_write

◆ fat_notroot_end_write

label fat_notroot_end_write

◆ fat_notroot_extend_dir

label fat_notroot_extend_dir

◆ fat_notroot_extend_dir_writeerr

label fat_notroot_extend_dir_writeerr

◆ fat_notroot_first

label fat_notroot_first

◆ fat_notroot_next

label fat_notroot_next

◆ fat_notroot_next_cluster

label fat_notroot_next_cluster

◆ fat_notroot_next_err

label fat_notroot_next_err

◆ fat_notroot_next_sector

label fat_notroot_next_sector

◆ fat_notroot_next_write

label fat_notroot_next_write

◆ fat_Read

label fat_Read

-------------------------------------------------------------—

Source
fs/fat.inc:1278

◆ fat_read_symbols

label fat_read_symbols

◆ fat_ReadFolder

label fat_ReadFolder

-------------------------------------------------------------—

Source
fs/fat.inc:1466

◆ fat_Rename

label fat_Rename

-------------------------------------------------------------—

Source
fs/fat.inc:3119

◆ fat_SetFileEnd

label fat_SetFileEnd

-------------------------------------------------------------—

Source
fs/fat.inc:2671

◆ fat_SetFileInfo

label fat_SetFileInfo

-------------------------------------------------------------—

Source
fs/fat.inc:2964

◆ fat_time_to_bdfe

label fat_time_to_bdfe

◆ fat_unlock

label fat_unlock

◆ fat_user_functions

label fat_user_functions

◆ fat_user_functions_end

label fat_user_functions_end

◆ fat_Write

label fat_Write

-------------------------------------------------------------—

Source
fs/fat.inc:2375

◆ get_date_for_file

label get_date_for_file

◆ get_FAT

label get_FAT

◆ get_free_FAT

label get_free_FAT

◆ get_free_FAT12

label get_free_FAT12

◆ get_time_for_file

label get_time_for_file

◆ hd_error

dd hd_error
Initial value
?
Source
fs/fat.inc:90

◆ hd_extend_file

label hd_extend_file

extends file on hd to given size (new data area is undefined) in: edi->direntry, ecx=new size out: CF=0 => OK, eax=0 CF=1 => error, eax=code (ERROR_FS_FAIL or ERROR_DISK_FULL or ERROR_DEVICE)

Source
fs/fat.inc:2576

◆ hd_extend_file_zero_size

label hd_extend_file_zero_size

◆ hd_find_lfn

label hd_find_lfn

◆ hd_setup

dd hd_setup
Initial value
?
Source
fs/fat.inc:91

◆ hd_wait_timeout

dd hd_wait_timeout
Initial value
?
Source
fs/fat.inc:92

◆ label

fat_legal_chars label
Initial value
byte
Source
fs/fat.inc:358

◆ partition_count

dd partition_count

partitions found by set_FAT32_variables

Initial value
?
Source
fs/fat.inc:89

◆ Sector512

label Sector512

label for dev_hdcd.inc

Source
fs/fat.inc:94

◆ set_FAT

label set_FAT

◆ update_disk

label update_disk

◆ write_fat_sector

label write_fat_sector