Max OS 0.3
Loading...
Searching...
No Matches
framebuffer.h File Reference

Defines the VESABootConsole driver for handling console output during boot using an VESA framebuffer. More...

#include <cstdint>
#include <libcommon/colour.h>
#include <libcommon/mem.h>
#include <console/console.h>
#include <common/logo.h>
#include <common/logo_kp.h>
#include <common/graphicsContext.h>
#include <system/cpu.h>
#include <memory/memorymanagement.h>

Go to the source code of this file.

Classes

class  MaxOS::console::FramebufferConsole
 Handles the printing of characters and strings to the screen using a framebuffer. More...
 

Variables

constexpr uint8_t MaxOS::console::FONT_PADDING = 3
 How many vertical pixels to add to the top and bottom of the font to prevent squishing.
 
constexpr uint8_t MaxOS::console::FONT_HEIGHT = 8 + (2 * FONT_PADDING)
 How many pixels tall the font is.
 
constexpr uint8_t MaxOS::console::FONT_WIDTH = 8
 How many pixels wide the font is.
 

Detailed Description

Defines the VESABootConsole driver for handling console output during boot using an VESA framebuffer.

Date
2nd October 2023
Author
Max Tyson

Definition in file framebuffer.h.

Variable Documentation

◆ FONT_HEIGHT

constexpr uint8_t MaxOS::console::FONT_HEIGHT = 8 + (2 * FONT_PADDING)
constexpr

◆ FONT_PADDING

constexpr uint8_t MaxOS::console::FONT_PADDING = 3
constexpr

How many vertical pixels to add to the top and bottom of the font to prevent squishing.

Definition at line 286 of file framebuffer.h.

Referenced by MaxOS::console::FramebufferConsole::put_character().

◆ FONT_WIDTH

constexpr uint8_t MaxOS::console::FONT_WIDTH = 8
constexpr