Class Global
Inheritance
System.Object
Global
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 static class Global
Fields
| Improve this Doc View Sourcedebugger
Declaration
public static readonly Debugger debugger
Field Value
Type | Description |
---|---|
Debugger |
Pci
Declaration
public static PCI Pci
Field Value
Type | Description |
---|---|
PCI |
PIT
Declaration
public static PIT PIT
Field Value
Type | Description |
---|---|
PIT |
PS2Controller
Declaration
public static readonly PS2Controller PS2Controller
Field Value
Type | Description |
---|---|
PS2Controller |
TextScreen
Declaration
public static TextScreenBase TextScreen
Field Value
Type | Description |
---|---|
TextScreenBase |
Properties
| Improve this Doc View SourceInterruptsEnabled
Check if CPU interrupts are enabled.
Declaration
public static bool InterruptsEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceEnableInterrupts()
Enable interrupts.
Declaration
public static void EnableInterrupts()
GetKeyboardDevices()
Get keyboard devices.
Declaration
public static IEnumerable<KeyboardBase> GetKeyboardDevices()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<KeyboardBase> | IEnumerable{KeyboardBase} value. |
GetMouseDevices()
Get mouse devices.
Declaration
public static IEnumerable<MouseBase> GetMouseDevices()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<MouseBase> | IEnumerable{MouseBase} value. |
Init(TextScreenBase, Boolean, Boolean, Boolean, Boolean)
Init Global instance.
Declaration
public static void Init(TextScreenBase textScreen, bool InitScrollWheel, bool InitPS2, bool InitNetwork, bool IDEInit)
Parameters
Type | Name | Description |
---|---|---|
TextScreenBase | textScreen | Text screen. |
System.Boolean | InitScrollWheel | |
System.Boolean | InitPS2 | |
System.Boolean | InitNetwork | |
System.Boolean | IDEInit |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | Thrown on IO error. |