Well, it seems y'all are all for the higher speeds
Proxy wrote:
ve gotten too used to high speeds. a system with the CPU speed being below 10MHz feel like it's "crawling" instead of "running" to me. sorry about that
Wow! Well, I'm happy you feel at home with the higher speeds Proxy. I like your '816 design, thanks for posting that on another topic. Because you are using the CPLD, you are able to get everything much closer on the board, and I'm sure that also helps a lot.
Paganini wrote:
WD65C02s are specced up to 14Mhz. I have my system running at 8Mhz; I don't know if it can go faster, because 8Mhz is my fastest oscillator.
That will make one of us
I guess I'm not in it for the speed really, just the features. I am (personally) more interested in VGA, keyboards, and joysticks than maxing out the 14 MHz spec. I always figure that if these guys in the 80's had 1 MHz C64's and were able to make splendid games, so can I.
So, a small update, and then a question/poll:
I've been toying around with it a bit, robbing Peter to pay Paul, trying to maximize the 'features' side of things without adding any extra chips. Or at least minimally adding. I think I have about 26 chips on board right now, only 4 of which are 'big chips'. My typical Acolyte boards have 6 big chips, so that is an improvement in my eyes.
By manipulating the VIA pins a bit, I basically have 4 spare pins left. I went on the search as to how to implement 'color palettes', perhaps I can get 16 colors on screen at once, but from a palette of 256, or 256 colors out of a palette of 4096, etc. What I am finding is that these palettes are designed for when incoming timely data is much less than the desired output data.
Say I have only 4 data bits being converted into color. That means 16 colors. BUT if I have 4 palette data bits added, I could route 4 + 4 bits into, say, two RAM/ROMs and I could yield 8 + 8 color bits, substantially increasing the color depth. In this example, you would still only have 16 colors, but from a selection of 256 colors, from a possible combination of 65536 colors! That is, if I'm understanding this correctly.
What you *don't* want to do with palette bits is say 4 data + 4 palette = 8 color bits = 256 colors. Yes and no. Those palette bits would then become a 'shade' or 'hue' for the entire screen. Like, the whole screen is red, and you are just changing variations of that red color. Neat, but not practical. The only way this would be useful is if I have interrupts on H-BLANK or V-BLANK and manually change the palette bits as I go, which would indeed give me a lot of colors, but I would essentially be 'racing the beam'.
Another way to add more colors (without the 12 MHz speed) is to access my RAM twice while PHI2 is low. I do believe this is technically possible with the 6 MHz. The idea is that I latch two pixel's worth of data where I normally only latch one. Then I display one but high-Z the other, after a set time I switch them (probably using an SR-Latch). The issue then is the banks in which video memory reside are in two separate locations, and I cannot just write 'sequential' pixels as I would have to hop back and forth all the time. Not terrible, but not ideal.
That would be similar if I used two RAM chips for video output, two different (disconnected) banks essentially, and a lot of wasted space (and more big chips!).
[ All of this would be easier if they still offered smaller RAM/ROM chips like they had back in the day, mix and match for greater flexibility. ]
And perhaps I'm just misunderstanding?
So my question/poll for any of you: Is it worth it? I can get 256 colors at 160x240, which is pretty darn good in my eyes. That is perfectly serviceable for video games. On the flip side, I still have 640x240 with 4 colors, near essential if you want to do anything like programming or text editing.
But the temptation of having 320x240 with 256 colors allures me. Y'all all say to go for 12 MHz, but I'm not budging. Without a CPLD to help, 12 MHz is just too much for this TTL-based video circuit. I couldn't get the chips close enough together, for one thing. And because my board is so big, going to a 4-layer board would be massively expensive. Basically it would be too many moving parts that are far away from one another at such a high speed.
Thoughts? Reflections? Thanks for the feedback!
Chad