• Home
  • Install
  • Cosmos Website
  • Articles
  • Cosmos
  • X#
  • IL2CPU
Show / Hide Table of Contents
  • Cosmos.Core
    • ACPI
    • ACPI.RSDPtr
    • Bootstrap
    • CPU
    • GCImplementation
    • GCTable
    • Global
    • INTs
    • INTs.EFlagsEnum
    • INTs.ExceptionInterruptDelegate
    • INTs.IRQContext
    • INTs.IRQDelegate
    • INTs.MMXContext
    • INTs.TSS
    • IOPort
    • KernelPanics
    • ManagedMemoryBlock
    • MemoryBlock
    • MemoryBlock08
    • MemoryBlock16
    • MemoryBlock32
    • MemoryMapBlock
    • MemoryOperations
    • PIC
    • PIC.Cmd
    • RawMemoryMapBlock
    • VTable
    • VTablesImpl
  • Cosmos.Core.IOGroup
    • ATA
    • PIC
    • PS2Controller
  • Cosmos.Core.Memory
    • Heap
    • HeapLarge
    • HeapMedium
    • HeapSmall
    • ObjectGCStatus
    • RAT
    • RAT.PageType
    • RootSMTBlock
    • SMTBlock
    • SMTPage
  • Cosmos.Core.MemoryGroup
    • AHCI
  • Cosmos.Core.Multiboot
    • Multiboot2
  • Cosmos.Core.Multiboot.Tags
    • AcpiNew
    • AcpiOld
    • BasicMemoryInformation
    • EFI64
    • Framebuffer
    • MB2Tag
    • MemoryMap
  • Cosmos.Core_Asm
    • ArrayClearAsm
    • ArrayGetLengthAsm
    • ArrayImpl
    • ArrayInternalCopyAsm
    • BufferBlockCopyAsm
    • BufferImpl
    • CPUCanReadCPUIDAsm
    • CPUDisableINTsAsm
    • CPUEnableINTsAsm
    • CPUGetEBPValue
    • CPUGetEndOfKernelAsm
    • CPUGetESPValue
    • CPUGetStackStart
    • CPUHaltAsm
    • CPUImpl
    • CPUInitFloatAsm
    • CPUInitSSEAsm
    • CPUReadCPUIDAsm
    • CPUReadModelSpecificRegisterAsm
    • CPUReadTimestampCounterAsm
    • CPUSetESPValue
    • CPUUpdateIDTAsm
    • CPUZeroFillAsm
    • DelegateCtorAsm
    • DelegateGetMulticastInvokeAsm
    • DelegateImpl
    • DelegateInvokeAsm
    • GCImplementationImpl
    • IOPortImpl
    • Multiboot2Impl
    • Multiboot2ImplAsm
    • RuntimeHelpersImpl
  • Cosmos.Core_Asm.MemoryOperations
    • MemoryOperationsCopy128BlocksAsm
    • MemoryOperationsCopy128BytesAsm
    • MemoryOperationsCopy16BytesAsm
    • MemoryOperationsCopy32BytesAsm
    • MemoryOperationsCopy64BytesAsm
    • MemoryOperationsFill16BlocksAsm
  • Cosmos.Debug.Kernel
    • Debugger
    • DebuggerFactory
  • Cosmos.HAL
    • BaudRate
    • Bootstrap
    • CardType
    • ClassID
    • COMPort
    • DataReceivedHandler
    • Device
    • DeviceID
    • Global
    • KeyboardBase
    • KeyboardBase.KeyPressedEventHandler
    • MouseBase
    • MouseBase.MouseChangedEventHandler
    • NetworkDevice
    • PCI
    • PCIBaseAddressBar
    • PCIDevice
    • PCIDevice.Config
    • PCIDevice.DeviceClass
    • PCIDevice.PCIBist
    • PCIDevice.PCICommand
    • PCIDevice.PCIHeaderType
    • PCIDevice.PCIInterruptPIN
    • PCIDeviceBridge
    • PCIDeviceCardbus
    • PCIDeviceNormal
    • PCSpeaker
    • PIT
    • PIT.PITTimer
    • PIT.PITTimer.OnTrigger
    • Power
    • ProgramIF
    • PS2Controller
    • PS2Keyboard
    • PS2Mouse
    • RTC
    • SerialPort
    • SpeakerExtensions
    • SubclassID
    • TextScreen
    • TextScreenBase
    • TextScreenHelpers
    • VendorID
  • Cosmos.HAL.Audio
    • AudioBitDepth
    • AudioBuffer
    • IAudioBufferProvider
    • SampleFormat
  • Cosmos.HAL.BlockDevice
    • AHCI
    • Ata
    • Ata.BusPositionEnum
    • Ata.ControllerIdEnum
    • ATA_PIO
    • ATA_PIO.Cmd
    • ATA_PIO.DvcSelVal
    • ATA_PIO.Ident
    • ATA_PIO.SpecLevel
    • ATA_PIO.Status
    • ATAPI
    • ATAPI.PacketCommands
    • BlockDevice
    • BlockDeviceType
    • EBR
    • EBR.PartInfo
    • GPT
    • GPT.GPartInfo
    • IDE
    • MBR
    • MBR.PartInfo
    • Partition
  • Cosmos.HAL.BlockDevice.Ports
    • SATA
    • SATAPI
    • StoragePort
  • Cosmos.HAL.BlockDevice.Registers
    • AHCISignature
    • ATACommands
    • ATADeviceStatus
    • Base
    • Bases
    • CommandAndStatus
    • CurrentInterfaceSpeedStatus
    • DeviceDetectionStatus
    • FISRegisterD2H
    • FISRegisterH2D
    • FISSize
    • FISType
    • GenericRegisters
    • HBACommandHeader
    • HBACommandTable
    • HBAPRDTEntry
    • InterfacePowerManagementStatus
    • InterruptEnable
    • InterruptStatus
    • PortRegisters
    • PortType
  • Cosmos.HAL.Drivers.Audio
    • AC97
    • AudioDriver
  • Cosmos.HAL.Drivers.Network
    • AMDPCNetII
    • E1000
    • E1000.RXDesc
    • E1000.TXDesc
    • E1000DeviceID
    • RTL8139
  • Cosmos.HAL.Drivers.USB
    • USBHost
  • Cosmos.HAL.Drivers.Video
    • VBEDriver
    • VGADriver
    • VGADriver.ColorDepth
    • VGADriver.ScreenSize
    • VGADriver.TextSize
  • Cosmos.HAL.Drivers.Video.SVGAII
    • Capability
    • FIFO
    • FIFOCommand
    • ID
    • IOPortOffset
    • Register
    • VMWareSVGAII
  • Cosmos.HAL.Network
    • MACAddress
    • NetworkInit
  • Cosmos.System
    • Console
    • ConsoleKeyEx
    • ConsoleKeyExExtensions
    • Durations
    • Global
    • Kernel
    • KeyboardManager
    • KeyEvent
    • KeyEvent.KeyEventType
    • KeyMapping
    • MouseManager
    • MouseState
    • Notes
    • PCSExtensions
    • PCSpeaker
    • Power
    • ScanMapBase
    • VMTools
  • Cosmos.System.Audio
    • AudioManager
    • AudioMixer
    • AudioStream
  • Cosmos.System.Audio.DSP.Processing
    • AudioPostProcessor
    • GainPostProcessor
  • Cosmos.System.Audio.IO
    • AudioBufferReader
    • AudioBufferReadWriteBase
    • AudioBufferWriter
    • MemoryAudioStream
    • SeekableAudioStream
  • Cosmos.System.ExtendedASCII
    • CosmosEncodingProvider
  • Cosmos.System.FileSystem
    • CosmosVFS
    • Disk
    • FileSystem
    • FileSystemFactory
    • ManagedPartition
  • Cosmos.System.FileSystem.FAT
    • FatFileSystemFactory
  • Cosmos.System.FileSystem.FAT.Listing
    • FatDirectoryEntryAttributeConsts
    • FatDirectoryEntryMetadata
    • FatDirectoryEntryMetadata.LongFilenameEntryMetadata
  • Cosmos.System.FileSystem.ISO9660
    • ISO9660FileSystem
    • ISO9660FileSystemFactory
  • Cosmos.System.FileSystem.Listing
    • DirectoryEntry
    • DirectoryEntryTypeEnum
  • Cosmos.System.FileSystem.VFS
    • FileSystemManager
    • VFSBase
    • VFSManager
  • Cosmos.System.Graphics
    • Bitmap
    • Canvas
    • ColorDepth
    • ColorOrder
    • FullScreenCanvas
    • Image
    • ImageFormat
    • Mode
    • SVGAIICanvas
    • VBECanvas
    • VGACanvas
    • VGAScreen
  • Cosmos.System.Graphics.Fonts
    • Font
    • PCScreenFont
    • UnicodeMapping
  • Cosmos.System.Helpers
    • ArrayHelper
  • Cosmos.System.IO
    • ConsoleStream
    • SyncTextReader
  • Cosmos.System.Keyboard
    • KeyEventHelper
  • Cosmos.System.Network
    • EthernetPacket
    • NetworkDebugger
    • NetworkStack
  • Cosmos.System.Network.ARP
    • ARPPacket
  • Cosmos.System.Network.Config
    • DNSConfig
    • IPConfig
    • NetworkConfig
    • NetworkConfiguration
  • Cosmos.System.Network.IPv4
    • Address
    • EndPoint
    • ICMPClient
    • ICMPPacket
    • IPPacket
    • OutgoingBuffer
  • Cosmos.System.Network.IPv4.TCP
    • Flags
    • Status
    • Tcp
    • TCPOption
    • TCPPacket
    • TransmissionControlBlock
  • Cosmos.System.Network.IPv4.UDP
    • UdpClient
    • UDPPacket
  • Cosmos.System.Network.IPv4.UDP.DHCP
    • DHCPClient
    • DHCPOption
    • DHCPPacket
  • Cosmos.System.Network.IPv4.UDP.DNS
    • DNSAnswer
    • DnsClient
    • DNSPacket
    • DNSPacketAnswer
    • DNSPacketAsk
    • DNSQuery
    • ReplyCode
  • Cosmos.System.ScanMaps
    • DEStandardLayout
    • ESStandardLayout
    • FRStandardLayout
    • GBStandardLayout
    • TRStandardLayout
    • US_Dvorak
    • USStandardLayout

Class VMWareSVGAII

VMWareSVGAII class.

Inheritance
System.Object
VMWareSVGAII
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.HAL.Drivers.Video.SVGAII
Assembly: Cosmos.HAL2.dll
Syntax
public class VMWareSVGAII

Constructors

| Improve this Doc View Source

VMWareSVGAII()

Initializes a new instance of the VMWareSVGAII class.

Declaration
public VMWareSVGAII()

Fields

| Improve this Doc View Source

FrameOffset

Declaration
public uint FrameOffset
Field Value
Type Description
System.UInt32
| Improve this Doc View Source

FrameSize

Declaration
public uint FrameSize
Field Value
Type Description
System.UInt32
| Improve this Doc View Source

videoMemory

Video memory block.

Declaration
public readonly MemoryBlock videoMemory
Field Value
Type Description
MemoryBlock

Methods

| Improve this Doc View Source

Clear(UInt32)

Clear screen to specified color.

Declaration
public void Clear(uint color)
Parameters
Type Name Description
System.UInt32 color

Color.

Exceptions
Type Condition
System.Exception

Thrown on memory access violation.

System.NotImplementedException

Thrown if VMWare SVGA 2 has no rectange copy capability

| Improve this Doc View Source

Copy(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)

Copy rectangle.

Declaration
public void Copy(uint x, uint y, uint newX, uint newY, uint width, uint height)
Parameters
Type Name Description
System.UInt32 x

Source X coordinate.

System.UInt32 y

Source Y coordinate.

System.UInt32 newX

Destination X coordinate.

System.UInt32 newY

Destination Y coordinate.

System.UInt32 width

Width.

System.UInt32 height

Height.

Exceptions
Type Condition
System.NotImplementedException

Thrown if VMWare SVGA 2 has no rectange copy capability

| Improve this Doc View Source

DefineAlphaCursor(UInt32, UInt32, Int32[])

Define alpha cursor.

Declaration
public void DefineAlphaCursor(uint width, uint height, int[] data)
Parameters
Type Name Description
System.UInt32 width
System.UInt32 height
System.Int32[] data
| Improve this Doc View Source

DefineCursor()

Define cursor.

Declaration
public void DefineCursor()
| Improve this Doc View Source

Disable()

Disable the SVGA Driver, returns to text mode.

Declaration
public void Disable()
| Improve this Doc View Source

DoubleBufferUpdate()

Update video memory.

Declaration
public void DoubleBufferUpdate()
| Improve this Doc View Source

Enable()

Enable the SVGA Driver, only needed after Disable() has been called.

Declaration
public void Enable()
| Improve this Doc View Source

Fill(UInt32, UInt32, UInt32, UInt32, UInt32)

Fill rectangle.

Declaration
public void Fill(uint x, uint y, uint width, uint height, uint color)
Parameters
Type Name Description
System.UInt32 x

X coordinate.

System.UInt32 y

Y coordinate.

System.UInt32 width

Width.

System.UInt32 height

Height.

System.UInt32 color

Color.

Exceptions
Type Condition
System.Exception

Thrown on memory access violation.

System.NotImplementedException

Thrown if VMWare SVGA 2 has no rectange copy capability

| Improve this Doc View Source

GetFIFO(FIFO)

Get FIFO.

Declaration
public uint GetFIFO(FIFO cmd)
Parameters
Type Name Description
FIFO cmd

FIFO command.

Returns
Type Description
System.UInt32

uint value.

| Improve this Doc View Source

GetPixel(UInt32, UInt32)

Get pixel.

Declaration
public uint GetPixel(uint x, uint y)
Parameters
Type Name Description
System.UInt32 x

X coordinate.

System.UInt32 y

Y coordinate.

Returns
Type Description
System.UInt32

uint value.

Exceptions
Type Condition
System.Exception

Thrown on memory access violation.

| Improve this Doc View Source

InitializeFIFO()

Initialize FIFO.

Declaration
public void InitializeFIFO()
| Improve this Doc View Source

ReadRegister(Register)

Read register.

Declaration
public uint ReadRegister(Register register)
Parameters
Type Name Description
Register register

A register.

Returns
Type Description
System.UInt32

uint value.

| Improve this Doc View Source

SetCursor(Boolean, UInt32, UInt32)

Sets the cursor position and draws it.

Declaration
public void SetCursor(bool visible, uint x, uint y)
Parameters
Type Name Description
System.Boolean visible

Visible.

System.UInt32 x

X coordinate.

System.UInt32 y

Y coordinate.

| Improve this Doc View Source

SetFIFO(FIFO, UInt32)

Set FIFO.

Declaration
public uint SetFIFO(FIFO cmd, uint value)
Parameters
Type Name Description
FIFO cmd

Command.

System.UInt32 value

Value.

Returns
Type Description
System.UInt32
| Improve this Doc View Source

SetMode(UInt32, UInt32, UInt32)

Set video mode.

Declaration
public void SetMode(uint width, uint height, uint depth = 32U)
Parameters
Type Name Description
System.UInt32 width

Width.

System.UInt32 height

Height.

System.UInt32 depth

Depth.

| Improve this Doc View Source

SetPixel(UInt32, UInt32, UInt32)

Set pixel.

Declaration
public void SetPixel(uint x, uint y, uint color)
Parameters
Type Name Description
System.UInt32 x

X coordinate.

System.UInt32 y

Y coordinate.

System.UInt32 color

Color.

Exceptions
Type Condition
System.Exception

Thrown on memory access violation.

| Improve this Doc View Source

Update(UInt32, UInt32, UInt32, UInt32)

Update FIFO.

Declaration
public void Update(uint x, uint y, uint width, uint height)
Parameters
Type Name Description
System.UInt32 x

X coordinate.

System.UInt32 y

Y coordinate.

System.UInt32 width

Width.

System.UInt32 height

Height.

| Improve this Doc View Source

WaitForFifo()

Wait for FIFO.

Declaration
public void WaitForFifo()
| Improve this Doc View Source

WriteRegister(Register, UInt32)

Write register.

Declaration
public void WriteRegister(Register register, uint value)
Parameters
Type Name Description
Register register

A register.

System.UInt32 value

A value.

| Improve this Doc View Source

WriteToFifo(UInt32)

Write to FIFO.

Declaration
public void WriteToFifo(uint value)
Parameters
Type Name Description
System.UInt32 value

Value to write.

  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
☀
☾