Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cornell!batcomputer!payne From: payne@batcomputer.tn.cornell.edu (Andrew Payne) Newsgroups: comp.sys.ibm.pc.programmer Subject: Need to check for pending keyboard interrupt Message-ID: <10005@batcomputer.tn.cornell.edu> Date: 29 Mar 90 18:18:34 GMT Reply-To: payne@tcgould.tn.cornell.edu (Andrew Payne) Organization: Cornell Theory Center, Cornell University, Ithaca NY Lines: 18 Keywords: keyboard interrupt Help. I have an application that runs in a tight loop with interrupts disabled. My problem is: ending this loop when the user hits a key. Since the interrupts are disabled, the keyboard interrupt handler is never invoked, thus the BIOS keyboard routines don't work. What I need is a way to check for a keyboard interrupt pending: any easy way to do this (e.g. what port and bit)? Any info appreciated. -- = = = = = = = = = = = = = = = = = = = = = = = = = = = Andrew C. Payne, N8KEI UUCP: ...!cornell!batcomputer!payne INTERNET: payne@tcgould.tn.cornell.edu