Ejemplo n.º 1
0
static void airbustr_init_machine (void)
{
	soundlatch_status = soundlatch2_status = 0;
	bankswitch_w(0,2);
	bankswitch2_w(0,2);
	sound_bankswitch_w(0,2);
}
Ejemplo n.º 2
0
void beezer_state::machine_reset()
{
	m_pbus = 0xff;

	// initialize memory banks
	bankswitch_w(machine().dummy_space(), 0, 0);

	// start timer
	m_timer_count->adjust(attotime::zero, 0, attotime::from_hz((XTAL_12MHz / 12) / 16));
}
Ejemplo n.º 3
0
void srumbler_state::machine_start()
{
	for (int i = 0x05; i < 0x10; i++)
	{
		char bankname[10];
		sprintf(bankname, "%04x", i*0x1000);
		membank(bankname)->configure_entries(0, 64, memregion("user1")->base(), 0x1000);
	}

	/* initialize banked ROM pointers */
	bankswitch_w(m_maincpu->space(AS_PROGRAM), 0, 0);
}