Introduce legacy VGA text mode support
Some checks failed
Builds / ExectOS (i686, debug) (push) Failing after 36s
Builds / ExectOS (i686, release) (push) Failing after 34s
Builds / ExectOS (amd64, debug) (push) Failing after 47s
Builds / ExectOS (amd64, release) (push) Failing after 46s

This commit is contained in:
2025-10-15 20:49:17 +02:00
parent 9bf867af95
commit 13a9d4c522
4 changed files with 222 additions and 0 deletions

View File

@@ -15,6 +15,25 @@
#include <libxtos.hh>
class BiosUtils
{
private:
STATIC USHORT CursorX;
STATIC USHORT CursorY;
STATIC CONST USHORT VgaHeight;
STATIC CONST USHORT VgaWidth;
public:
STATIC XTCDECL VOID ClearScreen();
STATIC XTCDECL VOID Print(IN PCWSTR Format,
IN ...);
STATIC XTCDECL XTSTATUS PutChar(IN WCHAR Character);
private:
STATIC XTCDECL VOID ScrollScreen();
STATIC XTCDECL VOID UpdateCursor();
};
class BootUtils
{
public: