[comp.sys.ibm.pc.programmer] Need to check for pending keyboard interrupt

payne@batcomputer.tn.cornell.edu (Andrew Payne) (03/30/90)

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