2 ** Copyright 2001, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
8 #include <newos/types.h>
11 char signature
[4]; // should be 'VESA'
18 uint16 oem_software_rev
;
19 uint32 oem_vendor_name_ptr
;
20 uint32 oem_product_name_ptr
;
21 uint32 oem_product_rev_ptr
;
26 struct VBEModeInfoBlock
{
28 uint8 wina_attributes
;
29 uint8 winb_attributes
;
30 uint16 win_granulatiry
;
34 uint32 win_function_ptr
;
35 uint16 bytes_per_scanline
;
46 uint8 num_image_pages
;
50 uint8 red_field_position
;
51 uint8 green_mask_size
;
52 uint8 green_field_position
;
54 uint8 blue_field_position
;
55 uint8 reserved_mask_size
;
56 uint8 reserved_field_position
;
57 uint8 direct_color_mode_info
;
60 uint32 offscreen_mem_offset
;
61 uint16 offscreen_mem_size
;
62 uint8 _reserved2
[206];