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/branches/UNSTABLE@1066 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Kenneth J Davis 2004-11-21 13:37:52 +00:00
parent 69df2d06f7
commit 45e35f46cf
1 changed files with 3 additions and 1 deletions

View File

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