#include <drivers/vga.h>
#include <kernel/tty/tty.h>
#include <kernel/tty/vgabackend.h>
#include <stdint.h>
#include "drivers/framebuffer.h"
#include "kernel/tty/font8x16.h"
|
|
#define | GLYPH_WIDTH 8 |
|
#define | GLYPH_HEIGHT 16 |
|
|
static void | framebufferPutEntryAt (size_t column, size_t row, char c, uint8_t color) |
|
static void | framebufferScroll1 (uint8_t color) |
|
static void | framebufferClear1 (uint8_t color) |
|
void | framebufferBackendGet (Framebuffer *fb, TerminalBackend *terminal) |
- Author
- Avis
Framebuffer backend for terminal
◆ vgaPalette
| const uint32_t vgaPalette[16] |
|
static |
Initial value: = {
0x000000, 0x0000AA, 0x00AA00, 0x00AAAA, 0xAA0000, 0xAA00AA, 0xAA5500, 0xAAAAAA,
0x555555, 0x5555FF, 0x55FF55, 0x55FFFF, 0xFF5555, 0xFF55FF, 0xFFFF55, 0xFFFFFF,
}