📄 vesainfo.h
字号:
/* vesainfo.h *//*Copyright 2003-2004 John Coffman.All rights reserved.Licensed under the terms contained in the file 'COPYING' in the source directory.*/#ifndef _VESAINFO_H#define _VESAINFO_H#ifndef LILO_ASM#pragma pack(2)typedef union { char space[512]; struct { char Signature[4]; short Version; char *OEMstring; /* far pointer */ int Capabilities; short *VideoModePtr; /* far pointer */ } ident; struct { short ModeAttributes; char WinAAttributes; char WinBAttributes; short WinGranularity; short WinSize; short WinASegment; short WinBSegment; char *WinFuncPtr; /* window swapping function */ short BytesPerScanLine; /* Optional Information */ short Xresolution; short Yresolution; unsigned char XcharSize; unsigned char YcharSize; char NumberOfPlanes; char BitsPerPixel; unsigned char NumberOfBanks; char MemoryModel; unsigned char BankSize; } info; } VESAINFO;#pragma pack()#else /* LILO_ASM is defined */v_Signature = 0 ; offset to Signature (int)v_Capabilities = 10 ; offset to Capabilities (int)v_ModeAttributes = 0 ; shortv_WinAAttributes = 2 ; charv_WinBAttributes = 3 ; charv_WinGranularity = 4 ; shortv_WinSize = 6 ; shortv_WinASegment = 8 ; shortv_WinBSegment = 10 ; shortv_WinFuncPointer = 12 ; far pointerv_BytesPerScanLine = 16 ; short#endif#define SIG_VBE2 0x32454256#define SIG_VESA 0x41534556#endif/* end vesainfo.h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -