C# Класс Mosa.DeviceDriver.PCI.S3.S3Trio64V2

Наследование: HardwareDevice, IDevice, IPixelPaletteGraphicsDevice
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
crtcControllerData IReadWriteIOPort
crtcControllerIndex IReadWriteIOPort
enhMapControllerIndex IReadWriteIOPort
frameBuffer IFrameBuffer
lfbControllerIndex IReadWriteIOPort
memory IMemory
miscOutputReader IReadWriteIOPort
miscOutputWriter IReadWriteIOPort
outportWrite IWriteOnlyIOPort
seqControllerData IReadWriteIOPort
seqControllerIndex IReadWriteIOPort
vgaEnableController IReadWriteIOPort

Открытые методы

Метод Описание
Clear ( byte colorIndex ) : void

Clears device with the specified color index.

GetPalette ( byte colorIndex ) : Color

Gets the palette.

OnInterrupt ( ) : bool

Called when an interrupt is received.

ReadPixel ( ushort x, ushort y ) : byte

Reads the pixel.

S3Trio64V2 ( ) : Mosa.DeviceSystem

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.

Приватные методы

Метод Описание
GetDisplayModeState ( ) : DisplayModeState

ReadCrtcRegister ( byte index ) : byte

ReadSequenceRegister ( byte index ) : byte

Reads in the sequence register's current value. The register is chosen by the given index.

SetDisplayModeState ( DisplayModeState dpmsMode ) : bool

WriteCrtcRegister ( byte index, byte value ) : void

WriteCrtcRegister ( byte index, byte value, byte mask ) : void

WriteSequenceRegister ( byte index, byte value ) : void

Write a value to the indexed sequence register.

WriteSequenceRegister ( byte index, byte value, byte mask ) : void

Write a masked value to the indexed sequence register.

Описание методов

Clear() публичный Метод

Clears device with the specified color index.
public Clear ( byte colorIndex ) : void
colorIndex byte Index of the color.
Результат void

GetPalette() публичный Метод

Gets the palette.
public GetPalette ( byte colorIndex ) : Color
colorIndex byte Index of the color.
Результат Mosa.DeviceSystem.Color

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

S3Trio64V2() публичный Метод

public S3Trio64V2 ( ) : Mosa.DeviceSystem
Результат Mosa.DeviceSystem

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

Описание свойств

crtcControllerData защищенное свойство

protected IReadWriteIOPort crtcControllerData
Результат IReadWriteIOPort

crtcControllerIndex защищенное свойство

protected IReadWriteIOPort crtcControllerIndex
Результат IReadWriteIOPort

enhMapControllerIndex защищенное свойство

protected IReadWriteIOPort enhMapControllerIndex
Результат IReadWriteIOPort

frameBuffer защищенное свойство

protected IFrameBuffer frameBuffer
Результат IFrameBuffer

lfbControllerIndex защищенное свойство

protected IReadWriteIOPort lfbControllerIndex
Результат IReadWriteIOPort

memory защищенное свойство

protected IMemory memory
Результат IMemory

miscOutputReader защищенное свойство

protected IReadWriteIOPort miscOutputReader
Результат IReadWriteIOPort

miscOutputWriter защищенное свойство

protected IReadWriteIOPort miscOutputWriter
Результат IReadWriteIOPort

outportWrite защищенное свойство

protected IWriteOnlyIOPort outportWrite
Результат IWriteOnlyIOPort

seqControllerData защищенное свойство

IOPort to write data to the sequence registers
protected IReadWriteIOPort seqControllerData
Результат IReadWriteIOPort

seqControllerIndex защищенное свойство

IOPort to index sequence registers
protected IReadWriteIOPort seqControllerIndex
Результат IReadWriteIOPort

vgaEnableController защищенное свойство

protected IReadWriteIOPort vgaEnableController
Результат IReadWriteIOPort