Example #1
0
static WRITE8_HANDLER( k052109_051960_w )
{
	gbusters_state *state = space->machine->driver_data<gbusters_state>();

	if (offset >= 0x3800 && offset < 0x3808)
		k051937_w(state->k051960, offset - 0x3800, data);
	else if (offset < 0x3c00)
		k052109_w(state->k052109, offset, data);
	else
		k051960_w(state->k051960, offset - 0x3c00, data);
}
Example #2
0
static WRITE8_HANDLER( k052109_051960_w )
{
	thunderx_state *state = (thunderx_state *)space->machine->driver_data;

	if (offset >= 0x3800 && offset < 0x3808)
		k051937_w(state->k051960, offset - 0x3800, data);
	else if (offset < 0x3c00)
		k052109_w(state->k052109, offset, data);
	else
		k051960_w(state->k051960, offset - 0x3c00, data);
}
Example #3
0
static WRITE8_HANDLER( k052109_051960_w )
{
    _88games_state *state = space->machine().driver_data<_88games_state>();

    if (offset >= 0x3800 && offset < 0x3808)
        k051937_w(state->m_k051960, offset - 0x3800, data);
    else if (offset < 0x3c00)
        k052109_w(state->m_k052109, offset, data);
    else
        k051960_w(state->m_k051960, offset - 0x3c00, data);
}