87C510 to 27c512 adapter

Can anyone help me here? I need to use a new one 27C512 insteed a tms87c510. I need to know how to connect it. I think I need a 74HC573 … Sorry my english, thanks

I have made a quick schematic!!!

It works.

need adapter for programmig 87c510 with 27c512 device