mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +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();
|
InitializeBiosData();
|
||||||
InitializeBiosInfo();
|
InitializeBiosInfo();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Initialize IVT and hardware
|
||||||
|
*/
|
||||||
|
|
||||||
/* Register the BIOS 32-bit Interrupts */
|
/* Register the BIOS 32-bit Interrupts */
|
||||||
InitializeBiosInt32();
|
InitializeBiosInt32();
|
||||||
|
|
||||||
|
@ -605,6 +609,16 @@ Bios32Post(VOID)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
/* Initialize the Keyboard and Video BIOS */
|
||||||
|
if (!KbdBiosInitialize() || !VidBiosInitialize())
|
||||||
|
{
|
||||||
|
/* Stop the VDM */
|
||||||
|
EmulatorTerminate();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
///////////// MUST BE DONE AFTER IVT INITIALIZATION !! /////////////////////
|
///////////// MUST BE DONE AFTER IVT INITIALIZATION !! /////////////////////
|
||||||
|
|
||||||
/* Load some ROMs */
|
/* 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 1234h, perform a warm reboot (aka. Ctrl-Alt-Del);
|
||||||
// - if the word is 0000h, perform a cold reboot (aka. Reset).
|
// - 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 */
|
/* Do the POST */
|
||||||
Bios32Post();
|
Bios32Post();
|
||||||
|
|
||||||
|
|
|
@ -476,8 +476,6 @@ Quit:
|
||||||
EmulatorTerminate();
|
EmulatorTerminate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* PUBLIC EXPORTED APIS *******************************************************/
|
/* PUBLIC EXPORTED APIS *******************************************************/
|
||||||
|
|
||||||
// demLFNCleanup
|
// demLFNCleanup
|
||||||
|
|
Loading…
Reference in a new issue