The RP2040 is a dual core 133MHz Coretex M0+, 264K of RAM with 8 separate PIO processors for under a dollar in small quantities.
You could use the 1 PIO processor to handle the Terminal keyboard signaling and one to handle the PS/2 signaling and the CPU to do all sorts of translations and...