• 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 TextScreen

Inheritance
System.Object
Device
TextScreenBase
TextScreen
Inherited Members
TextScreenBase.Foreground
TextScreenBase.Background
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
Assembly: Cosmos.HAL2.dll
Syntax
public class TextScreen : TextScreenBase

Constructors

| Improve this Doc View Source

TextScreen()

Creat new instance of the TextScreen class.

Declaration
public TextScreen()

Fields

| Improve this Doc View Source

Color

Declaration
protected byte Color
Field Value
Type Description
System.Byte
| Improve this Doc View Source

Data1

First IOPort data.

Declaration
public const int Data1 = 965
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Data2

Second IOPort data.

Declaration
public const int Data2 = 975
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Data3

Third IOPort data.

Declaration
public const int Data3 = 981
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Idx1

First IOPort index.

Declaration
public const int Idx1 = 964
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Idx2

Second IOPort index.

Declaration
public const int Idx2 = 974
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Idx3

Third IOPort index.

Declaration
public const int Idx3 = 980
Field Value
Type Description
System.Int32
| Improve this Doc View Source

mBackgroundClearCellValue

Declaration
protected ushort mBackgroundClearCellValue
Field Value
Type Description
System.UInt16
| Improve this Doc View Source

mCursorSize

Declaration
protected int mCursorSize
Field Value
Type Description
System.Int32
| Improve this Doc View Source

mCursorVisible

Declaration
protected bool mCursorVisible
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Memory

Memory.

Declaration
public MemoryBlock Memory
Field Value
Type Description
MemoryBlock
| Improve this Doc View Source

MiscOutput

Misc. output.

Declaration
public const int MiscOutput = 962
Field Value
Type Description
System.Int32
| Improve this Doc View Source

mRAM

Declaration
public MemoryBlock08 mRAM
Field Value
Type Description
MemoryBlock08
| Improve this Doc View Source

mRow2Addr

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

mScrollSize

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

mTextClearCellValue

Declaration
protected ushort mTextClearCellValue
Field Value
Type Description
System.UInt16

Properties

| Improve this Doc View Source

Cols

Declaration
public override ushort Cols { get; set; }
Property Value
Type Description
System.UInt16
Overrides
TextScreenBase.Cols
| Improve this Doc View Source

Item[Int32, Int32]

Declaration
public override byte this[int aX, int aY] { get; set; }
Parameters
Type Name Description
System.Int32 aX
System.Int32 aY
Property Value
Type Description
System.Byte
Overrides
TextScreenBase.Item[Int32, Int32]
| Improve this Doc View Source

Rows

Declaration
public override ushort Rows { get; set; }
Property Value
Type Description
System.UInt16
Overrides
TextScreenBase.Rows

Methods

| Improve this Doc View Source

Clear()

Clear text screen.

Declaration
public override void Clear()
Overrides
TextScreenBase.Clear()
| Improve this Doc View Source

GetColor()

Get screen color.

Declaration
public override byte GetColor()
Returns
Type Description
System.Byte

byte value.

Overrides
TextScreenBase.GetColor()
| Improve this Doc View Source

GetCursorSize()

Get cursor size.

Declaration
public override int GetCursorSize()
Returns
Type Description
System.Int32

int value.

Overrides
TextScreenBase.GetCursorSize()
| Improve this Doc View Source

GetCursorVisible()

Check if cursor is visible.

Declaration
public override bool GetCursorVisible()
Returns
Type Description
System.Boolean

bool value.

Overrides
TextScreenBase.GetCursorVisible()
| Improve this Doc View Source

ScrollUp()

Scroll screen up.

Declaration
public override void ScrollUp()
Overrides
TextScreenBase.ScrollUp()
| Improve this Doc View Source

SetColors(ConsoleColor, ConsoleColor)

Set screen foreground and background colors.

Declaration
public override void SetColors(ConsoleColor aForeground, ConsoleColor aBackground)
Parameters
Type Name Description
System.ConsoleColor aForeground

Foreground color.

System.ConsoleColor aBackground

Background color.

Overrides
TextScreenBase.SetColors(ConsoleColor, ConsoleColor)
| Improve this Doc View Source

SetCursorPos(Int32, Int32)

Set cursor position.

Declaration
public override void SetCursorPos(int aX, int aY)
Parameters
Type Name Description
System.Int32 aX

A position on X axis.

System.Int32 aY

A position on Y axis.

Overrides
TextScreenBase.SetCursorPos(Int32, Int32)
| Improve this Doc View Source

SetCursorSize(Int32)

Set cursor size.

Declaration
public override void SetCursorSize(int value)
Parameters
Type Name Description
System.Int32 value

Size value.

Overrides
TextScreenBase.SetCursorSize(Int32)
| Improve this Doc View Source

SetCursorVisible(Boolean)

Set cursor visibilty.

Declaration
public override void SetCursorVisible(bool value)
Parameters
Type Name Description
System.Boolean value

TRUE - visible.

Overrides
TextScreenBase.SetCursorVisible(Boolean)
| Improve this Doc View Source

UpdateWindowSize()

Declaration
public void UpdateWindowSize()
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
☀
☾