C# 클래스 Mosa.DeviceSystem.DiskDevice

상속: Mosa.DeviceSystem.Device, IDiskDevice, IDevice
파일 보기 프로젝트 열기: tgiphil/MOSA-Project 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

DiskDevice() 공개 메소드

Initializes a new instance of the DiskDevice class.
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 true [read only].
리턴 Mosa.HardwareSystem

ReadBlock() 공개 메소드

Reads the block.
public ReadBlock ( uint block, uint count, byte data ) : bool
block uint The block.
count uint The count.
data byte The data.
리턴 bool

ReadBlock() 공개 메소드

Reads the block.
public ReadBlock ( uint block, uint count ) : byte[]
block uint The block.
count uint The count.
리턴 byte[]

WriteBlock() 공개 메소드

Writes the block.
public WriteBlock ( uint block, uint count, byte data ) : bool
block uint The block.
count uint The count.
data byte The data.
리턴 bool