|
cbmimage
|
Functions | |
| static uint16_t | cbmimage_i_d40_d64_d71_get_sectors_in_track (cbmimage_image_settings *settings, uint16_t track) |
| static int | cbmimage_i_d40_d64_d71_ts_to_blockaddress (cbmimage_image_settings *settings, cbmimage_blockaddress *block) |
| static int | cbmimage_i_d40_d64_d71_lba_to_blockaddress (cbmimage_image_settings *settings, cbmimage_blockaddress *block) |
| static void | cbmimage_i_d40_d64_d71_calculate_track_lba_start_table (cbmimage_image_settings *settings) |
| static int | cbmimage_i_d71_set_bam (cbmimage_image_settings *settings) |
| static int | cbmimage_i_d40_d64_d71_get_geos_infoblock (cbmimage_image_settings *settings) |
| static int | cbmimage_i_d40_d64_d71_chdir_partition_init (cbmimage_image_settings *settings, cbmimage_imagetype imagetype, unsigned char *imagetype_name, uint8_t maxtracks) |
| static void | cbmimage_i_d40_d64_d71_image_create (cbmimage_fileimage *image, cbmimage_imagetype imagetype, unsigned char *imagetype_name, uint8_t maxtracks) |
Variables | |
| static const cbmimage_fileimage_functions | d64_fileimage_functions |
| static const cbmimage_fileimage_functions | d71_fileimage_functions |
|
static |
create the "LBA start table"
In order to ease the calculation of LBA to T/S or vice versa (cf. cbmimage_i_d40_d64_d71_ts_to_blockaddress(), cbmimage_i_d40_d64_d71_lba_to_blockaddress()) an internal table of the first LBA on a track is used internally.
This function initializes this table.
| [in] | settings | pointer to the image data internal settings |
|
static |
create structures for a D40, D64 or D71 image
| [in] | settings | pointer to the image settings |
| [in] | imagetype | The type of image that should be created |
| [in] | imagetype_name | The name of the image type that should be stored in the images. This value is only informational and can be asked for by the user; it is not used internally. |
| [in] | maxtracks | The maximum number of tracks of this image |
|
static |
get the GEOS info block of this image has one
| [in] | settings | pointer to the image data internal settings |
|
static |
get the number of sectors on a specific track of the D64 image
| [in] | settings | pointer to the image data internal settings |
| [in] | track | the track number for which to obtain the number of sectors |
|
static |
create a D64, D71 or D40 image
| [in] | image | pointer to the image data |
| [in] | imagetype | The type of image that should be created |
| [in] | imagetype_name | The name of the image type that should be stored in the images. This value is only informational and can be asked for by the user; it is not used internally. |
| [in] | maxtracks | The maximum number of tracks of this image |
|
static |
convert 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 |
|
static |
convert the T/S to LBA block address
| [in] | settings | pointer to the image data internal settings |
| [in,out] | block | pointer to a block address witn an initialized T/S address |
|
static |
Occupy additional BAM entries for 1571 second directory track
| [in] | settings | pointer to the image data internal settings |
|
static |
template for the file image functions for D40 or D64 images
This is a template that is copied into the image specific data. This template defines the functions for D40 and D64 images.
|
static |
template for the file image functions for D71 images
This is a template that is copied into the image specific data. This template defines the functions for D71 images.