home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_C
/
SNIP9404.ZIP
/
KEYLOCKS.C
< prev
next >
Wrap
Text File
|
1994-04-03
|
303b
|
22 lines
static volatile unsigned char far *keyflags = (char far *)0x00400017;
void setcaps(void)
{
*keyflags |= 0x40;
}
void clrcaps(void)
{
*keyflags &= ~0x40;
}
void setnumlock(void)
{
*keyflags |= 0x20;
}
void clrnumlock(void)
{
*keyflags &= ~0x20;
}