Class TextScreen
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
Assembly: Cosmos.HAL2.dll
Syntax
public class TextScreen : TextScreenBase
Constructors
| Improve this Doc View SourceTextScreen()
Creat new instance of the TextScreen class.
Declaration
public TextScreen()
Fields
| Improve this Doc View SourceColor
Declaration
protected byte Color
Field Value
Type | Description |
---|---|
System.Byte |
Data1
First IOPort data.
Declaration
public const int Data1 = 965
Field Value
Type | Description |
---|---|
System.Int32 |
Data2
Second IOPort data.
Declaration
public const int Data2 = 975
Field Value
Type | Description |
---|---|
System.Int32 |
Data3
Third IOPort data.
Declaration
public const int Data3 = 981
Field Value
Type | Description |
---|---|
System.Int32 |
Idx1
First IOPort index.
Declaration
public const int Idx1 = 964
Field Value
Type | Description |
---|---|
System.Int32 |
Idx2
Second IOPort index.
Declaration
public const int Idx2 = 974
Field Value
Type | Description |
---|---|
System.Int32 |
Idx3
Third IOPort index.
Declaration
public const int Idx3 = 980
Field Value
Type | Description |
---|---|
System.Int32 |
mBackgroundClearCellValue
Declaration
protected ushort mBackgroundClearCellValue
Field Value
Type | Description |
---|---|
System.UInt16 |
mCursorSize
Declaration
protected int mCursorSize
Field Value
Type | Description |
---|---|
System.Int32 |
mCursorVisible
Declaration
protected bool mCursorVisible
Field Value
Type | Description |
---|---|
System.Boolean |
Memory
Memory.
Declaration
public MemoryBlock Memory
Field Value
Type | Description |
---|---|
MemoryBlock |
MiscOutput
Misc. output.
Declaration
public const int MiscOutput = 962
Field Value
Type | Description |
---|---|
System.Int32 |
mRAM
Declaration
public MemoryBlock08 mRAM
Field Value
Type | Description |
---|---|
MemoryBlock08 |
mRow2Addr
Declaration
public uint mRow2Addr
Field Value
Type | Description |
---|---|
System.UInt32 |
mScrollSize
Declaration
public uint mScrollSize
Field Value
Type | Description |
---|---|
System.UInt32 |
mTextClearCellValue
Declaration
protected ushort mTextClearCellValue
Field Value
Type | Description |
---|---|
System.UInt16 |
Properties
| Improve this Doc View SourceCols
Declaration
public override ushort Cols { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Overrides
| Improve this Doc View SourceItem[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
| Improve this Doc View SourceRows
Declaration
public override ushort Rows { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Overrides
Methods
| Improve this Doc View SourceClear()
Clear text screen.
Declaration
public override void Clear()
Overrides
| Improve this Doc View SourceGetColor()
Get screen color.
Declaration
public override byte GetColor()
Returns
Type | Description |
---|---|
System.Byte | byte value. |
Overrides
| Improve this Doc View SourceGetCursorSize()
Get cursor size.
Declaration
public override int GetCursorSize()
Returns
Type | Description |
---|---|
System.Int32 | int value. |
Overrides
| Improve this Doc View SourceGetCursorVisible()
Check if cursor is visible.
Declaration
public override bool GetCursorVisible()
Returns
Type | Description |
---|---|
System.Boolean | bool value. |
Overrides
| Improve this Doc View SourceScrollUp()
Scroll screen up.
Declaration
public override void ScrollUp()
Overrides
| Improve this Doc View SourceSetColors(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
| Improve this Doc View SourceSetCursorPos(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
| Improve this Doc View SourceSetCursorSize(Int32)
Set cursor size.
Declaration
public override void SetCursorSize(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Size value. |
Overrides
| Improve this Doc View SourceSetCursorVisible(Boolean)
Set cursor visibilty.
Declaration
public override void SetCursorVisible(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | TRUE - visible. |
Overrides
| Improve this Doc View SourceUpdateWindowSize()
Declaration
public void UpdateWindowSize()