title: Checking if a key is down in MS-DOS (C/C++)
body: <p><sub>Yes, I mean real MS-DOS, not Windows' <code>cmd.exe</code> shell console.</sub></p>
  
  <p>Is there a way to check if a key is down in MS-DOS, analogically to the <code>GetAsyncKeyState()</code> function in WinAPI?</p>
  
  <p>Currently I'm using <code>kbhit()</code> and <code>getch()</code>, but it's really slow, has a delay after the first character, doesn't allow multiple keys at the same time etc.</p>
  
  <p>I'm using Turbo C++ 3.1. Can anyone help?</p>
  
  <p><sub>(by the way, don't ask why I'm coding my game on such an ancient system)</sub></p>