Re: A86: port 1


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

Re: A86: port 1




You don't.  When reading the ports, you are reading the state of the keypad
hardware directly.  You could run a loop with a halt in it (to save
batteries) and loop until a new key has been pressed.  Or, you could use
GET_KEY, which already does this for you.

At 09:22 PM 8/30/98 -0600, you wrote:
>
>When reading from port 1 it checks for a key, does an operation then checks
>for another key.  When it checks for another key it returns the key pressed
>the first time. how do I reset port 1 so it waits for a new key to be
>pressed?
>Barrett Southworth
>barrett@srv.net
>

--
David Phillips
mailto:electrum@tfs.net
ICQ: 13811951
AOL/AIM: Electrum32


Follow-Ups: References: