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,335 of 68,980   
   JJ to Tom Del Rosso   
   Re: Keyboard input without pause   
   22 Oct 18 19:10:20   
   
   From: jj4public@vfemail.net   
      
   On Sun, 21 Oct 2018 11:47:57 -0400, Tom Del Rosso wrote:   
   > Herbert Kleebauer wrote:   
   >>   
   >> Windows is a multi tasking OS, so why not separate this   
   >> two jobs. But if you want, you can reduce the size of   
   >> the second window. If it is a slow loop and you can wait   
   >> 1 second, you could use "choice" within the loop.   
   >   
   > That might work, but it still has a second window on top of the one I   
   > want to see.   
      
   You can patch CHOICE to make it use shorter timeout.   
      
   For MS-DOS 6.22's CHOICE.COM which is 1743 Bytes and has below hashes:   
      
   MD5    = 3275860ACE611353BB5C75D04CC2693D   
   SHA1   = 6354468E8756F7B344E38361F49AFDB04DF8E753   
   SHA256 = DD3A57B8884B181BE4F547119E36873CCFEF8D2700CF28B0292E520F8080237D   
      
   It can be patched to use a timeout unit of about 20ms-50ms (depending on the   
   computer speed). It can't be accurate because the CHOICE.COM itself doesn't   
   accurately calculate the time (where timing can be off by 1ms-999ms). So, a   
   one second timeout needs a timeout value of about 20 (at least in my 2.4GHz   
   system). Faster computers would require a higher value.   
      
   Patch the bytes at below offsets (all are hex numbers):   
      
   0x0636 = from [36] to [16]   
   0x064A = from [36] to [16]   
   0x0650 = from [36] to [16]   
      
   For Windows 7's CHOICE.EXE (+/- 20ms accuracy) which is 29696 Bytes and has   
   below hashes:   
      
   MD5    = 32BB62D9133FB58CE2949F4FA11A68CC   
   SHA1   = 51E38B171B2C7D31E42E1F9F241B229F440FF361   
   SHA256 = 480B758654E0587F11078D5031F1FBB6C9BD266BE25BFC4111F6386640BF761B   
      
   It can be patched to use timeout unit of millisecond. Patch the bytes at   
   offset 0x1210 from [E8 03] to [01 00].   
      
   --- 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