Beispiel #1
0
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);
}
Beispiel #2
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);
}
Beispiel #3
0
static MACHINE_START( nyny )
{
	pia_config(1, &pia_1_intf);
	pia_config(2, &pia_2_intf);

	TTL74123_config(0, &ic48_1_intf);

	/* setup for save states */
	state_save_register_global(flipscreen);
	state_save_register_global(star_enable);
	state_save_register_global(star_delay_counter);
	state_save_register_global(star_shift_reg);
}