|
cbmimage
|
BAM counter selector . More...
#include <internal.h>
BAM counter selector .
this type contains helper functions that perform image format specific operations on an image type
| cbmimage_chdir_fct* cbmimage_fileimage_functions_s::chdir |
pointer to image specific function to change to a sub-dir If the pointer is NULL, then chdir is not supported with this image type
| cbmimage_get_sectors_in_track_fct* cbmimage_fileimage_functions_s::get_sectors_in_track |
pointer to image specific function to get number of sectors in the specific track If the pointer is NULL, then the number of sectors in all tracks are the same.
| cbmimage_lba_to_blockaddress_fct* cbmimage_fileimage_functions_s::lba_to_blockaddress |
pointer to image specific function to convert LBA to T/S block address If the pointer is NULL, then the number of sectors in all tracks are the same. In this case, a simplified conversion is used.
| cbmimage_set_bam_fct* cbmimage_fileimage_functions_s::set_bam |
pointer to image specific function to fill the BAM for unused blocks, that are marked anyway.
This is used for D71 images which occupy track 53 (2nd directory track) and for a directory/partition. The pointer can be NULL if no special handling of BAM entries is needed.
| cbmimage_ts_to_blockaddress_fct* cbmimage_fileimage_functions_s::ts_to_blockaddress |
pointer to image specific function to convert T/S to LBA block address If the pointer is NULL, then the number of sectors in all tracks are the same. In this case, a simplified conversion is used.