Reboot (int19) under DOS now does ExitProcess.

Made BIOS reboot vector call int19.
This commit is contained in:
Jukka Heinonen 2003-10-04 03:06:18 +00:00 committed by Alexandre Julliard
parent 6d59b887cd
commit d2936e6ab0
3 changed files with 6 additions and 2 deletions

View File

@ -265,6 +265,9 @@ static void DOSMEM_FillBiosSegments(void)
/* BIOS ID */
*(pBiosSys+0xfffe) = 0xfc;
/* Reboot vector (f000:fff0 or ffff:0000) */
*(DWORD*)(pBiosSys + 0xfff0) = VM_STUB(0x19);
}
/***********************************************************************

View File

@ -32,5 +32,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(int);
*/
void WINAPI DOSVM_Int19Handler( CONTEXT86 *context )
{
WARN("Attempted Reboot\n");
TRACE( "Attempted Reboot\n" );
ExitProcess(0);
}

View File

@ -40,7 +40,7 @@ static const INTPROC DOSVM_VectorsBuiltin[] =
/* 0C */ 0, 0, 0, 0,
/* 10 */ DOSVM_Int10Handler, DOSVM_Int11Handler, DOSVM_Int12Handler, DOSVM_Int13Handler,
/* 14 */ 0, DOSVM_Int15Handler, DOSVM_Int16Handler, DOSVM_Int17Handler,
/* 18 */ 0, 0, DOSVM_Int1aHandler, 0,
/* 18 */ 0, DOSVM_Int19Handler, DOSVM_Int1aHandler, 0,
/* 1C */ 0, 0, 0, 0,
/* 20 */ DOSVM_Int20Handler, DOSVM_Int21Handler, 0, 0,
/* 24 */ 0, DOSVM_Int25Handler, DOSVM_Int26Handler, 0,