GARTHWILSON wrote:
backspace119 wrote:
I'll gladly take one or two off your hands at that price.
You can send me your address by PM or send it to the email address on my site (which is also the Paypal address). You can pay me after I send it (or them) so we know how much the postage is. First Class should just be a couple of bux.
Quote:
Is there a reference schematic on the primer? [...] I think the SPI chip should go behind the 6522?
All the info is on Daryl's 65SPI page at
http://sbc.rictor.org/65spi.html . It goes on the 65xx bus like any other 65xx I/O IC. You don't go through the '22 to get to it. the 65SPI takes care of the serializing & de-serializing, the timing, etc., so your program can be doing other things at the same time. I ended up not using the 65SPI, so I can't claim any experience with it. Note that this CPLD uses a fair amount of current and gets kind of hot, which might be why it got discontinued and he's re-working the design for a newer part (although it will no longer be 5V). Just don't get alarmed when you find out it's very warm. That's normal.
Quote:
To make sure I'm on the right track here, I'm thinking I put the flash behind...well, actually, since I can get that SPI chip from you I can put flash on the SPI bus from that chip
There are SPI flash memories, and there are of course also parallel ones.
Quote:
[...] put EEPROM behind a 6522
There again you may or may not need to go thought the '22. 8-pin I²C EEPROMs (24 series) go up to 128KB. If you go that route, let me encourage you to use our hobbyist-friendly
I2C-6 connector on tiny swapable modules. Similarly, if you use SPI flash, go for the hobbyist-friendly
SPI-10 connector.
Quote:
something I just realized is, I've worked with 25017 chips and 25s17 chips before (first is i2c, second is SPI) which are IO expanders with 8 I/O on port A and port B with 2 interrupt I/O (one for A and one for B) are these chips at all similar in function to the 6522?
Those look like nice chips. The '22 has some capabilities they don't, and vice-versa, and of course the '22 will give more-instant access since it sits directly on the 65xx bus.
Quote:
If you can't tell from the above text, I am a bit timid about this, but only because I want a working computer, not a pile of smoking chips.
The main things to avoid blowing things up are just observe good static-handling precautions, and make sure the power is applied to the right pins and not too high of a voltage nor reversed. Output pins shorted to power or ground will probably survive if the application is short, and you'll be able to tell when you flip the switch if the current is unreasonably high, prompting you to immediately shut it down and figure out what you did wrong.
Quote:
EDIT: I think what I'm going to start with is a boolean/binary logic diagram of address decoding, since I'm very comfortable with that, and make a few assumptions about general chip function just to get it going, this will also allow me to more easily set up a memory map
Just remember gates don't have infinite speed, and propagation delays add up fast if you cascade them.
Is serial communication going to cause delays for waiting for data from eeprom? Also, even just writing out address decoding in its simplest form is perplexing me, but I think it's because I'm trying to add in paging as per a recommendation earlier, and I don't quite understand how paging works (I think we set our page over the data bus to the latch, then our addresses are essentially offset by that page, but this seems like a long process that would impact performance pretty badly) I think I'm going to look into BigEd's recommendation of building an existing design first, although I'd like to keep working on my own while pursuing that avenue.
I may also just take the schematic from your circuit potpouri and make my own layout, so it's at least partially my design.
It would be cool to start out with paging though, to allow for a lot of address space even with just 16 bit addressing mode, but from what you've said, it sounds like the 24 bit addressing mode of the '816 isn't that hard to access, just and !RDY and phi2 together to determine if it's a valid address? I suppose, as I think was mentioned earlier, if I start with 24 bit addressing space everything is simpler. I have plenty of space for ROM and RAM and I/O in between.
BigEd wrote:
Just to note, backspace119, you keep mentioning flash, but for mass storage I was thinking of SDCard. You do need at least 1k of ROM, somehow, unless you're going very deep into diodes or a bank of toggle switches, which means you will need some way of programming that ROM. Simplest, I think
Be sure to have a look at Grant Searle's minimal designs - you need to understand one or two existing designs before you start your own. It wouldn't be a bad idea to build them, either.
On this, I mean mass storage when I say flash, I've been thinking SD card this whole time, but it could be anything, and it would be neat to do cartridges for games