Some newbie questions
Posted: Tue May 13, 2014 1:00 am
Hi! I am new to 6502s and I have a few newbie questions. I have started on one simple project to learn how things work and I am already planning the next project. I read Garth's primer and found it extremely helpful but I still have a few questions about address decoding. My plan for the project is to have 512K of RAM split into 32K pages. Two buffers would hold the upper address bits of the RAM chip and A15 would control which one drives the address. To change pages I would write a new value to the buffers. With two buffers I could copy data from any 32k page to any other 32k page without changing the address buffer. I would also like the first 2k of address to always be mapped to the first 2k of the RAM chip so that I don't have a new stack and zero page every time I switch pages. It can also hold some code to do things while the other two pages are being set up.
So my question is, would a 6522 be the best way to get the two buffers I need to drive the upper bits of the RAM?
After I have this working on a breadboard I would like to make an SMD version and I noticed that the 65C22 does not come in a QFP package. Could I use a 74 series latch for the buffers and skip the 6522 altogether?
I am trying to save as much RAM as I can. For this kind of design would a 74HC688 be ideal? I thought about using one to disable the two buffers any time the lowest 2k of address space is accessed. Would it be smart to use something like a 74HC244 that is wired directly to ground in that case? Could I just use pull down resistors?
The only other hardware I need other than maybe a timer is SPI plus one byte of output and one byte of input. Could I use one 74HC688 to grab a 256 byte chunk then use something like a 74HC138 to divide it into seperate areas for that I/O?
Eventually if I can get this running I would like to have my SMD board working close to 14mhz. Would it be possible to have low propogation delay with a design like this or is there a better way to go about it?
Thanks for your help and your patience with newbie questions!
So my question is, would a 6522 be the best way to get the two buffers I need to drive the upper bits of the RAM?
After I have this working on a breadboard I would like to make an SMD version and I noticed that the 65C22 does not come in a QFP package. Could I use a 74 series latch for the buffers and skip the 6522 altogether?
I am trying to save as much RAM as I can. For this kind of design would a 74HC688 be ideal? I thought about using one to disable the two buffers any time the lowest 2k of address space is accessed. Would it be smart to use something like a 74HC244 that is wired directly to ground in that case? Could I just use pull down resistors?
The only other hardware I need other than maybe a timer is SPI plus one byte of output and one byte of input. Could I use one 74HC688 to grab a 256 byte chunk then use something like a 74HC138 to divide it into seperate areas for that I/O?
Eventually if I can get this running I would like to have my SMD board working close to 14mhz. Would it be possible to have low propogation delay with a design like this or is there a better way to go about it?
Thanks for your help and your patience with newbie questions!