Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: rhoelsch on April 01, 2005, 09:52:50 am

Title: Flashing starts on coin-in for all games?
Post by: rhoelsch on April 01, 2005, 09:52:50 am
Alright, I almost put this one into the software forum, but maybe there's a hardware solution to it that I don't know of...

I love the idea of flashing starts, but on most games the leds aren't used at all, meaning that the "wow" factor depends on people's game choice, and that's no fun.

Does anyone know of a way (software or hardware) to have the starts flash when you put $ in for any game?  I can't imagine it'd be that hard to do, I'm just not the guy to do it...I mean, I was all excited to get a led harness for the IPAC, but it's a shame that I only get to enjoy a little blinky action on a handful of games that I play...but not blinking all the time, because that's just darn distracting! 
Title: Re: Flashing starts on coin-in for all games?
Post by: JoyMonkey on April 01, 2005, 10:04:28 am
AFAIK you can use AdvanceMame to control the keyboard LEDs using a script in advmame.rc
That's as much as I've heard about it though.

Here's some scripting details:
http://advancemame.sourceforge.net/doc-script.html

The script would probably do something like- on coin input, simulate NumLock keypress, wait a little, simulate NumLock keypress etc.

Ooh! Here it is:
Quote
Light the third keyboard led when the 'coin1' key is pressed :   

script_coin1 on(0, 0b100); delay(500); off(0, 0b100);
Shorten the delay and repeat it a few times to make it flash.
Title: Re: Flashing starts on coin-in for all games?
Post by: JoyMonkey on April 01, 2005, 10:47:50 am
Anyone know off hand;
If 0b100 is keyboard LED 3, and 0b10 is keyboard LED 1, what would keyboard LED 2 be?
Title: Re: Flashing starts on coin-in for all games?
Post by: cholin on April 01, 2005, 11:09:58 am
Maybe the way they're numberred in the front end is different than the way you number them, did you try 0b1 or 0b1000
Title: Re: Flashing starts on coin-in for all games?
Post by: RayB on April 01, 2005, 11:29:03 am
Assuming that's binary, then 0b100 is equal to "4" in decimal.

ob011 = 3
0b010 = 2
0b001 = 1
0b000 = 0

But i don't know if this is how they are actually numbering....
Title: Re: Flashing starts on coin-in for all games?
Post by: SirPeale on April 01, 2005, 11:52:51 am
There was a thread on the Mameworld forums a couple months ago where someone was trying to do exactly this.  I don't know if they got very far or not.