Hi All,
Thanks everyone for your help
It looks like the problem with the different versions of my code not working is nothing to do with the actual code, but that some of the EPROMs I've been using don't appear to be compatible with the 68705 programming board.
The first EPROMs I used were AMD AM27C64-205DC EPROMs (I grounded A12 as it isn't used) - the reason I used 27C64 EPROMs rather than the 2532 EPROMs that are supposed to be used is because I only had one 2532 and my modern universal device programmer wouldn't program it.
Most of the later versions of the software (the ones that didn't work) used Fairchild NMC27C64Q EPROMs and despite my universal programmer being happy to program them with the settings left the same (I did check the programming voltage, pinout etc) and they all verified OK.
However for some reason the 68705 programmer appears to be incompatible with those EPROMs, I've just sorted out some more AMD EPROMs and used one of them to program a 68705 with a version of software that wasn't working and it runs OK now.
Thanks again and Best Regards
Trev Jackson