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
Last revisionBoth sides next revision
adv:ibmsectorconf [2022/07/26 22:02] diskblitzadv:ibmsectorconf [2023/01/22 18:47] diskblitz
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 0 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''. The IBM standard uses the value 0 to describe a 128 byte sector, 1 for 256 bytes, 2 for 512 byes, etc.
  
 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''