A89: What's wrong with _rowread???
[Prev][Next][Index][Thread]
A89: What's wrong with _rowread???
I have this function, but every time I run it, and
then hold down a key, for example, like "+", it will quickly (after a second or
two) boot out of it. What am I doing wrong here??? It's supposed to
be checking the first row (arrows and stat keys), and it reads these other keys
as well??? How do I fix this?
int keywait()
{
int
key;
keyloop:
key=_rowread(0xfffe);
if(16&key) return
key;
if(32&key) return key;
if(64&key) return
key;
if(128&key) return key;
if(2&key) return
key;
if(1&key) return key;
if(4&key) return
key;
goto keyloop;
}
Peter
Follow-Ups: