I am implementing Centipede in an FPGA and I am having a problem. I have looked for the exact RNG algo. for 2 days now but I can't find it. It would seem that when Centipede runs, if the RNG does not produce proper results, it resets. I get the thing to go into attract mode sometimes but not very often. I am pulling my hair out. Also, it seems as though the color ram is based off the RNG???
This is a learning exorcise. I have never worked with a 6502 or anything Atari before. But, I think once I get this problem straitened out, I should be on my way.
Anyone have the *exact* RNG algo?
Thanks,
psycho