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: Hacking a gameport  (Read 1589 times)

0 Members and 1 Guest are viewing this topic.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Hacking a gameport
« on: September 14, 2003, 12:09:17 pm »
With all the gamepad hacks around here, I'm suprised no one has attempted to just connect the controls directly to the gameport itself.

http://www.ctips.com/game.html

More than enough information to do that.

Of course, you're limited to two controls with two buttons.  Less if you decide to use the buttons on the joys for credit buttons.

zero-one

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 85
  • Last login:December 17, 2003, 10:30:04 pm
  • Still learning...
Re:Hacking a gameport
« Reply #1 on: September 14, 2003, 03:12:03 pm »
Interesting....

Good for a simple Classics control panel with 2 joysticks, 2 buttons, Coin, and Start. You could play Robotron and most of the 1 and 2 button games. No Defender/Stargate though.

The circuit is easy to build on a perf-board also. Sweet.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:Hacking a gameport
« Reply #2 on: September 14, 2003, 03:24:19 pm »
Yeah, in the old days of BYOAC that was done more often.  No need to now.  Plus the gameport is going bye bye.  Actually, it is possible to burn out your soundcard using the gameport on fast computers.

cw

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 793
  • Last login:May 03, 2025, 09:26:58 pm
  • Game over man game over
    • The Cab
Re:Hacking a gameport
« Reply #3 on: September 14, 2003, 04:24:21 pm »
I use the gameport of one of my cabs.....

mame driving cab  for the axis of the pedal and shifter and the coindrop.....

I could not get it to calibrate in win98 but 2000 and xp are ok with it(.....been looking for a cockpit pole
pedal that has the break and gas)...

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re:Hacking a gameport
« Reply #4 on: September 14, 2003, 05:30:20 pm »
If we could hack USB into DOS there wouldn't be any need.  Well, USB kinda works, but it's getting the device drivers, not the USB drivers to work, that's the tricky part.

Anyone that programs want to give it a shot?  I think porting over the Linux HID drivers to DOS would work - maybe.

OzStick

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 39
  • Last login:February 27, 2019, 11:25:50 pm
  • I manufacture Arcade Controls!
    • OzStick Website
Re:Hacking a gameport
« Reply #5 on: September 14, 2003, 10:29:30 pm »
The standard for the gameport is 2 joysticks with a total of 4 buttons, but if you want to be a little creative you can actually get a config of 1 joystick and EIGHT buttons!

How? A joystick has 4 microswitches, so why not simply wire up 4 buttons to the same inputs as for the 2nd joystick instead??

If you are using an old version of MAME then this will work a treat. The code was changed, I think around v0.53, and support for Dual Joysticks was omitted.

Email me direct if you want any more info on this - we have done quite a few custom solutions via directly wiring to a joystick extension cable and it always works out well.

So to those of you who say you cannot have a Defender layout that connects entirely to the Gameport, I challenge you to simply think outside the square.......

You don't really need perforated board either- all you need is a few wires, 4 resistors, a soldering iron and the ability to read a simple circuit diagram.

hooded_paladin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 229
  • Last login:November 06, 2013, 08:59:01 pm
  • Finch! hahaha
Re:Hacking a gameport
« Reply #6 on: September 15, 2003, 01:54:50 am »
How? A joystick has 4 microswitches, so why not simply wire up 4 buttons to the same inputs as for the 2nd joystick instead??
You can't wire two buttons to opposite ends of a joystick axis and not expect ghosting, right?  So you could get one joystick and 6 buttons
There is SO a spoon.

OzStick

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 39
  • Last login:February 27, 2019, 11:25:50 pm
  • I manufacture Arcade Controls!
    • OzStick Website
Re:Hacking a gameport
« Reply #7 on: September 15, 2003, 04:59:50 am »
Well, technically you can only get 6 buttons and a joystick before you run into possible conflict issues, but if you give it some thought you COULD work out a suitable layout where 8 buttons are workable.......

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Hacking a gameport
« Reply #8 on: September 15, 2003, 09:26:30 am »
How? A joystick has 4 microswitches, so why not simply wire up 4 buttons to the same inputs as for the 2nd joystick instead??
You can't wire two buttons to opposite ends of a joystick axis and not expect ghosting, right?  So you could get one joystick and 6 buttons
Wrong, ghosting is a problem with keyboard and maybe gamepad hacks where you have a scanning matrix coming into play.  Gameport is straight 4-axis and 4 buttons total, so no ghosting, AFAIK.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.