Property | Type | Description | |
---|---|---|---|
CommandPort | IWriteOnlyIOPort | ||
DataPort | IReadWriteIOPort | ||
DeviceHeadPort | IReadWriteIOPort | ||
ErrorPort | IReadOnlyIOPort | ||
FeaturePort | IReadWriteIOPort | ||
IdeIRQ | IRQHandler | ||
LBAHighPort | IReadWriteIOPort | ||
LBALowPort | IReadWriteIOPort | ||
LBAMidPort | IReadWriteIOPort | ||
SectorCountPort | IReadWriteIOPort | ||
StatusPort | IReadOnlyIOPort | ||
driveInfo | DriveInfo[] | ||
ioBase | ushort | ||
spinLock |
Method | Description | |
---|---|---|
CanWrite ( uint drive ) : bool | ||
GetSectorSize ( uint driveNbr ) : uint | ||
GetTotalSectors ( uint driveNbr ) : uint | ||
IDEDiskDriver ( ) : System | ||
IDEDiskDriver ( ushort ioBase ) : System | ||
Initialize ( ) : void | ||
Open ( uint driveNbr ) : bool | ||
ReadBlock ( uint driveNbr, uint block, uint count, byte data ) : bool | ||
Release ( uint driveNbr ) : bool | ||
WriteBlock ( uint driveNbr, uint block, uint count, byte data ) : bool |
Method | Description | |
---|---|---|
PerformLBA28 ( SectorOperation operation, uint driveNbr, uint lba, byte data, uint offset ) : bool | ||
WaitForReqisterReady ( ) : bool |
public GetSectorSize ( uint driveNbr ) : uint | ||
driveNbr | uint | |
return | uint |
public GetTotalSectors ( uint driveNbr ) : uint | ||
driveNbr | uint | |
return | uint |
public IDEDiskDriver ( ushort ioBase ) : System | ||
ioBase | ushort | |
return | System |
protected PerformLBA28 ( SectorOperation operation, uint driveNbr, uint lba, byte data, uint offset ) : bool | ||
operation | SectorOperation | |
driveNbr | uint | |
lba | uint | |
data | byte | |
offset | uint | |
return | bool |
public ReadBlock ( uint driveNbr, uint block, uint count, byte data ) : bool | ||
driveNbr | uint | |
block | uint | |
count | uint | |
data | byte | |
return | bool |
public WriteBlock ( uint driveNbr, uint block, uint count, byte data ) : bool | ||
driveNbr | uint | |
block | uint | |
count | uint | |
data | byte | |
return | bool |
protected IReadWriteIOPort DeviceHeadPort | ||
return | IReadWriteIOPort |
protected IReadWriteIOPort SectorCountPort | ||
return | IReadWriteIOPort |