REMINDER - Stay logged in for at least 2 hours a week to get whitelisted.
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)
Sidequest: VGA scan doubler
-
Smonson
- Posts: 717
- Joined: 28 Oct 2017 10:21
- Location: Canberra, Australia
Re: Sidequest: VGA scan doubler
So I've been fiddling around with this one over the weekend and, although I am tooting my own horn here, I'm very pleased with the picture quality. The image is sharp, stable, and free from noise.
This is a close-up from a proper LCD monitor (not a TV like before) at low res: And this one's from the same monitor at med res. Before, the med res version was fuzzy, but I changed something in the RAM read process and it suddenly improved a lot. The moire effect stuffs up the photos - there is no banding visible in real life. I just have no way to prove it!
I added support for 60Hz as well, but unfortunately I was 1 LE over the limit of 80 on this CPLD, so I've ordered some bigger ones and will continue the project when they show up. That extra room will also give me some space to add the scanline effect that everybody loves!
I also have a plan to pass-through monochrome automatically so that all 3 modes will work on a standard VGA monitor. I think that should be possible... But I'm going to have to do another version of the PCB for that, because I didn't think to break out the mono pin to the CPLD. But an interesting thought is that with all 3 modes supported, I could cut a few traces and route everything through the ST's normal monitor port, and have a "seamless" mod. The switchable VGA cables used for 15KHz monitors would then work, but with more monitors. As you can see from the earlier pic of my mod board I've got my own r-2r ladder DACs on there and header pins for the VGA socket. But theoretically, I could just inject the video back into the shifter socket and go through the ST's video DACs (including mono). Probably I'd have to change some resistor values because of the voltage difference (3.3v instead of 5v). I'd have to cut tracks (or find some component I can unsolder) to inject HSYNC and BLANK signals in place of the Glue-generated ones. I think I'm going to take this idea as far as it goes.
This is a close-up from a proper LCD monitor (not a TV like before) at low res: And this one's from the same monitor at med res. Before, the med res version was fuzzy, but I changed something in the RAM read process and it suddenly improved a lot. The moire effect stuffs up the photos - there is no banding visible in real life. I just have no way to prove it!
I added support for 60Hz as well, but unfortunately I was 1 LE over the limit of 80 on this CPLD, so I've ordered some bigger ones and will continue the project when they show up. That extra room will also give me some space to add the scanline effect that everybody loves!
I also have a plan to pass-through monochrome automatically so that all 3 modes will work on a standard VGA monitor. I think that should be possible... But I'm going to have to do another version of the PCB for that, because I didn't think to break out the mono pin to the CPLD. But an interesting thought is that with all 3 modes supported, I could cut a few traces and route everything through the ST's normal monitor port, and have a "seamless" mod. The switchable VGA cables used for 15KHz monitors would then work, but with more monitors. As you can see from the earlier pic of my mod board I've got my own r-2r ladder DACs on there and header pins for the VGA socket. But theoretically, I could just inject the video back into the shifter socket and go through the ST's video DACs (including mono). Probably I'd have to change some resistor values because of the voltage difference (3.3v instead of 5v). I'd have to cut tracks (or find some component I can unsolder) to inject HSYNC and BLANK signals in place of the Glue-generated ones. I think I'm going to take this idea as far as it goes.
You do not have the required permissions to view the files attached to this post.
-
Icky
- Site Admin

- Posts: 4386
- Joined: 03 Sep 2017 10:57
- Location: UK
Re: Sidequest: VGA scan doubler
Nice progress @Smonson
-
derkom
- Moderator

- Posts: 1232
- Joined: 29 Jul 2018 18:45
Re: Sidequest: VGA scan doubler
I've found the easiest way to prevent moire when photographing an LCD is just to step back far enough that each physical pixel in the camera sensor is going to be more than one pixel on the display, then crop the photo down. Sure, it sacrifices a little bit of the ability to duplicate the full resolution of the display, but we're not talking about displaying that kind of resolution here anyway. ;)Smonson wrote: 24 May 2020 12:52 The moire effect stuffs up the photos - there is no banding visible in real life. I just have no way to prove it!
-
PhilC
- Moderator

- Posts: 7504
- Joined: 23 Mar 2018 20:22
Re: Sidequest: VGA scan doubler
Thats a nice looking screen, well done @Smonson
If it ain't broke, test it to Destruction.
-
troed
- Posts: 936
- Joined: 21 Aug 2017 22:27
Re: Sidequest: VGA scan doubler
That's a really cool idea. Add your TOS 1.04 multi-res patch (and the same then done to the 2.06 source) and we have all resolutions reachable from within GEM to any VGA-capable screen.Smonson wrote: 24 May 2020 12:52 I could cut a few traces and route everything through the ST's normal monitor port, and have a "seamless" mod.
Awesomeness.
/Troed
-
Smonson
- Posts: 717
- Joined: 28 Oct 2017 10:21
- Location: Canberra, Australia
Re: Sidequest: VGA scan doubler
That's a good idea. Although I don't think I have a big enough room to do that with my 48MP phone camera. I might have an older camera in a drawer somewhere that would work. I'll give it a try next time! Thanks!
-
sandord
- Posts: 764
- Joined: 13 Aug 2018 22:08
- Location: The Netherlands
Re: Sidequest: VGA scan doubler
I'm sure you could dial down the resolution on your phone?
-
agranlund
- Site sponsor

- Posts: 1763
- Joined: 18 Aug 2019 22:43
- Location: Sweden
Re: Sidequest: VGA scan doubler
If you find yourself lacking stuff to do, then it would be neat if it would take the DE signal and a switch to enable/disable the borders in the output image :D
I'm thinking the borderless image is probably much more likely to end up being a multiple of native monitor resolution so would yield a sharper image in addition to better screen coverage.
I'm thinking the borderless image is probably much more likely to end up being a multiple of native monitor resolution so would yield a sharper image in addition to better screen coverage.
-
exxos
- Site Admin

- Posts: 28614
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Sidequest: VGA scan doubler
That's not a bad idea really. I wonder if the system will run slower with it having more video data access to RAM on full screen though..
Who is online
Users browsing this forum: ClaudeBot and 35 guests