Property | Type | Description | |
---|---|---|---|
CMOSComand | IReadWriteIOPort | ||
CMOSResponse | IReadWriteIOPort | ||
ConfigPort | IReadWriteIOPort | ||
ControllerCommands | IReadWriteIOPort | ||
DataPort | IReadWriteIOPort | ||
StatusPort | IReadWriteIOPort | ||
enchancedController | bool | ||
floppyDMA | IDMAChannel | ||
floppyDrives | FloppyDriveInfo[] | ||
floppyIRQ | IRQHandler | ||
floppyMedia | FloppyMediaInfo[] | ||
ioBase | ushort | ||
lastSeek | LastSeek[] | ||
spinLock | |||
trackCache | TrackCache[] | ||
verbose | bool |
Method | Description | |
---|---|---|
CanWrite ( uint driveNbr ) : bool | ||
FloppyDiskDriver ( ) : System | ||
FloppyDiskDriver ( ushort ioBase ) : System | ||
GetSectorSize ( uint driveNbr ) : uint | ||
GetTotalSectors ( uint driveNbr ) : uint | ||
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 | |
---|---|---|
CHSToLBA ( uint drive, uint cylinder, uint head, uint sector ) : uint | ||
DetectDrives ( ) : void | ||
DetermineByType ( byte type ) : FloppyDriveInfo | ||
GetByte ( ) : byte | ||
LBAToHead ( uint drive, uint lba ) : byte | ||
LBAToSector ( uint drive, uint lba ) : byte | ||
LBAToTrack ( uint drive, uint lba ) : byte | ||
PerformIO ( SectorOperation operation, uint drive, byte sector, byte track, byte head, uint count, byte data, uint offset ) : bool | ||
ReadBlock2 ( uint drive, uint lba, byte data, uint offset ) : bool | ||
Recalibrate ( uint drive ) : bool | ||
ResetController ( ) : void | ||
Seek ( uint drive, byte track, byte head ) : bool | ||
SendByte ( byte command ) : void | ||
TurnOffMotor ( uint drive ) : void | ||
TurnOnMotor ( uint drive ) : void | ||
WaitForReqisterReady ( ) : bool | ||
WriteBlock2 ( uint drive, uint lba, uint count, byte data, uint offset ) : bool |
protected CHSToLBA ( uint drive, uint cylinder, uint head, uint sector ) : uint | ||
drive | uint | |
cylinder | uint | |
head | uint | |
sector | uint | |
return | uint |
protected static DetermineByType ( byte type ) : FloppyDriveInfo | ||
type | byte | |
return | FloppyDriveInfo |
public FloppyDiskDriver ( ushort ioBase ) : System | ||
ioBase | ushort | |
return | System |
public GetSectorSize ( uint driveNbr ) : uint | ||
driveNbr | uint | |
return | uint |
public GetTotalSectors ( uint driveNbr ) : uint | ||
driveNbr | uint | |
return | uint |
protected LBAToHead ( uint drive, uint lba ) : byte | ||
drive | uint | |
lba | uint | |
return | byte |
protected LBAToSector ( uint drive, uint lba ) : byte | ||
drive | uint | |
lba | uint | |
return | byte |
protected LBAToTrack ( uint drive, uint lba ) : byte | ||
drive | uint | |
lba | uint | |
return | byte |
protected PerformIO ( SectorOperation operation, uint drive, byte sector, byte track, byte head, uint count, byte data, uint offset ) : bool | ||
operation | SectorOperation | |
drive | uint | |
sector | byte | |
track | byte | |
head | byte | |
count | 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 |
protected ReadBlock2 ( uint drive, uint lba, byte data, uint offset ) : bool | ||
drive | uint | |
lba | uint | |
data | byte | |
offset | uint | |
return | bool |
protected Seek ( uint drive, byte track, byte head ) : bool | ||
drive | uint | |
track | byte | |
head | 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 WriteBlock2 ( uint drive, uint lba, uint count, byte data, uint offset ) : bool | ||
drive | uint | |
lba | uint | |
count | uint | |
data | byte | |
offset | uint | |
return | bool |
protected IReadWriteIOPort ControllerCommands | ||
return | IReadWriteIOPort |
protected FloppyDriveInfo[] floppyDrives | ||
return | FloppyDriveInfo[] |
protected SpinLock,SharpOS.Kernel.ADC spinLock | ||
return |