Describes the disk geometry
Source position: amigados.pas line 1679
type tDosEnvec = record |
||
de_TableSize: LongWord; |
|
Size of Environment vector |
de_SizeBlock: LongWord; |
|
in longwords: standard value is 128 |
de_SecOrg: LongWord; |
|
not used; must be 0 |
de_Surfaces: LongWord; |
|
# of heads (surfaces). drive specific |
de_SectorPerBlock: LongWord; |
|
not used; must be 1 |
de_BlocksPerTrack: LongWord; |
|
blocks per track. drive specific |
de_Reserved: LongWord; |
|
DOS reserved blocks at start of partition. |
de_PreAlloc: LongWord; |
|
DOS reserved blocks at end of partition |
de_Interleave: LongWord; |
|
usually 0 |
de_LowCyl: LongWord; |
|
starting cylinder. typically 0 |
de_HighCyl: LongWord; |
|
max cylinder. drive specific |
de_NumBuffers: LongWord; |
|
Initial # DOS of buffers. |
de_BufMemType: LongWord; |
|
Type of mem to allocate for buffers |
de_MaxTransfer: LongWord; |
|
Max number of bytes to transfer at a time |
de_Mask: LongWord; |
|
Address Mask to block out certain memory |
de_BootPri: LongInt; |
|
Boot priority for autoboot |
de_DosType: LongWord; |
|
ASCII (HEX) string showing filesystem type; $444F5300 OFS, $444F5301 FFS |
de_Baud: LongWord; |
|
Baud rate for serial handler |
de_Control: LongWord; |
|
Control SmallInt for handler/filesystem |
de_BootBlocks: LongWord; |
|
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