VESA Video Modes: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Consistent use of struct names (Names according to the vbe spec.) |
Sync VbeModeBlock member names across text and specification |
||
Line 7:
<source lang="c">
struct VbeInfoBlock {
char
short
short
unsigned char
short
short
};
Line 73:
int depthdiff, bestdepthdiff = 8 >= d ? 8 - d : (d - 8) * 2;
strncpy(ctrl->
intV86(0x10, "ax,es:di", 0x4F00, 0, ctrl); // Get Controller Info
if ( (UInt16)v86.tss.eax != 0x004F ) return best;
|