Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Analog controls in pure DOS, no gameport!  (Read 2200 times)

0 Members and 2 Guests are viewing this topic.

arcadecollecting

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:February 12, 2013, 07:19:17 pm
  • I was once a llama!
Analog controls in pure DOS, no gameport!
« on: January 02, 2006, 12:58:11 am »
I need help badly! Here's what I'm trying to do. I've bought a mini-itx mobo and I'm trying to stuff it into a Vectrex case. I want it to look like an unmodified Vectrex from the outside and I want to be able to use the Vectrex's original controllers.

I'm having big trouble with the controllers part. The mini-itx motherboard (EPIA M) doesn't have a gameport, so I figured I'd buy an a-pac and use that. Unfortunately, the EPIA M CPU isn't fast enough to run DVMAME under Windows. It's super chunky slow. So that means DOS only and that means no USB!! A-Pac won't work.

Anyone have any good ideas about how to get analog input working with DVMAME without a gameport? Is there a way to do it with the serial port?

Any ideas welcome!

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:June 17, 2025, 04:07:55 pm
  • Who the heck is that?
Re: Analog controls in pure DOS, no gameport!
« Reply #1 on: January 02, 2006, 01:18:28 am »
I hope you're wearing an asbestos suit.

arcadecollecting

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:February 12, 2013, 07:19:17 pm
  • I was once a llama!
Re: Analog controls in pure DOS, no gameport!
« Reply #2 on: January 02, 2006, 01:22:25 am »
Well, I'm not looking for an answer like "you're a newbie fool, it can't be done." I need to make it work one way on another, whether it be suggestions for a different brand of mini-itx motherboard that does have a gameport or one that has USB drivers built in to the BIOS so that an A-Pac will work in DOS.

Something... anything... I'm desperate. :-\ The only thing I can think of is spending a lot more money for a model that'll be fast enough to run DVMAME in Windows. :P

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Analog controls in pure DOS, no gameport!
« Reply #3 on: January 02, 2006, 03:04:40 am »
What kind of controls did the vectrex have?  Are they really analog?
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:June 17, 2025, 04:07:55 pm
  • Who the heck is that?
Re: Analog controls in pure DOS, no gameport!
« Reply #4 on: January 02, 2006, 03:25:07 am »
No, the suit is to protect you from the flames from people who want you dead for "killing" a Vectrex.

That said, does the mobo have any expansion slots?  And do you have any room left inside that Vectrex for an expansion card?  A lot of sound cards still have gameports built in, or you may be able to find a standalone gameport card.  They used to make a lot of those for ISA, maybe there were some for PCI, too.  The standalone card would quite likely not stick up as far as the soundcard.

Or, maybe you could find something like the bottom three items on this page:
http://www.donjohnston.com/catalog/pengild.htm

They appear to be  PS/2 or USB mice that use a joystick instead of a rollerball.  Maybe you could hack the Vectrex controller's pots to one.  Although you'd have to find a cheaper version, yikes!

arcadecollecting

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:February 12, 2013, 07:19:17 pm
  • I was once a llama!
Re: Analog controls in pure DOS, no gameport!
« Reply #5 on: January 02, 2006, 04:12:55 am »
Oh, I should have mentioned that I'm not doing anything irreversable to the Vectrex. It'll even still play Vectrex games through MESS. That's part of why I'm having a hard time... I don't want to destroy the original guts to make this work. :)

The mobo has a PCI slot, but there's definitely no room to add an expansion card. It's a really, really tight fit.

Wow! Those joymice are really expensive! Thanks for pointing them out, though.

The original Vectrex controllers are analog. It's going to require some unique thinking to achieve my goal of making them work without modifying one because of the way they work. They take -5v and +5v input and vary the output between -3.25v and +3.25v. -3.25v is far left, 0v is center and +3.25v is far right. However, I'm not worried too much about coming up with a circuit to translate that into +0 through 5v.

jhanson

  • Guest
  • Trade Count: (0)
Re: Analog controls in pure DOS, no gameport!
« Reply #6 on: January 02, 2006, 08:57:40 am »
The mobo has a PCI slot, but there's definitely no room to add an expansion card. It's a really, really tight fit.
Those mini-itx boards support the use of certain riser cards that will make a PCI card lie parallel to the motherboard rather than perpendicular to it.  I'd try one of those and a soundcard with a gameport.

arcadecollecting

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:February 12, 2013, 07:19:17 pm
  • I was once a llama!
Re: Analog controls in pure DOS, no gameport!
« Reply #7 on: January 02, 2006, 11:35:36 am »
I think even that won't fit, but even so, do PCI soundcards exsist with gameports?

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Analog controls in pure DOS, no gameport!
« Reply #8 on: January 02, 2006, 11:49:26 am »
I think even that won't fit, but even so, do PCI soundcards exsist with gameports?

Until recently, most of them had game ports.  My Audigy Platinum had a game port that had its own slot bracket and plugged into the sound card.

Of course, if you're planning on doing DOS, you need a seriously DOS compatible sound card.  I'd look at the Sound Blaster 16 boards coveted by the DOS MAME guys.  Note that there's like a bunch of different cards marketed under the SB16 name so you have to go by the CT model numbers to be sure what you're getting.
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

RayB

  • I'm not wearing pants! HA!
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11279
  • Last login:February 25, 2025, 08:29:42 pm
  • There's my post
    • RayB.com
Re: Analog controls in pure DOS, no gameport!
« Reply #9 on: January 02, 2006, 11:53:19 am »
SB Live has a gameport.

NO MORE!!

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Analog controls in pure DOS, no gameport!
« Reply #10 on: January 02, 2006, 12:11:34 pm »
The mobo has a PCI slot, but there's definitely no room to add an expansion card. It's a really, really tight fit.

Would this help?...
http://www.logicsupply.com/product_info.php/products_id/452
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

arcadecollecting

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:February 12, 2013, 07:19:17 pm
  • I was once a llama!
Re: Analog controls in pure DOS, no gameport!
« Reply #11 on: January 02, 2006, 12:19:54 pm »
Ooo, that might work. Is there a such thing as SB16 PCI?

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Analog controls in pure DOS, no gameport!
« Reply #12 on: January 02, 2006, 01:06:08 pm »
Ooo, that might work. Is there a such thing as SB16 PCI?

Yep.  However, like I mentioned above, there's a bunch of different models calling themselves SB16 that use different chipsets so you might have to do a little research.

Most of the stuff I can find regarding PCI soundcards in DOS centers around audio, not gameports.  So you may have to just pick up some cheap PCI soundcards on eBay and try some out.

There's some useful info here...
http://www.mameworld.net/dosmame/compatibility.php#hardware
http://www.mameworld.net/dosmame/troubleshooting.php

Here's some useful info on DOS soundcard drivers...
http://vsynchmame.mameworld.net/
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:June 17, 2025, 04:07:55 pm
  • Who the heck is that?
Re: Analog controls in pure DOS, no gameport!
« Reply #13 on: January 02, 2006, 05:04:43 pm »
Oh, I should have mentioned that I'm not doing anything irreversable to the Vectrex.

So you're cramming a ZVG card in there to drive the original Vectrex monitor?

You might be able to find a joymouse cheaper somewhere else, those are just the first ones I turned up.  But then, that flexible PCI riser looks pretty handy, too.

hanelyp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:January 10, 2009, 11:08:19 pm
Re: Analog controls in pure DOS, no gameport!
« Reply #14 on: January 02, 2006, 06:19:56 pm »
Interfacing an analog input to a serial port is definately possable, if you're willing to hack together an interface.  A single chip microcontroler with A2D inputs could read a pair of analog sticks and feed the info in a simple packet a few bytes long.  The software would also need some hacking to accept input from the serial port.

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4419
  • Last login:Today at 11:52:29 am
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: Analog controls in pure DOS, no gameport!
« Reply #15 on: January 02, 2006, 06:31:51 pm »
I have some Sound card the works in PURE DOS. ISA and PCI version. I have tested each one to make sure it works. LMK if interested in some. I have all the DOS drivers for it so it make your installation quickly and headache free.
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

rdagger

Re: Analog controls in pure DOS, no gameport!
« Reply #16 on: January 02, 2006, 06:34:27 pm »
You might want to try Linux.  It might run fast enough and you would have USB support.

chrisdfw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
  • Last login:February 21, 2019, 08:50:58 am
Re: Analog controls in pure DOS, no gameport!
« Reply #17 on: March 29, 2006, 10:11:10 am »
I am curious, was there any progress on this?

JoyMonkey

  • Voodoo Wiki Master . . .
  • Wiki Master
  • Trade Count: (+5)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2899
  • Last login:June 16, 2025, 09:16:27 pm
  • Candy is Dandy but Liquor is Quicker
    • JoyMonkey.com
Re: Analog controls in pure DOS, no gameport!
« Reply #18 on: March 29, 2006, 11:07:14 am »
I think he probably realized that he mutilated a perfectly good Vectrex monitor and left the community with his head hung in shame.

infiniteomega

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 71
  • Last login:December 17, 2010, 12:39:08 pm
Re: Analog controls in pure DOS, no gameport!
« Reply #19 on: March 29, 2006, 05:26:09 pm »
What about linux, or bsd?  There's xmame and advancemame for both of those platforms.  As far as linux goes, you could use a distro based on the 2.4kernel which should help in the speed department. 

Might not be the easiest solution out there, but if it works, at least it was free :).