home bbs files messages ]

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

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

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

   Message 67,980 of 68,980   
   Kerr-Mudd, John to John"   
   Re: A way to check key shift state in ba   
   08 Dec 22 14:03:05   
   
   From: admin@127.0.0.1   
      
   On Thu, 8 Dec 2022 13:39:08 +0000   
   "Kerr-Mudd, John"  wrote:   
      
   > On Thu, 8 Dec 2022 04:23:42 -0800 (PST)   
   > Mark Joy  wrote:   
   >   
   > > On Wednesday, November 24, 2010 at 10:03:15 AM UTC+7, tbone wrote:   
   > > > On Thu, 11 Nov 2010 10:12:23 +1100, foxidrive   
   > > >  wrote:   
   > > > >This will create KBFLAG.COM and there's a simple example.   
   > >   
   > > When I run it under windows 8.1 64bit, it says "Unsupported 16-bit   
   application". Can you provide a 32-bit or 64-bit app please?   
   >   
   > That's a step up from an asm query of the kb_flag byte at 0x0417   
   >   
      
   Yup, the hex program provided by foxidrive in 2010   
   'B840008ED8A01700B44CCD21'   
   disassembled is   
      
   mov ax,0x40   
   mov ds,ax   
   mov al,[0x17]   
   mov ah,0x4C   
   int 0x21   
      
   far too big;   
      
      
   mine is 8 bytes:   
      
   pop ds   
   mov al,[0x0417]   
   mov ah,0x4C   
   int 0x21   
      
      
      
   --   
   Bah, and indeed Humbug.   
      
   --- 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