Jump to content



Photo

Could pinMAME ever drive a real table?


  • Please log in to reply
9 replies to this topic

#1 s1500

s1500

    Enthusiast

  • Members
  • PipPipPip
  • 396 posts
  • Location:twin cities

  • Flag: ---------

  • Favorite Pinball: Fun House

Posted 11 January 2012 - 01:54 PM

No, not a post while sitting in my basement wide awake at 3am holding a beer. A much more clear though than that.

If PinMAME can emulate the ROMs of a given table, what would not stop it from driving a real table's playfield? A switch pressed in VP means a switch got pressed to pinMAME.

I mean, if you had pinMAME running a ROM, some interface board(and a whole ton of wires) & a logic board-less pinball table, could you make it work? The only challenges would be getting all the input(switches & such) & output(driving solenoids) and interfacing it with pinMAME.

But man would that be neat. Did the logic board die? PinMAME to the rescue. heh.

#2 destruk

destruk

    VPF Veteran

  • VPF Staff
  • 6,307 posts
  • Location:Colorado Springs, CO

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 11 January 2012 - 06:10 PM

Google says such an idea would be entirely possible -
http://membres.multi...a.fr/regismalt/

Edited by destruk, 11 January 2012 - 06:17 PM.

Build a fire, vipers love the heat.


#3 s1500

s1500

    Enthusiast

  • Members
  • PipPipPip
  • 396 posts
  • Location:twin cities

  • Flag: ---------

  • Favorite Pinball: Fun House

Posted 11 January 2012 - 06:22 PM

QUOTE (destruk @ Jan 11 2012, 12:10 PM) <{POST_SNAPBACK}>
Google says such an idea would be entirely possible -
http://membres.multi...a.fr/regismalt/


The site design is horrible, but cool to know it has indeed been done.

#4 MikeDX

MikeDX

    Hobbyist

  • Members
  • PipPip
  • 15 posts

  • Flag: Albania

  • Favorite Pinball: The Addams Family

  • 360 Gamer Tag: HairyMeat

Posted 14 January 2012 - 10:30 AM

I was going to attempt something similar, a pinball table created from scratch, with vpinmame as the brain. Something simple would be very achievable, even on a small scale. Obviously the more modern table and the more toys you have, the longer the process will take. Essentially the easiest way would be to run a jpac run hit 'switches' from all buttons and wire them to vpinmame.

Somebody with more time on their hands than me will do this i'm sure wink.gif

#5 russdx

russdx

    Pinball Fan

  • VIP
  • 1,317 posts
  • Location:Bristol UK

  • Flag: United Kingdom

  • Favorite Pinball: NBAFB

Posted 30 January 2012 - 05:53 PM

these guys have done exactly that!!
http://www.pinballcontrollers.com/

there kit is designed for you to write your own custom code BUT im sure iv seen them run pinmame on a real machine as well!

#6 gstellenberg

gstellenberg

    Hobbyist

  • Members
  • PipPip
  • 32 posts

  • Flag: ---------

  • Favorite Pinball: Whitewater

Posted 30 January 2012 - 07:37 PM

Indeed, we've been using the P-ROC to run original ROM code on real machines for nearly 2 years now. It works for all WPC and Stern Whitestar generations of machines. Here are a couple of youtube vids:

LOTR:
BoP (switching between custom code and pinmame):

We also can also run our pinball framework and custom code on VP:

Custom JD code in VP:

- Gerry
http://www.pinballcontrollers.com


#7 EalaDubhSidhe

EalaDubhSidhe

    Elder solid-statesman

  • VIP
  • 1,094 posts
  • Location:South Wales, boyo

  • Flag: United Kingdom

  • Favorite Pinball: The one I like most is always the one I'll make next.



Posted 31 January 2012 - 03:16 AM

The only drawback with using PinMAME to drive a machine would be potential latency issues and response delays with control switches, but that's down to the nature of PC hardware.

Posted Image


Posted Image


#8 gstellenberg

gstellenberg

    Hobbyist

  • Members
  • PipPip
  • 32 posts

  • Flag: ---------

  • Favorite Pinball: Whitewater

Posted 31 January 2012 - 03:43 AM

QUOTE (EalaDubhSidhe @ Jan 30 2012, 09:16 PM) <{POST_SNAPBACK}>
The only drawback with using PinMAME to drive a machine would be potential latency issues and response delays with control switches, but that's down to the nature of PC hardware.


With generic computer hardware, I'd agree. However, we spent a lot of time and effort eliminating these concerns with PinMAME and the P-ROC. There is a P-ROC branch of the pinMAME source tree, and there's a lot of code in there to make proper use of the P-ROC hardware to reduce latency concerns. Specifically, when running pinMAME through a P-ROC, the P-ROC handles coil pulse times, and those times are configurable by the user in a machine configuration file. This still lets pinMAME decide when to start a coil pulse, but pinMAME does not necessarily decide when to stop it. If the machine configuration file says to do so, the P-ROC stops the pulse automatically after the configured amount of time elapses. This is configurable per coil so that the user can tune the machine performance. It even works properly for duty-cycled coils using the P-ROC's 'pitter-patter' functionality.

Further, for fast responses to flipper buttons, slingshot switches, jet bumpers, etc, the P-ROC has 'switch rules' which automatically fire the appropriate coils when the switch events occur. This again is configurable per feature, and pinMAME automatically sets these rules up at startup.

Since implementing these features, we've had zero complaints from P-ROC/pinMAME users about latency issues. Further, we've demo'd pinMAME running on real machines at pinball shows like Expo in Chicago, and players (unless told) had no idea software was running through an emulataor. Latency simply isn't a problem with the P-ROC.

- Gerry
http://www.pinballcontrollers.com


#9 numiah

numiah

    Pinball Fan

  • Members
  • PipPipPipPip
  • 983 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: TOTAN

Posted 31 January 2012 - 01:00 PM

Very impressive stuff !

**Each pinball machine is a tiny universe... that we control.**


#10 Thomas Ruggiero

Thomas Ruggiero

    Hobbyist

  • Members
  • PipPip
  • 43 posts
  • Favorite Pinball: Champion Pub

Posted 09 June 2012 - 06:38 PM

I found this link on Pinball News about something on this subject:

http://www.pinballne...ndmd/index.html