Quote:
I already have clock-qualified 'read enable' and 'write enable' signals in my design.
Alright -- I assume you mean something like this; am that right?
Attachment:
qualified RD# and WR#.png [ 1.39 KiB | Viewed 669 times ]
Quote:
I figured I might be able to just tie the connections marked PHI2 here via pullups.
It will depend on the devices you intend to activate. For example, in the case of a 6522 VIA, the Chip Select signal you send it must
not be qualified by Phi2. (It and other 65xx peripherals have a Phi2 input pin, and they manage clocking internally.) But for some other devices the Chip Select signal you send it
does need to be qualified by Phi2. An example would be if you wanted to use a 74_374 or '574 as an output port you can write to.
So, in the diagram you should let us know what devices get activated by the various select lines.
Quote:
For the Mk.I version of my machine, I have eight 1K sections mapped for I/O
I have not closely analyzed your diagram (reproduced below) but my first question is, what else is in the memory map? Specifically memory, I mean. You need to ensure that memory is not activated simultaneously with I/O. You haven't shown us enough of the schematic to determine if that's the case. But let's ignore that for now.
Except for the issues noted, the upper half of your diagram looks reasonable. I haven't had my second coffee yet
but to me it appears to decode 8 regions in the space from $B800 to $BFFF.
The lower half of your diagram needs a re-think. The signal to pin 6 of the '138 will go high if A14 is low
OR if A11 is low (or both). That's unexpected, because the usual policy for decoding a device select is to require that the required state for one address line gets ANDed (not ORed) with the required state for the other address lines. I hope I've explained that in a way that makes some kind of sense!
Edit: here's a different take. You've labeled the Y0 output on U4 as "$B000." In other words, A14 and A11 both low. But that output will also go low for the region starting at $B800 (A14 low, A11 high) and the region starting at $F000 (A14 high, A11 low).
Quote:
this whole project is about learning
Right... and it's back to the drawing board for you!
We'll look forward to seeing what you come up with!
-- Jeff
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html