mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:45:40 +00:00
[NTVDM]
Set AL to 0 for unimplemented functions in INT 21h. svn path=/branches/ntvdm/; revision=61161
This commit is contained in:
parent
ba237b0251
commit
e765c894f0
1 changed files with 2 additions and 0 deletions
|
@ -2419,6 +2419,8 @@ VOID WINAPI DosInt21h(LPWORD Stack)
|
||||||
{
|
{
|
||||||
DPRINT1("DOS Function INT 0x21, AH = %xh, AL = %xh NOT IMPLEMENTED!\n",
|
DPRINT1("DOS Function INT 0x21, AH = %xh, AL = %xh NOT IMPLEMENTED!\n",
|
||||||
getAH(), getAL());
|
getAH(), getAL());
|
||||||
|
|
||||||
|
setAL(0); // Some functions expect AL to be 0 when it's not supported.
|
||||||
Stack[STACK_FLAGS] |= EMULATOR_FLAG_CF;
|
Stack[STACK_FLAGS] |= EMULATOR_FLAG_CF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue