StuBS
Multiboot::Framebuffer Struct Reference

Video mode: Framebuffer. More...

#include <data.h>

Public Types

enum  Type : uint8_t { INDEXED = 0 , RGB = 1 , EGA_TEXT = 2 }
 

Public Attributes

uint64_t address
 Physical address of the framebuffer.
 
uint32_t pitch
 Number of bytes per row.
 
uint32_t width
 Width of framebuffer.
 
uint32_t height
 Height of framebuffer.
 
uint8_t bpp
 Bits per pixel.
 

Detailed Description

Video mode: Framebuffer.

This beautiful structure contains everything required for using the graphic framebuffer in a very handy manner – however, it may not be well supported by current boot loaders... These information can be retrieved from VBE as well, though you then have to parse these huge structures containing a lot of useless stuff.

Member Enumeration Documentation

◆ Type

Enumerator
INDEXED 

Using a custom color palette.

RGB 

Standard red-green-blue.

EGA_TEXT 

Enhanced Graphics Adapter color palette.


The documentation for this struct was generated from the following file: