MEGA65 FORUM

Update on keyboard input overhaul

PGSmobile

Yes, both keyboards appear the same to the programmer: driving the CIA matrix and also producing an ASCII character stream. It is then as easy as reading a single register to see the last key pressed. Write to the same reg to clear that char ready for the next. Easy enough to do in basic with peek and poke.

Append

(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Deft, gardners, MARCOM