Re: Pin compatibility between W65C816S and W65C02S
Posted: Sat May 25, 2013 7:09 pm
Forgive me if I'm saying things you already know. Since you're rather new here, I don't know how much you know about different aspects, although obviously you've put a lot more thought into memory protection than I have. Of all the knowledgeable people on the forum, each has strengths that others don't have (which I guess is part of the reason for a forum, huh?). We all wish each other (including you) success of course.
Ah yes, regarding the pattern. WW pins (of single in-line or DIP, not a square PLCC socket) can however go into all the solderless breadboards I've used-- with care. I've never damaged a solderless breadboard with .025" square posts, but it's probably borderline. I don't do any computer work with solderless breadboards though, as they're the worst of all worlds for that, regarding inductance and its many bad effects on fast digital lines. Fortunately (in that regard), you said you're using Rockwell and GTE parts which I don't think ever came in more than 4MHz. With slow parts at 1MHz, you can get away with murder. But turn up the speed, or even use faster parts at slow clock rates (ie, the output slew rates are faster when they do change state), and you can get into trouble. In the computer I mentioned above that took about 2mA for the entire computer (including LCD), I did initially breadboard that with solderless breadboard, but it was with 2MHz parts, and spent most of its time at 170kHz. Make sure you look at the sticky topic, "Techniques for reliable high-speed digital circuits" and the "Construction: Avoiding AC-Performance Problems" page of the 6502 primer.
Make sure your 6522 selects are not qualified by phase 2. They, like R/W, must be valid and stable a specified minimum amount of time before phase 2 goes up. (I found out the hard way.)
All the SRAMs I've worked with simply ignore OE\ when WE\ goes down. IOW, they will definitely not try to put data out on the bus when they're supposed to be taking data in to write.
If you find a source of 74ABT688 (or '521-- same thing), please let us know. I have not been able to find any, in any package. 74AC is the fastest I've been able to find a '688 or '521 in.
Quote:
While they're great (and intended!) for wire-wrapping, I'm afraid they won't fit solderless breadboards, neither turned-pin sockets.
Pins are too thick for them!
Quote:
65xx-68xx style hardware has already a ø2 (aka Enable) input for that matter; however, since their R/W line cannot be qualified with ø2 (must be stable some time before) it's best to deselect them -- thru the 6522's CS2 line tied to my WD\, or simply disbling the I/O decoding (the originally intended protection) altogether.
Quote:
Although SRAM is usually interfaced more like the Intel-style, the use of this circuit won't allow the simple design of tying OE\ to ground -- see bus contention issue above. Either the SRAM gets deselected when WD\ goes active, or OE\ gets qualified with ø2 and negated R/W (most recommended)
If you find a source of 74ABT688 (or '521-- same thing), please let us know. I have not been able to find any, in any package. 74AC is the fastest I've been able to find a '688 or '521 in.