Méthode | Description | |
---|---|---|
DiskDevice ( IDiskControllerDevice diskController, uint driveNbr, bool readOnly ) : Mosa.HardwareSystem |
Initializes a new instance of the DiskDevice class.
|
|
ReadBlock ( uint block, uint count, byte data ) : bool |
Reads the block.
|
|
ReadBlock ( uint block, uint count ) : byte[] |
Reads the block.
|
|
WriteBlock ( uint block, uint count, byte data ) : bool |
Writes the block.
|
public DiskDevice ( IDiskControllerDevice diskController, uint driveNbr, bool readOnly ) : Mosa.HardwareSystem | ||
diskController | IDiskControllerDevice | The disk controller. |
driveNbr | uint | The drive number. |
readOnly | bool | if set to |
Résultat | Mosa.HardwareSystem |
public ReadBlock ( uint block, uint count, byte data ) : bool | ||
block | uint | The block. |
count | uint | The count. |
data | byte | The data. |
Résultat | bool |
public ReadBlock ( uint block, uint count ) : byte[] | ||
block | uint | The block. |
count | uint | The count. |
Résultat | byte[] |
public WriteBlock ( uint block, uint count, byte data ) : bool | ||
block | uint | The block. |
count | uint | The count. |
data | byte | The data. |
Résultat | bool |