Re: 65C816 board glue logic issues?
Posted: Mon Dec 07, 2020 1:11 am
You should be able to improve that situation as follows: The only reason your current scheme works is because the bus has some parasitic capacitance which tends to keep voltages where they are unless actively driven elsewhere.
Code: Select all
1: Raise clock, beginning Phi2 phase.
2: Check address.
3: If address matches for a read, perform internal action and place data on pins.
4: If address matches, set data pins to output mode. (This ordering avoids a double transition on the bus.)
5: Lower clock, ending Phi2 phase. This instructs the CPU to latch the data on the bus.
6: Set data pins to input mode immediately after lowering clock, the sooner the better.