MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

StilettoAdministrator
They're always after me Lucky ROMS!
Reged: 03/07/04
Posts: 6249
Send PM
Re: asteroid.cpp question...
01/25/18 05:12 AM


> With asteroids, is there output for the blinking lights for player 1 and player 2
> start buttons?
>
>
> Example, on the coin-op, when dropping quarters into the coin mech., the player 1 & 2
> start button(s) blink waiting for input. I would like to animate like in the attached
> gif.
>
> Thanks in advance...

I took a look in the driver quick.
https://github.com/mamedev/mame/blob/master/src/mame/drivers/asteroid.cpp

If it were computer controlled, then we'd probably see it in the memory map like Lunar Lander. But it's not listed.

Perhaps it's not and instead much simpler, like upon signal from coin mech, start 555 timer to begin LED flashing. Would have to check schematics.

Mind you, I'm no expert on Asteroids hardware.

[EDIT] I just found the LEDs in the driver tho for Asteroids Deluxe.

Code:

MCFG_ADDRESSABLE_LATCH_Q0_OUT_CB(WRITELINE(asteroid_state, start1_led_w))
MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(WRITELINE(asteroid_state, start2_led_w))



- Stiletto

Edited by Stiletto (01/25/18 05:31 AM)







Entire thread
Subject Posted by Posted on
* asteroid.cpp question... SteelTigers 01/25/18 12:08 AM
. * Re: asteroid.cpp question... Nightvoice  03/25/18 07:55 AM
. * Re: asteroid.cpp question... StilettoAdministrator  01/25/18 05:12 AM
. * Re: asteroid.cpp question... SteelTigers  01/25/18 06:14 AM
. * Re: asteroid.cpp question... StilettoAdministrator  01/25/18 04:06 PM
. * Back on topic... Asteroids in 0.195 Mr. DoAdministrator  02/03/18 10:29 PM
. * Re: Back on topic... Asteroids in 0.195 Bad A Billy  02/04/18 06:31 AM
. * Re: Back on topic... Asteroids in 0.195 eientei95  03/07/18 09:39 AM
. * Changing topic... playch10.cpp question Mr. DoAdministrator  01/26/18 01:07 PM
. * Re: Changing topic... playch10.cpp question Vas Crabb  01/27/18 10:34 AM
. * Re: Changing topic... playch10.cpp question Mr. DoAdministrator  01/28/18 04:48 AM
. * Re: Changing topic... playch10.cpp question JWallace  01/26/18 04:06 PM
. * Re: Changing topic... playch10.cpp question Vas Crabb  01/28/18 06:01 AM
. * Re: Changing topic... playch10.cpp question JWallace  01/28/18 03:10 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 8 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 537