mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:46:13 +00:00
[NTVDM]
Some programs expect an 8x8 font at F000:FA6E. CORE-10877 #comment Works rather well as of r70825. svn path=/trunk/; revision=70825
This commit is contained in:
parent
5e3fd4edeb
commit
c6e5bf1f49
2 changed files with 5 additions and 0 deletions
|
@ -3987,6 +3987,9 @@ BOOLEAN VidBiosInitialize(VOID)
|
|||
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 */
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
#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
|
||||
|
||||
#define VIDEO_BIOS_ROM_SIZE 0x4000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue