Having set extended error like Tom is a little smaller.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1311 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
f777f91f4c
commit
81da8db94d
@ -1229,13 +1229,12 @@ dispatch:
|
|||||||
/* Set Extended Error */
|
/* Set Extended Error */
|
||||||
case 0x0a:
|
case 0x0a:
|
||||||
{
|
{
|
||||||
#define er (* MK_PTR (lregs, lr.DS, lr.DX))
|
lregs far *er = FP_DS_DX;
|
||||||
CritErrCode = er.AX;
|
CritErrCode = er->AX;
|
||||||
CritErrDev = MK_FP(er.ES, er.DI);
|
CritErrDev = MK_FP(er->ES, er->DI);
|
||||||
CritErrLocus = er.CH;
|
CritErrLocus = er->CH;
|
||||||
CritErrClass = er.BH;
|
CritErrClass = er->BH;
|
||||||
CritErrAction = er.BL;
|
CritErrAction = er->BL;
|
||||||
#undef er
|
|
||||||
CLEAR_CARRY_FLAG();
|
CLEAR_CARRY_FLAG();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user