Vectrex Output to an Oscilloscope Through VGA Port

Discussion about displays and related hardware including MiSTer filters and video settings.
Ruleset
Posts: 26
Joined: Fri Dec 01, 2023 1:45 pm
Been thanked: 100 times

Vectrex Output to an Oscilloscope Through VGA Port

Unread post by Ruleset »

I made some modifications to the Vectrex core to get XYZ output from the VGA port for an oscilloscope.

Here is my github fork with some more details and pictures:

https://github.com/Jokippo/Vectrex_MiSTer_XYZ

I included Gerbers and STLs so you can make your own adapter if you have some electronics knowledge.

Videos of it in action:
https://youtu.be/6vOpB0jy7xM
Lightpen:
https://youtube.com/shorts/xjpVvosmDCY

MrMartian
Posts: 21
Joined: Wed Nov 24, 2021 4:04 pm
Has thanked: 18 times
Been thanked: 36 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by MrMartian »

Amazing!

User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by LamerDeluxe »

This is great! I was wondering years ago if something like this would be possible. I guess with the new analog IO boards, with 24-bit VGA output, this could work even better?

Some games I remember using variable brightness (Z output) are: Mine Storm, Web Warp and Dark Tower.

I have a Vectrex, but also a CRT scope, it would be fun to try this.

Ruleset
Posts: 26
Joined: Fri Dec 01, 2023 1:45 pm
Been thanked: 100 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by Ruleset »

LamerDeluxe wrote: Tue Apr 02, 2024 3:58 pm

This is great! I was wondering years ago if something like this would be possible. I guess with the new analog IO boards, with 24-bit VGA output, this could work even better?

Some games I remember using variable brightness (Z output) are: Mine Storm, Web Warp and Dark Tower.

I have a Vectrex, but also a CRT scope, it would be fun to try this.

The signal is already good enough on 18-bit I think, PWM would still be needed on the 24-bit boards. But it might look a little better yeah, especially if the 24-bit boards have better linearity.

syn
Posts: 17
Joined: Thu Dec 22, 2022 2:09 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by syn »

Wow, that is awesome. With lightpen input from the oscilloscope? How is that even possible?

User avatar
offset
Posts: 44
Joined: Fri Jan 27, 2023 10:55 am
Has thanked: 22 times
Been thanked: 11 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by offset »

That is wild! One day would love to see it possible to use the mister cores to play on vector monitors (ie. asteroids, battlezone, etc).

Ruleset
Posts: 26
Joined: Fri Dec 01, 2023 1:45 pm
Been thanked: 100 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by Ruleset »

syn wrote: Tue Apr 02, 2024 5:58 pm

Wow, that is awesome. With lightpen input from the oscilloscope? How is that even possible?

The light sensor is just directly attached to an interrupt pin on the cpu through the user port, just like the real Vectrex. If the sensor is triggered while the program is drawing the lines of the little cursor, the vectrex software will know the position of where the pen is held. There is no additional latency from the XYZ output so it will just work as expected.

thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by thorr »

Just found this too: https://youtu.be/-o5zJ1T778g It would be very cool to make a Vector monitor and MiSTer cores for it.

User avatar
Bristles
Posts: 90
Joined: Wed Aug 16, 2023 8:36 pm
Has thanked: 44 times
Been thanked: 10 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by Bristles »

This is better
https://www.youtube.com/watch?v=LNXurZhrZ_Y

And you get colour vectors using this method. Just wish I had the knowledge, and the balls to do myself, but even though I have many CRTs, they still scare the crap out of me.

thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by thorr »

Man I so want that. I actually made my own arcade cabinet in the theme of the Star Wars vector arcade cabinet with a rotatable CRT in it. I wonder if I could hodgepodge a vector / raster mode switch into it. That would be totally amazing if I could get Star Wars working in vector mode and still be able to play Donkey Kong, etc. in raster mode. Of course, we need a Star Wars core first.

VXnCV5B.jpeg
VXnCV5B.jpeg (880.28 KiB) Viewed 3297 times
User avatar
Bristles
Posts: 90
Joined: Wed Aug 16, 2023 8:36 pm
Has thanked: 44 times
Been thanked: 10 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by Bristles »

I don't think you could switch between vector and raster because you have to rewind/rewire the yoke. Also, I think he's using a custom controller board that only excepts X, Y, Z axis inputs, so no RGB for raster.
I would pay a good amount of cash for someone, or some company, to mass-manufacture vector monitors, but sadly I think those days are long gone. And, I don't think anyone wants to rework raster CRTs to Vector, to sell to the public.

thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by thorr »

If I have to rewind the yoke, then definitely it wouldn't be possible. I was thinking of having separate electronics boards both wired up and just power one on at a time or something like that.

pashdown
Posts: 7
Joined: Sun Jan 01, 2023 11:35 pm
Been thanked: 1 time

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by pashdown »

Ruleset wrote: Tue Apr 02, 2024 4:19 pm

The signal is already good enough on 18-bit I think, PWM would still be needed on the 24-bit boards. But it might look a little better yeah, especially if the 24-bit boards have better linearity.

Sorry for the bump on this old thread, but I just ran across this, and I am impressed at how elegant your method is. Are there enough outputs on the VGA port to drive a color vector screen? I've always understood the Vectrex was the slowest vector. Things like the Star Wars Death Star explosion on Atari, and some of the effects that Sega did with their vectors require faster speeds. Do you know if they require higher bitrates too? Does the bitrate dictate the points on the screen or the amount of redraw required? Have you looked at any of the arcade vectors on MiSTer with your adaptation?

niallquinn
Posts: 136
Joined: Wed Jun 05, 2024 4:54 pm
Has thanked: 140 times
Been thanked: 33 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by niallquinn »

What a bloody good idea!!! Good luck with it.

Ruleset
Posts: 26
Joined: Fri Dec 01, 2023 1:45 pm
Been thanked: 100 times

Re: Vectrex Output to an Oscilloscope Through VGA Port

Unread post by Ruleset »

pashdown wrote: Fri Aug 30, 2024 4:52 am

Sorry for the bump on this old thread,

No problem, I am just happy someone else is interested in this tbh.

pashdown wrote: Fri Aug 30, 2024 4:52 am

but I just ran across this, and I am impressed at how elegant your method is. Are there enough outputs on the VGA port to drive a color vector screen? I've always understood the Vectrex was the slowest vector. Things like the Star Wars Death Star explosion on Atari, and some of the effects that Sega did with their vectors require faster speeds. Do you know if they require higher bitrates too? Does the bitrate dictate the points on the screen or the amount of redraw required? Have you looked at any of the arcade vectors on MiSTer with your adaptation?

This circuit is made to be used with oscilloscopes. Pure vector CRT's would probably need additional circuitry. I do think the VGA port has enough output pins to do color but only at binary intensity. I don't know how much faster the current circuit can draw lines, the max drawing speed is a balance between higher capacitance to smooth out the PWM and lower to make the beam more responsive. This bit depth is probably sufficient for the arcade games but the beam speed may not be, I can try to port it over to the other vector cores at some point.

Post Reply