mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 04:42:00 +00:00
[NTVDM]
Fix INT 21h, AH=55h. It's supposed to set the current PSP too. Fix the order of registers in DOS_REGISTER_STATE to make it more compatible. svn path=/trunk/; revision=68066
This commit is contained in:
parent
f37afd481a
commit
441b62e7eb
|
@ -1510,6 +1510,7 @@ VOID WINAPI DosInt21h(LPWORD Stack)
|
|||
case 0x55:
|
||||
{
|
||||
DosCreatePsp(getDX(), getSI());
|
||||
DosSetProcessContext(getDX());
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -74,8 +74,7 @@ typedef struct _DOS_EXEC_PARAM_BLOCK
|
|||
|
||||
typedef struct _DOS_REGISTER_STATE
|
||||
{
|
||||
WORD DI, SI, BP, BX, DX, CX, AX;
|
||||
WORD ES, DS;
|
||||
WORD AX, BX, CX, DX, SI, DI, BP, DS, ES;
|
||||
} DOS_REGISTER_STATE, *PDOS_REGISTER_STATE;
|
||||
|
||||
#pragma pack(pop)
|
||||
|
|
Loading…
Reference in a new issue