* initialize the critical error code to 0 in inthndlr.c

* ignore value of DH for extended open int21/ah=6c


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@462 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2002-11-09 19:22:48 +00:00
parent 74ed5eea00
commit c7eef88bac
1 changed files with 1 additions and 1 deletions

View File

@ -1570,7 +1570,7 @@ dispatch:
long lrc; long lrc;
CLEAR_CARRY_FLAG(); CLEAR_CARRY_FLAG();
if (lr.AL != 0 || lr.DH != 0 || if (lr.AL != 0 ||
(lr.DL & 0x0f) > 0x2 || (lr.DL & 0xf0) > 0x10) (lr.DL & 0x0f) > 0x2 || (lr.DL & 0xf0) > 0x10)
goto error_invalid; goto error_invalid;
lrc = DosOpen(MK_FP(lr.DS, lr.SI), lrc = DosOpen(MK_FP(lr.DS, lr.SI),