Page 5 of 5

Re: RFC - please dissect my design on a 6502 + VGA

Posted: Sat Jul 31, 2021 4:17 pm
by ThePhysicist
Here is the first iteration. It uses 3 dual pot rams now - one for the character value, one for foreground and one for background. So in the end you should be able to define foreground and background color of each character. It also sprouts basic ROM and 512 MB character RAM (simply because I have those chips lying around)
vga_text_V01.jpg
vga_text_v01.pdf
(455.26 KiB) Downloaded 48 times

Re: RFC - please dissect my design on a 6502 + VGA

Posted: Thu Apr 28, 2022 10:13 pm
by ThePhysicist
Again - it was a very long time since the last post - but the project is still alive. Actually it's better than alive, it's working. This is a test image of pure TEXT output.
vga_text_testimage.JPG
Here's how it looks like on a breadboard:
vga_text_breadboard.JPG
I attached the schematics as well.

Now why did it take so long?
  • it was complicated - far more complex than I imagined
  • if you have only 30-60min each day at night when you are tired progress is slow
  • you don't have any time to yourself during Christmas vacation :P
  • you are bound to make many mistakes, and motivation to debug sometimes is low
  • especially when something works, than does not work next day
  • only after I discovered load from a logic analyzer might positively impact your design things became more stable
  • pull-up resistors are better stabilizers than load from a measurement device
happy hacking
Michael

Re: RFC - please dissect my design on a 6502 + VGA

Posted: Fri Apr 29, 2022 12:05 am
by gfoot
ThePhysicist wrote:
.
  • only after I discovered load from a logic analyzer might positively impact your design things became more stable
  • pull-up resistors are better stabilizers than load from a measurement device
Ha ha. Nice work. Regarding lack of time, I know the feeling, we often have other things to prioritise over our hobbies. But the hobbies are still there for us when we get back to them. Sometimes they even still work!

Re: RFC - please dissect my design on a 6502 + VGA

Posted: Sat Apr 30, 2022 1:01 am
by Oneironaut
Mighty fine work!

Re: RFC - please dissect my design on a 6502 + VGA

Posted: Sat Apr 30, 2022 1:25 pm
by ThePhysicist
Thanks Brad, actually I copied the Graphic part from your design :)

Re: RFC - please dissect my design on a 6502 + VGA

Posted: Tue May 17, 2022 4:11 am
by ThePhysicist
The PCB I created (and ordered from China) worked mostly. Here are both cards combined showing text output
IMG_2280_text.jpg
and here doing graphics
IMG_2279_graphic.jpg
There are 2 problems still. Column 0 of the text output is not 100% correct, some timings seem to be off. Far worse is an issue caused by the 4 Y address lines connecting the 2 boards. If they are directly connected via short pin headers the output goes black. If I connect them via 40cm wires as shown in the pictures it's working. Either reflections, or timings, or cross-talk is causing an issue here.
Still as "proof of concept" this worked out. But I probably would not repeat this exercise and instead use one or more CPLDs or even a FPGA for my next iteration. There are simply too many chips in this "bug cemetery" :)