blob: 383995a523e402474f08eb4601570053f7bbf2e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <stdlib.h>
#include <dos.h>
#include "fossil.h"
unsigned char Key_Read(void)
{
union REGS regs;
int c;
regs.h.ah = 0x0E;
regs.h.al = 0x00;
int86(FOSSIL_INT, ®s, ®s);
c = regs.h.al & 0xff;
return(unsigned char)c;
}
|