GARTHWILSON wrote:
These lines of the RAM are negative logic, so they will have to be low when phase 2 is high.
Right. One simple solution is to connect PHI2 and R/W to the inputs of a NAND gate (eg: 74hc00) and connect the output of the NAND gate to OE of the memory. CE can simply be grounded, for now at least, since you have no other memory or IO devices on the bus. The setup for your experiment can be simpler than what an actual, functional system would use.
I don't know what to say about WE because I don't understand how you're loading your test code into the RAM. Obviously it has to get written somehow, so we can't consider WE "unused" and just tie it high (ie, inactive).
On the bright side, I think we've explained the delay effect you mentioned, and perhaps some other symptoms as well. Seems like you need to focus your attention on what the various control lines (PHI2, WE, RE etc) do. Also be aware that, in some cases, a logic high indicates True or Active; in other cases (as with OE and WE) a logic high calls for False or Inactive.
If you have any more questions it will be very helpful if you supply a diagram of your circuit. cheers,
Jeff
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html