StuBS
|
Mode Information of the Vesa BIOS Extension More...
Public Types | |
enum | ModeAttributes : uint16_t { SUPPORTED = 1 << 0 , TTY = 1 << 2 , COLOR = 1 << 3 , GRAPHICS = 1 << 4 , VGA = 1 << 5 , VGA_PAGED = 1 << 6 , LFB = 1 << 7 } |
enum | MemoryModel : uint8_t { TEXT_MODE = 0 , CGA = 1 , HERCULES = 2 , PLANAR = 3 , PACKED = 4 , NON_CHAIN_4 = 5 , DIRECT_COLOR = 6 , YUV = 7 } |
enum | DirectColorAttributes : uint8_t { DYNAMIC_COLOR_RAMP = 1 << 0 , USABLE_BITS = 1 << 1 } |
Public Attributes | |
uint16_t | pitch |
Bytes per scan line. | |
uint16_t | width |
Horizontal resolution in pixels (GRAPHICS) or characters. | |
uint16_t | height |
Vertical resolution in pixels (GRAPHICS) or characters. | |
uint8_t | char_width |
Character cell width in pixels (deprecated) | |
uint8_t | char_height |
Character cell height in pixels (deprecated) | |
uint8_t | planes |
Number of memory planes. | |
uint8_t | bpp |
Bits per pixel. | |
uint8_t | banks |
Number of banks. | |
enum VbeModeInfo::MemoryModel | memory_model |
Memory model type. | |
uint8_t | bank_size |
Bank size in KB. | |
uint8_t | image_pages |
Number of images. | |
uint8_t | reserved |
Reserved for page function. | |
uint8_t | bits_red |
Size of direct color red mask in bits. | |
uint8_t | offset_red |
Bit position of lsb of red mask. | |
uint8_t | bits_green |
Size of direct color green mask in bits. | |
uint8_t | offset_green |
Bit position of lsb of green mask. | |
uint8_t | bits_blue |
Size of direct color blue mask in bits. | |
uint8_t | offset_blue |
Bit position of lsb of blue mask. | |
uint8_t | bits_rsv |
Size of direct color reserved mask in bits. | |
uint8_t | offset_rsv |
Bit position of lsb of reserved mask. | |
uint8_t | directcolor_attributes |
direct color mode attributes | |
uint32_t | address |
physical address for flat memory frame buffer | |
uint32_t | offscreen_memory_offset |
reserved | |
uint16_t | offscreen_memory_size |
reserved | |
Mode Information of the Vesa BIOS Extension
enum VbeModeInfo::DirectColorAttributes : uint8_t |
enum VbeModeInfo::MemoryModel : uint8_t |
enum VbeModeInfo::ModeAttributes : uint16_t |