You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In other words the DPB field gives the maximum valid cluster number (0 and 1 are reserved), plus one gives amount of FAT entries, plus one minus two = minus one gives amount of data clusters.
The text was updated successfully, but these errors were encountered:
This is where function 7303h uses
dpb_size
ordpb_xsize
:kernel/kernel/dosfns.c
Line 948 in 5de2eb1
But function 36h uses
dpb_xsize
minus one:kernel/kernel/dosfns.c
Line 835 in 5de2eb1
Or
dpb_size
minus 1 on FAT12/FAT16:kernel/kernel/dosfns.c
Line 859 in 5de2eb1
The field is marked as "number of clusters plus 1":
kernel/hdr/dcb.h
Line 49 in 5de2eb1
In other words the DPB field gives the maximum valid cluster number (0 and 1 are reserved), plus one gives amount of FAT entries, plus one minus two = minus one gives amount of data clusters.
The text was updated successfully, but these errors were encountered: