C# Class Mosa.DeviceSystem.DiskGeometry

Disk Geometry (Heads, Cylinders, SectorsPerTrack)
Afficher le fichier Open project: tgiphil/MOSA-Project Class Usage Examples

Méthodes publiques

Свойство Type Description
Cylinders ushort
Heads byte
SectorsPerTrack ushort

Méthodes publiques

Méthode Description
DiskGeometry ( ushort cylinders, byte heads, ushort sectorsPerTrack )

Initializes a new instance of the DiskGeometry struct.

GuessGeometry ( ulong lba ) : void

Guesses the geometry.

Method Details

DiskGeometry() public méthode

Initializes a new instance of the DiskGeometry struct.
public DiskGeometry ( ushort cylinders, byte heads, ushort sectorsPerTrack )
cylinders ushort The cylinders.
heads byte The heads.
sectorsPerTrack ushort The sectors per track.

GuessGeometry() public méthode

Guesses the geometry.
public GuessGeometry ( ulong lba ) : void
lba ulong The lba.
Résultat void

Property Details

Cylinders public_oe property

Cylinder
public ushort Cylinders
Résultat ushort

Heads public_oe property

Head
public byte Heads
Résultat byte

SectorsPerTrack public_oe property

Sector
public ushort SectorsPerTrack
Résultat ushort