asig / ps2-to-xt-adapter

Adapter to use your "modern" PS/2 keyboard with an IBM 5150 or 5160 (XT) computer.
GNU General Public License v3.0
19 stars 2 forks source link

Increase buffer size ? #1

Open shift838 opened 3 years ago

shift838 commented 3 years ago

how can we increase buffer size so that say if a program is executing and a user types something when it pops up it will go ahead and release what's in the buffer of the characters typed.

asig commented 3 years ago

The problem is that I didn't implement a buffer at all :-) Even worse, I'm also not following the XT keyboard protocol fully, as I'm not checking the clock line before sending... If the send protocol was fully implemented, I could just pull the PS/2 clock low while waiting for the host, so the PS/2 Keyboard would do the buffering.