From 89d10726a657190ab2410baa64887901c424f99c Mon Sep 17 00:00:00 2001 From: Kenneth J Davis Date: Sun, 21 Nov 2004 13:37:52 +0000 Subject: [PATCH] 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 --- kernel/inthndlr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/inthndlr.c b/kernel/inthndlr.c index 3d0c90e..456ed5d 100644 --- a/kernel/inthndlr.c +++ b/kernel/inthndlr.c @@ -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 */