Reply 120 of 124, by Marco Pistella
Falcosoft wrote on Yesterday, 21:40:Thanks, I found them. […]
Marco Pistella wrote on Yesterday, 19:24:Falcosoft wrote on Yesterday, 19:16:Github is still indexing the code base so searching does not function properly.
Can you tell what files contain the SSE and AVX benchmark routines?VESA_Speed_Routines.ASM + VESA_COMMAND_02.ASM
Thanks, I found them.
There is 1 thing that I could not find in X-VESA (even in the detailed video mode information page): It's the bits in the ModeAttributes field inside the ModeInfoBlock struct.
Some of these bits, such as 'VGA compatible mode' could be useful for troubleshooting since it seems e.g. Build engine games use it to determine code paths.
Thanks in advance!
All ModeAttributes bits are decoded in VESA_Command_01. The decoding is version-dependent: bits 5-6-7 (VGA compatible + windowed + linear frame buffer) are shown only for VESA 2.0, additional fields for VESA 3.0. The Block_Yes_Or_No routine handles the actual bit testing, iterating through the mask defined by DH/DL.