6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 6:09 am

All times are UTC




Post new topic Reply to topic  [ 66 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Sat Jul 31, 2021 4:17 pm 
Offline

Joined: Wed Jun 17, 2020 10:51 am
Posts: 60
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)
Attachment:
vga_text_V01.jpg
vga_text_V01.jpg [ 614.83 KiB | Viewed 490 times ]

Attachment:
vga_text_v01.pdf [455.26 KiB]
Downloaded 41 times

_________________
No simulation survives contact with reality!


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 28, 2022 10:13 pm 
Offline

Joined: Wed Jun 17, 2020 10:51 am
Posts: 60
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.
Attachment:
vga_text_testimage.JPG
vga_text_testimage.JPG [ 4.35 MiB | Viewed 405 times ]

Here's how it looks like on a breadboard:
Attachment:
vga_text_breadboard.JPG
vga_text_breadboard.JPG [ 4.12 MiB | Viewed 405 times ]

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


Attachments:
File comment: schematic in BW
vga_text_v02_bw.pdf [587.07 KiB]
Downloaded 36 times
File comment: schematic in color
vga_text_v02_color.pdf [599.32 KiB]
Downloaded 33 times

_________________
No simulation survives contact with reality!
Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 29, 2022 12:05 am 
Offline

Joined: Fri Jul 09, 2021 10:12 pm
Posts: 741
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!


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 30, 2022 1:01 am 
Offline
User avatar

Joined: Mon May 25, 2015 2:25 pm
Posts: 693
Location: Gillies, Ontario, Canada
Mighty fine work!


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 30, 2022 1:25 pm 
Offline

Joined: Wed Jun 17, 2020 10:51 am
Posts: 60
Thanks Brad, actually I copied the Graphic part from your design :)

_________________
No simulation survives contact with reality!


Top
 Profile  
Reply with quote  
PostPosted: Tue May 17, 2022 4:11 am 
Offline

Joined: Wed Jun 17, 2020 10:51 am
Posts: 60
The PCB I created (and ordered from China) worked mostly. Here are both cards combined showing text output
Attachment:
IMG_2280_text.jpg
IMG_2280_text.jpg [ 3.22 MiB | Viewed 299 times ]

and here doing graphics
Attachment:
IMG_2279_graphic.jpg
IMG_2279_graphic.jpg [ 2.64 MiB | Viewed 299 times ]

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" :)

_________________
No simulation survives contact with reality!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 66 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC


Who is online

Users browsing this forum: No registered users and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: