Having done a whole 6502 system based off Ben Eater stuff, I am not starting on a 65C816 system.
My aim is to have 2 X 6522, 1 serial, 16K or 32K ROM, all other memory as RAM using 2 or more AS6C4008 chips.
The project will be on a PCB, all through hole, aim is to get 4Mhz.
Trying to get my head around address decoding for 1M or 2M or RAM.
Several people seem to use a GAL or other programmed logic.
Other people seem to use standard 74XX gates.
What's a good way to get my head around doing it as 74XX logic?
Is there some kind of tool I can use to help?
65C816 address decoding
Re: 65C816 address decoding
Welcome!
I had a look, and perhaps this previous topic will be helpful:
65c816 address decoding help
I had a look, and perhaps this previous topic will be helpful:
65c816 address decoding help
Re: 65C816 address decoding
robsonde wrote:
The project will be on a PCB, all through hole, aim is to get 4Mhz.
Trying to get my head around address decoding for 1M or 2M or RAM.
Trying to get my head around address decoding for 1M or 2M or RAM.
Big games and graphics excepted, of-course!
-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 65C816 address decoding
robsonde wrote:
Having done a whole 6502 system based off Ben Eater stuff, I am not starting on a 65C816 system.
Quote:
My aim is to have 2 X 6522, 1 serial, 16K or 32K ROM, all other memory as RAM using 2 or more AS6C4008 chips.
The project will be on a PCB, all through hole, aim is to get 4Mhz.
The project will be on a PCB, all through hole, aim is to get 4Mhz.
Quote:
Trying to get my head around address decoding for 1M or 2M or RAM.
If you are truly going for that much RAM, you need to look beyond the AS6C4008 to something with much higher density. Otherwise, your glue logic will become unwieldy. Also, you need to consider operating voltage. As far as I know, the largest static RAM available in 5 volts is 512 KB. Larger SRAMs seem to use 3.3 volts
Quote:
Several people seem to use a GAL or other programmed logic.
Other people seem to use standard 74XX gates.
Other people seem to use standard 74XX gates.
For a system with up to 512 KB in a single SRAM, use of a GAL as glue logic, e.g., an Atmel ATF22V10, is sufficient—Gordon, who posted above, built his 16 MHz 65C816 system around two GALs and supports 512 KB. Beyond 512 KB, a CPLD is the better choice, due to its considerably larger logic fabric and greater number of I/O pins. If your machine has more than 512 KB, you will likely need multiple SRAM chip-select signals; the 22V10 GAL only has 10 pins that may be defined as outputs, versus 32 pins on an Atmel ATF1504 CPLD.
You will also have to consider bank bits latching, as the 65C816 multiplexes A16-A23 onto the data bus during the low phase of Ø2. Latching is a timing-critical operation, which demands the use of very fast logic if the 816 is to be clocked at its maximum.
However, until you have defined your machine’s architecture, looking at hardware specifics will be premature.
Quote:
What's a good way to get my head around doing it as 74XX logic?
Is there some kind of tool I can use to help?
Is there some kind of tool I can use to help?
x86? We ain't got no x86. We don't NEED no stinking x86!