from Bart, invoke DOS idle int 28h for int21/ah=6/dl=ff if busy waiting on input

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1066 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Kenneth J Davis 2004-11-21 13:37:52 +00:00
parent cca3ca9547
commit 89d10726a6

View File

@ -467,8 +467,10 @@ dispatch:
lr.AL = 0x00;
r->FLAGS |= FLG_ZERO;
if (StdinBusy())
if (StdinBusy()) {
DosIdle_int();
break;
}
r->FLAGS &= ~FLG_ZERO;
/* fall through */