mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
[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:
parent
a32e6674f9
commit
e5e46c1db5
|
@ -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();
|
||||
|
||||
|
|
|
@ -476,8 +476,6 @@ Quit:
|
|||
EmulatorTerminate();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* PUBLIC EXPORTED APIS *******************************************************/
|
||||
|
||||
// demLFNCleanup
|
||||
|
|
Loading…
Reference in a new issue