Alright..
So the plan is:
Keyboard: PS/2 --> MCU: ATTiny861 --> (I2C) --> I/O: VIA #1 --> CPU: 6502
https://www.microchip.com/en-us/product/ATTINY861 https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2588-8-bit-AVR-Microcontrollers-tinyAVR-ATtiny261-ATtiny461-ATtiny861_Datasheet.pdf td;lr Flashmemory 8 kB (4096 x 16), SRAM 512 byte (512 x 8), EEPROM 512 bytes, 8-bit, instruction set AVR, performance 20 DMIPS,
(Also a bonus A/D with 10-bits at 15 kSPS with 11-inputs)
@BruceMcF already spotted a performance opportunity:
https ://www.commanderx16.com/forum/index.php?/topic/3634-ps2-keyboard-working-with-attiny-and-i2c/&do=findComment&comment=21112
"I believe that a half-hardware SPI link, using a VIA serial shift register for the MISO channel so that only the MOSI byte has to be bit banged, would be appreciably faster than an effective SCLK of 75-80 kHz."
(more on this interface in the datatasheet page 125, "Universal Serial Interface")
The MCU can most likely provide a bonus RS-232 asynchronous port at ~24 kbit/s with plain bit-bang, provided the MCU<->6502 link is good enough. And additional MCUs can be added like on a bus (I2C/SPI).
As for USB keyboards there's plenty of USB HID --> PS/2 active adapters to solve that. And in the worst case there's MCUs with builtin USB.
Threads:
https ://www.commanderx16.com/forum/index.php?/topic/1684-ps2-direction-for-the-commander-x16/
https ://www.commanderx16.com/forum/index.php?/topic/3634-ps2-keyboard-working-with-attiny-and-i2c/