I don't have anything really useful to show for an investment of *many* hours. My single-step /trace /run / ... adapter works well, it's just that as soon as you give the 8039 free control, it gets into different loops (various, often repeated, but not in response to any action of mine that I can determine)
The lengths of the test loops that the SA1 setup uses can be determined from the signatures that are listed in the manual - strictly speaking, the loop lengths could be (signature length + n*65535) CLK cycles, but such cases would be obvious on the scope. The loop length also does not translate exactly into an elapsed time, because although most of the instructions executed in the loops that I have observed are single-cycle, there are a scattering of 2-cycle instructions as well. However, I would estimate that they would generate less than 1% difference. I only see one loop (sometimes) that is close (~72ms estimated from signature vs ~ 74ms on the scope). It is the inconsistent nature that is annoying me right now.
I have re-visited the bus data lines, and while (like any 3-state / passive / weak-pullup bus) they look pretty terrible, they don't have any indication of being flakey. The setup times are really slack, and the hold times (out of the ROM) are aided by the 1k series resistor in the /PSEN line. I have read out the ROM contents a huge number of times, always the same. I guess I could start tightening up (reducing) my /CE time until I start to see errors, but I'm not sure that would tell me much
. I've triple-checked the power supplies and the /RESET timing.
I get the feeling that it's not going to be fixed today.
@Kjelt - Here's a thought:
1. It is possible the ROM in my 3468A is, in fact, ok, and the fault lies elsewhere.
2. It is possible that the ROM in your instrument is dead, but everything else is ok.
3. Then if I can get my EXPRO working and program a MCM68764 for you, then we may learn something.
Edit: corrected 65535 value.