mirror of https://github.com/FDOS/kernel.git
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:
parent
69df2d06f7
commit
45e35f46cf
|
@ -470,8 +470,10 @@ dispatch:
|
|||
|
||||
lr.AL = 0x00;
|
||||
r->FLAGS |= FLG_ZERO;
|
||||
if (StdinBusy())
|
||||
if (StdinBusy()) {
|
||||
DosIdle_int();
|
||||
break;
|
||||
}
|
||||
|
||||
r->FLAGS &= ~FLG_ZERO;
|
||||
/* fall through */
|
||||
|
|
Loading…
Reference in New Issue