20 #ifndef MACHINE_HOSTED_VGA_H 21 #define MACHINE_HOSTED_VGA_H 23 #include "pedigree/kernel/machine/Vga.h" 57 isMode(
size_t nCols,
size_t nRows,
bool bIsText,
size_t nBpp = 0);
101 virtual void pokeBuffer(uint8_t *pBuffer,
size_t nBufLen);
112 virtual void peekBuffer(uint8_t *pBuffer,
size_t nBufLen);
119 virtual void moveCursor(
size_t nX,
size_t nY);
123 operator uint16_t *()
const
virtual void setControl(VgaControl which)
virtual void clearControl(VgaControl which)
virtual size_t getNumCols()
virtual bool isMode(size_t nCols, size_t nRows, bool bIsText, size_t nBpp=0)
virtual void peekBuffer(uint8_t *pBuffer, size_t nBufLen)
virtual void rememberMode()
static uint8_t ansiColourFixup(uint8_t colour)
virtual void moveCursor(size_t nX, size_t nY)
virtual void pokeBuffer(uint8_t *pBuffer, size_t nBufLen)
virtual bool setMode(int mode)
virtual bool setLargestTextMode()
virtual size_t getNumRows()
virtual bool isLargestTextMode()
virtual void restoreMode()
static void printAttrAsAnsi(uint8_t attr)