Please excuse my workplace mess... as I display some Mandelbrot!
First, a short story: I was sitting at the desk, staring at the schematics, back to the other desk, probing whatever I could with the 'scope, all in futility. My daughter came into the room, and I said, "Hey, this board isn't working, what is wrong with it?" holding it up for her to see. She looked at it and said, "I think it's a connection problem." I looked at one of those chips I had to bend the pins to make fit the footprint, and it *looked* fine to me. Hm. I had to leave to go to Wed night church. I came home, turned on the soldering iron, and after 5 minutes of reglobbing that beautiful tin/lead mixture all over the place, BOOM, it now works! I brought my daughter in to see it, told her that she helped me, and asked her what she wanted as a reward for helping me fix it. Without hesitation, she said, "I want a Switch 2!" Uh oh!
Yep, so that 'dip' in the data lines was an improper soldering job on improperly fitting chips on an improperly sized footprint with improperly small pads. Go figure.
I swear, the next time things just don't make sense, its because of something like this. Mark my words!!!
One issue: The picture is just dirty. It's not flickering, but it has major streaks and discoloring. I wanted light blue and orange, but I got dark blue and red. Not sure if that's a resistor issue, a power issue, or a 74HC166 issue, or what. [ Probably a solder issue!!! ] I'll have to play with it a bit.
So this is a bodge-less design! That's neat
Thanks for putting up with me everyone. That was one trippy few days. Next up is a 3D printed case and then Tetris!
Chad
I do a bunch of surface mounter soldering now and buying a digital microscope was a life saver:51MP HDMI Microscope Camera Digital Video Camera Industrial Electronic USB Microscope 120X C Mount Lens with Remote Control
It's surprisingly capable for something so much cheaper than a professional microscope - the specs are all bullshit but, yeah, still capable. My eyesight is good but I've found pads that aren't soldered when I swore they were; and tiny solder bridges that I had not seen even with a magnifying glass.
All that aside...
Something still feels odd about the behaviour you were seeing and I'd hesitate to say it's a canary chip*. But that 25ns spike that doesn't align with anything that the board is doing is ... I dunno.
If you have a second 65C02 and a hot air gun and the time I'd be really interested to know if the same thing happened with a different '02.
But before that I'd suggest re-soldering all the pins on the '02 and then cleaning out all the flux-crud that you can get to to. Also check that the decoupling caps are soldered down and not just a blob of solder hanging in the air.
The STP getting triggered is still baffling and makes me think there is some spikey signal getting into the '02 and that its enough to change levels and cause the internal stop flop to trigger. It's fixed and stable now but I suspect there may have been more than one problem contributing.
I guess the question is: how much time - if any - do you want to spend working out what the problem is/was.
*Typically most times I've blamed a bad IC and replaced it to have the board start working I have then swapped the 'bad' one back on again and then it's worked. i.e. it was a placement or solder problem I hadn't seen