home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
C
/
JAZLIB
/
JZKEYSTS.C
< prev
next >
Wrap
Text File
|
1993-12-01
|
670b
|
21 lines
#include <jaz.h>
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzkeysts.c │
│Return the union KEYSTATE as defined in jaz.h │
│This defines the various shift states of the machine. │
│Warning, this routine is very highly IBM specific. Contact me for porting │
│to other machines. │
│-Jaz │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*/
jzkeysts(fkey)
KEYSTATE *fkey;
{
unsigned int wkey;
wkey = MEMW(0x40,0x17);
memcpy(fkey,&wkey,2);
}