Main > Main Forum
Single Slot Coin Door dilemna
codemonkey76:
I have a single slot coin door and I would like someone to be able to put coins in to load credits but have those credits shared between all players.
e.g. to play 4 player game, insert 4 coins. Or if playing a 4 player game and one player dies, they could just put a single coin in and join back in.
Is this possible with a single coin slot, or do i need separate coin slots for each player?
Slippyblade:
Well, you could config MAME so that the same input counts for P1-P4 coin in. But then a single coin would put a credit to each player. And if, as in your example, P1 dies and drops a coin, EVERYBODY would suddenly have another credit.
With a few TTL chips it'd be easy enough to rig up a round robin type thing where first coin sends credit to P1, second to P2, third to P3, fourth to P4, fifith back to P1. Kind of like a token ring type thing. But then, back to your example, say the last credit went to P3 and P1 dies. He'd have to put in a coin that would go to P4 then another coin that would go to P1 again.
Another option would be to wire 4 buttons AND gated to the coin slot. So to load a credit for P1 you'd press and hold button 1 and drop a coin. To load a credit to P3 you press button 3 and drop a coin. Maybe wire it up so that if NO button is held it counts as P1.
To be absolutely honest though, it'd be WAY easier to just have 4 coin slots.
codemonkey76:
hmm, I like your second option. how would I wire player 2's button 1 to both function as a normal button as well as have it being pressed and held in combination with a coin insert to trigger a player 2 coin?
Slippyblade:
I'm a big fan of solid state circuits. It'd use a single 7408 TTL chip.
P1 Button-------
|----- P1 output signal
Coin Slot--------
P2 Button-------
|----- P2 output signal
Coin Slot--------
P3 Button-------
|----- P3 output signal
Coin Slot--------
P4 Button-------
|----- P4 output signal
Coin Slot--------
I can draw up an actual pinout/schematic later and show ya. It'd literally be one chip since a 7408 has 4 gates on it. It would take a little extra logic to get no button to default to P1 though. Just so you know a 7408 chip is like 50 cents, maybe a $2 if you got it from Radio Shack.
codemonkey76:
pinout/schematic would be much appreciated, you completely lost me with this, but I know someone who can help me and this may not be over their head.
Navigation
[0] Message Index
[#] Next page
Go to full version