🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #670

How to get keys from keyboard without removing them

#670
From: FREE1178
Date: Thu, 01 Oct 1992 01:50
10 lines
866 bytes
Hi all--
 
  I need to check the keyboard buffer and store keypresses in a buffer
to be stored in a file.  I want to do this as an ISR.  I was planning
on writing it in C and then porting it to Assembler.  The question
is how to check the keys in the keyboard buffer without removing them.
I want whatever program that is running to be able to execute those
keystrokes.
 
  Any help would be greatly appreciated.
Technical Details
Message-ID: <168721250F.FREE1178@vmd.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!vmd.cso.uiuc.edu!FREE1178

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!vmd.cso.uiuc.edu!FREE1178
From: FREE1178@vmd.cso.uiuc.edu
Subject: How to get keys from keyboard without removing them
Message-ID: <168721250F.FREE1178@vmd.cso.uiuc.edu>
Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
Organization: C.C.S.O.
Date: Thu, 1 Oct 1992 01:50:23 GMT
Lines: 10