TotalMemory is in number of 64K block not 16K block see VBE 2.0 or 3.0
specification.
Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
_____
Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
--- trunk/reactos/drivers/video/miniport/vbe/vbemp.c 2005-11-23
20:16:34 UTC (rev 19497)
+++ trunk/reactos/drivers/video/miniport/vbe/vbemp.c 2005-11-23
20:23:41 UTC (rev 19498)
@@ -246,12 +246,11 @@
{
VBEDeviceExtension->VbeInfo.Version = 0x102;
}
-
-
+
DPRINT("VBE BIOS Present (%d.%d, %8ld Kb)\n",
VBEDeviceExtension->VbeInfo.Version / 0x100,
VBEDeviceExtension->VbeInfo.Version & 0xFF,
- VBEDeviceExtension->VbeInfo.TotalMemory * 16);
+ VBEDeviceExtension->VbeInfo.TotalMemory * 64);
#ifdef VBE12_SUPPORT
if (VBEDeviceExtension->VbeInfo.Version < 0x102)