Though it is called programmable keyboard/display, it is actually programmable from the host connected to it. Functionally it is the same as the Intel 8279 chip. See datasheet attached.
thank you absf. i will replace it now hope it works. it belongs to a 20 button display part. none of the buttons respond now. i found some corrosion at the pins on this chip.