SVN #27909 has IRQ management (I have no idea what the priorities are when more than one is signaled at a time but that can be easily adjusted) and the keyboard 8251's DTR line is connected to bit 7 of the IRQ vectors.

Let me know if that helps smile