Пример #1
0
void simpsons_state::machine_reset()
{
	int i;

	konami_configure_set_lines(m_maincpu, simpsons_banking);

	for (i = 0; i < 3; i++)
	{
		m_layerpri[i] = 0;
		m_layer_colorbase[i] = 0;
	}

	m_sprite_colorbase = 0;
	m_firq_enabled = 0;
	m_video_bank = 0;

	/* init the default banks */
	membank("bank1")->configure_entries(0, 64, memregion("maincpu")->base() + 0x10000, 0x2000);
	membank("bank1")->set_entry(0);

	membank("bank2")->configure_entries(0, 2, memregion("audiocpu")->base() + 0x10000, 0);
	membank("bank2")->configure_entries(2, 6, memregion("audiocpu")->base() + 0x10000, 0x4000);
	membank("bank2")->set_entry(0);

	simpsons_video_banking(0);
}
Пример #2
0
static MACHINE_RESET( aliens )
{
	aliens_state *state = machine.driver_data<aliens_state>();

	konami_configure_set_lines(machine.device("maincpu"), aliens_banking);

	state->m_palette_selected = 0;
}
Пример #3
0
static MACHINE_RESET( rollerg )
{
	rollerg_state *state = machine->driver_data<rollerg_state>();

	konami_configure_set_lines(machine->device("maincpu"), rollerg_banking);

	state->readzoomroms = 0;
}
Пример #4
0
void blockhl_state::machine_reset()
{

	konami_configure_set_lines(machine().device("maincpu"), blockhl_banking);

	m_palette_selected = 0;
	m_rombank = 0;
}
Пример #5
0
static MACHINE_RESET( crimfght )
{
	UINT8 *RAM = memory_region(machine, "maincpu");

	konami_configure_set_lines(cputag_get_cpu(machine, "maincpu"), crimfght_banking);

	/* init the default bank */
	memory_set_bankptr(machine,  2, &RAM[0x10000] );
}
Пример #6
0
static MACHINE_RESET( blockhl )
{
	blockhl_state *state = machine->driver_data<blockhl_state>();

	konami_configure_set_lines(machine->device("maincpu"), blockhl_banking);

	state->palette_selected = 0;
	state->rombank = 0;
}
Пример #7
0
void surpratk_state::machine_reset()
{
	int i;

	konami_configure_set_lines(m_maincpu, surpratk_banking);

	for (i = 0; i < 3; i++)
	{
		m_layerpri[i] = 0;
		m_layer_colorbase[i] = 0;
	}

	m_sprite_colorbase = 0;
	m_videobank = 0;
}
Пример #8
0
void _88games_state::machine_reset()
{
	konami_configure_set_lines(m_maincpu, k88games_banking);
	m_generic_paletteram_8.set_target(&memregion("maincpu")->base()[0x20000], 0x1000);

	m_videobank = 0;
	m_zoomreadroms = 0;
	m_speech_chip = 0;
	m_k88games_priority = 0;
	m_layer_colorbase[0] = 64;
	m_layer_colorbase[1] = 0;
	m_layer_colorbase[2] = 16;
	m_sprite_colorbase = 32;
	m_zoom_colorbase = 48;
}
Пример #9
0
static MACHINE_RESET( surpratk )
{
    surpratk_state *state = (surpratk_state *)machine->driver_data;
    int i;

    konami_configure_set_lines(devtag_get_device(machine, "maincpu"), surpratk_banking);

    for (i = 0; i < 3; i++)
    {
        state->layerpri[i] = 0;
        state->layer_colorbase[i] = 0;
    }

    state->sprite_colorbase = 0;
    state->videobank = 0;
}
Пример #10
0
static MACHINE_RESET( parodius )
{
	parodius_state *state = machine.driver_data<parodius_state>();
	int i;

	konami_configure_set_lines(machine.device("maincpu"), parodius_banking);

	for (i = 0; i < 3; i++)
	{
		state->m_layerpri[i] = 0;
		state->m_layer_colorbase[i] = 0;
	}

	state->m_sprite_colorbase = 0;
	state->m_videobank = 0;
}
Пример #11
0
void vendetta_state::machine_reset()
{
	int i;

	konami_configure_set_lines(m_maincpu, vendetta_banking);

	for (i = 0; i < 3; i++)
	{
		m_layerpri[i] = 0;
		m_layer_colorbase[i] = 0;
	}

	m_sprite_colorbase = 0;
	m_irq_enabled = 0;

	/* init banks */
	vendetta_video_banking(0);
}
Пример #12
0
static MACHINE_RESET( vendetta )
{
	vendetta_state *state = (vendetta_state *)machine->driver_data;
	int i;

	konami_configure_set_lines(devtag_get_device(machine, "maincpu"), vendetta_banking);

	for (i = 0; i < 3; i++)
	{
		state->layerpri[i] = 0;
		state->layer_colorbase[i] = 0;
	}

	state->sprite_colorbase = 0;
	state->irq_enabled = 0;

	/* init banks */
	vendetta_video_banking(machine, 0);
}
Пример #13
0
static MACHINE_RESET( vendetta )
{
	vendetta_state *state = machine.driver_data<vendetta_state>();
	int i;

	konami_configure_set_lines(machine.device("maincpu"), vendetta_banking);

	for (i = 0; i < 3; i++)
	{
		state->m_layerpri[i] = 0;
		state->m_layer_colorbase[i] = 0;
	}

	state->m_sprite_colorbase = 0;
	state->m_irq_enabled = 0;

	/* init banks */
	vendetta_video_banking(machine, 0);
}
Пример #14
0
void crimfght_state::machine_reset()
{
	konami_configure_set_lines(machine().device("maincpu"), crimfght_banking);
}
Пример #15
0
static MACHINE_RESET( surpratk )
{
	konami_configure_set_lines(cputag_get_cpu(machine, "maincpu"), surpratk_banking);

	paletteram = &memory_region(machine, "maincpu")[0x48000];
}
Пример #16
0
static MACHINE_RESET( crimfght )
{
	konami_configure_set_lines(machine.device("maincpu"), crimfght_banking);
}
Пример #17
0
static MACHINE_RESET( rollerg )
{
	konami_configure_set_lines(cputag_get_cpu(machine, "maincpu"), rollerg_banking);

	readzoomroms = 0;
}
Пример #18
0
void aliens_state::machine_reset()
{
	konami_configure_set_lines(m_maincpu, aliens_banking);

	m_palette_selected = 0;
}
Пример #19
0
void rollerg_state::machine_reset()
{
	konami_configure_set_lines(m_maincpu, rollerg_banking);

	m_readzoomroms = 0;
}
Пример #20
0
void crimfght_state::machine_reset()
{
    konami_configure_set_lines(m_maincpu, crimfght_banking);
}