Author: aandrejevic
Date: Tue Mar 1 00:44:20 2016
New Revision: 70825
URL:
http://svn.reactos.org/svn/reactos?rev=70825&view=rev
Log:
[NTVDM]
Some programs expect an 8x8 font at F000:FA6E.
CORE-10877 #comment Works rather well as of r70825.
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c
trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.h
Modified: trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/bios…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c [iso-8859-1] Tue Mar 1 00:44:20
2016
@@ -3987,6 +3987,9 @@
RtlMoveMemory(SEG_OFF_TO_PTR(VIDEO_BIOS_DATA_SEG, FONT_8x14_OFFSET),
Font8x14, sizeof(Font8x14));
+ /* Make another copy of the lower half of the 8x8 font at F000:FA6E for compatibility
*/
+ RtlMoveMemory(SEG_OFF_TO_PTR(BIOS_SEGMENT, FONT_8x8_COMPAT_OFFSET), Font8x8,
sizeof(Font8x8) / 2);
+
VidBios32Initialize();
/* Compute the ROM checksum and store it */
Modified: trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/bios…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.h [iso-8859-1] Tue Mar 1 00:44:20
2016
@@ -30,6 +30,8 @@
#define FONT_8x8_HIGH_OFFSET 0x0500
#define FONT_8x16_OFFSET 0x0900
#define FONT_8x14_OFFSET 0x1900
+
+#define FONT_8x8_COMPAT_OFFSET 0xFA6E
#define VIDEO_STATE_INFO_OFFSET 0x3000 // == 0x1900 + (sizeof(Font8x14) == 0x0E00) +
0x0900 for padding