13 typedef struct sVesa_Mode
23 typedef struct sVesa_CallModeInfo
29 Uint16 segmentA, segmentB;
31 Uint16 pitch; // Bytes per scanline
34 Uint8 Wchar, Ychar, planes, bpp, banks;
35 Uint8 memory_model, bank_size, image_pages;
38 Uint8 red_mask, red_position;
39 Uint8 green_mask, green_position;
40 Uint8 blue_mask, blue_position;
41 Uint8 rsv_mask, rsv_position;
42 Uint8 directcolor_attributes;
44 Uint32 physbase; // Your LFB address ;)
49 typedef struct sVesa_CallInfo
51 char signature[4]; // == "VESA"
52 Uint16 Version; // == 0x0300 for Vesa 3.0
53 tFarPtr OEMString; // isa vbeFarPtr
54 Uint8 Capabilities[4];
55 tFarPtr VideoModes; // isa vbeParPtr
56 Uint16 TotalMemory; // as # of 64KB blocks