mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-13 17:48:10 +08:00
MS-DOS does not update BX if INT 21 AH=4Ah returns error 7 (MCB destroyed)
This commit is contained in:
@@ -2290,7 +2290,7 @@ static Bitu DOS_21Handler(void) {
|
||||
CALLBACK_SCF(false);
|
||||
} else {
|
||||
reg_ax=dos.errorcode;
|
||||
reg_bx=size;
|
||||
if (dos.errorcode != 7) reg_bx=size; /* Real MS-DOS does not appear to update BX for error 7 */
|
||||
CALLBACK_SCF(true);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user