BitWise wrote:
I'm not sure if you can add external RAM. The address bus, data bus and control signals are routed to the pin connectors but the qualifying chip selects are not -- they are being used to control the LEDs.
Can you explain this? I'm looking at the W65C265S data sheet, and it's not clear to me what signals that you need are coming off of the Port 7.
Oh, I see, this is what you are talking about?
Quote:
Port 7 has a Chip Select register (PCS) that is used to enable Chip Selects (CSxB). A "1" in bit x of PCSx enables Chip Select CSx- to be output over P7x while a "0" in PCSx specifies the value in the output data register is to be output on P7x. Port 7 data register is set to all "1's" after Reset, and PCS is cleared to all "0's" after Reset.
I guess I don't understand how the Chip Selects are used in this case by the CPU.
Am I reading the memory map properly:
Quote:
CS7B -- 4M -- (C0-FF) -- User Memory
So, if I were to try and access memory in the C0xxxx to FFxxxx range, then the CPU would automagically (assuming proper configuration) trigger CS7B?
It says "8 Programmable chip select outputs", so not sure exactly what that means. I guess it means they can be enabled/disabled through software, but it's not like you can create your own memory map, like, say, I want the respective CS to trigger properly for each, say, MB of memory, rather than 4M or 8M blocks, or whatever.
So, that the memory map in Table 1-5, that's a static map?
Can you simply mimic the proper CS signaling through glue logic off of the Address bus? Of course for this thing, they only expose the lower 16 address lines. Maybe, because of that, the lack of CS is moot?