mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user