GARTHWILSON wrote:
I use a single VIA for:
[snip]
all at the same time.
I know one
can, unfortunately in this case, its not a matter of being unable to, I just don't
want to.
GARTHWILSON wrote:
As for room, you can put other ICs under the VIA:
Not with an SMD VIA.
GARTHWILSON wrote:
But really, for the amount of work you're going to put into it, the price of a second VIA is peanuts. Using the LCD in its 4-bit interface is easy, and probably won't be any less efficient than trying to manage it through other parallel logic which may slow your maximum clock speed down anyway, and certainly won't be as slow as doing it through SPI if you have to bit-bang it (although I do like SPI, even bit-banged!). Michael's idea using the '595 could be pulled off with the VIA's serial port, shifting at half the phase-2 rate without the processor having to bit-bang. In fact, I've done the following to get well over a hundred output bits from the VIA's SR (shift register):
[snip pic]
Similarly, you can also use the VIA's SR for tons of input bits:
[snip pic]
or even both inputs and outputs on the same VIA SR, at the same time, using a 74xx126 section to stop the final 165's output when you're outputting to the 595's, to prevent contention.
Well, the parallel logic design above which introduces waitstates should only slow down the processor when its actually accessing the screen, and it will make the software a lot simpler - no bit-banging of any kind. I think there's pros and cons to both approaches.
I'm already using the VIA SR in exactly this manner to drive the keypad and status lights. I would rather not overload it with having to manage the screen as well.
GARTHWILSON wrote:
It's all in the
6502 primer.
Perhaps it might surprise you to learn I have read your entire primer multiple times. Not to mention several other parts of your website. I cannot describe how useful they've been. Nevertheless I am a relative newbie to all this and I like to get other people's opinions on things before I spend vast quantities of money getting PCBs made. Earlier in this topic with Jeff's help we got the decoding logic down from 10 chips and a 5-chip large prop delay to 3 chips and a 2-chip prop delay, so it was clearly worth it.
GARTHWILSON wrote:
If I seem a little feisty, it's because a rather new tire with no apparent previous damage blew out on our son's van a few hours ago on the freeway and he fishtailed and rolled the van over and over. It's a total loss. Fortunately he's not hurt.
I am very sorry to hear that, but I am glad he is OK. I can definitely sympathise, having had my fair share of crashes, scars included.
_________________
Want to design a PCB for your project? I strongly recommend
KiCad. Its free, its multiplatform, and its easy to learn!
Also, I maintain KiCad libraries of
Retro Computing and
Arduino components you might find useful.