home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,418 of 4,675   
   bilsch to Bernhard Schornak   
   Re: How do I detect Ctrl+Z keystroke? An   
   27 May 18 00:58:27   
   
   From: king621@nospicedham.comcast.net   
      
   On 05/25/2018 12:38 AM, Bernhard Schornak wrote:   
   > bilsch wrote:   
   >   
   >   
   >> I want Ctrl+Z, Ctrl+S etc. as inputs to a program.  I researched it a   
   >> bit but didn't find anything to build on. Does anyone know of an   
   >> example?  My program doesn't use an operating system.   
   >   
   >   
   > Evaluate the keyboard flags returned by INT 16h, function 10h/11h:   
   >   
   > Bit   flag   
   >   
   > 00    right shift   
   > 01    left shift   
   > 02    shift + control   
   > 03    shift + alt   
   > 04    scroll locked   
   > 05    num    locked   
   > 06    caps   locked   
   > 07    insert   
   > 08    left control   
   > 09    left alt   
   > 0A    right control   
   > 0B    right alt   
   > 0C    scroll pressed   
   > 0D    num    pressed   
   > 0E    caps   pressed   
   > 0F    sys request   
   >   
   >   
   > Greetings from Augsburg   
   >   
   > Bernhard Schornak   
      
   Thanks.  These bits are in al or ah?  I can't find the ref anywhere.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca