16#define VBE_CONTROLLER_INFO 0x4f00
52#define VBE_CONTROLLER_SIGNATURE \
53 ( ( 'V' << 0 ) | ( 'E' << 8 ) | ( 'S' << 16 ) | ( 'A' << 24 ) )
56#define VBE_MODE_END 0xffff
59#define VBE_MODE_INFO 0x4f01
180#define VBE_SET_MODE 0x4f02
183#define VBE_MODE_LINEAR 0x4000
186#define VBE_GET_FONT 0x1130
205#define VBE_SET_VGA_MODE 0x0000
208#define VBE_GET_VGA_MODE 0x0f00
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
enum vbe_mode_attributes __attribute__
VBE controller information.
struct segoff oem_product_name_ptr
Pointer to product name string.
struct segoff oem_string_ptr
Pointer to OEM string.
uint16_t total_memory
Number of 64kB memory blocks.
uint16_t oem_software_rev
VBE implementation software revision.
uint32_t capabilities
Capabilities of graphics controller.
struct segoff oem_product_rev_ptr
Pointer to product revision string.
uint8_t reserved[222]
Reserved for VBE implementation scratch area.
uint32_t vbe_signature
VBE signature.
struct segoff video_mode_ptr
Pointer to video mode list.
struct segoff oem_vendor_name_ptr
Pointer to vendor name string.
uint8_t vbe_major_version
VBE major version.
uint8_t vbe_minor_version
VBE minor version.
uint8_t rsvd_mask_size
Size of direct colour reserved mask in bits.
uint8_t reserved_1
Reserved for page function.
uint8_t bits_per_pixel
Bits per pixel.
uint8_t number_of_planes
Number of memory planes.
uint8_t number_of_banks
Number of banks.
uint8_t green_mask_size
Size of direct colour green mask in bits.
uint8_t red_field_position
Bit position of LSB of red mask.
uint32_t phys_base_ptr
Physical address for flat memory frame buffer.
uint8_t direct_colour_mode_info
Direct colour mode attributes.
uint8_t win_b_attributes
Window B attributes.
uint8_t win_a_attributes
Window A attributes.
uint16_t bytes_per_scan_line
Bytes per scan line.
uint16_t x_resolution
Horizontal resolution in pixels or characters.
uint16_t win_granularity
Window granularity.
uint8_t red_mask_size
Size of direct colour red mask in bits.
uint32_t off_screen_mem_offset
Pointer to start of off-screen memory.
uint8_t blue_field_position
Bit position of LSB of blue mask.
uint8_t number_of_image_pages
Number of images.
uint16_t win_b_segment
Window B start segment.
uint16_t y_resolution
Vertical resolution in pixels or characters.
uint16_t win_size
Window size.
uint16_t mode_attributes
Mode attributes.
uint8_t rsvd_field_position
Bit position of LSB of reserved mask.
uint8_t y_char_size
Character cell height in pixels.
uint8_t memory_model
Memory model type.
uint8_t bank_size
Bank size in kB.
uint16_t off_screen_mem_size
Amount of off-screen memory in 1kB units.
uint8_t green_field_position
Bit position of LSB of green mask.
uint8_t blue_mask_size
Size of direct colour blue mask in bits.
uint16_t win_a_segment
Window A start segment.
struct segoff win_func_ptr
Pointer to window function.
uint8_t reserved_2[206]
Reserved.
uint8_t x_char_size
Character cell width in pixels.
vbe_mode_attributes
VBE mode attributes.
@ VBE_MODE_ATTR_COLOUR
Colour mode.
@ VBE_MODE_ATTR_TTY
TTY output functions supported by BIOS.
@ VBE_MODE_ATTR_STEREO
Hardware stereoscopic display support.
@ VBE_MODE_ATTR_GRAPHICS
Graphics mode.
@ VBE_MODE_ATTR_NOT_WINDOWED
VGA compatible windowed memory mode is not available.
@ VBE_MODE_ATTR_DUAL
Dual display start address support.
@ VBE_MODE_ATTR_LINEAR
Linear frame buffer mode is available.
@ VBE_MODE_ATTR_NOT_VGA
Not a VGA compatible mode.
@ VBE_MODE_ATTR_DOUBLE
Double scan mode is available.
@ VBE_MODE_ATTR_INTERLACED
Interlaced mode is available.
@ VBE_MODE_ATTR_TRIPLE_BUF
Hardware triple buffering support.
@ VBE_MODE_ATTR_SUPPORTED
Mode supported in hardware.
@ VBE_FONT_8x14
8x14 character font
@ VBE_FONT_9x16_ALT
9x16 alternate font
@ VBE_FONT_8x8_DOUBLE_HIGH
8x8 double dot font (high 128 characters)
@ VBE_FONT_8x8_DOUBLE
8x8 double dot font
@ VBE_FONT_9x14_ALPHA_ALT
9x14 alpha alternate font
vbe_mode_memory_model
VBE mode memory models.
@ VBE_MODE_MODEL_CGA
CGA graphics mode.
@ VBE_MODE_MODEL_DIRECT_COLOUR
Direct colour mode.
@ VBE_MODE_MODEL_NON_CHAIN_4
Non-chain 4, 256 colour mode.
@ VBE_MODE_MODEL_YUV
YUV mode.
@ VBE_MODE_MODEL_PLANAR
Planar mode.
@ VBE_MODE_MODEL_HERCULES
Hercules graphics mode.
@ VBE_MODE_MODEL_TEXT
Text mode.
@ VBE_MODE_MODEL_PACKED_PIXEL
Packed pixel mode.