Search:

Type: Posts; User: Paul Balme

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    3,014

    Got a solution to my kbhit() hogging the Win2K...

    Got a solution to my kbhit() hogging the Win2K CPU problem from the powersoft.public.watcom_c_c++.general newsgroup. It involves setting up a real-mode interrupt under DOS4GW, then calling 0x2F with...
  2. Replies
    5
    Views
    3,014

    I tried this, but it didn't help. Mebbe because...

    I tried this, but it didn't help. Mebbe because I'm using an old Watcom compiler (32-bit extended DOS)? And Watcom's sleep() takes seconds in place of millisecs.
  3. Replies
    5
    Views
    3,014

    Keyboard polling loop

    Anybody got a keyboard polling loop that doesn't hog the Win2000 CPU?

    I've been using while(!kbhit()) for years under DOS, Win9x and even OS/2's VDM. But Win2k's VDM pegs CPU usage at 100%.
Results 1 to 3 of 3