The attached design fully works! Just replace both U34 and U35 in your 130 XE with IC sockets and use the attached jedec file to burn a gal. Make sure pin 12 is tied somewhere either gnd for 130xe comp. or vcc for 800xl comp.

Actually I had to flip a bit in the (gal.jed) jedec file manually to make pin 13 an input. Since the halt signal is not used the damned vhdl compiler sets all unused OCLM pins in simple mode of the gal to output. Since the halt signal is still supplied to pin 13 this would be a shortcircuit.

If you want to compile this vhdl file and use your own jedec file no probem, just make sure you bend pin 13 out of the IC socket so that it does not get any signal.