Hi,
I don't know, I am guessing here but a pair of MC6821's would give you a lot of parallel IO capability and bidirectional discretes. My guess it is some sort of industrial controller interface maybe a local varient or unique part. Certainly, it is not very common whatever it is.
Best of luck in your search. Thanks!
Andrew Lynch