001
23.06.2008, 00:58 Uhr
Peter Dassow
|
Hallo Ralph,
in der "Section 6" des CP/M (2.2) Alteration Guide findest Du im Abschnitt 6.10 die Beschreibung, wie der DPB aussieht. Die Maximalwerte ergeben sich eigentlich aus der Grösse der Werte, wenn z.B. dort "16B" steht, also 16 Bit, dann wäre das 2^16-1 (65535), wobei das mit Sicherheit nicht immer wirklich passt. Vielleicht nennst Du den Wert, wo Du die Grenze brauchst, mal beim Namen?
Hier mal den relevanten Auszug:
* SPT is the total number of sectors per track. * BSH is the data allocation block shift factor, determined by the data block allocation size. * BLM is the data allocation block mask (2[BSH-1]). * EXM is the extent mask, determined by the data block allocation size and the number of disk blocks. * DSM determines the total storage capacity of the disk drive. * DRM determines the total number of directory entries that can be stored on this drive. * AL0, AL1 determine reserved directory blocks. * CKS is the size of the directory check vector. * OFF is the number of reserved tracks at the beginning of the (logical) disk.
Gruss Peter |