en:docs:dos:api:int21:1f

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:dos:api:int21:1f [2020/12/08 09:44] – prokusheven:docs:dos:api:int21:1f [2024/05/02 02:54] (current) – prokushev
Line 27: Line 27:
 ===== Notes ===== ===== Notes =====
  
-  this call was undocumented prior to the release of DOS 5.0; however, +this call was undocumented prior to the release of DOS 5.0; however, only the DOS 4.0+ version of the DPB has been documented
-          only the DOS 4.0+ version of the DPB has been documented+
  
 Format of DOS 1.1 and MS-DOS 1.25 drive parameter block: Format of DOS 1.1 and MS-DOS 1.25 drive parameter block:
-Offset  Size    Description     (Table 01357) + 
- 00h    BYTE    sequential device ID +^ Offset ^ Size ^ Description ^ 
- 01h    BYTE    logical drive number (0=A:) +| 00h | BYTE | sequential device ID | 
- 02h    WORD    bytes per sector +| 01h | BYTE | logical drive number (0=A:) | 
- 04h    BYTE    highest sector number within a cluster +| 02h | WORD | bytes per sector | 
- 05h    BYTE    shift count to convert clusters into sectors +| 04h | BYTE | highest sector number within a cluster | 
- 06h    WORD    starting sector number of first FAT +| 05h | BYTE | shift count to convert clusters into sectors | 
- 08h    BYTE    number of copies of FAT +| 06h | WORD | starting sector number of first FAT | 
- 09h    WORD    number of directory entries +| 08h | BYTE | number of copies of FAT | 
- 0Bh    WORD    number of first data sector +| 09h | WORD | number of directory entries | 
- 0Dh    WORD    highest cluster number (number of data clusters + 1) +| 0Bh | WORD | number of first data sector | 
- 0Fh    BYTE    sectors per FAT +| 0Dh | WORD | highest cluster number (number of data clusters + 1) | 
- 10h    WORD    starting sector of directory +| 0Fh | BYTE | sectors per FAT | 
- 12h    WORD    address of allocation table +| 10h | WORD | starting sector of directory | 
-Note:   the DOS 1.0 table is the same except that the first and last fields +| 12h | WORD | address of allocation table | 
-          are missing; see INT 21/AH=32h for the DOS 2+ version+ 
 +Note:   the DOS 1.0 table is the same except that the first and last fields are missing; see INT 21/AH=32h for the DOS 2+ version
                    
 ===== See also ===== ===== See also =====
  
-SeeAlso: AH=32h,AX=7302h+SeeAlso: AH=[[en:docs:dos:api:int21:32|32h]],AX=[[en:docs:dos:api:int21:73:02|7302h]]
  
 ===== Note ===== ===== Note =====