Lab2
Data Fields

__attribute__ Struct Reference

#include <vbe.h>

Data Fields

uint16_t ModeAttributes
 mode attributes
uint8_t WinAAttributes
 window A attributes
uint8_t WinBAttributes
 window B attributes
uint16_t WinGranularity
 window granularity
uint16_t WinSize
 window size
uint16_t WinASegment
 window A start segment
uint16_t WinBSegment
 window B start segment
phys_bytes WinFuncPtr
 real mode/far pointer to window function
uint16_t BytesPerScanLine
 bytes per scan line
uint16_t XResolution
 horizontal resolution in pixels/characters
uint16_t YResolution
 vertical resolution in pixels/characters
uint8_t XCharSize
 character cell width in pixels
uint8_t YCharSize
 character cell height in pixels
uint8_t NumberOfPlanes
 number of memory planes
uint8_t BitsPerPixel
 bits per pixel
uint8_t NumberOfBanks
 number of banks
uint8_t MemoryModel
 memory model type
uint8_t BankSize
 bank size in KB
uint8_t NumberOfImagePages
 number of images
uint8_t Reserved1
 reserved for page function
uint8_t RedMaskSize
uint8_t RedFieldPosition
uint8_t GreenMaskSize
uint8_t GreenFieldPosition
uint8_t BlueMaskSize
uint8_t BlueFieldPosition
uint8_t RsvdMaskSize
uint8_t RsvdFieldPosition
uint8_t DirectColorModeInfo
phys_bytes PhysBasePtr
 physical address for flat memory frame buffer
uint8_t Reserved2 [4]
 Reserved - always set to 0.
uint8_t Reserved3 [2]
 Reserved - always set to 0.
uint16_t LinBytesPerScanLine
uint8_t BnkNumberOfImagePages
uint8_t LinNumberOfImagePages
uint8_t LinRedMaskSize
uint8_t LinRedFieldPosition
uint8_t LinGreenMaskSize
uint8_t LinGreenFieldPosition
uint8_t LinBlueMaskSize
uint8_t LinBlueFieldPosition
uint8_t LinRsvdMaskSize
uint8_t LinRsvdFieldPosition
uint32_t MaxPixelClock
uint8_t Reserved4 [190]

Detailed Description

Packed VBE Mode Info Block


The documentation for this struct was generated from the following file:
 All Data Structures Variables