Dhebug / Encounter

An upgraded version of the 1983 Encounter game from Severn Software
9 stars 1 forks source link

Keyboard is not reactive #13

Open Dhebug opened 2 weeks ago

Dhebug commented 2 weeks ago

From Lukas: Now and then the typed characters do not register properly

peralmered commented 2 weeks ago

How often is the keyboard polled? Because, I mean, even in BASIC, if I type at my normal speed, characters go missing!

Dhebug commented 2 days ago

It's kind of complicated, but the main problem is that the code was not correctly reading the keyboard in the IRQ, so in some situations (during fades or animations) the event could be missed.

In version 0.8.6 I implemented a single buffer key we should at least solve that problem.