C# 클래스 Mosa.DeviceDriver.PCI.VideoCard.GenericVGA

Generic VGA Device Driver
상속: HardwareDevice, IPixelPaletteGraphicsDevice
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

보호된 프로퍼티들

프로퍼티 타입 설명
activeControllerData IReadWriteIOPort
activeControllerIndex IReadWriteIOPort
attributeAddress IReadWriteIOPort
attributeData IReadWriteIOPort
colors ushort
crtControllerData IReadWriteIOPort
crtControllerDataColor IReadWriteIOPort
crtControllerIndex IReadWriteIOPort
crtControllerIndexColor IReadWriteIOPort
dacData IReadWriteIOPort
dacIndexRead IReadWriteIOPort
dacIndexWrite IReadWriteIOPort
dacPaletteMask IReadWriteIOPort
graphicsControllerAddress IReadWriteIOPort
graphicsControllerData IReadWriteIOPort
height ushort
inputStatus1 IReadOnlyIOPort
inputStatus1ReadB IReadWriteIOPort
memory IMemory
miscellaneousOutputRead IReadOnlyIOPort
miscellaneousOutputWrite IWriteOnlyIOPort
offset uint
sequencerAddress IReadWriteIOPort
sequencerData IReadWriteIOPort
width ushort

공개 메소드들

메소드 설명
Clear ( byte colorIndex ) : void

Clears device with the specified color index.

GenericVGA ( ) : Mosa.DeviceSystem

Initializes a new instance of the GenericVGA class.

GetPalette ( byte colorIndex ) : Color

Gets the palette.

OnInterrupt ( ) : bool

Called when an interrupt is received.

ReadPixel ( ushort x, ushort y ) : byte

Reads the pixel.

SetMode ( byte mode ) : bool

Sets the mode.

SetPalette ( byte colorIndex, Color color ) : void

Sets the palette.

Setup ( HardwareResources hardwareResources ) : bool

Setups this hardware device driver

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

WritePixel ( byte colorIndex, ushort x, ushort y ) : void

Writes the pixel.

보호된 메소드들

메소드 설명
GetValue ( byte command ) : byte

Gets the value.

SendCommand ( byte command, byte value ) : void

Sends the command.

WriteSettings ( byte settings ) : void

Writes the settings.

메소드 상세

Clear() 공개 메소드

Clears device with the specified color index.
public Clear ( byte colorIndex ) : void
colorIndex byte Index of the color.
리턴 void

GenericVGA() 공개 메소드

Initializes a new instance of the GenericVGA class.
public GenericVGA ( ) : Mosa.DeviceSystem
리턴 Mosa.DeviceSystem

GetPalette() 공개 메소드

Gets the palette.
public GetPalette ( byte colorIndex ) : Color
colorIndex byte Index of the color.
리턴 Mosa.DeviceSystem.Color

GetValue() 보호된 메소드

Gets the value.
protected GetValue ( byte command ) : byte
command byte The command.
리턴 byte

OnInterrupt() 공개 메소드

Called when an interrupt is received.
public OnInterrupt ( ) : bool
리턴 bool

ReadPixel() 공개 메소드

Reads the pixel.
public ReadPixel ( ushort x, ushort y ) : byte
x ushort The x.
y ushort The y.
리턴 byte

SendCommand() 보호된 메소드

Sends the command.
protected SendCommand ( byte command, byte value ) : void
command byte The command.
value byte The value.
리턴 void

SetMode() 공개 메소드

Sets the mode.
public SetMode ( byte mode ) : bool
mode byte The mode.
리턴 bool

SetPalette() 공개 메소드

Sets the palette.
public SetPalette ( byte colorIndex, Color color ) : void
colorIndex byte Index of the color.
color Mosa.DeviceSystem.Color The color.
리턴 void

Setup() 공개 메소드

Setups this hardware device driver
public Setup ( HardwareResources hardwareResources ) : bool
hardwareResources HardwareResources
리턴 bool

Start() 공개 메소드

Starts this hardware device.
public Start ( ) : DeviceDriverStartStatus
리턴 DeviceDriverStartStatus

WritePixel() 공개 메소드

Writes the pixel.
public WritePixel ( byte colorIndex, ushort x, ushort y ) : void
colorIndex byte Index of the color.
x ushort The x.
y ushort The y.
리턴 void

WriteSettings() 보호된 메소드

Writes the settings.
protected WriteSettings ( byte settings ) : void
settings byte The settings.
리턴 void

프로퍼티 상세

activeControllerData 보호되어 있는 프로퍼티

protected IReadWriteIOPort activeControllerData
리턴 IReadWriteIOPort

activeControllerIndex 보호되어 있는 프로퍼티

protected IReadWriteIOPort activeControllerIndex
리턴 IReadWriteIOPort

attributeAddress 보호되어 있는 프로퍼티

protected IReadWriteIOPort attributeAddress
리턴 IReadWriteIOPort

attributeData 보호되어 있는 프로퍼티

protected IReadWriteIOPort attributeData
리턴 IReadWriteIOPort

colors 보호되어 있는 프로퍼티

protected ushort colors
리턴 ushort

crtControllerData 보호되어 있는 프로퍼티

protected IReadWriteIOPort crtControllerData
리턴 IReadWriteIOPort

crtControllerDataColor 보호되어 있는 프로퍼티

protected IReadWriteIOPort crtControllerDataColor
리턴 IReadWriteIOPort

crtControllerIndex 보호되어 있는 프로퍼티

protected IReadWriteIOPort crtControllerIndex
리턴 IReadWriteIOPort

crtControllerIndexColor 보호되어 있는 프로퍼티

protected IReadWriteIOPort crtControllerIndexColor
리턴 IReadWriteIOPort

dacData 보호되어 있는 프로퍼티

protected IReadWriteIOPort dacData
리턴 IReadWriteIOPort

dacIndexRead 보호되어 있는 프로퍼티

protected IReadWriteIOPort dacIndexRead
리턴 IReadWriteIOPort

dacIndexWrite 보호되어 있는 프로퍼티

protected IReadWriteIOPort dacIndexWrite
리턴 IReadWriteIOPort

dacPaletteMask 보호되어 있는 프로퍼티

protected IReadWriteIOPort dacPaletteMask
리턴 IReadWriteIOPort

graphicsControllerAddress 보호되어 있는 프로퍼티

protected IReadWriteIOPort graphicsControllerAddress
리턴 IReadWriteIOPort

graphicsControllerData 보호되어 있는 프로퍼티

protected IReadWriteIOPort graphicsControllerData
리턴 IReadWriteIOPort

height 보호되어 있는 프로퍼티

protected ushort height
리턴 ushort

inputStatus1 보호되어 있는 프로퍼티

protected IReadOnlyIOPort inputStatus1
리턴 IReadOnlyIOPort

inputStatus1ReadB 보호되어 있는 프로퍼티

protected IReadWriteIOPort inputStatus1ReadB
리턴 IReadWriteIOPort

memory 보호되어 있는 프로퍼티

protected IMemory memory
리턴 IMemory

miscellaneousOutputRead 보호되어 있는 프로퍼티

protected IReadOnlyIOPort miscellaneousOutputRead
리턴 IReadOnlyIOPort

miscellaneousOutputWrite 보호되어 있는 프로퍼티

protected IWriteOnlyIOPort miscellaneousOutputWrite
리턴 IWriteOnlyIOPort

offset 보호되어 있는 프로퍼티

protected uint offset
리턴 uint

sequencerAddress 보호되어 있는 프로퍼티

protected IReadWriteIOPort sequencerAddress
리턴 IReadWriteIOPort

sequencerData 보호되어 있는 프로퍼티

protected IReadWriteIOPort sequencerData
리턴 IReadWriteIOPort

width 보호되어 있는 프로퍼티

protected ushort width
리턴 ushort