blob: 6b564748e3d61ab89fd1a93ec994390527c063bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <stdlib.h>
#include <dos.h>
#include "fossil.h"
int Kb_Hit(void)
{
union REGS regs;
regs.h.ah = 0x0d;
regs.h.al = 0x00;
int86(FOSSIL_INT, ®s, ®s);
if(regs.x.ax == 0xffff)
return(FALSE);
return(TRUE);
}
|