On 15-Jul-97, Kurt Kuzba wrote to Javier Kohen about Help me!.
JK>> CB>> if (inp(0x64) & 1) // same as kbhit()
JK>> He's inputing, not outputing, so there's NP there.
JK>> I would recomend him to use kbhit() instead...
KK> If kbhit() is not available, you CAN use the keyboard
KK> hardware port, but not like THAT! ;)
Hey! :)
You've been replying me many messages to others lately... the EGA/VGA
palette stuff, the kbhit() thing, etc...
KK> int my_kbhit(int init = 0) { ... }
BTW, there's a fastkbhit() in SNIPPETS that works fine.
Internet: jkohen@tough.com þ Javier Kohen/The_Crusher þ
ttp://jkohen.base.org
Fidonet: 4:900/748.3 þ Sk-Network: 200:201/126 þ Rockernet: 33:300/100.3
... Error 3032 - Recursion error. See error 3032.
-!- CrusherTag 0.3.2.
--- Terminate 4.00/Pro
4:900/748.3)
---------------
* Origin: The King of The Ring BBS þ +54-1-OFF-LINE þ TLD 0 - 7
|