Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.3 KiB

  1. ;
  2. ; Microsoft Confidential
  3. ; Copyright (C) Microsoft Corporation 1991
  4. ; All Rights Reserved.
  5. ;
  6. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  7. ; C A V E A T P R O G R A M M E R ;
  8. ; ;
  9. ;** BIOS PARAMETER BLOCK DEFINITION
  10. ;
  11. ; The BPB contains information about the disk structure. It dates
  12. ; back to the earliest FAT systems and so FAT information is
  13. ; intermingled with physical driver information.
  14. ;
  15. ; A boot sector contains a BPB for its device; for other disks
  16. ; the driver creates a BPB. DOS keeps copies of some of this
  17. ; information in the DPB.
  18. ;
  19. ; The BDS structure contains a BPB within it.
  20. ;
  21. A_BPB STRUC
  22. BPB_BYTESPERSECTOR DW ?
  23. BPB_SECTORSPERCLUSTER DB ?
  24. BPB_RESERVEDSECTORS DW ?
  25. BPB_NUMBEROFFATS DB ?
  26. BPB_ROOTENTRIES DW ?
  27. BPB_TOTALSECTORS DW ?
  28. BPB_MEDIADESCRIPTOR DB ?
  29. BPB_SECTORSPERFAT DW ?
  30. BPB_SECTORSPERTRACK DW ?
  31. BPB_HEADS DW ?
  32. BPB_HIDDENSECTORS DW ?
  33. DW ?
  34. BPB_BIGTOTALSECTORS DW ?
  35. DW ?
  36. DB 6 DUP(?) ; NOTE: many times these
  37. ; ; 6 bytes are omitted
  38. ; ; when BPB manipulations
  39. ; ; are performed!
  40. A_BPB ENDS
  41. ; ;
  42. ; C A V E A T P R O G R A M M E R ;
  43. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  44.