Describes the disk geometry
Source position: amigados.pas line 1058
type TDosEnvec = record |
||
de_TableSize: NativeUInt; |
|
Size of Environment vector |
de_SizeBlock: NativeUInt; |
|
in longwords: standard value is 128 |
de_SecOrg: NativeUInt; |
|
not used; must be 0 |
de_Surfaces: NativeUInt; |
|
# of heads (surfaces). drive specific |
de_SectorPerBlock: NativeUInt; |
|
not used; must be 1 |
de_BlocksPerTrack: NativeUInt; |
|
blocks per track. drive specific |
de_Reserved: NativeUInt; |
|
DOS reserved blocks at start of partition. |
de_PreAlloc: NativeUInt; |
|
DOS reserved blocks at end of partition |
de_Interleave: NativeUInt; |
|
usually 0 |
de_LowCyl: NativeUInt; |
|
starting cylinder. typically 0 |
de_HighCyl: NativeUInt; |
|
max cylinder. drive specific |
de_NumBuffers: NativeUInt; |
|
Initial # DOS of buffers. |
de_BufMemType: NativeUInt; |
|
Type of mem to allocate for buffers |
de_MaxTransfer: NativeUInt; |
|
Max number of bytes to transfer at a time |
de_Mask: NativeUInt; |
|
Address Mask to block out certain memory |
de_BootPri: LongInt; |
|
Boot priority for autoboot |
de_DosType: NativeUInt; |
|
ASCII (HEX) string showing filesystem type; $444F5300 OFS, $444F5301 FFS |
de_Baud: NativeUInt; |
|
Baud rate for serial handler |
de_Control: NativeUInt; |
|
Control SmallInt for handler/filesystem |
de_BootBlocks: NativeUInt; |
|
Number of blocks containing boot code |
end; |
Here are the constants for a standard geometry. if you treat it as an array you can use the DE_* constants