#include <Vga.h>
Vga device abstraction.
Definition at line 30 of file include/pedigree/kernel/machine/Vga.h.
◆ enterPanicMode()
| virtual void Vga::enterPanicMode |
( |
| ) |
|
|
inlinevirtual |
◆ flush()
| virtual void Vga::flush |
( |
| ) |
|
|
inlinevirtual |
◆ getNumCols()
| virtual size_t Vga::getNumCols |
( |
| ) |
|
|
pure virtual |
◆ getNumRows()
| virtual size_t Vga::getNumRows |
( |
| ) |
|
|
pure virtual |
◆ moveCursor()
| virtual void Vga::moveCursor |
( |
size_t |
nX, |
|
|
size_t |
nY |
|
) |
| |
|
pure virtual |
◆ peekBuffer()
| virtual void Vga::peekBuffer |
( |
uint8_t * |
pBuffer, |
|
|
size_t |
nBufLen |
|
) |
| |
|
pure virtual |
Copies the current framebuffer into the given buffer.
The buffer is assumed to be in the correct format for directly copying from video memory. This will obviously depend on the current mode (text/graphical) as well as resolution and bits per pixel (graphics mode only).
- Parameters
-
| A | pointer to the buffer. |
| The | length of pBuffer. |
Implemented in HostedVga, and X86Vga.
◆ pokeBuffer()
| virtual void Vga::pokeBuffer |
( |
uint8_t * |
pBuffer, |
|
|
size_t |
nBufLen |
|
) |
| |
|
pure virtual |
Copies the given buffer into video memory, replacing the current framebuffer.
The buffer is assumed to be in the correct format for directly copying into video memory. This will obviously depend on the current mode (text/graphical) as well as resolution and bits per pixel (graphics mode only).
- Parameters
-
| A | pointer to the buffer to swap into video memory. |
| The | length of pBuffer. |
Implemented in HostedVga, and X86Vga.
◆ setFramebuffer()
◆ setLargestTextMode()
| virtual bool Vga::setLargestTextMode |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: