Dan Moos wrote:
Anyway, since I ordered a modern CMOS chip from WDC, I'm assuming that the timing stuff (like data has to be stable for x ns ) are gonna be different, right? I know I need to read the actual datasheet for the part I ordered, but those are rarely as clear as that MOS document was.
WDC's is much, much faster, and the times will be shorter. Do get the WDC data sheet.
Quote:
With all the CMOS stuff I ordered, including 74HC logic, I'm fine running everything at 5 volts, right?
yes
Quote:
I only ask because in my reading, I always see 5v ascribed to TTL, and 3.3v to CMOS. Yet all my MCU projects have been 5v, including some 74HC shift registers. So now I'm confused. Would the statement "CMOS stuff (at least this stuff) is good for 3.3, but is 5v tolerant? Is there a document out there somewhere that sorts this out?
WDC parts can go much faster at 5V than 3.3V, but you're not pushing the speed limits either way; so you wouldn't need to do 5V unless you need 74HCT or 74ACT logic. The HC and AC can work fine at 3.3V but will be slower. Their preferred voltage is 5V. 74HCT and ACT are 5V only, and there are other CMOS families that are made to work at 5V, like most 74LVC. They're not just 5V-
tolerant. They actually use a 5V supply and put out 5V (or very close to it for a logic-high output.
Quote:
Address decoding. Okay, I just want to make sure I have what I need. I will have a 32k RAM and 32k ROM chip. I am fine leaving portions of either inaccessible in an early prototype just to get things going. I am lead to believe that with a single VIA, single ACIA, and the memory chips I mentioned, a single quad NAND can do it. I also see mention of people using 3 to 8 decoders. I have 1 74HC00 on hand, and 1 74HC138 (along with others. I ordered a kit with 31 specimens).
The '138 is much slower; but at the speeds I think you said you're going to be going, it won't matter.
Quote:
I also have a quad Schmidt trigger NAND. That is as good as the 74HC00 in this case, right? No ill can come of the Schmidt trigger inputs I assume, right?
It's slower than the '00 non-Schmitt-trigger counterpart, but again, at your speeds, it won't matter. The Schmitt-trigger quad NAND leaves one gate left over to use in your reset circuit if you like, eliminating the need for other active parts to get a clean reset signal.
Quote:
All this to ask, am I sufficiently stocked here? I ordered 2 VIAs and 2 ACIAs, and I can imagine wanting to use all of that eventually. But like I said, I'm willing to have a more crippled version at first.
I have noticed (i think) on YouTube, some builders seem to have dedicated crystal oscillators for their ACIA and I think their VIA. I could totally be wrong here, so maybe its not what I saw. I ordered 4 1 MHz oscillators, and 4 2 MHz oscillators. Am I okay here?
You'll use the 1 or 2MHz for the processor and system clock. The VIA's and ACIA's Φ2 input signal comes from the same place as the processor's. Don't use separate oscillators. The only extra oscillator you need is for the ACIA's baud-rate generator which is separate from the system clock. 1.8432MHz is the normal frequency for that.
Quote:
I also ordered some used books:
6502 Assembly Language Programing by Lance Leventhal
Programming nd Interfacing the 6502: With Experiments by Marvin De Jong (I am particularly liking the sound of this one)
Programming the 6502 by Rodnay Zaks.
Any obvious books that I should be getting? I know there are .pdfs out there, but I love old tech books (and new).
I think that's it for now. Thanks for being patient with my questions!
All 65xx programmers should have the excellent programming manual, "
Programming the 65816 including the 6502, 65C02, and 65802" by David Eyes and Ron Liechty. This is a .pdf file of a rather large book that is well laid out and is much better than the description there lets on. Note: There were many problems with the earlier .pdf version that were not in the original paper manual; but in late March 2015, WDC scanned and OCR'ed the paper manual and posted the new, repaired .pdf. It's not just an outstanding, very complete manual; it covers the extra CMOS instructions and addressing modes which I don't think your books above do. To see the many improvements of the CMOS 65c02 over the NMOS 6502, see my article at
http://wilsonminesco.com/NMOS-CMOSdif/ . The only good reason to stick with NMOS is if you're going to be programming old home computers that used only the NMOS, like the Commodore 64 whose 6510 (which is a 6502 with a parallel port stuck on it that it uses for memory management) was never available in CMOS. For new builds, I would always encourage going with CMOS, for the many reasons given in the article.