getkey() { union REGS i,o; i.h.ah=0; int86(22,&i,&o); return o.h.ah; } main() { int k=getkey(); }
main() { int k=getchar(); printf("%d\n",k); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)