cbmimage
Loading...
Searching...
No Matches
D40 specific functions

Functions

void cbmimage_i_d40_image_open (cbmimage_fileimage *image)
 

Variables

static const uint8_t sectors_in_track_d40 [35+1]
 

Detailed Description

Function Documentation

◆ cbmimage_i_d40_image_open()

void cbmimage_i_d40_image_open ( cbmimage_fileimage * image)

create structures for a D40 image

Parameters
[in]imagepointer to the image data

Variable Documentation

◆ sectors_in_track_d40

const uint8_t sectors_in_track_d40[35+1]
static
Initial value:
= {
0,
21, 21, 21, 21, 21,
21, 21, 21, 21, 21,
21, 21, 21, 21, 21,
21, 21, 20, 20, 20,
20, 20, 20, 20, 18,
18, 18, 18, 18, 18,
17, 17, 17, 17, 17
}

The number of the sectors on a track in a D40 image

Remarks
  • The track number is used as index into this array. As the tracks are based by 1, the element "0" is left out and kept as zero. Additionally, the array length is one more than the number of tracks in the image.
  • The number of sectors on a track in speed zone 1 (track 18 to 24) is one more than for a D64 image