|
cbmimage
|
Macros | |
| #define | CBMIMAGE_ARRAYSIZE(_x) |
| Helper to determine the size of a C style array. | |
Typedefs | |
| typedef uint16_t | cbmimage_get_sectors_in_track_fct(cbmimage_image_settings *settings, uint16_t track) |
| typedef int | cbmimage_ts_to_blockaddress_fct(cbmimage_image_settings *settings, cbmimage_blockaddress *block) |
| typedef int | cbmimage_lba_to_blockaddress_fct(cbmimage_image_settings *settings, cbmimage_blockaddress *block) |
| typedef int | cbmimage_chdir_fct(cbmimage_image_settings *settings, cbmimage_dir_entry *dir_entry) |
| typedef int | cbmimage_set_bam_fct(cbmimage_image_settings *settings) |
Functions | |
| static int | cbmimage_i_d81_set_bam (cbmimage_image_settings *settings) |
| static int | min (int a, int b) |
| static int | max (int a, int b) |
| #define CBMIMAGE_ARRAYSIZE | ( | _x | ) |
Helper to determine the size of a C style array.
| [in] | _x | The array to examine |
| typedef int cbmimage_chdir_fct(cbmimage_image_settings *settings, cbmimage_dir_entry *dir_entry) |
type for a function that helps in chdir'ing
| [in] | settings | pointer to the image data internal settings |
| [in] | dir_entry | pointer to the dir_entry to which to chdir. |
| typedef uint16_t cbmimage_get_sectors_in_track_fct(cbmimage_image_settings *settings, uint16_t track) |
type for a function that gets the number of sectors on a specific track of the image
| [in] | settings | pointer to the image data internal settings |
| [in] | track | the track number for which to obtain the number of sectors |
| typedef int cbmimage_lba_to_blockaddress_fct(cbmimage_image_settings *settings, cbmimage_blockaddress *block) |
type for a function that converts the LBA to T/S block address
| [in] | settings | pointer to the image data internal settings |
| [in,out] | block | pointer to a block address with an initialized LBA address |
| typedef int cbmimage_set_bam_fct(cbmimage_image_settings *settings) |
type for a function that occupies additional BAM entries
| [in] | settings | pointer to the image data internal settings |
| typedef int cbmimage_ts_to_blockaddress_fct(cbmimage_image_settings *settings, cbmimage_blockaddress *block) |
type for a function that converts the T/S to LBA block address
| [in] | settings | pointer to the image data internal settings |
| [in,out] | block | pointer to a block address with an initialized T/S address |
|
static |
Occupy additional BAM entries for 1581 sub-dirs
| [in] | settings | pointer to the image data internal settings |
|
inlinestatic |
compute the maximum of two values
| [in] | a | one value |
| [in] | b | the other value |
|
inlinestatic |
compute the minimum of two values
| [in] | a | one value |
| [in] | b | the other value |