Video mode: Framebuffer.
More...
#include <data.h>
|
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.
|
|
uint32_t | palette_addr |
| Address of an array with RGB values.
|
|
uint16_t | palette_num_colors |
| Number of colors (in array above)
|
|
uint8_t | offset_red |
| Offset of red value.
|
|
uint8_t | bits_red |
| Bits used in red value.
|
|
uint8_t | offset_green |
| Offset of green value.
|
|
uint8_t | bits_green |
| Bits used in green value.
|
|
uint8_t | offset_blue |
| Offset of blue value.
|
|
uint8_t | bits_blue |
| Bits used in blue value.
|
|
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.
◆ 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: