A89: Re: (no subject)


[Prev][Next][Index][Thread]

A89: Re: (no subject)




Using kbhit() should do the same thing. You whii have to call ngetchx() in
order to remove that key from the que. In C it would look like this.

WORD MyIdleLoop()
{ while (!kbhit())
  { /* Do your stuff here */
  }
  return ngetchx();
}

-----Original Message-----
From: TurboSoft@aol.com <TurboSoft@aol.com>
To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>;
assembly-92@lists.ticalc.org <assembly-92@lists.ticalc.org>
Date: Thursday, December 30, 1999 00:29
Subject: A89: (no subject)


>
>When calling the function....
>
>    jsr doorsos::GKeyIn
>
>Would this put into d0 the value of a keypress, WITHOUT pausing (sort of
like
>the difference between idle_loop and get_key)?
>
>--TurboSoft
>
>Visit the TURBOSOFT HOMEPAGE:  The most current Basic and C programs
created
>by TurboSoft for the 89, and the most 89 web links.
><A HREF="http://turbosoft.ticalc.org/">http://turbosoft.ticalc.org/</A>
>
>
>