home *** CD-ROM | disk | FTP | other *** search
- Path: ns.neckar-alb.de!wiedmann
- From: wiedmann@wiedmann.neckar-alb.de (Caldera Desktop User)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: kbhit
- Date: 29 Feb 1996 20:21:24 GMT
- Organization: ISS Internet Service Stuttgart GmbH
- Message-ID: <4h51s4$4do@iss1.neckar-alb.de>
- References: <dkauppDnGztK.Ex@netcom.com>
- Reply-To: wiedmann@neckar-alb.de
- NNTP-Posting-Host: wiedmann.neckar-alb.de
- X-Newsreader: TIN [version 1.2 PL2]
-
- Blitter (dkaupp@netcom.com) wrote:
- : I know I saw this asked a few months ago, but is there a function
- : equivalent to kbhit() for AmigaDos? Preferably without opening any libs.
-
- : I've looked thru the TurboC and BorlandC++ include files on the PC but
- : could not find the actual function kbhit().
-
- : I did look at the Keyboard() function on the ACM but I would not like to
- : hit the hardware. I do have the RKM's but I could not find anything similar.
-
-
- The GNU chess 4.0.75 sources (Aminet, game/board) contain a small
- file kbhit.c which does exactly what you want. Works fine with Dice,
- SAS/C and gcc.
-
-
- Bye,
-
- Jochen
-
-
-