[NTVDM]: Arch, please do *not* reinitialize twice the keyboard and the video (first time before initializing the BDA, second time after), otherwise some programs won't display correct things!!

svn path=/trunk/; revision=64755
This commit is contained in:
Hermès Bélusca-Maïto 2014-10-15 21:31:51 +00:00
parent a32e6674f9
commit e5e46c1db5
2 changed files with 14 additions and 12 deletions

View file

@ -589,6 +589,10 @@ Bios32Post(VOID)
InitializeBiosData();
InitializeBiosInfo();
/*
* Initialize IVT and hardware
*/
/* Register the BIOS 32-bit Interrupts */
InitializeBiosInt32();
@ -605,6 +609,16 @@ Bios32Post(VOID)
return;
}
#if 0
/* Initialize the Keyboard and Video BIOS */
if (!KbdBiosInitialize() || !VidBiosInitialize())
{
/* Stop the VDM */
EmulatorTerminate();
return;
}
#endif
///////////// MUST BE DONE AFTER IVT INITIALIZATION !! /////////////////////
/* Load some ROMs */
@ -632,16 +646,6 @@ static VOID WINAPI Bios32ResetBop(LPWORD Stack)
// - if the word is 1234h, perform a warm reboot (aka. Ctrl-Alt-Del);
// - if the word is 0000h, perform a cold reboot (aka. Reset).
/* Initialize IVT and hardware */
/* Initialize the Keyboard and Video BIOS */
if (!KbdBiosInitialize() || !VidBiosInitialize())
{
/* Stop the VDM */
EmulatorTerminate();
return;
}
/* Do the POST */
Bios32Post();

View file

@ -476,8 +476,6 @@ Quit:
EmulatorTerminate();
}
/* PUBLIC EXPORTED APIS *******************************************************/
// demLFNCleanup