So, I think I finally have a more sane decoding scheme that isn't crazy or hard to build. I would love everyone's input.
I'm not at my normal computer at the moment so I can't upload a true schematic but I have attached a hand-drawn version.
The basic plan is 32K RAM, 16K ROM and 6 I/O devices. I don't think I really need that many. So I could shorten the list.
Here is the memory map:
Code: Select all
Memory Map
===============================================
ROM 11_xxxxxx_xxxxxxxx $C000-$FFFF (16KB)
I/O 0 10_000001_RRRRRRRR $8100-$81FF
I/O 1 10_000010_RRRRRRRR $8200-$82FF
I/O 2 10_000100_RRRRRRRR $8400-$84FF
I/O 3 10_001000_RRRRRRRR $8800-$88FF
I/O 4 10_010000_RRRRRRRR $9000-$90FF
I/O 5 10_100000_RRRRRRRR $A000-$A0FF
RAM 0x_xxxxxx_xxxxxxxx $0000-$7FFF (32KB)
Here is my *CRUDE* schematic:
So I'm thinking I would need 3 quad-input NAND gates for the decoding logic. One would be for RAM, ROM and one I/O. And another would be for four I/O. I could ditch the third one and "settle" for 5 I/O devices.
What do you guys think?
I haven't spec'd the part yet. But I have a few 74HC132's around. Top speed for the computer would be 1-2MHz.
Do you think the setup would work with an even faster clock? Say 4-8 MHz? I imagine I would have to use faster NAND gates.
Thanks!