A basic console implementation - uses the BIOS's fixed text-video memory to output ASCII text.
Inheritance Hierarchy
Kernel BasicConsole
Namespace: Kernel
Assembly: Kernel (in Kernel.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The BasicConsole type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() ![]() | BasicConsole |
Methods
Name | Description | |
---|---|---|
![]() ![]() | Clear |
Clears the output to all black.
|
![]() ![]() | PrintTestString |
Prints the test string (all the keyboard characters) to the start of the output - overwrites any existing text.
|
![]() ![]() | Write |
Writes the specified string to the output at the current offset.
|
![]() ![]() | WriteLine |
Writes the specified string to the output at the current offset then moves the offset to the end of the line.
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | colour |
Default colour to print characters in.
|
![]() ![]() | cols |
Number of columns in the video memory.
|
![]() ![]() | offset |
The offset from the start of the memory (in characters) to write the next character to.
|
![]() ![]() | rows |
Numbers of rows in the video memory.
|
![]() ![]() | vidMemBasePtr |
A pointer to the start of the (character-based) video memory.
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | Offset |
The offset from the start of the memory (in characters) to write the next character to.
|
See Also