Original analog video without I/O board? Possible!

https://github.com/MiSTer-devel/Main_MiSTer/wiki

Moderators: Mug UK, Zorro 2, spiny, Greenious, Sorgelig, Moderator Team

Locked
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Original analog video without I/O board? Possible!

Post by Sorgelig »

Did you ever though "would be good to get original analog output without additional board which is not easy to find?
After some experiments i've made it possible!
What you need is cheap HDMI-VGA converter like this:
s-l1600.jpg
I't important the converter must be very simple! It can be like simple small adapter with hdmi and vga connectors or like on picture. The converter on picture is preferable because you can easily disassemble it to add some mods like sync-on-green or add 5V power to pin-9.
Also you can easily check the chip. Known to work well chip: AG6200. It support all kind of video from interlaced 15KHz to progressive 1080p.
Besides the video, you also get analog Audio!

Today i've released Genesis and SNES cores where this feature is implemented. You need to update the MiSTer binary as well.
In Mister.ini put the option:
direct_video=1

How it works:
Core sends original video to HDMI without any scaling, as-is. Then HDMI-VGA converter acts as a DAC for video and audio.
No any frame buffers are used in VGA converter, so it converts online.
Basically you get zero-lag video. Same as you would use VGA from I/O board.
This video is even better because you get 8bits per color while I/O board gives only 6bits per color. Audio output is also better than one used on I/O board.

It's still experimental feature, so i would like to ask everyone who has/bought such converter to test it and tell how it works.

features are supported over direct video:
- composite sync on HSync signal (set corresponding ini option).
- YPbPr (set corresponding ini option).

You will need to add sync-on-green circuit to VGA output if you need it (YPbPr requires it).
SOG can be very simplified. You just need diode (1N4148) and 1K resistor. Connection: from HSync -> anode of diode, cathode of diode -> resistor, resistor to Green signal.
Capture.PNG
SCART connection is traditional.

For SCART, YPbPr and SOG you need to use composite_sync=1
You do not have the required permissions to view the files attached to this post.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Original analog video without I/O board? Possible!

Post by Sorgelig »

my collection of converters i've bought for experiment:
20190820_233936.jpg
the one in the middle doesn't work with 15KHz video. Other 3 are fine.
So, it's not bad ratio.
They are dirt cheap, so can buy several :)
Still suggest the one with "tail". Besides easy to disassemble, it has soft connection and won't harm HDMI connector as other 3.
You do not have the required permissions to view the files attached to this post.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Original analog video without I/O board? Possible!

Post by Sorgelig »

Forgot to write:
Some HDMI monitors may support such video directly. At least scandoubled video.
So you basically get zero-lag original video on HDMI. No scaler involved.
uigiflip
Atari freak
Atari freak
Posts: 63
Joined: Sun May 13, 2018 6:41 pm

Re: Original analog video without I/O board? Possible!

Post by uigiflip »

Replay 2, Mister, FPGA Replay + 68060 Daughterboard
User avatar
witchmaster
Captain Atari
Captain Atari
Posts: 150
Joined: Wed Jun 15, 2011 10:50 am

Re: Original analog video without I/O board? Possible!

Post by witchmaster »

That is just superb, Sorgelig, you are a genius! :) I just ordered two adapters to try this with, one with analog audio out and one without.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Original analog video without I/O board? Possible!

Post by Sorgelig »

uigiflip wrote:some have analogue audio out too
yes, i've mentioned it in my post.
So this solution is for both Video and Audio.
owlnonymous
Atarian
Atarian
Posts: 5
Joined: Mon Nov 05, 2018 4:37 am

Re: Original analog video without I/O board? Possible!

Post by owlnonymous »

Excellent! I already have an adapter I can experiment with.
robbo43
Retro freak
Retro freak
Posts: 11
Joined: Sat Feb 03, 2018 10:58 pm

Re: Original analog video without I/O board? Possible!

Post by robbo43 »

Hi Sorgelig,

Do you have a link to the 'tail' adapter you used. All the ones I can find with a 3.5mm audio out are labelled active adpaters that also include a 5v DC input for (I quote):

Connect the USB charging cable(included in the package) to the adapter and a USB computer port or wall charger to provide additional power; USB charging boosts the signal from computers with low power HDMI ports such as the MacBook Pro with Retina Display or Raspberry Pi

I guess this is just to power the DAC chipset when there isn't enough power from the HDMI port?

The tail adapter would definitley be the best solution.

Cheers

Rob
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Original analog video without I/O board? Possible!

Post by Sorgelig »

many "tail" adapters include usb power as a backup power.
So, it's fine.
I've bought all adapters in local store.
robbo43
Retro freak
Retro freak
Posts: 11
Joined: Sat Feb 03, 2018 10:58 pm

Re: Original analog video without I/O board? Possible!

Post by robbo43 »

Thanks Sorgelig, I'll buy one of the active adapters and test.

Regards

Rob
PsyFX
Atari freak
Atari freak
Posts: 51
Joined: Tue Oct 23, 2018 7:51 pm

Re: Original analog video without I/O board? Possible!

Post by PsyFX »

Here is a link to one that I've had for a while, its un-powered. I used with a pi3 and 4/3 lcd vga monitor. Tried a variety of resolutions, but I did not test lower then 640x480.

https://www.aliexpress.com/item/3235753 ... 4c4dsOi4kF
User avatar
deltax5
Retro freak
Retro freak
Posts: 13
Joined: Tue Oct 02, 2018 1:42 am

Re: Original analog video without I/O board? Possible!

Post by deltax5 »

That is very nice.
This will come in handy if a duel ram io comes out as i am hearing there isn't enough \pins to get the vga out for rgb, vga, component.
I really hope they just figure things out and make the 128mb ram.
We can only wait and see.
I wonder if the analogue DAC can be used also, maybe with it programed.
ThetaX5
Owner
MiSTer, EVERDRIVE n8,n64 2.0,mega, sd2snes,gbx7, ez flash omega, Raspberry pi 3b with retropi.
Lightwave
Atari maniac
Atari maniac
Posts: 91
Joined: Sun Dec 16, 2018 8:18 pm

Re: Original analog video without I/O board? Possible!

Post by Lightwave »

I'm already using an HDMI to VGA adapter to connect MiSTer to a VGA CRT monitor.

Is there any benefit to using direct HDMI (with scan doubler) vs the regular HDMI (with scaler set to vsync_adjust=2) ?
Last edited by Lightwave on Tue Aug 20, 2019 8:40 pm, edited 1 time in total.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Original analog video without I/O board? Possible!

Post by Sorgelig »

original non-scaled video
loloC2C
Atarian
Atarian
Posts: 6
Joined: Tue Oct 23, 2018 1:57 pm

Re: Original analog video without I/O board? Possible!

Post by loloC2C »

Hello, I've just tested the direct_video mode and it was a success.

However the menu was not displaying properly since only the Genesis and SNES core were updated to support the feature. I know it's still experimental but could you update the menu core as well please ?

I could test it by directly booting into the Genesis core:

Image

Image
Lightwave
Atari maniac
Atari maniac
Posts: 91
Joined: Sun Dec 16, 2018 8:18 pm

Re: Original analog video without I/O board? Possible!

Post by Lightwave »

Did you update the Main core as well? There is an update.
loloC2C
Atarian
Atarian
Posts: 6
Joined: Tue Oct 23, 2018 1:57 pm

Re: Original analog video without I/O board? Possible!

Post by loloC2C »

Yes, I did.

However the menu core (the one which you boot into by default) has its own rbf file (the last one being menu_20190627.rbf) and is a core itself which for the moment does not support the direct_video mode.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Original analog video without I/O board? Possible!

Post by Sorgelig »

yes, Menu core doesn't support it yet.
It will be update later
SegaMan
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 102
Joined: Sat Oct 27, 2018 12:59 pm

Re: Original analog video without I/O board? Possible!

Post by SegaMan »

Is 240p output possible with this HDMI to VGA Converter?
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Original analog video without I/O board? Possible!

Post by Sorgelig »

Menu core also updated with direct video for easier test.
SegaMan wrote:Is 240p output possible with this HDMI to VGA Converter?
Sorgelig wrote:It support all kind of video from interlaced 15KHz to progressive 1080p.
glaucon1984
Atari User
Atari User
Posts: 36
Joined: Fri Aug 04, 2017 12:23 pm

Re: Original analog video without I/O board? Possible!

Post by glaucon1984 »

Sorgelig wrote: Some HDMI monitors may support such video directly. At least scandoubled video.
Does this mean we can apply force_scandoubler=1 and it will generate 30khz horizontal signal for a regular CRT VGA computer monitor?
warham
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 135
Joined: Fri Oct 12, 2018 7:17 am

Re: Original analog video without I/O board? Possible!

Post by warham »

Does this mean you are designing a board with a fan, AG6200 chip, analogue audio connector, 128mb in the same form factor as your case to replace the other IO board :)... Merry Christmas to us?
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Original analog video without I/O board? Possible!

Post by Sorgelig »

glaucon1984 wrote:Does this mean we can apply force_scandoubler=1 and it will generate 30khz horizontal signal for a regular CRT VGA computer monitor?
of course.
warham wrote:Does this mean you are designing a board with a fan, AG6200 chip, analogue audio connector, 128mb in the same form factor as your case to replace the other IO board
there won't be AG6200 on I/O board as there is no internal HDMI connection. So it will require some HDMI bridge board and overall it will look stupid. External HDMI-VGA is pretty fine and convenient to use.
SuperSpongo
Atarian
Atarian
Posts: 5
Joined: Mon May 27, 2019 8:57 am

Re: Original analog video without I/O board? Possible!

Post by SuperSpongo »

This is HUGE news!! Exactly what I was looking for, thank you so much! I'll definitely test this!
I have a spare Tendak converter with a tail from my OSSC setup.

I wonder if it will output interlaced content correctly, might try Sonic 2 first :-)
Lightwave
Atari maniac
Atari maniac
Posts: 91
Joined: Sun Dec 16, 2018 8:18 pm

Re: Original analog video without I/O board? Possible!

Post by Lightwave »

Tested using this popular Tendak dongle adapter:

https://www.amazon.com/Tendak-Converter ... 01B7CEOVK/

Direct video does NOT work when connected to a Diamondtron VGA monitor (with forced scandoubler). Get no video signal at all. Adapter works fine via regular HDMI @ 640x480

Tested with MiSTer 20190820 and Menu 20190821.
Locked

Return to “MiSTer”