C# 클래스 Mosa.EmulatedDevices.Synthetic.RamDiskDevice

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

보호된 프로퍼티들

프로퍼티 타입 설명
mem byte[]
totalBlocks uint

공개 메소드들

메소드 설명
RamDiskDevice ( uint blocks ) : Mosa.DeviceSystem

Initializes a new instance of the RamDiskDevice 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.

메소드 상세

RamDiskDevice() 공개 메소드

Initializes a new instance of the RamDiskDevice class.
public RamDiskDevice ( uint blocks ) : Mosa.DeviceSystem
blocks uint The blocks.
리턴 Mosa.DeviceSystem

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

프로퍼티 상세

mem 보호되어 있는 프로퍼티

protected byte[] mem
리턴 byte[]

totalBlocks 보호되어 있는 프로퍼티

protected uint totalBlocks
리턴 uint