save int 21 stack entry in psp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1082
This commit is contained in:
parent
bd1512749f
commit
12be0e35a1
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ void DOS_SetError(Bit16u code) {
|
|||
|
||||
#define DOSNAMEBUF 256
|
||||
static Bitu DOS_21Handler(void) {
|
||||
|
||||
DOS_PSP psp(dos.psp);
|
||||
psp.SetStack(RealMake(SegValue(ss),reg_sp));
|
||||
|
||||
char name1[DOSNAMEBUF+1];
|
||||
char name2[DOSNAMEBUF+1];
|
||||
switch (reg_ah) {
|
||||
|
|
Loading…
Add table
Reference in a new issue