Category : Recently Uploaded Files
Archive   : SNPD9503.ZIP
Filename : FASKBHIT.C

 
Output of file : FASKBHIT.C contained in archive : SNPD9503.ZIP
.I 10 6
/*
** Use old-style lvalue MK_FP() macro
*/

#undef MK_FP
#define MK_FP(seg,offset) \
.D 11 2
.D 14 1
.I 28 31

#ifdef TEST

#include
#include
#include

main()
{
clock_t Wait;

puts("Hit some keys while I kill some time...");
Wait = clock();
while (2 > ((clock() - Wait) / CLK_TCK))
;

puts("OK, stop hitting keys while I flush the keyboard...");
Wait = clock();
while (2 > ((clock() - Wait) / CLK_TCK))
;

fast_kbflush();
puts("OK, now hit some key you didn't hit before...");

while (!fast_kbhit())
;
printf("You hit %c\n", getch());
return 0;
}

#endif


  3 Responses to “Category : Recently Uploaded Files
Archive   : SNPD9503.ZIP
Filename : FASKBHIT.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/