summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-08-01 11:47:06 +0000
committertg <tg@FreeBSD.org>2001-08-01 11:47:06 +0000
commit3425197e87b33e0420ca779a1d7b32e22bef2c18 (patch)
tree1e70f0a26bdd05a59e51e96155d0345aa3185188 /usr.bin/doscmd
parenta39dd4a8a2667a356076c964a98d206994042433 (diff)
downloadFreeBSD-src-3425197e87b33e0420ca779a1d7b32e22bef2c18.zip
FreeBSD-src-3425197e87b33e0420ca779a1d7b32e22bef2c18.tar.gz
Don't wait for a keypress in INT 16 function 01, just return the current
state. This fixes Easytrax.
Diffstat (limited to 'usr.bin/doscmd')
-rw-r--r--usr.bin/doscmd/int16.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/doscmd/int16.c b/usr.bin/doscmd/int16.c
index cdd0ccee..bdd1d52 100644
--- a/usr.bin/doscmd/int16.c
+++ b/usr.bin/doscmd/int16.c
@@ -93,9 +93,6 @@ int16(regcontext_t *REGS)
case 0x01: /* Get keystroke */
case 0x11: /* Get enhanced keystroke */
- if (!raw_kbd)
- sleep_poll();
-
if (KbdEmpty()) {
R_FLAGS |= PSL_Z;
break;
OpenPOWER on IntegriCloud