please answer

char gun()
{
union REGS r;
union input
{
char ch[2];
int i;
} chr;
r.h.ah=0;//16 bit scan routine
chr.i=int86(0x16,&r,&r);
return chr.ch[0];
}

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories