meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
adv:ibmsectorconf [2022/07/26 21:10] diskblitzadv:ibmsectorconf [2023/01/22 18:54] (current) diskblitz
Line 41: Line 41:
  
 === encodingAndMedia === === encodingAndMedia ===
-String - //Required//\\ +[String- //Required//\\ 
-The physical type of media used as well as the encoding and density. It is represented as a string structured as ''{media}_{encoding}_{density}''. If the format supports more than a single value for either the media or density parametersyou can separate the values with a ``|`` or use a ''*'' as a wildcard value. Being as specific as possible speeds up the analysis process as it limits the number of comparisons that need to be done.+Array of the physical type of media used as well as the encoding and density. It is represented as a string structured as ''{media}_{encoding}_{density}''. If the format supports more than a single value for either the media or density parameters you can use a ''*'' as a wildcard value. Being as specific as possible speeds up the analysis process as it limits the number of comparisons that need to be done.
  
 ^Media^Description^ ^Media^Description^
Line 58: Line 58:
 |500|500kbps (2µs cell window)| |500|500kbps (2µs cell window)|
  
-ex: ''"encodingAndMedia": "5.25_mfm_*"'' or ''"encodingAndMedia": "8|5.25_fm_500"''+ex: ''"encodingAndMedia": ["5.25_mfm_*","8_mfm_500]''
  
  
Line 165: Line 165:
 ===== Sector Identification ===== ===== Sector Identification =====
  
-These values are within the address field and used to identify which sector it is. All bit indexes referenced below are relative to the address marker (0 is the first bit of the address marker, 8 is the start of the byte following the address marker).+These values are within the address field and used to identify which sector it is. The IBM standard uses a set of 4 values which are: cylinder, head, sector, and size. All bit indexes referenced below are relative to the address marker (0 is the first bit of the address marker, 8 is the start of the byte following the address marker). For the size value, the IBM standard uses the value 0 to describe a 128 byte sector, 1 for 256 bytes, 2 for 512 byes, etc.
  
 === trackBitIndex === === trackBitIndex ===
Line 180: Line 180:
  
 === headBitIndex === === headBitIndex ===
-Int - //Required//\\ +Int\\ 
-The bit index of the start of the head number.+The bit index of the start of the head number. If no value is provided, then it defaults to ''16''.
  
 ex: ''"headBitIndex": 16'' ex: ''"headBitIndex": 16''
Line 187: Line 187:
 === headBitSize === === headBitSize ===
 Int\\ Int\\
-The number of bits that comprise the head number. If no value is provided, then it defaults to ''8''.+The number of bits that comprise the head number. If no value is provided, then it defaults to ''8''. If the format does not contain an entry for the head number, then you can set this value to ''0'' and the physical head number will be used instead.
  
 ex: ''"headBitSize": 8'' ex: ''"headBitSize": 8''
Line 204: Line 204:
  
 === sizeBitIndex === === sizeBitIndex ===
-Int - //Required//\\ +Int\\ 
-The bit index of the start of the size value. The IBM standard uses the value to describe a 128 byte sector, 1 for 256 bytes, 2 for 512 byes, etc.+The bit index of the start of the size value. If no value is provided, then it defaults to ''32''.
  
 ex: ''"sectorBitIndex": 32'' ex: ''"sectorBitIndex": 32''
Line 211: Line 211:
 === sizeBitSize === === sizeBitSize ===
 Int\\ Int\\
-The number of bits that comprise the size value. If no value is provided, then it defaults to ''8''.+The number of bits that comprise the size value. If no value is provided, then it defaults to ''8''. If the format does not contain an entry for the size, then you can set this value to ''0'' and the size defined by ''sizeDefault'' will be used instead.
  
 ex: ''"sizeBitSize": 8'' ex: ''"sizeBitSize": 8''
 +
 +=== sizeDefault ===
 +Int\\
 +Used only if the format does not contain an entry for the size and you have ''sizeBitSize'' set to ''0''. This value defines the sector size to use for all sectors. The IBM standard uses the value 0 to describe a 128 byte sector, 1 for 256 bytes, 2 for 512 byes, etc.
 +
 +ex: ''"sizeDefault": 1''