Path: utzoo!mnetor!uunet!husc6!bbn!rochester!kodak!ektools!kadsma!pajerek From: pajerek@kadsma.kadsm (Don Pajerek) Newsgroups: comp.sys.ibm.pc Subject: Re: Reading PC Keyboard Message-ID: <116@kadsma.kadsm> Date: 26 Apr 88 22:02:47 GMT References: <622@ubu.warwick.UUCP> Reply-To: pajerek@kadsma.UUCP (Don Pajerek) Organization: Eastman Kodak, Dept. 47, Rochester NY Lines: 8 Keywords: ibm keyboard In article <622@ubu.warwick.UUCP> pssw@diamond.UUCP (P S Swanson) writes: >Can anybody enlighten me as to which port must be read to detect any key(s) >being depressed on an IBM PC, and give an assembly language example ? in al,60H will give you the scan code of the last key pressed. note that both 'make' and 'break' codes are available using this method.