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: Parallel port as a programmer  (Read 1453 times)

0 Members and 1 Guest are viewing this topic.

ShinAce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:January 16, 2007, 07:38:14 pm
  • Building the unbuildable since 2001
Parallel port as a programmer
« on: March 07, 2005, 10:12:07 pm »
I want to connect my controls directly(without an encoder) to the parallel port.
I was thiking of splitting the controls into groups. Group A being 4 directions and start. Group B is the 6 main buttons. On top of that, 2 bits for an enable scheme to access group a, group b, or nothing.

I would still need to build a type of latch for each button. I'd probably use a 1 bit register, or T flip-flop. That would be my buffer, allowing me to control the entire joystick from 8 lines.

Is this feasible? I've never worked with a parallel port before.
An ounce of image is worth a pound of performance.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8190
  • Last login:August 18, 2025, 08:28:46 pm
  • The Bears Still Suck!
Re: Parallel port as a programmer
« Reply #1 on: March 07, 2005, 10:50:48 pm »
I'd look into hacking a gamepad or as playstation controller (using lpt driver). 

I wouldn't hook the controls up to the parallel port though.  Only 8 data lines.  Why go through the trouble of making that work.

Crazy Cooter

  • Senator Cooter was heard today telling the entire congressional body to STFU...
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2044
  • Last login:August 19, 2025, 11:29:13 pm

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: Parallel port as a programmer
« Reply #3 on: March 08, 2005, 03:46:25 pm »
i have one built and it works great.  See above thread

cholin

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:July 16, 2009, 09:22:25 pm
    • Nilok Productions
Re: Parallel port as a programmer
« Reply #4 on: March 08, 2005, 05:46:09 pm »
Last time I checked...it was for sale too...

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: Parallel port as a programmer
« Reply #5 on: March 08, 2005, 05:51:06 pm »
Last time I checked...it was for sale too...

That is correct sir

ShinAce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:January 16, 2007, 07:38:14 pm
  • Building the unbuildable since 2001
Re: Parallel port as a programmer
« Reply #6 on: March 08, 2005, 06:41:02 pm »
I saw the LPT switch thread, great read. But there are a few problems. First, I want the LPT to control the switches(ie, another encoder), not the other way around. Can the lpt WRITE to pins 1-10? If so, I can use the switch to get more lines, but that's it.

Secondly, the driver for that switch will also be backwards, so I still need to write my own driver.

Back to square 1.
« Last Edit: March 08, 2005, 07:12:44 pm by ShinAce »
An ounce of image is worth a pound of performance.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: Parallel port as a programmer
« Reply #7 on: March 08, 2005, 06:54:52 pm »
i see, you want software to operate switches.  To what end?

ShinAce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:January 16, 2007, 07:38:14 pm
  • Building the unbuildable since 2001
Re: Parallel port as a programmer
« Reply #8 on: March 08, 2005, 07:10:03 pm »
For making combo videos. I need to be able to do 1 thing. Hold a button for a certain amount of time (x/60 sec). But I also need to access all buttons at once(or rather, within 1/60 of a second).

It will be controlling encoders for various systems, which are active low. So all I need to do is pull the proper pin to gnd at the right time. But the question is, which pins on the LPT are capable of transmitting? And secondly, where to find info on writing programs that transmit via the LPT.

The reason I want to do it this way is because it would become a universal programmer that I can use on just about any joystick.
An ounce of image is worth a pound of performance.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: Parallel port as a programmer
« Reply #9 on: March 08, 2005, 09:23:50 pm »
i dont get it...but good luck with it

Samstag

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1378
  • Last login:December 16, 2016, 01:41:19 am
  • That's not a llama!
Re: Parallel port as a programmer
« Reply #10 on: March 08, 2005, 09:26:15 pm »
There's no good reason to do this in hardware.  You're talking about writing software and building hardware that controls other hardware that becomes a software input. 

Skip the middleman and write a software program that generates key presses.  No real hardware required and no compatibility problems.

ShinAce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:January 16, 2007, 07:38:14 pm
  • Building the unbuildable since 2001
Re: Parallel port as a programmer
« Reply #11 on: March 09, 2005, 08:11:33 am »
The hardware involved is minimal. It's gonna be 99% writing code.
An ounce of image is worth a pound of performance.

ShinAce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:January 16, 2007, 07:38:14 pm
  • Building the unbuildable since 2001
Re: Parallel port as a programmer
« Reply #12 on: March 12, 2005, 03:49:23 pm »
The whole point of doing this is to be able to program very long macros, which then must be accepted by ALL consoles. It needs to work on psx, DC, xbox, saturn, all that jazz.

The key presses are not going back to a computer.

Copied and pasted from another site...just lost the url *sigh*.
                Register  DB-25     I/O   
Signal Name    Bit      Pin   Direction
===========  ========  =====  =========
-Strobe       
« Last Edit: March 12, 2005, 03:59:07 pm by ShinAce »
An ounce of image is worth a pound of performance.