11 void Vga::PutChar(
unsigned char Char)
16 (m_Row == VGA_HEIGHT) ? m_Row = 0 : ++m_Row;
20 PutChar(Entry(Char, m_Color), m_Row, m_Col);
22 if (++m_Col == VGA_WIDTH) {
26 if (++m_Row == VGA_HEIGHT) {
33 void Vga::Fill(
const VgaChar Char)
35 for (m_Row = 0; m_Row < VGA_HEIGHT; ++m_Row) {
36 for (m_Col = 0; m_Col < VGA_WIDTH; ++m_Col) {
37 PutChar(Char, m_Row, m_Col);
45 void Vga::Initialize()
49 const auto Char = Entry(
' ', m_Color);
59 for (
size_t i = 0; i <
Strlen(Str); ++i)
void SetColor(VgaColor Color)
Set text color.
Video Graphics Array namespace.
Manages access to VGA driver.
contains all kernel initialization routines
void Puts(const char *Str)
Print string to display.
size_t Strlen(const char *Str)
Count number of characters in string.
void VGA()
Clear VGA display, and print kernel banner.