void init_machine_invaders(void) { install_port_write_handler(0, 0x03, 0x03, invaders_sh_port3_w); install_port_write_handler(0, 0x05, 0x05, invaders_sh_port5_w); SN76477_envelope_1_w(0, 1); SN76477_envelope_2_w(0, 0); SN76477_mixer_a_w(0, 0); SN76477_mixer_b_w(0, 0); SN76477_mixer_c_w(0, 0); SN76477_vco_w(0, 1); }
void init_machine_invad2ct(void) { init_machine_invaders(); install_port_write_handler(0, 0x01, 0x01, invad2ct_sh_port1_w); install_port_write_handler(0, 0x07, 0x07, invad2ct_sh_port7_w); SN76477_envelope_1_w(1, 1); SN76477_envelope_2_w(1, 0); SN76477_mixer_a_w(1, 0); SN76477_mixer_b_w(1, 0); SN76477_mixer_c_w(1, 0); SN76477_vco_w(1, 1); }
void init_machine_bandido(void) { TTL74123_config(0, &bandido_74123_0_intf); TTL74123_config(1, &bandido_74123_1_intf); /* set up the fixed connections */ TTL74123_reset_comp_w (0, 1); TTL74123_trigger_comp_w(0, 0); TTL74123_trigger_comp_w(1, 0); SN76477_envelope_1_w(0, 1); SN76477_envelope_2_w(0, 0); SN76477_noise_clock_w(0, 0); SN76477_mixer_b_w(0, 0); SN76477_mixer_c_w(0, 0); }
void init_machine_sheriff(void) { install_port_write_handler(0, 0x04, 0x04, sheriff_sh_port4_w); install_port_write_handler(0, 0x05, 0x05, sheriff_sh_port5_w); install_port_write_handler(0, 0x06, 0x06, sheriff_sh_port6_w); TTL74123_config(0, &sheriff_74123_0_intf); TTL74123_config(1, &sheriff_74123_1_intf); /* set up the fixed connections */ TTL74123_reset_comp_w (0, 1); TTL74123_trigger_comp_w(0, 0); TTL74123_trigger_comp_w(1, 0); SN76477_envelope_1_w(0, 1); SN76477_envelope_2_w(0, 0); SN76477_noise_clock_w(0, 0); SN76477_mixer_a_w(0, 0); SN76477_mixer_c_w(0, 0); }