Pointers

      I/O Request Packet fields InitpBPB and BldBPBbuffer point to the BPB structure.
    Locations
      Allocated from the System Arena.
    VM Owner
      Non-specific.

    Format

    BPB

    ┌────────────────────┬──────┬──────┬────┬────────────────────────────────────────┐│Field Name          │Offset│Length│Type│Description                             │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPSECSZ             │0     │2     │W   │Size in bytes of physical sector        │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPCLUS              │2     │1     │B   │Sectors/Alloc unit                      │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPRES               │3     │2     │W   │Number of reserved sectors              │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPFTCNT             │5     │1     │B   │Number of FATs                          │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPRDCNT             │6     │2     │W   │Number of directory entries             │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPSCCNT             │8     │2     │W   │Total number of sectors                 │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPMEDIA             │a     │1     │B   │Media descriptor byte                   │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPFTSEC             │b     │2     │W   │Number of sectors taken up by one FAT   │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPBSecPerTrack      │d     │2     │W   │sectors per track                       │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPBcHeads           │f     │2     │W   │number of heads                         │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPBcSecHidden       │11    │2     │W   │number of hidden sectors before the     │
    │                    │      │      │    │reserved sectors                        │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPBcSecHiddenH      │13    │2     │W   │High word of hidden sectors             │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │BPBcSecTotal        │15    │4     │D   │Big total sectors (if BPSCCNT = 0)      │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │PHYDRV              │19    │1     │B   │PHYSICAL DRIVE NUMBER (0 OR 80H)        │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │CURHD               │1a    │1     │B   │Unitialized                             │
    └────────────────────┴──────┴──────┴────┴────────────────────────────────────────┘
    


    [Back] [Next]