So i downloaded the asteroids bezel from @Nightvoice and was Messing around a bit with the Cocktail view, made the CP for the Cocktail in gimp and got the controls working and 2 players setup. the only problem is the inputs for P1 and P2 are the same. Digging a bit and found this for the outputs in MAME doc.
output_latch_device &outlatch(OUTPUT_LATCH(config, "outlatch")); // LS174 at N11 outlatch.bit_handler<0>().set_output("led1").invert(); // 2 PLYR START LAMP outlatch.bit_handler<1>().set_output("led0").invert(); // 1 PLYR START LAMP outlatch.bit_handler<2>().set_membank("ram1"); // RAMSEL outlatch.bit_handler<2>().append_membank("ram2"); outlatch.bit_handler<2>().append(FUNC(asteroid_state::cocktail_inv_w)); outlatch.bit_handler<3>().set(FUNC(asteroid_state::coin_counter_left_w)); // COIN CNTRL outlatch.bit_handler<4>().set(FUNC(asteroid_state::coin_counter_center_w)); // COIN CNTRC outlatch.bit_handler<5>().set(FUNC(asteroid_state::coin_counter_right_w)); // COIN CNTRR
The Question is how can I use the cocktail_inv_w to mask the controls for P1 when P2 is playing and vice versa, I believe this is the screen flip for the Cocktail machine.
[ATTACHED IMAGE - CLICK FOR FULL SIZE]
My Mame Artwork
https://drive.google.com/drive/folders/1OP43Qk_2uCIJ7HLY2maemAmJHtu9kbyV?usp=share_link
|