Page 1 of 1

How to clear the keyboard buffer (zx81 and z88dk)?

Posted: Sun Feb 23, 2020 4:49 am
by zx81ultra
Hello,

I'm using Key = in_Inkey(); to read the keyboard on the zx81 with z88dk, what's the best method to clear the keyboard buffer ?

Thank you

Re: How to clear the keyboard buffer (zx81 and z88dk)?

Posted: Sun Feb 23, 2020 4:20 pm
by siggi
The ZX81 does not have a keyboard buffer.
And the z88dk in_Inkey function is the equivalent to the BASIC INKEY$ function (scans directly the keyboard, no buffer)

HTH Siggi