Reboot (int19) under DOS now does ExitProcess.
Made BIOS reboot vector call int19.
This commit is contained in:
parent
6d59b887cd
commit
d2936e6ab0
|
@ -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);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue