I have a very very still-buggy prototype of a contraption that works similarly, but it talks to the Pi through an 8255 PPI chip on an ISA card, which...
-- Lee
If you get super-bored, try muh crappy YouTube channel: Old Computer Fun! Looking to Buy/Trade For (non-working is fine): Mac IIci hard drive sled and one bottom rubber foot, Multisync VGA CRTs, Decent NuBus video card, PC-era Tandy stuff, Weird Old Unix Stuff, Aesthetic Old Serial Terminals (HP and Data General in particular)