mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +00:00
[NTVDM]
Change the instruction in the interrupt handlers to "INC SP" twice instead of one "ADD SP, 2". It's shorter and supported by soft386 already. svn path=/branches/ntvdm/; revision=60397
This commit is contained in:
parent
cad18120fa
commit
0c91026f75
1 changed files with 2 additions and 3 deletions
|
@ -478,9 +478,8 @@ BOOLEAN BiosInitialize(VOID)
|
|||
BiosCode[Offset++] = LOBYTE(EMULATOR_INT_BOP);
|
||||
BiosCode[Offset++] = HIBYTE(EMULATOR_INT_BOP);
|
||||
|
||||
BiosCode[Offset++] = 0x83; // add sp, 2
|
||||
BiosCode[Offset++] = 0xC4;
|
||||
BiosCode[Offset++] = 0x02;
|
||||
BiosCode[Offset++] = 0x44; // inc sp
|
||||
BiosCode[Offset++] = 0x44; // inc sp
|
||||
|
||||
BiosCode[Offset++] = 0xCF; // iret
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue