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:
Aleksandar Andrejevic 2015-06-07 23:07:15 +00:00
parent f37afd481a
commit 441b62e7eb
2 changed files with 2 additions and 2 deletions

View file

@ -1510,6 +1510,7 @@ VOID WINAPI DosInt21h(LPWORD Stack)
case 0x55:
{
DosCreatePsp(getDX(), getSI());
DosSetProcessContext(getDX());
break;
}

View file

@ -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)