VESA Video Modes: Difference between revisions

m
→‎VESA Functions: VbeInfoBlock struct fixed
[unchecked revision][unchecked revision]
(Added 4f00h, 4f01h function usage example in asm)
m (→‎VESA Functions: VbeInfoBlock struct fixed)
Line 11:
<source lang="c">
struct VbeInfoBlock {
char VbeSignature[4]; // == "VESA"
uint16_t VbeVersion; // == 0x0300 for VBE 3.0
uint16_t OemStringPtr[2]; // isa vbeFarPtr
uint8_t Capabilities[4];
uint16_t VideoModePtr[2]; // isa vbeFarPtr
uint16_t TotalMemory; // as # of 64KB blocks
uint8_t Reserved[492];
} __attribute__((packed));
 
Anonymous user