Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!munnari.oz.au!sirius.ucs.adelaide.edu.au!levels!makjr From: makjr@levels.sait.edu.au Newsgroups: comp.os.msdos.programmer Subject: Re: Polling keyboard Message-ID: <15366.26e6ab11@levels.sait.edu.au> Date: 6 Sep 90 20:01:21 GMT References: <432.26DFC08D@gisatl.FIDONET.ORG> Organization: Sth Australian Inst of Technology Lines: 24 In article <432.26DFC08D@gisatl.FIDONET.ORG>, david@gisatl.FIDONET.ORG (David Deitch) writes: > In a message of BBS Account (Aamir.Zakaria@samba.acs.unc.edu ) writes: > > > Can anyone tell me how, in either C or assembly language (8088), I can > > poll > > the keyboard for character input without actually waiting for input, > > i.e. > > just check if the user has hit a key. > > One of the INT 16 interrupts does this, but off the top of my > > David Deitch (GIS) > deitch@gisatl.fidonet.org > 1:133/411@fidonet > INT 16H , input AH = 01 outputs ZF ready or not signal AH scan code AL character code Kevin Radus