I could use a favor in helping me understand some video display logic. I'm a software developer by trade so what little I know about electronics is self taught. (This is a self-education project btw)
I'm trying to understand how video is displayed from an old video arcade board. It's basically an 8 bit computer system. It uses a Hitachi 46505 (crt controller) which is the same as the Motorola 6845. I've looked through the datasheet for a 6845 and understand it's purpose and how it goes about displaying characters. What I'm having trouble understanding is how colors are added to the mix.
The schematic I'm looking at is on Page 16 (in the PDF file) at the link below:
playfield. The characters are generated via the CRT controller and are ouput serially, one character row at a time (through a color PROM) to the RGB lines. The game keeps both a character map and a color map in video RAM that's shared by a z80 and the controller.
Based on old posts I've been reading, I'm sure that someone here has experience with a similar setup. If you could answer some questions for me I would really appreciate it.
How is color for the character determined? How did this work in old 8 bit systems? I know the color PROM feeds out 8 bits that are run though resistors to get 256 colors but I don't see get how color RAM assists in doing that. I'm also trying to understand how sprites are drawn. Were sprites displayed in an alternate refresh cycle or are they somehow combined during the drawing of the character map?
Again, if you can give any advice I would really appreciate it.
Thanks.