1
0
Fork 0

Acknowledge mouse interrupt before entering user routine; fixes sound stutter during mouse movement in Eye of the Beholder III and Casino Tournament of Champions. Clear button counters in the mouse driver reset function; prevents unintended skipping of intro in MechWarrior and others.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4188
This commit is contained in:
ripsaw8080 2019-02-04 15:15:58 +00:00
parent d4c38121c9
commit 64d25c4be4
4 changed files with 85 additions and 34 deletions

View file

@ -1190,7 +1190,6 @@ static Bitu DOS_25Handler(void) {
SETFLAGBIT(CF,false);
reg_ax = 0;
}
SETFLAGBIT(IF,true);
return CBRET_NONE;
}
static Bitu DOS_26Handler(void) {
@ -1202,7 +1201,6 @@ static Bitu DOS_26Handler(void) {
SETFLAGBIT(CF,false);
reg_ax = 0;
}
SETFLAGBIT(IF,true);
return CBRET_NONE;
}
@ -1223,10 +1221,10 @@ public:
// iret
// retf <- int 21 4c jumps here to mimic a retf Cyber
callback[2].Install(DOS_25Handler,CB_RETF,"DOS Int 25");
callback[2].Install(DOS_25Handler,CB_RETF_STI,"DOS Int 25");
callback[2].Set_RealVec(0x25);
callback[3].Install(DOS_26Handler,CB_RETF,"DOS Int 26");
callback[3].Install(DOS_26Handler,CB_RETF_STI,"DOS Int 26");
callback[3].Set_RealVec(0x26);
callback[4].Install(DOS_27Handler,CB_IRET,"DOS Int 27");