home *** CD-ROM | disk | FTP | other *** search
/ PC-X 1997 March / pcx08_9703.iso / melyviz / pcx-user / rprog / bootinf.pas next >
Encoding:
Pascal/Delphi Source File  |  1996-12-16  |  1.3 KB  |  32 lines

  1. {Egy Pascal record a bootsector felépítéséhez hasonlóan:}
  2.  
  3. type
  4.  
  5.    PBootSecInforms = ^TBootSecInforms;
  6.    TBootSecInforms = record
  7.      JMP            : Array[1..3] of Byte;
  8.      OEMName        : Array[1..8] of Char;
  9.      Byte_Sector    : Word;
  10.      Sector_Cluster : Byte;
  11.      ReservedSecs   : Word;
  12.      FATCount       : Byte;    {FATCount * SectorInOneFAT          }
  13.      MaxRootEntries,           {(MaxRootEntries * 32) / Byte_Sector}
  14.      Total_Sector   : Word;    {DataStart = ReservedSecs + FATSize + RootSize}
  15.      MediaDescriptor: Byte;
  16.      SectorInOneFAT,
  17.      Sector_Track,
  18.      Head_Number,
  19.      Hidden_Sector  : Word;    {if partitions > 32M then It's the Lo Word    }
  20.      Hidden_SectorHi: Word;    {if partitions > 32M then used else not used  }
  21.      BIGTotal_Sector: Longint; {if (partitions > 32M) And (Total_Sector = 0) }
  22.      PhisicalDriveNo: Byte;    {   then used else not used                   }
  23.      InfoLevel      : Word;    {Must be 0 ???}
  24.      SerialNumber   : Longint; {In Hex (bin) }
  25.      VolumeLabel    : Array[1..11] of Char; {'NO NAME    ' if none present}
  26.      FileSystemType : Array[1..8] of Char;  {'FAT12   '    or 'FAT16   '  }
  27.    end;
  28.  
  29. BEGIN
  30. END. 
  31.  
  32. {Késôbb e rekord használatával is foglalkozunk amikor az INT 13h-at veszük !}