Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!well!gam3 From: gam3@well.UUCP (G. Allen Morris III) Newsgroups: comp.sys.ibm.pc Subject: Re: Checking for KBD input in "raw" mode Message-ID: <5341@well.UUCP> Date: 1 Mar 88 22:13:53 GMT References: <8281@eddie.MIT.EDU> Reply-To: gam3@well.UUCP (G. Allen Morris III) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 13 use int 21h function 44h. mov ax, 4402h mov bx, handle ; 1 for stdin mov cx, 1 ; charaters to read lds dx, buffer ; ds:dx is a buffer were the chars go. int 21h jnc ok ; error ax = 1 bad function 4 no hanadle 5 access denied 6 bad handle 0dh data invalid 0fh drive # invalied