Class Global
Inheritance
System.Object
Global
Namespace: Cosmos.HAL
Assembly: Cosmos.HAL2.dll
Syntax
public static class Global : object
Fields
| Improve this Doc View SourcemDebugger
Declaration
public static readonly Debugger mDebugger
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 |
---|---|
IEnumerable<KeyboardBase> | IEnumerable{KeyboardBase} value. |
GetMouseDevices()
Get mouse devices.
Declaration
public static IEnumerable<MouseBase> GetMouseDevices()
Returns
Type | Description |
---|---|
IEnumerable<MouseBase> | IEnumerable{MouseBase} value. |
Init(TextScreenBase)
Init Global inctanse.
Declaration
public static void Init(TextScreenBase textScreen)
Parameters
Type | Name | Description |
---|---|---|
TextScreenBase | textScreen | Text screen. |