Date: Thu, 26 Mar 92 09:24:09 EST From: DJ Delorie To: N DOT Berrington AT ecs DOT southampton DOT ac DOT uk Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Bios problem Status: O >int bioskey(int cmd) >{ > union REGS in, out; > in.h.ah = cmd; > in.h.al = 0; > int86(0x16,&in,&out); > return out.h.al; >} Try using kbhit() and getkey() from libpc.a instead. I don't recall off the top of my head, but I think it's the ZERO flag that indicates a key has been hit. DJ dj AT ctron DOT com Life is a banana.