🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2097

Re: Polling keyboard

#2097
From: makjr
Date: Thu, 06 Sep 1990 20:01
24 lines
1193 bytes
In article <432.26DFC08D@gisatl.FIDONET.ORG>, david@gisatl.FIDONET.ORG (David Deitch) writes:
> In a message of <Aug 29 04:58> 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
Technical Details
Message-ID: <15366.26e6ab11@levels.sait.edu.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!munnari.oz.au!sirius.ucs.adelaide.edu.au!levels!makjr
References: <432.26DFC08D@gisatl.FIDONET.ORG>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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