[−][src]Module cpclib_disc::edsk
EDSK File format
Structs
DiscInformation | Disc image files consist of a 0x100-byte disc info block and for each track a 0x100-byte track info block, followed by the data for every sector in that track. The new extended disk format is intended for some copy protected disks. Parts which are new in the extended format are marked with "E" (from our "Extended DISK Format Proposal, Rev.5"). |
ExtendedDsk | |
Sector | |
SectorInformation | |
SectorInformationList | |
TrackInformation | Byte (Hex) Meaning: 00 - 0C Track-Info\r\n 0D - 0F unused (0) 10 track number (0 to number of tracks-1) 11 head number (0 or 1) 12 - 13 unused (0) Format track parameters: 14 BPS (bytes per sector) (2 for 0x200 bytes) 15 SPT (sectors per track) (9, at the most 18) 16 GAP#3 format (gap for formatting; 0x4E) 17 Filling byte (filling byte for formatting; 0xE5) Sector info (for every sector at a time): 18+i track number (sector ID information) 19+i head number (sector ID information) 1A+i sector number (sector ID information) 1B+i BPS (sector ID information) 1C+i state 1 error code (0) 1D+i state 2 error code (0) 1E+i,1F+i unused (0) |
TrackInformationList |
Enums
DataRate | |
Head | Symbolises the head of a disc. |
RecordingMode |
Functions
convert_fdc_sector_size_to_real_sector_size | Computes the sector size as expected by a human from the FDC |
convert_real_sector_size_to_fdc_sector_size | Computes the sector size as expected by the FDC from a human readable sector size |