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 | mode_attributes | |
struct { | ||
uint8_t | attrib_a | |
uint8_t | attrib_b | |
uint16_t | granularity | |
uint16_t | size | |
uint16_t | segment_a | |
uint16_t | segment_b | |
uint32_t | func_ptr | |
} | win | |
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::MemoryModel : uint8_t |
uint16_t VbeModeInfo::mode_attributes |
struct { ... } VbeModeInfo::win |
uint16_t VbeModeInfo::pitch |
Bytes per scan line.
uint16_t VbeModeInfo::width |
Horizontal resolution in pixels (GRAPHICS) or characters.
uint16_t VbeModeInfo::height |
Vertical resolution in pixels (GRAPHICS) or characters.
uint8_t VbeModeInfo::char_width |
Character cell width in pixels (deprecated)
uint8_t VbeModeInfo::char_height |
Character cell height in pixels (deprecated)
uint8_t VbeModeInfo::planes |
Number of memory planes.
uint8_t VbeModeInfo::bpp |
Bits per pixel.
uint8_t VbeModeInfo::banks |
Number of banks.
enum VbeModeInfo::MemoryModel VbeModeInfo::memory_model |
Memory model type.
uint8_t VbeModeInfo::bank_size |
Bank size in KB.
uint8_t VbeModeInfo::image_pages |
Number of images.
uint8_t VbeModeInfo::reserved |
Reserved for page function.
uint8_t VbeModeInfo::bits_red |
Size of direct color red mask in bits.
uint8_t VbeModeInfo::offset_red |
Bit position of lsb of red mask.
uint8_t VbeModeInfo::bits_green |
Size of direct color green mask in bits.
uint8_t VbeModeInfo::offset_green |
Bit position of lsb of green mask.
uint8_t VbeModeInfo::bits_blue |
Size of direct color blue mask in bits.
uint8_t VbeModeInfo::offset_blue |
Bit position of lsb of blue mask.
uint8_t VbeModeInfo::bits_rsv |
Size of direct color reserved mask in bits.
uint8_t VbeModeInfo::offset_rsv |
Bit position of lsb of reserved mask.
uint8_t VbeModeInfo::directcolor_attributes |
direct color mode attributes
uint32_t VbeModeInfo::address |
physical address for flat memory frame buffer
uint32_t VbeModeInfo::offscreen_memory_offset |
reserved
uint16_t VbeModeInfo::offscreen_memory_size |
reserved