How does PS2 keyboard interface work
Posted: Thu Mar 11, 2021 5:05 pm
22 hours ago, EMwhite said:
His next video is being contemplated now. As a Patreon support of Ben's, I requested that he both interface directly to his 6502 project (which would be very close to what X16 has to do) and leverage an inexpensive microcontroller to do the dirty work.
Would be very interesting to see what he comes up with! To me using a microcontroller would be cheating a little bit, unless it is one that was also available in the same era or is less powerful than the main CPU ?
@Stefan Great analysis work! I take it you are also interested in how this works.
20 hours ago, Stefan said:
It will be interesting to see what changes, as the team is redesigning this code according to @Lorin Millsap above in this thread.
Same here, very curious to see what they come up with. I guess the interrupt driven method saves some cycles compared to constantly polling at some interval.
By the way, @kktos also had a great idea by storing key presses in RAM to be able to access them very quickly! I think this is also done by the C64 KERNAL...