VOGONS


VGA Capture Thread

Topic actions

Reply 420 of 1395, by Elia1995

User metadata
Rank Oldbie
Rank
Oldbie
TheGreatCodeholio wrote:

Or you could get an HDMI capture card and a VGA to HDMI converter. Why bother with S-Video and composite anymore?

Every single VGA to HDMI converter I tested with my capture card (Avermedia live gamer HD lite) just gives me an "Out of range" or pure black screen in RECentral.

Currently assembled vintage computers I own: 11

Most important ones:
A "modded" Olivetti M4 434 S (currently broken).
An Epson El Plus 386DX running MS-DOS 6.22 (currently broken).
Celeron Coppermine 1.10GHz on an M754LMRTP motherboard

Reply 421 of 1395, by TheGreatCodeholio

User metadata
Rank Oldbie
Rank
Oldbie
Elia1995 wrote:
TheGreatCodeholio wrote:

Or you could get an HDMI capture card and a VGA to HDMI converter. Why bother with S-Video and composite anymore?

Every single VGA to HDMI converter I tested with my capture card (Avermedia live gamer HD lite) just gives me an "Out of range" or pure black screen in RECentral.

Ugh, right. Some manufacturers like to think that 640x480 is the lowest VGA goes. Startech does the same thing on the VGA input. They don't seem to understand that VGA runs at 720x400 70Hz at the DOS prompt and has done so since VGA was invented.

Before I found a good VGA to HDMI converter, I used to work around it using a TSR I wrote that intercepts INT 10h and forces the VGA output to 480-line modes. It worked as long as DOS was able to boot (so, no BIOS setup screens). Most assume 640x480 instead of 720x480 so the TSR also allows you to force the 8-pixel wide alphanumeric mode.

https://github.com/joncampbell123/doslib

The utility is under hw/vga called VGA240.EXE. Look in the releases section for binaries.

DOSBox-X project: more emulation better accuracy.
DOSLIB and DOSLIB2: Learn how to tinker and hack hardware and software from DOS.

Reply 422 of 1395, by Elia1995

User metadata
Rank Oldbie
Rank
Oldbie

Oh, thanks, how does it work, do I have to load it high in autoexec using LH ?

Currently assembled vintage computers I own: 11

Most important ones:
A "modded" Olivetti M4 434 S (currently broken).
An Epson El Plus 386DX running MS-DOS 6.22 (currently broken).
Celeron Coppermine 1.10GHz on an M754LMRTP motherboard

Reply 423 of 1395, by TheGreatCodeholio

User metadata
Rank Oldbie
Rank
Oldbie
Elia1995 wrote:

Oh, thanks, how does it work, do I have to load it high in autoexec using LH ?

Just run it. If it's not already resident, it will become resident and force all standard VGA modes to 480-line 60Hz output that capture cards and scan converters are more likely to accept.

You can also run it with command line options to control the resident portion, and there is a command line option to unload it from memory when you're finished.

You can put it in your AUTOEXEC.BAT if you like, but you don't have to.

EDIT: One more thing: I wrote it to load into conventional memory. I've never tested it against LH or run it from the HMA. I don't recommend running it in the HMA because it intercepts a common BIOS interrupt.

Last edited by TheGreatCodeholio on 2017-11-08, 20:30. Edited 2 times in total.

DOSBox-X project: more emulation better accuracy.
DOSLIB and DOSLIB2: Learn how to tinker and hack hardware and software from DOS.

Reply 424 of 1395, by TheGreatCodeholio

User metadata
Rank Oldbie
Rank
Oldbie
Elia1995 wrote:

Oh, thanks, how does it work, do I have to load it high in autoexec using LH ?

Then to explain how it works:

Your VGA card, in standard VGA modes, has a "dot clock" that clocks out pixels at either 25MHz or 28MHz. Then, the video mode is defined by how many total "characters" a scan line is, and how many scanlines before a complete picture has been rendered. This code intercepts INT 10h so that, when a DOS program sets the video mode, the TSR reprograms the VGA card back to CRTC parameters that cause a 480-line display mode. It does it in a way that the original mode is centered in the picture, by increasing the total number of scanlines outside the display area.

DOSBox-X project: more emulation better accuracy.
DOSLIB and DOSLIB2: Learn how to tinker and hack hardware and software from DOS.

Reply 425 of 1395, by TheGreatCodeholio

User metadata
Rank Oldbie
Rank
Oldbie

Source code is here:

https://github.com/joncampbell123/doslib/blob … hw/vga/vga240.c

DOSBox-X project: more emulation better accuracy.
DOSLIB and DOSLIB2: Learn how to tinker and hack hardware and software from DOS.

Reply 426 of 1395, by NightSprinter

User metadata
Rank Member
Rank
Member

Curious, how does this affect games and demos reliant on the 70Hz refresh rate? I remember reading some programs have some sort of issue or another if ran at another refresh rate.

Reply 427 of 1395, by TheGreatCodeholio

User metadata
Rank Oldbie
Rank
Oldbie
NightSprinter wrote:

Curious, how does this affect games and demos reliant on the 70Hz refresh rate? I remember reading some programs have some sort of issue or another if ran at another refresh rate.

If the game relies on the 70Hz refresh rate, then it's going to run a bit slower. That's the game's problem.

The game will run slower the same way if you run it against the LCD display of most laptops, which are also locked at 60Hz.

DOSBox-X project: more emulation better accuracy.
DOSLIB and DOSLIB2: Learn how to tinker and hack hardware and software from DOS.

Reply 428 of 1395, by firage

User metadata
Rank Oldbie
Rank
Oldbie
Elia1995 wrote:
TheGreatCodeholio wrote:

Or you could get an HDMI capture card and a VGA to HDMI converter. Why bother with S-Video and composite anymore?

Every single VGA to HDMI converter I tested with my capture card (Avermedia live gamer HD lite) just gives me an "Out of range" or pure black screen in RECentral.

Either none of the converters support the 70Hz VGA input or the capture card doesn't. Probably the card. You have to be careful to get something decent with all these crappy console capture cards they sell these days.

Of course, you will eventually at some point drop the 70Hz picture to 30 or 60Hz for video. Some kind of an active scaling converter would probably be best to handle every situation in real time, but high quality gets expensive even compared to some good deals on capture cards.

My big-red-switch 486

Reply 429 of 1395, by TheGreatCodeholio

User metadata
Rank Oldbie
Rank
Oldbie

True. It seems to be a common misfeature for capture cards to cap the rate at 60Hz for some dumb reason.

I have 5 different capture cards. Only one (an old Startech) will capture 70Hz without skipping frames.

Startech cards seem to dislike anything VGA that's not 480 scan lines (640x480) or higher, even though for some odd reason it will happily capture 720x400 70Hz HDMI without complaint. But the same card will happily accept analog RGB from an old PC-98 unit (640x400 56Hz) directly.

DOSBox-X project: more emulation better accuracy.
DOSLIB and DOSLIB2: Learn how to tinker and hack hardware and software from DOS.

Reply 430 of 1395, by elianda

User metadata
Rank l33t
Rank
l33t

I'am actually quite happy with my Epiphan DVI2PCIe, captures basically everything from 15 kHz to 1920x1200 60 Hz. It does up to 85 Hz at 1280x1024 and even more at lower resolutions.

Retronn.de - Vintage Hardware Gallery, Drivers, Guides, Videos. Now with file search
Youtube Channel
FTP Server - Driver Archive and more
DVI2PCIe alignment and 2D image quality measurement tool

Reply 431 of 1395, by TheGouldFish

User metadata
Rank Newbie
Rank
Newbie

I got a HD60 recently thinking it would make for a good capture card and I'm had so many issues.
It only really supports widescreen resolutions so it makes it very hard to use, so ended up using a VGA to HDMI upscaler to get most resolutions, but as many before I had the issue with dos and its refresh rates.
Which I have to say thanks for the VGA240 program it worked great and managed to record this using it.
https://www.youtube.com/watch?v=OHnM21fnZug

Reply 432 of 1395, by SpeedySPCFan

User metadata
Rank Member
Rank
Member
TheGouldFish wrote:
I got a HD60 recently thinking it would make for a good capture card and I'm had so many issues. It only really supports widescr […]
Show full quote

I got a HD60 recently thinking it would make for a good capture card and I'm had so many issues.
It only really supports widescreen resolutions so it makes it very hard to use, so ended up using a VGA to HDMI upscaler to get most resolutions, but as many before I had the issue with dos and its refresh rates.
Which I have to say thanks for the VGA240 program it worked great and managed to record this using it.
https://www.youtube.com/watch?v=OHnM21fnZug

I wonder how VGA240 is only taking 24KB of memory in your video? When I ran it, it took 73kb or so which made some memory hogs like Ys 2 Special and Illusion Blaze unplayable.

Musician & music gear/game reviewer.

MIDI hardware: JD-990, SC-55, SC-880, SD-90, VL70-m, Motif ES, Trinity, TS-10, Proteus 2000, XK-6, E6400U

Reply 434 of 1395, by NightSprinter

User metadata
Rank Member
Rank
Member

Been testing the VGA2USB someone I know sent me. It seems to work pretty decently for what it's able to do. It does, however, have issues with some things like JROK's clones of Pac-Man/Ms. Pac-Man and the monochrome mode of the Atari ST line.

Reply 435 of 1395, by TheGreatCodeholio

User metadata
Rank Oldbie
Rank
Oldbie
SpeedySPCFan wrote:
TheGouldFish wrote:
I got a HD60 recently thinking it would make for a good capture card and I'm had so many issues. It only really supports widescr […]
Show full quote

I got a HD60 recently thinking it would make for a good capture card and I'm had so many issues.
It only really supports widescreen resolutions so it makes it very hard to use, so ended up using a VGA to HDMI upscaler to get most resolutions, but as many before I had the issue with dos and its refresh rates.
Which I have to say thanks for the VGA240 program it worked great and managed to record this using it.
https://www.youtube.com/watch?v=OHnM21fnZug

I wonder how VGA240 is only taking 24KB of memory in your video? When I ran it, it took 73kb or so which made some memory hogs like Ys 2 Special and Illusion Blaze unplayable.

DOSLIB has small and large memory model builds of VGA240.EXE.

The small memory model dos86s build consumes only 24KB (last time I checked). The large memory model dos86l build consumes 73KB.

Use the small memory model build.

DOSBox-X project: more emulation better accuracy.
DOSLIB and DOSLIB2: Learn how to tinker and hack hardware and software from DOS.

Reply 436 of 1395, by SpeedySPCFan

User metadata
Rank Member
Rank
Member
TheGreatCodeholio wrote:

The small memory model dos86s build consumes only 24KB (last time I checked). The large memory model dos86l build consumes 73KB.

Use the small memory model build.

Alrighty, I'll give that a shot tomorrow. 😀

Musician & music gear/game reviewer.

MIDI hardware: JD-990, SC-55, SC-880, SD-90, VL70-m, Motif ES, Trinity, TS-10, Proteus 2000, XK-6, E6400U

Reply 437 of 1395, by SpeedySPCFan

User metadata
Rank Member
Rank
Member

Took a few days but I finally tried the small memory build now that my Extron RGB came in. Compatibility is great, and I finally have a reliable method for capturing VGA video! Only 240p/480p content but it's still good enough for me. https://www.youtube.com/watch?v=xODoVQ8cMxQ

Video's a bit dark and desaturated because I need to tweak the colors on my iScan more, but I'm quite happy so far.

Musician & music gear/game reviewer.

MIDI hardware: JD-990, SC-55, SC-880, SD-90, VL70-m, Motif ES, Trinity, TS-10, Proteus 2000, XK-6, E6400U

Reply 438 of 1395, by elianda

User metadata
Rank l33t
Rank
l33t

It would be good if you note in the description which games are represented in a too slow speed due to the 60 Hz.

Retronn.de - Vintage Hardware Gallery, Drivers, Guides, Videos. Now with file search
Youtube Channel
FTP Server - Driver Archive and more
DVI2PCIe alignment and 2D image quality measurement tool