Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!cmcl2!adm!news From: DAVID1%UCONNVM.bitnet@vm.its.rpi.edu ( Carl David) Newsgroups: comp.lang.pascal Subject: Interupt 9 processing Message-ID: <27307@adm.brl.mil> Date: 27 Jun 91 17:13:19 GMT Sender: news@adm.brl.mil Lines: 23 I have a problem in understanding Interupt 9 handling, which I am doing in Turbo Pascal, and I wonder if someone with real knowledge about how it works can help me. I would like to understand, with emphasis on understanding, what is happening when a multiple key stroke is being read, for instance, Ctrl-RightShift-J. What ends up in the keyboard buffer? For single keys, I understand what is going on, but for multiple ones I don't. Thus, is the address (which I forgot) which holds the status bits for NumLock, etc., being set when one depresses and releases the Ctrl, Alt, Shift, etc. keys? Can I write to those locations so that when a character comes along I can trick the computer into thinking that the Ctrl (or something else) key was depressed? I am creating a cryptogram, such that each letter typed by the user is substituted from a table in memory, such that to get the computer to operate the player would need to solve the cryptogram, how would I handle the multiple keys and uppercase lowercase problems? Thanks for any help you can give me. Carl David DAVID1 at UCONNVM.bitnet